joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ee0
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5310bb
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x581e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00404ee0
test eax, eax
je 0x406f58
push 0x114
lea eax, [ebp - 0x364]
push 0
push eax
call fcn.0050f160
add esp, 0xc
lea ecx, [ebp - 0x364]
push ecx
mov dword [ebp - 0x364], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x360], 6
setl al
push eax
call fcn.00405220
add esp, 4
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.0050f160
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edx, edx
mov esi, 7
lea eax, [ebp - 0x218]
mov word [ebp - 0x234], dx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406fb0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x234]
call fcn.00401c60
mov ebx, 5
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.00407900
mov eax, dword [ebp - 0x234]
mov ebx, 8
cmp dword [ebp - 0x220], ebx
jae 0x407001
lea eax, [ebp - 0x234]
xor ecx, ecx
mov word [ebp - 0x250], cx
mov ecx, eax
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], 0
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x407020
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x250]
call fcn.00401c60
lea esi, [ebp - 0x250]
call fcn.00406aa0
cmp dword [ebp - 0x23c], ebx
jb 0x40705d
mov edx, dword [ebp - 0x250]
push edx
call fcn.0040932c
add esp, 4
cmp dword [ebp - 0x220], ebx
jb 0x407074
mov eax, dword [ebp - 0x234]
push eax
call fcn.0040932c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ba00
mov esp, ebp
pop ebp
ret

