joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429020
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x28
push edi
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 4]
test edx, edx
jne 0x429036
xor eax, eax
pop edi
add esp, 0x28
ret
mov ecx, dword [edi + 8]
cmp dword [esp + 0x34], ecx
jge 0x429043
mov dword [esp + 0x34], ecx
mov eax, dword [edi + 0xc]
push ebx
push ebp
push esi
cmp dword [esp + 0x44], eax
jge 0x429053
mov dword [esp + 0x44], eax
cmp edi, 0x696ed8
jne 0x429063
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x40]
cmp esi, 1
jl 0x4290df
mov ebx, dword [esp + 0x44]
cmp ebx, 1
jl 0x4290df
lea eax, [esp + 0x20]
push eax
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [esp + 0x24], esi
jne 0x429093
cmp dword [esp + 0x28], ebx
je 0x4291e5
mov ecx, dword [0x6a0f40]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x4290df
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
call ebp
mov ebx, eax
test ebx, ebx
push esi
jne 0x4290c3
mov edx, dword [0x6a0f40]
push edx
jmp 0x4290d9
call ebp
mov ebp, eax
test ebp, ebp
jne 0x42910c
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [0x6a0f40]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [edi + 4]
test eax, eax
je 0x4290ed
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0
mov dword [edi + 4], 0
mov byte [edi + 0x10], 0
call fcn.00421dc0
add esp, 4
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x28
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x429133
push ebp
mov ebp, dword [sym.imp.GDI32.dll_DeleteDC]
call ebp
push ebx
call ebp
jmp 0x4290d2
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call esi
mov ecx, dword [edi + 4]
push ecx
push ebp
mov dword [esp + 0x18], eax
call esi
mov dword [esp + 0x14], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x3c], 0
jmp 0x429160
xor esi, esi
mov edx, dword [edi + 0xc]
push 0xcc0020
push 0
push 0
push ebp
push edx
push eax
mov eax, dword [esp + 0x54]
push eax
push esi
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x40]
add esi, eax
cmp esi, ecx
jl 0x429162
mov ecx, dword [esp + 0x3c]
mov esi, dword [edi + 0xc]
mov edx, dword [esp + 0x44]
add ecx, esi
cmp ecx, edx
mov dword [esp + 0x3c], ecx
jl 0x429160
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push ebx
call esi
mov edx, dword [esp + 0x14]
push edx
push ebp
call esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
call esi
push ebx
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [0x6a0f40]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], eax
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x28
ret
Function at 0x429cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push edi
push eax
call fcn.0058ea30
mov edi, eax
add esp, 4
test edi, edi
je 0x429da0
mov ecx, dword [edi + 0x1e90]
push ecx
call fcn.00508aa0
add esp, 4
test eax, eax
je 0x429da0
push ebx
push esi
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov eax, dword [edi + 0x1480]
cmp esi, eax
je 0x429d3f
cmp esi, dword [edi + 0x1484]
jne 0x429d9e
cmp esi, eax
jne 0x429d47
mov ecx, dword [edi + 0x12cc]
jmp 0x429d4d
mov ecx, dword [edi + 0x12d0]
test ecx, ecx
mov edx, dword [edi + 0x1e90]
mov dword [edx + 0x7188], 0
je 0x429dc8
mov eax, ecx
mov ebx, 1
cmp dword [eax + 0x1c], ebx
je 0x429da2
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x429d68
mov eax, dword [ecx + 0x44]
mov dword [eax + 0x1c], ebx
mov eax, dword [eax]
mov ecx, dword [edi + 0x14ac]
push eax
push ecx
push esi
call fcn.0048a270
push 0x7d000
push 0x7d000
push ebx
push esi
call fcn.00489e90
add esp, 0x1c
pop esi
pop ebx
pop edi
ret
cmp eax, ecx
je 0x429dc8
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x429dc8
cmp dword [ecx], 0
je 0x429dc8
mov dword [eax + 0x1c], 0
mov edx, dword [ecx]
mov dword [ecx + 0x1c], ebx
mov eax, dword [edi + 0x14ac]
push edx
push eax
jmp 0x429d84
pop esi
pop ebx
pop edi
mov dword [esp + 4], 0
jmp fcn.00421dc0
Function at 0x432b10
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push edi
push eax
call fcn.0058ea30
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 8], edi
je 0x432d51
mov ecx, dword [esp + 0x18]
push ebp
push 0x180
push 0x40
push 0x4301
push ecx
call fcn.005f025f
mov ebp, eax
add esp, 0x10
test ebp, ebp
jge 0x432b5f
push 0
call fcn.00421dc0
add esp, 4
pop ebp
pop edi
add esp, 0xc
ret
push ebx
push esi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [edi]
push 0x400
push 0x676ee8
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push 0x57c
call fcn.00424130
push eax
push 0x676ee8
call fcn.005da9a0
add esp, 0x10
test eax, eax
mov dword [esp + 0x10], eax
je 0x432be1
add eax, 4
mov ecx, eax
mov dword [esp + 0x10], eax
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x432bc0
sub ecx, esi
push ecx
push eax
push ebp
call fcn.005e616f
push 1
push 0x5f55fc
push ebp
call fcn.005e616f
add esp, 0x18
mov ecx, dword [edi + 0x1488]
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push ebx
push 0x189
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x432d3a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x432d3a
mov edx, 0x676ee8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x432c17
cmp byte [0x676ee8], 0x20
mov eax, 0x676ee8
mov dword [esp + 0x10], eax
jne 0x432c3d
inc eax
mov dword [esp + 0x10], eax
cmp byte [eax], 0x20
je 0x432c33
cmp byte [eax], 0
je 0x432d18
push 9
push eax
call fcn.005d9b20
mov esi, eax
add esp, 8
test esi, esi
je 0x432d18
mov byte [esi], 0
mov edx, dword [esp + 0x10]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432c67
sub eax, edi
push eax
push edx
push ebp
call fcn.005e616f
mov al, byte [esi + 1]
add esp, 0xc
inc esi
test al, al
je 0x432d04
push 9
push esi
mov dword [esp + 0x18], esi
call fcn.005d9b20
mov esi, eax
add esp, 8
test esi, esi
je 0x432c9f
mov byte [esi], 0
push 1
push 0x5f4858
push ebp
call fcn.005e616f
mov edx, dword [esp + 0x1c]
mov eax, edx
add esp, 0xc
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432cb8
sub eax, edi
push eax
push edx
push ebp
call fcn.005e616f
add esp, 0xc
test esi, esi
je 0x432d04
mov al, byte [esi + 1]
inc esi
test al, al
je 0x432d04
push 1
push 0x5f4858
push ebp
call fcn.005e616f
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432cf0
sub eax, edx
push eax
push esi
push ebp
call fcn.005e616f
add esp, 0xc
push 1
push 0x5f55fc
push ebp
call fcn.005e616f
mov edi, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [edi + 0x1488]
lea edx, [esp + 0x10]
push edx
inc ebx
push ebx
push 0x189
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x432c04
push ebp
call fcn.005e2d87
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
pop ebx
pop ebp
pop edi
add esp, 0xc
ret
Function at 0x433210
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1070
call fcn.005d9990
push esi
mov esi, dword [esp + 0x1078]
push esi
call fcn.00508aa0
add esp, 4
test eax, eax
je 0x433406
mov eax, dword [esi + 0x50cc]
push ebx
push ebp
xor ebx, ebx
push edi
lea edi, [esi + 0x50cc]
xor ebp, ebp
cmp eax, ebx
mov dword [esi + 0x50d0], 2
mov dword [esi + 0x551c], ebx
mov dword [esi + 0x5da0], ebx
mov dword [esi + 0x5da4], ebx
mov dword [esi + 0x5510], ebx
mov dword [esi + 0x5514], ebx
mov dword [esi + 0x5518], ebx
jne 0x433292
push edi
push esi
push ebx
push ebx
push 4
push str.Channels_List
call fcn.00596330
add esp, 0x18
mov dword [edi], eax
mov ebp, 1
mov eax, dword [edi]
push eax
call fcn.0058ea30
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x433403
mov ecx, dword [edi + 0x1488]
push ebx
push ebx
push 0x184
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [edi + 0x12c4]
push edx
call fcn.004e8c50
lea eax, [edi + 0x12b0]
push eax
mov dword [esp + 0x18], eax
call fcn.004e8c50
add esp, 8
cmp ebp, ebx
je 0x4332eb
mov eax, dword [edi]
push 4
push eax
call fcn.004a8560
add esp, 8
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x433305
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x433314
push ebx
mov dword [edi + 0x131c], ebx
call fcn.0055f1c0
add esp, 4
push ebx
push 0xdd0
call fcn.00424130
add esp, 8
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [esi + 0x50d8], ebx
je 0x433403
lea ecx, [esi + 0x50dc]
push ecx
push 0x633fe8
lea edx, [esp + 0x20]
push 0x5f4a5c
push edx
call fcn.005d9929
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x50d4], eax
je 0x433403
push ebx
call fcn.005daa26
push eax
call fcn.00563af0
push eax
lea ecx, [esi + 0x37fe]
push ecx
lea edx, [esp + 0x28]
push 0x5f5598
push edx
call fcn.005d9929
mov edi, dword [esp + 0x28]
mov ecx, dword [edi]
push ebx
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.004e8850
mov dword [edi], eax
lea edi, [esp + 0x3c]
add esp, 0x24
dec edi
nop
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4333c0
mov dx, word [0x5f4c8c]
mov al, byte [0x5f4c8e]
mov word [edi], dx
mov byte [edi + 2], al
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4333e1
push ebx
sub eax, edx
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [esi + 0x50d4]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x1070
ret
Function at 0x434620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x63441c]
test eax, eax
jne 0x434640
push esi
call fcn.00508b70
mov esi, eax
test esi, esi
je 0x43463f
mov eax, dword [esi + 0x50d0]
test eax, eax
je 0x43464d
pop esi
mov dword [esp + 4], 0
jmp fcn.00421dc0
mov eax, dword [esp + 8]
cmp eax, 5
push ebx
mov ebx, dword [0x6a0f40]
mov dword [0x676e74], eax
je 0x43466c
cmp eax, 6
je 0x43466c
cmp eax, 8
jne 0x4346a0
mov eax, dword [esi + 0x50cc]
test eax, eax
je 0x4346a0
push edi
mov edi, eax
call fcn.0058ec80
cmp edi, eax
jne 0x43469f
push edi
call fcn.0058ee70
add esp, 4
test eax, eax
jne 0x434695
mov ebx, dword [esi + 0x50cc]
mov dword [0x676e74], 5
pop edi
push esi
push 0x433990
push 0x8c
push ebx
call fcn.004762c0
add esp, 0x10
pop ebx
mov dword [0x63441c], 0
mov dword [0x676e74], 0
pop esi
ret

