joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d6870
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x53dc78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004d6c60
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0xb33c4c
call fcn.00509f48
mov ecx, dword [0xad064c]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004d3ff0
mov esi, 0xad06a4
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4d6917
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4d690e
cmp al, 0xff
je 0x4d690e
dec al
mov byte [ecx], al
jmp 0x4d6917
push ecx
call fcn.0052bec5
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00527710
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4d695d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4d6954
cmp al, 0xff
je 0x4d6954
dec al
mov byte [ecx], al
jmp 0x4d695d
push ecx
call fcn.0052bec5
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00509fcf
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4da660
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4da6c6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4da6c6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4da6a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4daa50
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4daa88
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4db6b0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4db6f9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4dbb70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53dfa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004db720
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004db7a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004db7a0
lea ecx, [esi + 0xc]
call fcn.0052c0e6
lea ecx, [esi + 0x10]
call fcn.0052c0e6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004dcd30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004dcd30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004dcd30
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0052c15b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0052c15b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4e088d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53e308
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x4e08a3
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.004e5b70
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.004e5e30
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.004e0910
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0xad0b20
call fcn.004e5d70
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4e5740
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4e578c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4e578c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4e5776
push eax
call ebp
test ax, ax
jl 0x4e5784
inc esi
add edi, 4
cmp esi, 6
jb 0x4e5768
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004e5440
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4e7f40
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4e7fa0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4e7fa0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4e7fa0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4e7fa0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4e7fb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4eb800
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xb56ff4]
xor edx, edx
cmp eax, edx
jne 0x4eb826
xor eax, eax
mov byte [eax + 0xb56ef4], al
inc eax
cmp eax, 0x100
jl 0x4eb80e
mov dword [0xb56ff4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xb56ef4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4eb8b7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4eb88a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4eb858
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4eb8c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4eb913
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4eb8fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f22a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53e80e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004f2bc0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xad1d44
call fcn.0052be9c
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4f2333
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0052be9c
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4f232c
push 0
mov ecx, eax
call fcn.004e9440
mov dword [esi + 0xc], eax
jmp 0x4f2335
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4f2335
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x521d60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x53fe20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00516cb9
mov eax, dword [0xad6aa8]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00516beb
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00522860
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x521e07
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x521dfe
cmp al, 0xff
je 0x521dfe
dec al
mov byte [ecx], al
jmp 0x521e07
push ecx
call fcn.0052bec5
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x521e38
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x521e2f
cmp al, 0xff
je 0x521e2f
dec al
mov byte [ecx], al
jmp 0x521e38
push ecx
call fcn.0052bec5
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x52e54b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x52e583
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0052c602
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0052c5da
jmp 0x52e58f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x52fc41
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x52fc83
call fcn.00535e2d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x52fc83
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x52fc7a
xor eax, eax
jmp 0x52fc8b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0052fc91
pop edi
pop esi
pop ebx
ret 4

Function at 0x53635d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x53638b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5363a9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005362c3
jmp 0x5363a9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5363a9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005362c3
test edi, edi
mov eax, edi
jne 0x536393
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x49edba
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0049ee39
jae 0x49edc6
xor ecx, ecx
call fcn.0049ee39
jae 0x49edf0
xor eax, eax
call fcn.0049ee39
jae 0x49ee01
mov al, 0x10
call fcn.0049ee39
adc al, al
jae 0x49ede2
jne 0x49ee2e
stosb byte es:[edi], al
jmp 0x49edc7
call fcn.0049ee45
dec ecx
loop 0x49ee0d
mov eax, ebp
call fcn.0049ee43
jmp 0x49ee2f
lodsb al, byte [esi]
shr eax, 1
je 0x49ee55
adc ecx, 2
mov ebp, eax
jmp 0x49ee2f
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0049ee43
cmp eax, 0x7d00
jae 0x49ee2d
cmp eax, 0x500
jae 0x49ee2e
cmp eax, 0x7f
ja 0x49ee2f
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x49edc7
pop ebp
ret 8
Function at 0x402770
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x40782c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c558
mov eax, esi
mov edx, 8
test al, 1
je 0x407848
shr eax, 1
xor eax, 0xedb88320
jmp 0x40784a
shr eax, 1
dec edx
jne 0x40783b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407834
pop esi
ret

Function at 0x407877
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c554], 0
jne 0x407883
call fcn.0040782c
push 1
push 0x40c554
call fcn.00404398
mov eax, edi
test esi, esi
je 0x4078ae
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c558]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x407889
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4036b0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc4]
test eax, eax
jne 0x4036c2
call fcn.00403690
mov esi, dword [esi + 0xc4]
test esi, esi
je 0x4036d8
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4096c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x411200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
add esi, 0xcc
xor ebx, ebx
push 0x41842c
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.0040ae80
push 2
mov ecx, esi
call fcn.0040aec0
lea eax, [esp + 0x14]
push eax
call fcn.0040c1b0
mov ecx, eax
call fcn.00409540
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00410076
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.0040ff32
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0040ad20
lea edx, [esp + 0x14]
push edx
call fcn.0040c1b0
mov ecx, eax
add ecx, 4
call fcn.004094e0
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x24], 2
call fcn.0040af60
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.0040ff32
lea eax, [esp + 0x14]
push eax
call fcn.0040c1b0
mov ecx, eax
add ecx, 4
call fcn.00409500
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x24], 3
call fcn.0040af80
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.0040ff32
lea ecx, [esp + 0x14]
push ecx
call fcn.0040c1b0
mov ecx, eax
add ecx, 4
call fcn.00409520
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x24], 4
call fcn.0040afa0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.0040ff32
mov ecx, esi
call fcn.0040b030
call fcn.0040c1b0
add eax, 0x30
mov ecx, eax
call fcn.0040a9a0
cmp eax, ebx
mov dword [esp + 0xc], ebx
je 0x409837
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x4189c0
push eax
call dword [edx]
mov edi, eax
cmp edi, ebx
jge 0x409812
lea ecx, [esp + 0xc]
call fcn.00409e20
mov dword [esp + 0xc], ebx
jmp 0x409825
push ebp
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.00409e20
mov dword [esp + 0x10], ebp
pop ebp
cmp edi, ebx
jge 0x409837
cmp edi, 0x80004002
je 0x409837
push edi
call fcn.004106a0
mov eax, dword [esp + 0xc]
mov byte [esp + 0x20], 5
cmp eax, ebx
mov dword [esp + 0xc], ebx
je 0x409850
push eax
mov ecx, esi
call fcn.0040b390
push 1
mov ecx, esi
call fcn.0040b000
test eax, eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x20], bl
jne 0x409894
cmp eax, ebx
je 0x40986f
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040ff32
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
cmp eax, ebx
je 0x40989e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040ff32
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x409a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x411260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
add esi, 0x10c
xor ebx, ebx
push 0x418440
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.0040ae80
push 3
mov ecx, esi
call fcn.0040aec0
lea eax, [esp + 0x14]
push eax
call fcn.0040c1b0
mov ecx, eax
call fcn.00409540
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00410076
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.0040ff32
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0040ad20
lea edx, [esp + 0x14]
push edx
call fcn.0040c1b0
mov ecx, eax
add ecx, 4
call fcn.004094e0
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x24], 2
call fcn.0040af60
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.0040ff32
lea eax, [esp + 0x14]
push eax
call fcn.0040c1b0
mov ecx, eax
add ecx, 4
call fcn.00409500
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x24], 3
call fcn.0040af80
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.0040ff32
lea ecx, [esp + 0x14]
push ecx
call fcn.0040c1b0
mov ecx, eax
add ecx, 4
call fcn.00409520
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x24], 4
call fcn.0040afa0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.0040ff32
mov ecx, esi
call fcn.0040b030
call fcn.0040c1b0
add eax, 0x30
mov ecx, eax
call fcn.0040a9a0
cmp eax, ebx
mov dword [esp + 0xc], ebx
je 0x409b97
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x4189c0
push eax
call dword [edx]
mov edi, eax
cmp edi, ebx
jge 0x409b72
lea ecx, [esp + 0xc]
call fcn.00409e20
mov dword [esp + 0xc], ebx
jmp 0x409b85
push ebp
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.00409e20
mov dword [esp + 0x10], ebp
pop ebp
cmp edi, ebx
jge 0x409b97
cmp edi, 0x80004002
je 0x409b97
push edi
call fcn.004106a0
mov eax, dword [esp + 0xc]
mov byte [esp + 0x20], 5
cmp eax, ebx
mov dword [esp + 0xc], ebx
je 0x409bb0
push eax
mov ecx, esi
call fcn.0040b390
call fcn.0040c3c0
mov edx, dword [eax]
mov ecx, esi
push edx
call fcn.0040af00
push 1
mov ecx, esi
call fcn.0040b000
test eax, eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x20], bl
jne 0x409c03
cmp eax, ebx
je 0x409bde
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040ff32
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
cmp eax, ebx
je 0x409c0d
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040ff32
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40a448
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41134f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
lea ecx, [esp + 4]
push eax
push 0x418a60
push ecx
push 8
push 1
push 0x60030067
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040ff32
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x40b230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41156f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
lea ecx, [esp + 4]
push eax
push 0x418bec
push ecx
push 8
push 1
push 0x2b
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040ff32
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x40b400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41159f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
lea ecx, [esp + 4]
push eax
push 0x418c10
push ecx
push 8
push 1
push 0x33
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040ff32
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8