joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a76c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040a3e7
push eax
push esi
push dword [ebp + 8]
call fcn.0040a39c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040a3e7
push eax
push esi
push dword [ebp + 8]
call fcn.0040a39c
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4

Function at 0x40a801
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040a3e7
push eax
push esi
push dword [ebp + 8]
call fcn.0040a39c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040a3d7
inc ebx
inc ecx
rep insd dword es:[edi], dx
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
invalid
inc ebp
Function at 0x444e90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5b228c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x28], 0x65004c
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x28]
mov eax, 0x5b9dd4
mov dword [ebp - 0x24], 0x6f0079
mov dword [ebp - 0x20], 0x470075
mov edx, 0x12
mov dword [ebp - 0x1c], 0x6d0061
sub esi, eax
mov dword [ebp - 0x18], 0x620065
mov dword [ebp - 0x14], 0x78006f
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
nop
lea ecx, [edx + 0x7fffffec]
test ecx, ecx
je 0x444f0e
movzx ecx, word [esi + eax]
test cx, cx
je 0x444f0e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x444ef0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5b9dd4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460f8d
mov esp, ebp
pop ebp
ret

Function at 0x444f30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x5b228c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x74], 0x4f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x74]
mov eax, 0x5b9e70
mov dword [ebp - 0x70], 0x540046
push edi
mov dword [ebp - 0x6c], 0x410057
mov edx, 0x38
mov dword [ebp - 0x68], 0x450052
sub esi, eax
mov dword [ebp - 0x64], 0x4d005c
mov dword [ebp - 0x60], 0x630069
mov dword [ebp - 0x5c], 0x6f0072
mov dword [ebp - 0x58], 0x6f0073
mov dword [ebp - 0x54], 0x740066
mov dword [ebp - 0x50], 0x57005c
mov dword [ebp - 0x4c], 0x6e0069
mov dword [ebp - 0x48], 0x6f0064
mov dword [ebp - 0x44], str.fZ__74
mov dword [ebp - 0x40], 0x43005c
mov dword [ebp - 0x3c], 0x720075
mov dword [ebp - 0x38], 0x650072
mov dword [ebp - 0x34], 0x74006e
mov dword [ebp - 0x30], 0x650056
mov dword [ebp - 0x2c], 0x730072
mov dword [ebp - 0x28], 0x6f0069
mov dword [ebp - 0x24], 0x5c006e
mov dword [ebp - 0x20], str.VUc
mov dword [ebp - 0x1c], 0x6e0069
mov dword [ebp - 0x18], 0x740073
mov dword [ebp - 0x14], 0x6c0061
mov dword [ebp - 0x10], 0x5c006c
mov dword [ebp - 0xc], 0x730025
lea ecx, [edx + 0x7fffffc6]
test ecx, ecx
je 0x445033
movzx ecx, word [esi + eax]
test cx, cx
je 0x445033
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x445015
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x5b9e70
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460f8d
mov esp, ebp
pop ebp
ret
Function at 0x52db4b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052d9ca

Function at 0x530901
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005305c1

Function at 0x53b61e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x401910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401923
push esp
mov dword [ebp - 0x24], 0x401640
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.zeenty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.upsent
push str.zeenty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019c2
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019a3
pop ebp
ret 0x10
Function at 0x401cb0
Capabilities:
Get common file path
Query or enumerate registry value
Terminate process

Disassembly:
sub esp, 0x330
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push edi
push 0
push 0x4042c8
push 0x4042c8
push 0
call esi
mov eax, dword [0x404120]
cmp eax, 1
jne 0x401efe
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServicesLanmanServerParameters
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401d46
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.ServiceDLL
push ecx
mov dword [esp + 0x2c], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str._SystemRoot_System32_
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x10]
push str.StormServer.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator
mov esi, dword [eax]
lea ecx, [esp + 0x30]
mov dl, byte [ecx]
mov al, dl
cmp dl, byte [esi]
jne 0x401d92
test al, al
je 0x401d8e
mov dl, byte [ecx + 1]
mov al, dl
cmp dl, byte [esi + 1]
jne 0x401d92
add ecx, 2
add esi, 2
test al, al
jne 0x401d6e
xor esi, esi
jmp 0x401d97
sbb esi, esi
sbb esi, 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402600
test esi, esi
jne 0x401dab
push esi
call dword [sym.imp.MSVCRT.dll_exit]
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x134]
push 0x104
push eax
call ebp
mov edi, 0x4042cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x134]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.StormServer.dll
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4043b0
call sub.MFC42.DLL_CString::CString_1
push 0x65
push ecx
lea eax, [esp + 0x140]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_1
call fcn.00402460
add esp, 0xc
test al, al
jne 0x401e6a
lea ecx, [esp + 0x10]
call fcn.00402600
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x330
ret 0x10
jmp section..htext
cmp eax, 2
jne 0x401f75
jmp 0x40fbd4
cmp eax, 3
jne 0x401fa5
push 0
push 0x4044f4
push 0x4044f4
push 0
call esi
call fcn.00401900
call fcn.00401390
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x330
ret 0x10
cmp eax, 4
jne 0x401fbf
push 0
push 0x4044f4
push 0x4044f4
push 0
call esi
call fcn.00401b90
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x330
ret 0x10
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
jmp loc.0040f3ba
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10005eb3
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10005eee
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10005ed5
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10005ee6
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10005ef0
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10005ecb
xor eax, eax
pop edi
pop esi
ret

