joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b3b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a90f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x610044]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne case.0x42b403.10
mov eax, dword [esi + 8]
add eax, 0xfffffff7
cmp eax, 0x4b
ja case.0x42b403.10
movzx eax, byte [eax + 0x42b4f8]
jmp dword [eax*4 + 0x42b4e8]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0044699f
test eax, eax
je 0x42b437
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x42b439
xor eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str._SW_Trigger_
lea esi, [eax + 0x4d88]
call fcn.00402570
mov dword [esp + 0x24], 0
mov dword [esp + 0x24], 0xffffffff
mov ecx, esi
call fcn.0042c340
mov ecx, edi
call fcn.00428260
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x42b403.10
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0044cba1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10c]
push esi
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, edi
call fcn.0047d24b
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x434370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x21b78]
xor ecx, ecx
cmp eax, ecx
je 0x43438b
cmp eax, 1
je 0x43438b
xor al, al
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xa0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [esi + 0x9c], ecx
cmp eax, ecx
je 0x4343f3
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push eax
call edi
cmp dword [ebp - 4], 0x103
jne 0x4343da
lea esp, [esp]
mov eax, dword [esi + 0xa0]
lea edx, [ebp - 4]
push edx
push eax
call edi
push 0x64
call ebx
cmp dword [ebp - 4], 0x103
je 0x4343c0
mov ecx, dword [esi + 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa0], 0
xor ecx, ecx
mov eax, dword [esi + 0x10c]
mov dword [esi + 0x108], ecx
cmp eax, ecx
je 0x434449
lea edx, [ebp - 4]
push edx
push eax
mov dword [ebp - 4], ecx
call edi
cmp dword [ebp - 4], 0x103
jne 0x434430
mov ecx, dword [esi + 0x10c]
lea eax, [ebp - 4]
push eax
push ecx
call edi
push 0x64
call ebx
cmp dword [ebp - 4], 0x103
je 0x434416
mov edx, dword [esi + 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10c], 0
xor ecx, ecx
push ecx
push ecx
push esi
push 0x42f3f0
push ecx
push ecx
call fcn.0057ae6e
push 0
push 0
push esi
push 0x430690
push 0
push 0
mov dword [esi + 0xa0], eax
call fcn.0057ae6e
add esp, 0x30
pop edi
mov dword [esi + 0x10c], eax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437d90
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push esi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x10]
push ecx
call esi
lea edx, [esp + 8]
push edx
call esi
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sbb ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
fild qword [esp + 0x18]
fild qword [esp + 0x20]
fdivp st(1)
fld qword [0x5e4cf8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 4]
fld dword [esp + 4]
fcompp
fnstsw ax
test ah, 5
jnp 0x437db2
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43a900
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa448
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x610044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0044699f
xor edi, edi
cmp eax, edi
je 0x43a940
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x14], eax
jmp 0x43a943
mov dword [ebp - 0x14], edi
push 0x12c
mov dword [esi + 0x21b28], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x1058]
cmp eax, edi
je 0x43a9e6
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
mov edx, dword [eax + 0x2c]
push ecx
push edx
call ebx
cmp dword [ebp - 0x10], 0x103
jne 0x43a9bc
mov edi, edi
mov ecx, dword [esi + 0x1058]
mov edx, dword [ecx + 0x2c]
lea eax, [ebp - 0x10]
push eax
push edx
inc edi
call ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x32
jg 0x43a9a9
cmp dword [ebp - 0x10], 0x103
je 0x43a980
jmp 0x43a9bc
mov eax, dword [esi + 0x1058]
test eax, eax
je 0x43a9bc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x1058]
xor edi, edi
test eax, eax
je 0x43a9e6
mov dword [eax + 0x2c], edi
mov ecx, dword [esi + 0x1058]
cmp ecx, edi
je 0x43a9de
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 0x1058], edi
xor edi, edi
lea ecx, [esi + 0x1aa78]
mov dword [esi + 0x21ac8], edi
call dword [sym.imp.Byda_SDK.dll_public:_void___thiscall_CByda_SDK::initBydaSDK_Flag_void_]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.initSDK_Flag
call fcn.00402570
mov dword [ebp - 4], edi
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x14]
lea ecx, [ebx + 0x4d88]
call fcn.0042c340
push edi
push edi
push edi
push 2
push ebx
push 0x437e00
mov dword [esi + 0x1b02c], edi
call fcn.00447415
mov dword [esi + 0x1058], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43aa50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a90f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x610044]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne case.0x43aaaa.13
mov eax, dword [esi + 8]
add eax, 0xfffffff7
cmp eax, 0x4b
ja case.0x43aaaa.13
movzx eax, byte [eax + 0x43abac]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jmp dword [eax*4 + 0x43ab98]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0044699f
test eax, eax
je 0x43aae1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov esi, eax
jmp 0x43aae3
xor esi, esi
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str._SW_Trigger_
call fcn.00402570
mov dword [esp + 0x24], 0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esi + 0x4d88]
call fcn.0042c340
mov ecx, esi
call fcn.00428260
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x11
call ebx
test ax, ax
jns case.0x43aaaa.11
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0044cba1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10c]
push esi
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x11
call ebx
test ax, ax
js 0x43ab39
push esi
mov ecx, edi
call fcn.0044aa45
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43ba30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9062
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x610044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
push 0x5dbc87
mov ecx, edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x220], esi
call fcn.00402570
mov dword [ebp - 4], esi
push 0x100
lea eax, [ebp - 0x210]
push esi
push eax
mov dword [ebp - 0x220], 1
call fcn.0057da80
push 0x100
lea ecx, [ebp - 0x110]
push esi
push ecx
mov dword [ebp - 0x21c], esi
call fcn.0057da80
add esp, 0x18
push 0x100
lea edx, [ebp - 0x210]
push edx
push esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
cmp ebx, esi
je 0x43bc16
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [ebp - 0x21c]
push eax
push ebx
mov dword [ebp - 0x224], eax
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea ecx, [ebp - 0x110]
push str.VarFileInfoTranslation
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [ebp - 0x224]
add esp, 8
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x110]
push ecx
push ebx
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x43bb8f
cmp dword [ebp - 0x218], esi
je 0x43bb8f
mov eax, dword [ebp - 0x214]
cmp eax, esi
je 0x43bb8f
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str._04x_04x
push edi
call fcn.00402010
add esp, 0x10
jmp 0x43bb9d
push 8
push 0x5e4590
mov ecx, edi
call fcn.00402450
mov ecx, dword [edi]
push 0x5e2d50
push ecx
lea edx, [ebp - 0x110]
push str.StringFileInfo_s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x110]
push edx
push ebx
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
cmp eax, esi
je 0x43bc09
cmp dword [ebp - 0x218], esi
je 0x43bc09
mov eax, dword [ebp - 0x214]
cmp eax, esi
je 0x43bc09
push eax
push 0x5dbc88
push edi
call fcn.00402010
add esp, 0xc
jmp 0x43bc16
push esi
push 0x5dbc87
mov ecx, edi
call fcn.00402450
mov eax, edi
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.0057a982
mov esp, ebp
pop ebp
ret
Function at 0x43cb30
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edi + 0x930]
sub esp, 0x20
test eax, eax
je 0x43cc0b
mov eax, dword [eax + 0x2c]
push ebx
push esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [ebp - 4], 0
jmp 0x43cb70
mov ecx, dword [edi + 0x94c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call esi
test eax, eax
je 0x43cbc2
lea ebx, [ebx]
lea eax, [ebp - 0x20]
push eax
call ebx
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call esi
test eax, eax
jne 0x43cba0
cmp dword [ebp - 4], 0x32
jg 0x43cbd1
cmp byte [edi + 0x934], 0
jne 0x43cb70
cmp byte [edi + 0x934], 0
pop esi
pop ebx
je 0x43cbee
mov eax, dword [edi + 0x930]
mov eax, dword [eax + 0x2c]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [edi + 0x930]
test ecx, ecx
je 0x43cc0b
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [edi + 0x930], 0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x43e260
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edi]
sub esp, 0x20
test eax, eax
je 0x43e319
mov eax, dword [eax + 0x2c]
push ebx
push esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x64
mov byte [edi + 0x18], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call esi
test eax, eax
je 0x43e2e2
lea esp, [esp]
lea eax, [ebp - 0x20]
push eax
call ebx
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call esi
test eax, eax
jne 0x43e2c0
cmp dword [ebp - 4], 0x32
jg 0x43e2ee
cmp byte [edi + 4], 0
jne 0x43e291
cmp byte [edi + 4], 0
pop esi
pop ebx
je 0x43e304
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
push 0x78
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [edi]
test ecx, ecx
je 0x43e313
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [edi], 0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x43f830
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edi]
sub esp, 8
push ebx
push esi
test eax, eax
js 0x43f84b
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi], 0xffffffff
xor bl, bl
cmp dword [edi + 0x501c], 0
je 0x43f8da
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi], eax
test eax, eax
js 0x43f8f5
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [ebp - 4]
push ecx
push 0x1005
push 0xffff
mov ebx, 0x4e20
push eax
mov dword [ebp - 4], ebx
call esi
mov eax, dword [edi]
push 4
lea edx, [ebp - 4]
push edx
push 0x1006
push 0xffff
push eax
mov dword [ebp - 4], ebx
call esi
cmp dword [edi + 0x5020], 0x10
lea eax, [edi + 0x500c]
jb 0x43f8ba
mov eax, dword [eax]
movzx ecx, word [edi + 0x5028]
mov esi, dword [edi]
push ecx
mov ecx, eax
call fcn.00440160
add esp, 4
test eax, eax
js 0x43f8da
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
test eax, eax
js 0x43f8ed
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi], 0xffffffff
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43fdb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x610044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x10], eax
xor eax, eax
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea ebx, [esi + 8]
nop
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_ClearCommError]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
push edx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0xc], 0
jne 0x43fe28
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 0x2c]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
push edx
call edi
cmp dword [ebp - 0xc], 0
je 0x43feae
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0xc]
mov edx, dword [esi + 0xc0]
lea edi, [esi + 0x3c]
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x2c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43fe71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp eax, 0x3e5
jne 0x43fe71
mov edx, dword [esi + 0x2c]
push 1
lea ecx, [ebp - 0x14]
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
xor edi, edi
mov dword [esi + 0xc4], eax
test eax, eax
je 0x43fde0
jmp 0x43fe90
mov ecx, dword [esi + 0xc0]
movzx edx, byte [edi + ecx]
mov eax, dword [esi]
mov eax, dword [eax]
push edx
mov ecx, esi
call eax
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x43fe90
jmp 0x43fde0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0057a982
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4400e0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 4]
test eax, eax
je 0x44014f
mov eax, dword [eax + 0x2c]
push ebx
push edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea ecx, [ecx]
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xa
call ebx
inc edi
cmp edi, 0x1f4
jg 0x44011d
cmp dword [esi + 0x20], 0
jne 0x440100
cmp dword [esi + 0x20], 0
je 0x440136
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x2c]
push 1
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xa
call ebx
mov ecx, dword [esi + 4]
pop edi
pop ebx
test ecx, ecx
je 0x44014f
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 4], 0
mov eax, 1
ret

