joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ad58
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483ba9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0045d840
lea edi, [esi + 0x108]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0xc]
mov dword [edi], 0x4b2938
call fcn.004736ff
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 1
call fcn.004736ff
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 2
call fcn.0045d410
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 3
call fcn.0045d410
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 4
call fcn.004736ff
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 5
call fcn.004736ff
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 6
call fcn.0045d410
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 7
call fcn.0045d410
mov dword [edi], 0x4b2930
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 8
call fcn.0045d840
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 9
call fcn.0045d840
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 0xa
call fcn.0045d840
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 0xb
call fcn.0045d840
lea ecx, [esi + 0x654]
mov byte [esp + 0x18], 0xc
call fcn.0045d840
mov ecx, esi
mov byte [esp + 0x18], 0xd
mov dword [esi], method.CWnd.virtual_0
call fcn.0045b080
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x45af40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483cbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
lea ecx, [esi + 0x654]
mov dword [esp + 0x18], 5
call fcn.0045da10
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 4
call fcn.0045da10
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 3
call fcn.0045da10
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 2
call fcn.0045da10
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 1
call fcn.0045da10
lea edi, [esi + 0x108]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 0xc
mov dword [ecx], 0x4b2940
call fcn.0045d610
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 0xb
mov dword [ecx], 0x4b2940
call fcn.0045d610
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 0xa
call fcn.00473728
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 9
call fcn.00473728
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x4b2940
call fcn.0045d610
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x4b2940
call fcn.0045d610
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 6
call fcn.00473728
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 0
call fcn.00473728
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0045da10
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45fe00
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 0x45fe66
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 0x45fe66
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45fe47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4601f0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x460228
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 0x460ea0
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 0x460ee9
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 0x461360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4841c0
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.00460f10
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00460f90
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00460f90
lea ecx, [esi + 0xc]
call fcn.00474c81
lea ecx, [esi + 0x10]
call fcn.00474c81
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00462520
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00462520
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00462520
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00474cf6
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00474cf6
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47709a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4770d2
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.00475151
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00475129
jmp 0x4770de
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x478788
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 0x4787ca
call fcn.0047e742
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4787ca
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4787c1
xor eax, eax
jmp 0x4787d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004787d8
pop edi
pop esi
pop ebx
ret 4

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

Disassembly:
mov eax, 0x484b78
call fcn.004667b8
push ecx
push ecx
push esi
push 0x14
call fcn.00474a37
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x47a1e5
mov ecx, esi
call fcn.0047520b
mov eax, dword [0x4d1158]
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CFileException.0
mov dword [esi + 0xc], eax
call fcn.00474e33
jmp 0x47a1e7
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x4bd750
push eax
mov dword [ebp - 0x10], esi
call fcn.00466bdc
pop esi