Function at 0x100063ea
Capabilities:
Inspect section memory permissions

Disassembly:
cmp al, 5
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x10006662
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x10006418
cmp dword [eax + 0xc], ebx
je 0x100064bb
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.10005e73
invalid
call fcn.10005e73
in eax, dx
and al, 0xef
out dx, eax

Function at 0x100064c2
Capabilities:
Inspect section memory permissions

Disassembly:
out dx, eax
in al, dx
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x10006527
add eax, esi
cmp dword [eax], ebx
je 0x10006527
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10006522
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
add byte [eax], dh
add byte [eax], al
jne 0x1000650c
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10006514
cmp edx, ebx
jne 0x10006662
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100064e3
add eax, dword [eax + 4]
jmp 0x100064d0
mov dword [ebp + 0xc], ebx
jmp 0x10006532

Function at 0x100064f3
Capabilities:
Inspect section memory permissions

Disassembly:
out dx, eax
in al, dx
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x10006527
add eax, esi
cmp dword [eax], ebx
je 0x10006527
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10006522
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
add byte [eax], dh
add byte [eax], al
jne 0x1000650c
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10006514
cmp edx, ebx
jne 0x10006662
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100064e3
add eax, dword [eax + 4]
jmp 0x100064d0
mov dword [ebp + 0xc], ebx
jmp 0x10006532
Function at 0x1000653b
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000654a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10006568
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
js 0x1000658c
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100065c6
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100065ad
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100065b6
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100065c0
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100065a2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1000652c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10006613
dec eax
je 0x1000660a
sub eax, 3
je 0x10006601
mov dword [ebp - 4], 0x40
jmp 0x10006630
mov dword [ebp - 4], 4
jmp 0x10006616
mov dword [ebp - 4], 0x20
jmp 0x10006616
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10006662
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100065e2
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10005e73
mov dword [0xffd20e4d], eax
jne 0x1000666d
push 1
push esi
call edi
mov eax, esi
jmp 0x1000666e
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006566
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000654a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10006568
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
js 0x1000658c
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100065c6
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100065ad
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100065b6
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100065c0
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100065a2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1000652c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10006613
dec eax
je 0x1000660a
sub eax, 3
je 0x10006601
mov dword [ebp - 4], 0x40
jmp 0x10006630
mov dword [ebp - 4], 4
jmp 0x10006616
mov dword [ebp - 4], 0x20
jmp 0x10006616
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10006662
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100065e2
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10005e73
mov dword [0xffd20e4d], eax
jne 0x1000666d
push 1
push esi
call edi
mov eax, esi
jmp 0x1000666e
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10007ec9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x10007f19
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x10007f09
invalid
test esp, ebp
clc
Function at 0x7d8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007d81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7d807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d806a
add dl, dl
jne 0x7d8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d80dc
xor eax, eax
add dl, dl
jne 0x7d8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d817d
add dl, dl
jne 0x7d80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7d80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7d8075
mov eax, 1
add dl, dl
jne 0x7d80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d80e1
sub eax, ebx
mov ebx, 1
jne 0x7d8128
mov ecx, 1
add dl, dl
jne 0x7d810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7d813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8136
cmp eax, 0x7d00
jae 0x7d816d
cmp eax, 0x500
jb 0x7d8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
cmp eax, 0x7f
ja 0x7d8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7d819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x7d8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x411014
Capabilities:
Terminate process

Disassembly:
jmp 0x4132e0
jmp fcn.00413320
cmp ecx, dword [0x41702c]
jne 0x4132ea
repz ret
jmp 0x411082

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40e28b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409441
mov dword [ebp - 0x14], eax
cmp dword [0x456ffc], esi
jne 0x40e37e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e30b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e45e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e45e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e45e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x456ffc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x457000], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x457004], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45700c], eax
test eax, eax
je 0x40e37b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x457008], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e3a3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e396
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e3b8
push 4
pop eax
jmp 0x40e460
cmp dword [ebp - 0x14], esi
je 0x40e3b8
push dword [0x456ffc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e39d
mov eax, dword [0x457008]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e416
cmp dword [0x45700c], edi
je 0x40e416
push eax
call ebx
push dword [0x45700c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e416
test eax, eax
je 0x40e416
call ecx
test eax, eax
je 0x40e40b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e40b
test byte [ebp - 8], 1
jne 0x40e416
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e446
mov eax, dword [0x457000]
cmp eax, edi
je 0x40e443
push eax
call ebx
test eax, eax
je 0x40e443
call eax
mov esi, eax
test esi, esi
je 0x40e443
mov eax, dword [0x457004]
cmp eax, edi
je 0x40e443
push eax
call ebx
test eax, eax
je 0x40e443
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x456ffc]
call ebx
test eax, eax
je 0x40e45e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e460
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404493
mov esp, ebp
pop ebp
ret