Function at 0x440160
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x610044]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ioctlsocket]
push edi
lea eax, [ebp - 0x128]
push eax
push 0x8004667e
push esi
mov edi, ecx
mov dword [ebp - 0x128], 1
call ebx
mov ecx, 2
push edi
mov word [ebp - 0x18], cx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edx, dword [ebp + 8]
push edx
mov dword [ebp - 0x14], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x16], ax
push 0x10
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
lea ecx, [ebp - 0x130]
push ecx
xor edi, edi
push edi
lea edx, [ebp - 0x124]
push edx
push edi
lea eax, [esi + 1]
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x130], 0xa
mov dword [ebp - 0x12c], edi
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x440216
lea ecx, [ebp - 0x124]
push ecx
push esi
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x440219
or edi, 0xffffffff
lea edx, [ebp - 0x128]
push edx
push 0x8004667e
push esi
mov dword [ebp - 0x128], 0
call ebx
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0057a982
mov esp, ebp
pop ebp
ret

Function at 0x440250
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
test edi, edi
jle 0x440285
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov ecx, dword [ebp + 0xc]
push 0
mov eax, edi
sub eax, esi
push eax
mov eax, dword [ebp + 8]
lea edx, [esi + ecx]
push edx
push eax
call ebx
test eax, eax
jle 0x44027f
add esi, eax
cmp esi, edi
jl 0x440261
pop ebx
mov eax, esi
pop esi
pop ebp
ret
mov eax, esi
pop esi
pop ebp
ret