Function at 0x47ec72
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 0x47eca0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47ecbe
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047ebd8
jmp 0x47ecbe
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47ecbe
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047ebd8
test edi, edi
mov eax, edi
jne 0x47eca8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401449
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 2
jne 0x401591
mov dword [ebp - 8], esp
push 0x4f1450
push dword [ebp + 8]
mov eax, 7
call fcn.004085f4
cmp dword [ebp - 8], esp
je 0x40148a
push 6
call fcn.004085ee
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4014e0
mov dword [ebp - 8], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4014be
push 6
call fcn.004085ee
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4014e0
push 6
call fcn.004085ee
add esp, 4
mov dword [ebp - 8], esp
push str.Comet_Image
push dword [ebp + 8]
mov eax, 7
call fcn.004085f4
cmp dword [ebp - 8], esp
je 0x401507
push 6
call fcn.004085ee
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401536
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.GdiPlus.dll_GdipDisposeImage]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401536
push 6
call fcn.004085ee
add esp, 4
mov dword [ebp - 8], esp
push str.Comet_Stream
push dword [ebp + 8]
mov eax, 7
call fcn.004085f4
cmp dword [ebp - 8], esp
je 0x40155d
push 6
call fcn.004085ee
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40158c
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40158c
push 6
call fcn.004085ee
add esp, 4
jmp 0x401658
cmp dword [ebp + 0xc], 0x201
jne 0x401658
mov dword [ebp - 8], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, 0xc
call fcn.004085f4
cmp dword [ebp - 8], esp
je 0x4015c9
push 6
call fcn.004085ee
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push str.CometHitMove
push dword [ebp + 8]
mov eax, 7
call fcn.004085f4
cmp dword [ebp - 8], esp
je 0x4015f3
push 6
call fcn.004085ee
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x401650
mov dword [ebp - 8], esp
mov eax, 0xd
call fcn.004085f4
cmp dword [ebp - 8], esp
je 0x40161f
push 6
call fcn.004085ee
add esp, 4
mov dword [ebp - 8], esp
push 0
push 2
push 0xa1
push dword [ebp + 8]
mov eax, 0xe
call fcn.004085f4
cmp dword [ebp - 8], esp
je 0x401650
push 6
call fcn.004085ee
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x401688
mov dword [ebp - 8], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, 0xc
call fcn.004085f4
cmp dword [ebp - 8], esp
je 0x401683
push 6
call fcn.004085ee
add esp, 4
jmp 0x401688
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402943
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00402af3
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x402a41
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4029e4
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x402a27
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4029fb
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x402a16
test al, 0x40
je 0x402a0d
mov ecx, dword [edi + 0x20]
jmp 0x402a14
test al, 0x80
je 0x402a27
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x402a27
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4029b3
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x408b92
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 8], 0
lea eax, str.RqSP
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
mov ebx, dword [esi + 0x54]
push edx
push 4
lea edi, [ecx + 0x280]
lea eax, [ebx + 0x280]
mov dword [ebp - 0xc], edi
mov edx, eax
add eax, eax
and edx, 0xfff
sub eax, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x408c25
mov edx, dword [esi + 0x54]
mov ecx, esi
sub ecx, edi
add edx, ecx
mov ecx, ebx
mov dword [esi + 0x54], edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x38]
lea eax, [ecx + edx*8 + 0x58]
mov ecx, dword [ecx]
shl edx, 3
sub ebx, edx
sub ebx, 0x58
shr ebx, 2
je 0x408c25
mov edx, ebx
mov ebx, dword [eax]
add eax, 4
xor ebx, ecx
dec edx
mov dword [eax - 4], ebx
jne 0x408c18
lea eax, [0x408672]
push eax
lea eax, sym.imp.KERNEL32.dll_FreeLibrary
push eax
call fcn.00408b52
mov dword [0x7a0152], eax
lea eax, [0x4086d2]
push eax
lea eax, sym.imp.KERNEL32.dll_GetProcAddress
push eax
call fcn.00408b52
mov dword [0x7a0156], eax
lea eax, [0x408752]
push eax
lea eax, sym.imp.KERNEL32.dll_LoadLibraryA
push eax
call fcn.00408b52
mov dword [0x7a015a], eax
add esp, 0x18
mov eax, dword [ebp + 8]
push 0
push 1
push eax
mov dword [0x7a013e], eax
call fcn.004a87d6
push 0x3e8
call fcn.00461a62
mov dword [ebp - 8], eax
mov dword [0x7a014a], esp
mov dword [0x7a014e], ebp
push dword [ebp - 0xc]
call dword [ebp - 8]
mov dword [ebp + 8], eax
mov eax, dword [0x7a013e]
push 0
push 0
push eax
call fcn.004a87d6
mov eax, dword [0x7a0142]
test eax, eax
je 0x408cc3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x410512
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x78c822]
xor edx, edx
cmp eax, edx
jne 0x410538
xor eax, eax
mov byte [eax + 0x78c722], al
inc eax
cmp eax, 0x100
jl 0x410520
mov dword [0x78c822], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x78c722
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4105c9
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 0x41059c
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 0x41056a
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x410642
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 0x410695
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 0x41067c
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 0x410912
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c3bb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 8]
call fcn.00433f72
mov eax, dword [0x78a83a]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x24], eax
mov ecx, dword [0x78a83a]
mov dword [esi + 0x28], ecx
mov edx, dword [0x78a83a]
mov dword [esi + 0x2c], edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 3
call fcn.00433f72
lea edx, [esi + 0x48]
mov ecx, 0x1c
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x494]
mov byte [esp + 0x18], 4
mov dword [edx], 0x42444557
mov dword [edx + 4], 0x10000
call fcn.004b6e6a
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x4d3ed4
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], 0xffffffff
mov dword [esi + 0xd0], ebx
mov dword [esi + 0x4a8], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41ded2
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41df40
cmp si, 0x69
ja 0x41df40
add esi, 0xffd0
cmp si, 0x11
je 0x41df10
push 0x11
call edi
test ax, ax
jge 0x41df10
or esi, 0x2000
cmp si, 0x10
je 0x41df25
push 0x10
call edi
test ax, ax
jge 0x41df25
or esi, 0x4000
cmp si, 0x12
je 0x41df3a
push 0x12
call edi
test ax, ax
jge 0x41df3a
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41df4d
mov esi, 0xbd
jmp 0x41df01
cmp si, 0x6e
jne 0x41df5a
mov esi, 0xbe
jmp 0x41df01
cmp si, 0x6f
jne 0x41defb
mov esi, 0xbf
jmp 0x41df01

Function at 0x421112
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x421172
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x421172
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x421172
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x421172
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 0x4211b2
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 0x422e22
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c4ba5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004b7b41
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004beb9c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004c0257
test eax, eax
je 0x422f3e
mov ecx, dword [esp + 0x3c]
call fcn.004bebc9
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x422f02
push edi
mov ecx, esi
call fcn.004ba84b
mov ecx, esi
call fcn.004230a2
cmp dword [esp + 0x38], 1
jne 0x422f37
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004ba986
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x424832
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c4cfa
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42486b
inc eax
mov dword [esi + 0x10], eax
jmp 0x42497e
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42487f
mov eax, 0xffffffc7
jmp 0x424980
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x424890
cmp dword [esi + 8], eax
jne 0x42487f
cmp dword [esi + 8], eax
jne 0x4248a9
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4248a9
mov eax, 0xffffffc7
jmp 0x424980
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4248bd
push eax
mov ecx, ebx
call fcn.00424062
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00433f72
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4248ee
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00433f92
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004237d2
test eax, eax
mov dword [esp + 0x38], eax
je 0x424921
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4d3ed0
call fcn.00434172
mov eax, dword [esp + 0x38]
jmp 0x424980
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00424692
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x424965
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004246b2
mov esi, eax
test esi, esi
jne 0x424995
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00424692
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x424937
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4d3ed0
call fcn.00434172
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4d3ed0
call fcn.00434172
mov eax, esi
jmp 0x424980
Function at 0x428082
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4280b5
push esi
call fcn.0042cbe2
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4280ae
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x42813b
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x428124
mov eax, dword [esi + 8]
test eax, eax
je 0x4280d9
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x428120
cmp eax, 2
je 0x428124
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4280cc
cmp eax, 3
je 0x4280ff
cmp eax, 1
jne 0x4280cc
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4280cc
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4280cc
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00428162
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x42814a
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00428162
add esp, 4
pop esi
ret