Function at 0x4348f0
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x1068
call fcn.005d9990
mov eax, dword [0x634560]
test eax, eax
je 0x434a54
push ebx
push esi
mov esi, dword [esp + 0x1074]
push edi
cmp esi, eax
je 0x434929
mov eax, dword [eax + 0x2104]
test eax, eax
jne 0x434911
pop edi
pop esi
pop ebx
add esp, 0x1068
ret
mov eax, dword [esi]
push eax
call fcn.00508b30
mov edi, eax
add esp, 4
test edi, edi
je 0x434a51
mov bl, byte [esp + 0x1084]
test bl, 1
je 0x43498c
mov eax, dword [esi + 0x1428]
mov ecx, dword [esp + 0x107c]
lea edx, [esi + 0x1070]
push ecx
test eax, eax
push edx
lea eax, [esp + 0x14]
je 0x43496e
push str.NOTICE__s_:DCC_Fserve___s__n
jmp 0x434973
push str.NOTICE__s_:DCC_Chat___s__n
push eax
call fcn.005d9929
add esp, 0x10
push edi
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.00598db0
add esp, 0xc
test bl, 2
je 0x4349c9
movzx edx, word [esi + 0x1406]
mov eax, dword [esp + 0x1080]
push edx
push eax
lea ecx, [esi + 0x1070]
push ecx
lea edx, [esp + 0x18]
push 0x5f63a8
push edx
call fcn.005d9929
push edi
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00598db0
add esp, 0x20
jmp 0x434a25
test bl, 4
je 0x4349d6
mov ecx, dword [esi + 0x1414]
jmp 0x4349e1
test bl, 8
je 0x434a51
mov ecx, dword [esi + 0x1418]
movzx edx, word [esi + 0x1406]
push ecx
lea eax, [esi + 0x12d4]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
push eax
lea ecx, [esi + 0x1070]
push ecx
lea edx, [esp + 0x1c]
push 0x5f6380
push edx
call fcn.005d9929
push edi
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00598db0
add esp, 0x24
mov ecx, dword [0x63ca98]
push ecx
push 0
push 0x517
mov dword [0x6870cc], 0
call fcn.00424130
mov edx, dword [esi]
add esp, 8
push eax
push edx
call fcn.0052ddc0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x1068
ret
Function at 0x435820
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, 0x1068
call fcn.005d9990
push esi
push edi
mov edi, dword [esp + 0x1078]
test edi, edi
je 0x43597d
cmp byte [edi], 0
je 0x43597d
mov esi, dword [esp + 0x1074]
push esi
call fcn.00434880
add esp, 4
test eax, eax
je 0x435972
lea eax, [esp + 8]
push 0x1068
push eax
call fcn.004232e0
push edi
lea ecx, [esp + 0x14]
push 0x1068
push ecx
call fcn.00425550
mov eax, dword [esi + 0x2100]
mov ecx, dword [esi]
push 1
lea edx, [esp + 0x20]
push edx
push eax
push ecx
call fcn.00586db0
mov eax, dword [0x693620]
add esp, 0x24
test eax, eax
je 0x4358b6
mov eax, dword [esi + 0x2100]
mov ecx, dword [esi]
push 0xa
lea edx, [esp + 0xc]
push edx
push eax
push ecx
call fcn.00586db0
add esp, 0x10
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4358c0
sub eax, edx
mov edi, eax
mov eax, dword [esi + 0x20fc]
cmp eax, 0xffffffff
mov dword [esi + 0x20ec], 0
mov dword [esi + 0x20f0], 0
je 0x435972
push 0
push edi
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, edi
je 0x43597d
mov eax, dword [esi + 0x1428]
test eax, eax
jne 0x435972
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
push 0
jne 0x43595e
mov ecx, dword [esi + 0x20e8]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.004e8850
add esp, 0xc
test eax, eax
je 0x435938
mov dword [esi + 0x20e8], eax
mov edx, dword [0x6a0f40]
mov eax, dword [esi + 0x20fc]
push 0x23
push 0x801f
push edx
push eax
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
pop edi
xor eax, eax
pop esi
add esp, 0x1068
ret
push 0x528
call fcn.00424130
push eax
push esi
call fcn.00434cd0
add esp, 0x10
pop edi
xor eax, eax
pop esi
add esp, 0x1068
ret
pop edi
mov eax, 1
pop esi
add esp, 0x1068
ret
Function at 0x4368c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, 0x1068
call fcn.005d9990
push ebx
push esi
mov esi, dword [esp + 0x1074]
xor ebx, ebx
cmp esi, ebx
je 0x436a7e
cmp dword [esi + 0x1408], 3
je 0x4368f3
cmp dword [esi + 0x141c], 2
jne 0x436a7e
mov eax, dword [esi + 0x20fc]
push 1
push 1
push eax
push 0x801f
mov dword [esi + 0x20ec], ebx
mov dword [esi + 0x20f0], ebx
call fcn.00599d90
add esp, 0x10
test eax, eax
jne 0x436a7e
push ebp
push edi
mov ecx, dword [esi + 0x20f4]
inc ecx
mov eax, ecx
cmp eax, 0x14
mov dword [esi + 0x20f4], ecx
jl 0x43695a
mov ecx, dword [esi + 0x20fc]
push ebx
push 1
push ecx
push 0x801f
mov dword [esi + 0x20f4], ebx
call fcn.00599d90
add esp, 0x10
test eax, eax
jne 0x436a7c
push ebx
lea edx, [esp + 0x14]
push 0x1068
push edx
call fcn.00423310
mov ecx, dword [esi + 0x20fc]
add esp, 8
push eax
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
je 0x436a3f
cmp edi, ebx
jle 0x436a6e
xor ebp, ebp
cmp edi, ebx
mov byte [esp + edi + 0x10], bl
jle 0x436a15
lea ecx, [ecx]
mov al, byte [esp + ebp + 0x10]
cmp al, 9
je 0x4369ef
cmp al, 0xd
je 0x4369ef
cmp al, 0xa
jne 0x4369bc
mov edx, dword [esi + 0x106c]
mov byte [edx + esi + 4], bl
jmp 0x4369e0
mov ecx, dword [esi + 0x106c]
mov byte [ecx + esi + 4], al
mov edx, dword [esi + 0x106c]
inc edx
mov eax, edx
cmp eax, 0x1036
mov dword [esi + 0x106c], edx
jle 0x4369ef
mov byte [eax + esi + 4], bl
push esi
mov dword [esi + 0x106c], ebx
call fcn.00436360
add esp, 4
mov eax, dword [0x634560]
cmp eax, ebx
je 0x436a15
cmp esi, eax
je 0x436a08
mov eax, dword [eax + 0x2104]
cmp eax, ebx
jne 0x4369f8
jmp 0x436a15
cmp dword [esi + 0x1408], ebx
je 0x436a15
inc ebp
cmp ebp, edi
jl 0x4369a0
mov eax, dword [0x634560]
cmp eax, ebx
je 0x436a7c
mov edi, edi
cmp esi, eax
je 0x436921
mov eax, dword [eax + 0x2104]
cmp eax, ebx
jne 0x436a20
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x1068
ret
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x436a7c
push ebx
push 0x527
call fcn.00424130
push eax
push esi
call fcn.00434cd0
add esp, 0x10
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x1068
ret
push 0x5f4c90
push esi
call fcn.00434cd0
add esp, 8
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x1068
ret
Function at 0x438bf0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
mov dword [esi], 0
call edi
test ah, ah
jns 0x438c0d
or dword [esi], 1
push 0x11
call edi
test ah, ah
jns 0x438c18
or dword [esi], 2
push 0x10
call edi
test ah, ah
jns 0x438c23
or dword [esi], 4
push 0x12
call edi
test ah, ah
jns 0x438c2e
or dword [esi], 8
push 2
call edi
test ah, ah
jns 0x438c39
or dword [esi], 0x10
push 4
call edi
test ah, ah
jns 0x438c44
or dword [esi], 0x20
pop edi
pop esi
ret

Function at 0x438c50
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
movzx ecx, ax
shr eax, 0x10
mov dword [0x619964], ecx
mov dword [0x619968], eax
mov dword [esp + 4], 0x635fd4
jmp fcn.00438bf0
Function at 0x43e960
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x63cda4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x63cda4]
test eax, eax
je 0x43e97e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x63cda4], 0
ret

Function at 0x43fe20
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x63cda4]
test eax, eax
je 0x43fe2c
xor eax, eax
ret
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
call edi
mov eax, dword [0x63cda4]
test eax, eax
je 0x43fe4a
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [esp + 0xc]
push 0
push 0x43e990
push esi
mov dword [0x63cda4], 0
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [0x6a0f3c]
push 0xb4
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
cmp dword [esp + 0x10], 1
mov dword [0x63cda4], eax
jne 0x43fe8d
push esi
push eax
call fcn.0043e720
jmp 0x43fe95
push 4
push eax
call fcn.0042aa50
mov ecx, dword [0x63cda4]
add esp, 8
push 8
push ecx
call edi
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov dword [0x63cda8], esi
mov eax, 1
pop esi
ret
Function at 0x4558d0
Capabilities:
Get hostname
Set socket configuration

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x4558f9
cmp byte [eax], 0x2d
jne 0x4559cb
push 0x68
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45595b
mov ebp, dword [esp + 0x18]
push 0x100
push ebp
call dword [sym.imp.WSOCK32.dll_gethostname]
test eax, eax
jne 0x455a6c
mov esi, dword [esp + 0x20]
push ebp
lea edi, [esi + 0x14bc]
push 0x132
push edi
mov dword [esi + 0x1720], ebx
mov byte [esi + 0x15ee], bl
call fcn.00425550
push edi
call fcn.0055ad60
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi]
push 0x33
push eax
push edi
push 0x5f4c90
push ecx
call fcn.0047fc10
add esp, 0x24
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov edx, dword [esi + 4]
push 0x75
push edx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x4559cb
mov edi, dword [esp + 0x20]
push edi
call fcn.00508d40
add esp, 4
test eax, eax
jne 0x455992
mov eax, dword [esi]
push 0xc
push ebx
push eax
push ebx
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x31fc]
mov edx, dword [edi]
imul eax, eax, 0x132
push ecx
push ebx
push 0xa
push ebx
push edx
push ebx
push 5
push ebx
push ebx
lea ecx, [eax + edi + 0x2e66]
push ebx
push ecx
call fcn.00582fd0
add esp, 0x2c
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
ret
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x455a6c
push 0x100
push 4
push eax
call fcn.00425670
mov edx, dword [esi + 4]
mov edi, dword [esp + 0x2c]
push edx
lea ebp, [edi + 0x14bc]
push 0x132
push ebp
call fcn.00425550
push ebp
call fcn.0055ad60
mov eax, dword [esi + 8]
add esp, 0x1c
cmp eax, ebx
je 0x455a6c
push 0x100
push 4
push eax
call fcn.00425670
mov eax, dword [esi + 8]
add esp, 0xc
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [edi + 0x1720], eax
jne 0x455a47
mov dword [edi + 0x1720], ebx
mov byte [edi + 0x15ee], bl
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
mov dword [edi + 0x1720], eax
mov ecx, dword [esi + 8]
push ecx
push 0x132
add edi, 0x15ee
push edi
call fcn.00425550
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x45e6c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 4]
test eax, eax
push edi
jne 0x45e6f3
mov byte [0x682a50], al
mov eax, dword [0x6a0f40]
push eax
call fcn.00497f10
add esp, 4
test eax, eax
jne 0x45e6ea
call fcn.00424800
pop edi
pop ebp
mov eax, 1
pop ebx
ret
cmp byte [eax], 0x40
push esi
jne 0x45e7e5
mov ecx, dword [esp + 0x20]
push ecx
push eax
call fcn.005091b0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x45e726
mov edx, dword [ebp]
push 7
push eax
push edx
push eax
call fcn.0048bd90
add esp, 0x10
pop esi
pop edi
pop ebp
pop ebx
ret
mov ecx, dword [ebx + 0x1354]
test ecx, ecx
lea eax, [ebx + 8]
je 0x45e734
inc eax
mov edi, dword [esp + 0x18]
push eax
push 0x5f573c
push edi
call fcn.005d9929
push ebp
push edi
push 2
call fcn.0051c470
push 0xf
push edi
call fcn.0055a760
push 0xa
push edi
call fcn.0055aa50
push 0xd
push edi
call fcn.0055aa50
mov eax, edi
add esp, 0x30
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e770
sub eax, edx
mov esi, eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp eax, esi
jne 0x45e7d1
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebx]
push 0x1036
push esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x45e7c4
test cl, cl
je 0x45e7c0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x45e7c4
add eax, 2
add esi, 2
test cl, cl
jne 0x45e7a0
xor eax, eax
jmp 0x45e7c9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45e855
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
ret
push 0x5f764c
push eax
call fcn.005f1860
add esp, 8
neg eax
sbb eax, eax
mov ecx, dword [ebp + eax*4 + 8]
add eax, 2
test ecx, ecx
je 0x45e836
mov esi, dword [esp + 0x18]
push ebp
push esi
push eax
mov byte [esi], 0
call fcn.0051c470
push 0xa
push esi
call fcn.0055aa50
push 0xd
push esi
call fcn.0055aa50
push esi
push 0x432
push 0x682a50
call fcn.00425550
add esp, 0x28
jmp 0x45e83d
mov byte [0x682a50], 0
mov ecx, dword [0x6a0f40]
push ecx
call fcn.00497f10
add esp, 4
test eax, eax
jne 0x45e855
call fcn.00424800
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x462a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00508aa0
add esp, 4
test eax, eax
jne 0x462ab7
call fcn.00508b70
mov esi, eax
test esi, esi
jne 0x462ab7
pop esi
mov dword [esp + 4], eax
jmp fcn.00421dc0
push esi
call fcn.00508d40
add esp, 4
test eax, eax
jne 0x462add
push esi
call fcn.00508e00
add esp, 4
test eax, eax
jne 0x462add
push esi
push eax
call fcn.004625f0
add esp, 8
pop esi
ret
push esi
push 0xf
push 0x5f4c90
call fcn.00461840
add esp, 0xc
pop esi
ret