Function at 0x440290
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
test edi, edi
jle 0x4402bf
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov ecx, dword [ebp + 0xc]
push 0
mov eax, edi
sub eax, esi
push eax
mov eax, dword [ebp + 8]
lea edx, [esi + ecx]
push edx
push eax
call ebx
test eax, eax
jle 0x4402c8
add esi, eax
cmp esi, edi
jl 0x4402a1
pop esi
mov eax, 1
pop ebx
pop ebp
ret
cmp esi, edi
jge 0x4402bf
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4402e0
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x610044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ioctlsocket]
push edi
lea eax, [ebp - 0x114]
push eax
push 0x8004667e
push esi
mov edi, ecx
mov dword [ebp - 0x114], 1
call ebx
test eax, eax
jne 0x440392
push 0x10
push edi
push esi
call dword [sym.imp.WS2_32.dll_connect]
xor edi, edi
lea ecx, [ebp - 0x11c]
push ecx
push edi
lea edx, [ebp - 0x110]
push edx
push edi
push edi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x11c], 3
mov dword [ebp - 0x118], edi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, edi
je 0x440392
cmp eax, 0xffffffff
je 0x440392
lea eax, [ebp - 0x114]
push eax
push 0x8004667e
push esi
mov dword [ebp - 0x114], edi
call ebx
test eax, eax
jne 0x440392
lea eax, [edi + 1]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057a982
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0057a982
mov esp, ebp
pop ebp
ret

Function at 0x45052e
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 0x450575
call fcn.00467cde
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x450575
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x450591
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00450033
mov esi, eax
test edi, edi
je 0x45058f
test ebx, ebx
je 0x45058f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4514c9
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x59c452
call fcn.0057d47f
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4514ee
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x451540
call fcn.0044196e
push eax
lea ecx, [ebp - 0x10]
call fcn.00402630
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.0057cec9
push eax
call fcn.0040d9f0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402990
mov eax, esi
call fcn.0057d557
ret 8

Function at 0x460217
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 8