Function at 0x407cb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407ccb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407d02
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x407cfe
jmp 0x407cf0
cmp esi, eax
jae 0x407d02
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x407cf0
cmp esi, eax
jb 0x407d09
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x409150
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x581e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1b4
lea eax, [ebp - 0x1b8]
push 0
mov ecx, 0x15
mov esi, 0x560060
lea edi, [ebp - 0x20c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0050f160
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x2001f
push 0
lea edx, [ebp - 0x20c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4091de
mov eax, dword [ebp - 0x210]
push 0x104
push ebx
push 1
push 0
push str.Default_Page_URL
push eax
call esi
mov ecx, dword [ebp - 0x210]
push ecx
call edi
lea edx, [ebp - 0x210]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x20c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409222
mov ecx, dword [ebp - 0x210]
push 0x104
push ebx
push 1
push eax
push str.Start_Page
push ecx
call esi
mov edx, dword [ebp - 0x210]
push edx
call edi
lea eax, [ebp - 0x210]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x20c]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409266
mov edx, dword [ebp - 0x210]
push 0x104
push ebx
push 1
push eax
push str.Start_Page
push edx
call esi
mov eax, dword [ebp - 0x210]
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0050ba00
mov esp, ebp
pop ebp
ret

Function at 0x40d12b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x52d69a
call fcn.0050d2bf
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x40d150
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40d1a2
call fcn.00409ea0
push eax
lea ecx, [ebp - 0x10]
call fcn.00404ae0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050bedf
push eax
call fcn.00404360
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404c70
mov eax, esi
call fcn.0050d397
ret 8
Function at 0x41383e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x413885
call fcn.0041c47a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x413885
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4138a1
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041333e
mov esi, eax
test edi, edi
je 0x41389f
test ebx, ebx
je 0x41389f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41426b
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x414296
call fcn.0041c47a
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x4142b9
push eax
push dword [esi + 4]
call fcn.004141f1
push esi
push eax
mov ecx, 0x5850ac
call fcn.00413e6d
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x414b73
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x525013
call fcn.0050d2bf
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00414b33
and dword [ebp - 4], 0
mov dword [esi], vtable.CHttpConnection.0
call fcn.00409ea0
push eax
lea ecx, [esi + 0x18]
call fcn.00404ae0
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00408230
push dword [esi + 8]
mov ebx, dword [ebx + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x414bea
push eax
push dword [esi + 8]
call fcn.004141f1
push dword [esi + 0xc]
mov ecx, 0x5850ac
push eax
call fcn.00413e6d
mov eax, esi
call fcn.0050d397
ret 0x18

Function at 0x4157ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041c47a
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4157e5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004153e9
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x415843
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x415867
cmp dword [edi + 0x74], 0
jne 0x415867
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041c47a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00415804
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x417492
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4174da
call fcn.0041c47a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4174da
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41751d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x417506
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x417506
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x41751a
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41ba1b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00411c27
call fcn.0040efc2
cmp eax, esi
pop esi
jne 0x41ba37
mov ecx, 0x5856d8
jmp fcn.0042cdf4
ret

Function at 0x442e27
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00442acb
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x442e71
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00411837
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00404730
jmp 0x442e7c
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0042668b
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x442e82
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0040c9ef
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x442ebf
call fcn.00442acb
mov dword [esi + 0xc], 1
jmp 0x442ec4
call fcn.00442acb
cmp dword [esi], 0
je 0x442f0d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x442ee5
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00411837
jmp 0x442ef7
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00404950
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00404730
jmp 0x442f31
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x442f31
push dword [esi]
push dword [ebp + 8]
call fcn.0042668b
pop esi
pop ebp
ret 0xc

Function at 0x4781d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4781f1
call fcn.0041c47a
mov esi, dword [eax + 0xc]
push dword [0x58717c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x47820f
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x478207
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x47823c
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x478209
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00478105
mov esi, eax
jmp 0x47822e
Function at 0x4f25dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4f25f4
mov edi, dword [esi + 0xc]
jmp 0x4f2634
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4f260d
call fcn.00418f97
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4f2622
call fcn.00418f97
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4f2634
call fcn.00418f97
call fcn.0041c47a
cmp dword [eax + 0x3c], 0
je 0x4f2649
push edi
mov ecx, ebx
call fcn.004f1406
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004f24f6
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4f2667
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4f2673
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x50ba00
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x581e60]
jne 0x50ba0a
repz ret
jmp fcn.00513a83
Function at 0x51f528
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x581e60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.005134ab
and dword [ebp - 0x14], 0
cmp dword [0x589b44], 0
mov dword [ebp - 0x18], eax
jne 0x51f5db
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51f683
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x55c528
push ebx
call edi
test eax, eax
je 0x51f683
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x55c518
push ebx
mov dword [0x589b44], eax
call edi
push eax
call esi
push 0x55c504
push ebx
mov dword [0x589b48], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x589b4c], eax
call edi
push eax
call esi
mov dword [0x589b54], eax
test eax, eax
je 0x51f5db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x589b50], eax
mov eax, dword [0x589b50]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x51f634
cmp dword [0x589b54], ecx
je 0x51f634
push eax
call esi
push dword [0x589b54]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x51f634
test ebx, ebx
je 0x51f634
call edi
test eax, eax
je 0x51f62b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51f62b
test byte [ebp - 8], 1
jne 0x51f634
or dword [ebp + 0x10], 0x200000
jmp 0x51f667
mov eax, dword [0x589b48]
cmp eax, dword [ebp - 0x18]
je 0x51f667
push eax
call esi
test eax, eax
je 0x51f667
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51f667
mov eax, dword [0x589b4c]
cmp eax, dword [ebp - 0x18]
je 0x51f667
push eax
call esi
test eax, eax
je 0x51f667
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x589b44]
call esi
test eax, eax
je 0x51f683
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x51f685
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ba00
leave
ret

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 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 0x3083700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0308378f
jae 0x308370e
xor ecx, ecx
call fcn.0308378f
jae 0x308373d
xor eax, eax
call fcn.0308378f
jae 0x308374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0308378f
adc al, al
jae 0x308372f
jne 0x3083779
stosb byte es:[edi], al
jmp 0x3083711
call fcn.0308379b
sub ecx, ebx
jne 0x3083756
call fcn.03083799
jmp 0x3083775
lodsb al, byte [esi]
shr eax, 1
je 0x3083783
adc ecx, ecx
jmp 0x3083772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03083799
cmp eax, 0x7d00
jae 0x3083772
cmp ah, 5
jae 0x3083773
cmp eax, 0x7f
ja 0x3083774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3083711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x403209
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x412b23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ebp, [esi + 0x2c]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CStringArray::CStringArray
lea edi, [esi + 0x70]
mov byte [esp + 0x1c], 6
mov dword [esp + 0x10], edi
lea ecx, [edi + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x18]
call fcn.00402fe0
push ebp
mov byte [esp + 0x20], 8
call fcn.00402ef0
mov dword [esi + 0x20], 0
mov dword [esi + 0xd8], 0x200
add esp, 4
mov dword [0x41e0c0], esi
mov ecx, esi
mov dword [esi + 0x10], 0
call fcn.004031d0
push 0
push 0
push 0
push 0
push esi
push 0x403070
mov dword [esi + 4], 1
call sub.MFC42.DLL_AfxBeginThread
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, 0x419980
jmp 0x4031f0
Function at 0x406230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x413031
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [esi], 0x415998
push 0x4056e0
push 0x40b4e0
lea ebp, [esi + 0x24]
push 1
push 0xc
push ebp
mov dword [esp + 0x30], 0
call fcn.00412086
lea edi, [esi + 0x38]
mov byte [esp + 0x1c], 1
mov ecx, edi
mov dword [esp + 0x10], edi
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [edi + 0x14]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CStringArray::CStringArray
lea eax, [esi + 0x1c]
mov dword [esi], 0x415980
mov ecx, eax
xor eax, eax
push 0x419508
mov byte [esp + 0x20], 3
mov dword [ecx], eax
mov ecx, ebp
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
call fcn.00411de6
mov dword [esi + 0x28], 0x406820
mov dword [esi + 0x2c], 0x4068e0
mov edx, dword [edi + 8]
push 0x419504
push edx
mov ecx, edi
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x4c]
push str.0xFFFFFFFF_
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x20], 1
mov dword [esi + 0x18], 4
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x406249
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x413031
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [esi], 0x415998
push 0x4056e0
push 0x40b4e0
lea ebp, [esi + 0x24]
push 1
push 0xc
push ebp
mov dword [esp + 0x30], 0
call fcn.00412086
lea edi, [esi + 0x38]
mov byte [esp + 0x1c], 1
mov ecx, edi
mov dword [esp + 0x10], edi
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [edi + 0x14]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CStringArray::CStringArray
lea eax, [esi + 0x1c]
mov dword [esi], 0x415980
mov ecx, eax
xor eax, eax
push 0x419508
mov byte [esp + 0x20], 3
mov dword [ecx], eax
mov ecx, ebp
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
call fcn.00411de6
mov dword [esi + 0x28], 0x406820
mov dword [esi + 0x2c], 0x4068e0
mov edx, dword [edi + 8]
push 0x419504
push edx
mov ecx, edi
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x4c]
push str.0xFFFFFFFF_
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x20], 1
mov dword [esi + 0x18], 4
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret