joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f890
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f8c3
push esi
call fcn.004429a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f8bc
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 0x43f949
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f932
mov eax, dword [esi + 8]
test eax, eax
je 0x43f8e7
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 0x43f92e
cmp eax, 2
je 0x43f932
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f8da
cmp eax, 3
je 0x43f90d
cmp eax, 1
jne 0x43f8da
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 0x43f8da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f8da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f970
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f958
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f970
add esp, 4
pop esi
ret

Function at 0x44cdd0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44ce73
test eax, eax
jbe 0x44ce73
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44ce73
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44ce1e
xor esi, esi
jmp 0x44ce24
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44ce4f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00404410
add esi, eax
push esi
mov ebx, esi
call fcn.00404410
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44ce30
pop ebp
test edi, edi
pop edi
jne 0x44ce73
test ebx, ebx
je 0x44ce73
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045f940
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44cfb5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44d0cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44d0cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004712e3
mov esi, eax
test esi, esi
je 0x44d0cd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44d0cd
mov ecx, esi
call fcn.0044cf20
cmp edi, eax
jge 0x44d0cd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44d053
mov dword [esp + 0x34], 1
jmp 0x44d0ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44d0cd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044c4c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x450450
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45049a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x4504c9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x45050b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x453360
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 0x4533c6
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 0x4533c6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4533a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x453750
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x453788
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 0x4543b0
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 0x4543f9
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 0x454870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4802e0
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.00454420
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004544a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004544a0
lea ecx, [esi + 0xc]
call fcn.0046f81f
lea ecx, [esi + 0x10]
call fcn.0046f81f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00455a30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00455a30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00455a30
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046f894
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046f894
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x471c87
Capabilities:
Get graphical window text

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

Function at 0x473375
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 0x4733b7
call fcn.00479326
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4733b7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4733ae
xor eax, eax
jmp 0x4733bf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004733c5
pop edi
pop esi
pop ebx
ret 4

Function at 0x479856
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 0x479884
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4798a2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004797bc
jmp 0x4798a2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4798a2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004797bc
test edi, edi
mov eax, edi
jne 0x47988c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401eb5
Capabilities:
Modify service
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0xf003f
xor edi, edi
push edi
push edi
call dword [0x430048]
test eax, eax
mov esi, dword [0x430030]
mov dword [ebp - 4], eax
je 0x401fcc
push 0x10036
push str.W32Time
push eax
call dword [0x430040]
mov edi, eax
test edi, edi
je 0x401fcc
mov ebx, dword [0x430038]
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
test eax, eax
jne 0x401f14
push str.Query_Services_Status_Fail__r_n
jmp 0x401fbe
cmp dword [ebp - 0x1c], 1
jne 0x401f66
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push edi
call dword [0x43002c]
xor eax, eax
cmp dword [ebp + 8], eax
je 0x401f84
push eax
push eax
push edi
call dword [0x430024]
test eax, eax
jne 0x401f5a
push str.start_service_error
jmp 0x401fbe
push dword [ebp - 8]
call dword [0x4302dc]
cmp dword [ebp - 0x1c], 4
je 0x401f7d
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
cmp eax, 1
je 0x401f4b
mov esi, dword [0x430030]
push edi
call esi
push dword [ebp - 4]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push str.start_success
jmp 0x401fbe
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [0x430020]
test eax, eax
jne 0x401fab
push str.stop_service_error
jmp 0x401fbe
push dword [ebp - 8]
call dword [0x4302dc]
cmp dword [ebp - 0x1c], 1
je 0x401fb9
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
cmp eax, 1
je 0x401f9c
jmp 0x401f66
push str.stop_success
call dword [0x4302e0]
push edi
call esi
push dword [ebp - 4]
call esi
push edi
call esi
push dword [ebp - 4]
call esi
mov eax, 0x80004005
jmp 0x401f76
Function at 0x40253f
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [0x430014]
ret 0xc

Function at 0x402a4e
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [ecx + 8]
push edi
xor edi, edi
inc edi
cmp edx, edi
jne 0x402b02
mov ecx, dword [ecx + 0xc]
cmp ecx, 2
jne 0x402a6e
call fcn.0040289c
mov eax, edi
pop edi
ret
cmp ecx, 0xea61
je 0x402a65
cmp ecx, 0xea63
jne 0x402a95
push 0
push 0xf022
push 0x112
push dword [eax + 4]
call dword [0x43037c]
jmp 0x402a6a
cmp ecx, 0x1f45
jne 0x402aaa
push esi
mov esi, eax
call fcn.00403c87
pop esi
mov eax, edi
pop edi
ret
cmp ecx, 0x1f46
jne 0x402aca
push edi
xor eax, eax
push eax
push eax
push str.http:__bbs.duba.net_forum_6412_1.html
push str.open
push eax
call dword [0x430300]
jmp 0x402a6a
cmp ecx, 0x1f47
jne 0x402ade
push edi
xor eax, eax
push eax
push eax
push str.http:__bbs.duba.net_viewthread.php_tid22340696
jmp 0x402abc
cmp ecx, 0x1f49
jne 0x402af0
call fcn.00403cd4
jmp 0x402a6a
cmp ecx, 0x1f48
jne 0x402b02
call fcn.00403d68
jmp 0x402a6a
and dword [eax + 0x30c], 0
xor eax, eax
pop edi
ret

Function at 0x4031f5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x43b044]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x6a]
mov ebx, ecx
push edi
push eax
mov dword [ebp - 0x7c], ebx
mov esi, edx
mov word [ebp - 0x6c], di
call fcn.0041c280
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x1a8]
mov dword [ebp - 0x70], 0x104
push dword [ebx + 4]
mov ebx, dword [0x43000c]
call ebx
cmp eax, edi
mov dword [ebp - 0x74], eax
jne 0x40326c
lea eax, [ebp - 0x6c]
push eax
push esi
call fcn.00411dc3
jmp 0x4032b5
cmp eax, 0xea
jne 0x4032b5
cmp dword [ebp - 0x70], edi
jbe 0x4032b5
push dword [ebp - 0x70]
call fcn.004025d8
lea ecx, [ebp - 0x80]
push ecx
push edi
push edi
push edi
lea ecx, [ebp - 0x70]
push ecx
push eax
push dword [ebp + 0x1a8]
mov eax, dword [ebp - 0x7c]
push dword [eax + 4]
call ebx
mov dword [ebp - 0x74], eax
mov eax, dword [esi]
cmp eax, edi
jne 0x4032a7
xor eax, eax
jmp 0x4032ae
push eax
call fcn.0041d34f
pop ecx
mov edx, esi
call fcn.00402429
mov ecx, dword [ebp + 0x19c]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c1e3
add ebp, 0x1a0
leave
ret 4
Function at 0x4033b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x20019
push esi
push str.SoftwareKingsoftAntivirus
push 0x80000001
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], vtable.CRegKeyHepler.0
mov dword [ebp - 4], esi
call dword [0x430018]
test eax, eax
jne 0x4033f1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str.ReminiSysTimeErr
push dword [ebp - 0x10]
mov dword [ebp - 4], 4
call dword [0x430010]
cmp dword [ebp - 8], esi
jne 0x403425
lea ecx, [ebp - 0x14]
call fcn.00401e7c
mov eax, esi
pop esi
leave
ret
xor esi, esi
inc esi
jmp 0x403418

Function at 0x403d68
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, eax
add edi, 0x50
mov esi, 0x1f48
push esi
mov eax, edi
mov dword [ebp - 0x10], edi
call fcn.0040441f
test eax, eax
je 0x403dff
lea eax, [ebp - 4]
push eax
push 0x20006
xor ebx, ebx
push ebx
push str.SoftwareKingsoftAntivirus
xor edi, edi
push 0x80000001
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], vtable.CRegKeyHepler.0
mov dword [ebp - 4], ebx
call dword [0x430018]
test eax, eax
jne 0x403dbf
mov edi, dword [ebp - 4]
mov dword [ebp - 0x14], edi
push 4
lea eax, [ebp - 8]
push eax
push 4
push ebx
push str.ReminiSysTimeErr
push edi
mov dword [ebp - 8], 1
call dword [0x430014]
cmp edi, ebx
mov dword [ebp - 0xc], eax
je 0x403dec
push edi
call dword [0x43001c]
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x18]
call fcn.00401e7c
cmp dword [ebp - 0xc], ebx
je 0x403e14
mov eax, dword [ebp - 0x10]
push ebx
jmp 0x403e0e
push 0
call fcn.00413695
test eax, eax
jne 0x403e14
push 1
mov eax, edi
push esi
call fcn.0040444d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403f58
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
xor esi, esi
mov ebx, eax
cmp ebx, esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], esi
jne 0x403f8d
mov eax, dword [0x43f558]
cmp eax, esi
je 0x403f7b
mov ebx, dword [eax + 4]
jmp 0x403f7d
xor ebx, ebx
cmp ebx, esi
jne 0x403f8d
call dword [0x4303f4]
mov ebx, eax
cmp ebx, esi
je 0x403fb2
call dword [0x430448]
cmp ebx, eax
je 0x403fb2
push ebx
call dword [0x430450]
test eax, eax
je 0x403fb2
push esi
push ebx
call dword [0x430444]
mov dword [esp + 0x1c], 1
push ebx
mov dword [edi + 0x2fc], esi
call fcn.00404488
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x403fd8
push 1
push ebx
call dword [0x430444]
xor eax, eax
jmp 0x4040c9
mov eax, dword [0x43f558]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x403fef
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
lea eax, [edi + 4]
push eax
mov eax, ebx
call fcn.00411845
cmp dword [edi + 0x2f8], esi
je 0x40406a
push esi
call dword [0x430428]
push eax
call dword [0x430430]
mov ebp, eax
call dword [0x430264]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [0x430424]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [0x430414]
cmp ebp, dword [esp + 0x14]
je 0x40404e
push 1
push ebp
push dword [esp + 0x1c]
call dword [0x43040c]
push dword [esp + 0x18]
call dword [0x43032c]
cmp ebp, dword [esp + 0x14]
je 0x40406a
push esi
push ebp
push dword [esp + 0x1c]
call dword [0x43040c]
call fcn.004045c1
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [edi + 4]
mov dword [edi + 0x2fc], esi
call dword [0x430414]
cmp dword [esp + 0x1c], esi
je 0x4040ad
push 1
push ebx
call dword [0x430444]
cmp ebx, esi
je 0x4040ad
call dword [0x4303f4]
cmp eax, dword [edi + 4]
jne 0x4040ad
push ebx
call dword [0x430324]
mov eax, dword [0x43f558]
cmp eax, esi
je 0x4040bd
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
push dword [edi + 4]
call dword [0x430348]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x405334
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [0x430450]
test eax, eax
je 0x40537b
push 0x11
call dword [0x430370]
test ax, ax
jl 0x405374
cmp dword [esp + 4], 0x1b
jne 0x40535b
push 0
push 2
jmp 0x405366
cmp dword [esp + 4], 0xd
jne 0x405374
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [0x43037c]
and dword [esi + 0x300], 0
ret 4
Function at 0x40bdaa
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
inc edi
cmp eax, 0xf
mov esi, ecx
jne 0x40bdd9
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0x98]
mov dword [eax], edi
and dword [ecx], 0
cmp dword [eax], 0
je 0x40be10
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x40be31
push dword [esi + 0x10]
mov dword [esi + 0x98], edi
push dword [esi + 0xc]
call dword [0x43039c]
mov ebx, eax
test ebx, ebx
je 0x40be0a
push ebx
call dword [0x4303f8]
test eax, eax
je 0x40be0a
push 0
push ebx
call dword [0x4303c0]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi + 0x98], 0
jne 0x40bdd0
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409d55
jmp 0x40bdd2
cmp eax, 0x47
jne 0x40be56
push dword [ebp + 0x14]
lea ebx, [esi + 0x98]
mov eax, esi
mov dword [ebx], edi
call fcn.0040be7c
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [ebx], 0
jmp 0x40bdce
cmp eax, 0x18
jne 0x40be10
mov eax, dword [ebp + 0x10]
lea ebx, [esi + 0x98]
mov dword [ebx], edi
call fcn.0040bf53
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [ebx], 0
jne 0x40bdd0
jmp 0x40be10

Function at 0x411305
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
push dword [esi + 4]
call dword [0x4303dc]
xor ebx, ebx
lea edi, [esi + 0x278]
cmp dword [edi], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x411330
call dword [0x4303bc]
mov dword [edi], ebx
mov eax, dword [esi + 0x26c]
cmp eax, ebx
je 0x4113fd
push eax
call fcn.00408673
mov edi, eax
cmp edi, ebx
pop ecx
je 0x4113b2
push ebx
push esi
push 2
pop eax
mov ecx, edi
call fcn.0041105f
mov eax, dword [esi + 0x26c]
cmp eax, dword [esi + 0x268]
jne 0x4113b2
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00407ea9
mov eax, dword [edi + 0x40]
cmp eax, ebx
je 0x4113a1
cmp word [eax], bx
je 0x4113a1
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [0x430300]
jmp 0x4113b2
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4113b2
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
mov dword [esi + 0x26c], ebx
je 0x4113fd
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
call dword [0x43035c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call dword [0x4303a0]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push 0x4e
push eax
call dword [0x43037c]
pop edi
pop ebx
leave
ret 0xc