joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x41f100]
mov dword [ebp - 4], eax
mov dword [ebp - 0x414], ecx
push 0x400
push 0
lea eax, [ebp - 0x408]
push eax
call fcn.00410a90
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str.SELECT_limitDt_FROM_PCIKUSER_WHERE__USERID___s_
lea edx, [ebp - 0x408]
push edx
call fcn.0041062c
add esp, 0xc
push 0xfffffffffffffffd
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x340]
push edx
call sub.ODBC32.dll_SQLExecDirect
mov word [ebp - 0x410], ax
movsx eax, word [ebp - 0x410]
test eax, eax
je 0x409fbd
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x340]
push edx
push 3
mov ecx, dword [ebp - 0x414]
call fcn.0040ed50
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0x340]
push ecx
call sub.ODBC32.dll_SQLCloseCursor
mov ecx, dword [ebp - 0x414]
call fcn.0040f170
xor eax, eax
jmp 0x40a022
mov edx, dword [ebp - 0x414]
mov eax, dword [edx + 0x340]
push eax
call sub.ODBC32.dll_SQLFetch
mov word [ebp - 0x410], ax
movsx ecx, word [ebp - 0x410]
test ecx, ecx
jne 0x40a004
lea edx, [ebp - 0x40c]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
push 0x5d
push 1
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x340]
push edx
call sub.ODBC32.dll_SQLGetData
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0x340]
push ecx
call sub.ODBC32.dll_SQLCloseCursor
movsx eax, word [ebp - 0x410]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
call fcn.004106b5
mov esp, ebp
pop ebp
ret 8

Function at 0x40a030
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x41f100]
mov dword [ebp - 4], eax
mov dword [ebp - 0x414], ecx
push 0x400
push 0
lea eax, [ebp - 0x408]
push eax
call fcn.00410a90
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str.SELECT_limitDt_FROM_PCIKIP_WHERE__idx___d_
lea edx, [ebp - 0x408]
push edx
call fcn.0041062c
add esp, 0xc
push 0xfffffffffffffffd
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x340]
push edx
call sub.ODBC32.dll_SQLExecDirect
mov word [ebp - 0x410], ax
movsx eax, word [ebp - 0x410]
test eax, eax
je 0x40a0dd
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x340]
push edx
push 3
mov ecx, dword [ebp - 0x414]
call fcn.0040ed50
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0x340]
push ecx
call sub.ODBC32.dll_SQLCloseCursor
mov ecx, dword [ebp - 0x414]
call fcn.0040f170
xor eax, eax
jmp 0x40a142
mov edx, dword [ebp - 0x414]
mov eax, dword [edx + 0x340]
push eax
call sub.ODBC32.dll_SQLFetch
mov word [ebp - 0x410], ax
movsx ecx, word [ebp - 0x410]
test ecx, ecx
jne 0x40a124
lea edx, [ebp - 0x40c]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
push 0x5d
push 1
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x340]
push edx
call sub.ODBC32.dll_SQLGetData
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0x340]
push ecx
call sub.ODBC32.dll_SQLCloseCursor
movsx eax, word [ebp - 0x410]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
call fcn.004106b5
mov esp, ebp
pop ebp
ret 8
Function at 0x40a1b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x40b340
mov eax, dword [ebp + 8]
push eax
push 0x6a
mov ecx, dword [0x41ffe8]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x14
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 8]
sub edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
push 0xfffffffffffffffe
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40a270
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [0x41f100]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x334], ecx
mov eax, dword [ebp - 0x334]
mov ecx, dword [eax + 8]
call fcn.0040b440
test eax, eax
jne 0x40a39e
push 0x3f9
mov ecx, dword [ebp - 0x334]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
push 0x3ff
mov eax, dword [ebp - 0x334]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
push 0x400
mov edx, dword [ebp - 0x334]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x330]
push ecx
push 0
push 0
push 0x147
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0x148
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x104
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x104
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x330]
push ecx
mov edx, dword [ebp - 0x334]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x334]
mov ecx, dword [edx + 8]
call fcn.0040eed0
push 0
mov ecx, dword [ebp - 0x334]
call fcn.0040a400
push 0
push 0xffff9001
mov ecx, dword [0x4200fc]
call fcn.0040fbb0
mov eax, dword [ebp - 0x334]
mov ecx, dword [eax + 8]
call fcn.0040efc0
mov ecx, dword [ebp - 0xc]
call fcn.004106b5
mov esp, ebp
pop ebp
ret
Function at 0x40a560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0x419
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xc], eax
push 0x41a
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
neg ecx
sbb ecx, ecx
and ecx, 5
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov esp, ebp
pop ebp
ret 4
Function at 0x40adb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
mov eax, dword [0x41f100]
mov dword [ebp - 4], eax
mov dword [ebp - 0x33c], ecx
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [ebp - 0x33c]
mov ecx, dword [edx + 8]
call fcn.0040b540
cmp dword [0x41ffd0], 0
je 0x40af26
push 0
push 0
push 0xf0
push 0x41d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x220], eax
push 0x104
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00410a90
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x110]
push edx
call fcn.00410a90
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x328]
push eax
call fcn.00410a90
add esp, 0xc
cmp dword [ebp - 0x220], 0
je 0x40aeff
push 0x3f9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x21c], eax
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x147
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0x148
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0x3ff
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x104
lea ecx, [ebp - 0x328]
push ecx
push 0x400
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [0x41ffd0]
call fcn.00409410
mov ecx, dword [ebp - 0x33c]
mov ecx, dword [ecx + 8]
call fcn.0040ecb0
mov edx, dword [ebp - 0x33c]
mov ecx, dword [edx + 4]
call fcn.0040e970
mov eax, dword [ebp - 0x33c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x330], ecx
mov edx, dword [ebp - 0x330]
mov dword [ebp - 0x32c], edx
cmp dword [ebp - 0x32c], 0
je 0x40af80
push 1
mov eax, dword [ebp - 0x32c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x32c]
call dword [edx]
mov dword [ebp - 0x340], eax
jmp 0x40af8a
mov dword [ebp - 0x340], 0
mov eax, dword [ebp - 0x33c]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x338], edx
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x334], 0
je 0x40afd0
push 1
mov ecx, dword [ebp - 0x334]
call fcn.0040b560
mov dword [ebp - 0x344], eax
jmp 0x40afda
mov dword [ebp - 0x344], 0
mov ecx, dword [ebp - 0x33c]
mov dword [ecx + 4], 0
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.004106b5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40bb70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x40d4a0
mov eax, dword [ebp + 8]
push eax
push 0x6c
mov ecx, dword [0x41ffe8]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
push 0x14
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 8]
sub edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
push 0xfffffffffffffffe
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40bc10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x41f100]
mov dword [ebp - 8], eax
mov dword [ebp - 0x40c], ecx
push str.ePLDTProtocol_0.1_Req_000_End
lea eax, [ebp - 0x408]
push eax
call fcn.0041062c
add esp, 8
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x40c]
mov ecx, dword [eax + 0xc]
push ecx
call sub.WS2_32.dll_send
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov eax, edx
mov ecx, dword [ebp - 8]
call fcn.004106b5
mov esp, ebp
pop ebp
ret

Function at 0x40bc70
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x41f100]
mov dword [ebp - 8], eax
mov dword [ebp - 0x40c], ecx
mov ecx, dword [ebp - 0x40c]
call fcn.0040d5a0
test eax, eax
je 0x40bcec
mov ecx, dword [ebp - 0x40c]
call fcn.0040d5c0
test eax, eax
jne 0x40bcec
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.ePLDTProtocol_0.1_Req_200__s__s_End
lea edx, [ebp - 0x408]
push edx
call fcn.0041062c
add esp, 0x10
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp - 0x40c]
mov eax, dword [edx + 0xc]
push eax
call sub.WS2_32.dll_send
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x40bcee
xor eax, eax
mov ecx, dword [ebp - 8]
call fcn.004106b5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40bd00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x41f100]
mov dword [ebp - 8], eax
mov dword [ebp - 0x40c], ecx
mov ecx, dword [ebp - 0x40c]
call fcn.0040d5a0
test eax, eax
je 0x40bd78
mov ecx, dword [ebp - 0x40c]
call fcn.0040d5c0
test eax, eax
jne 0x40bd78
mov eax, dword [ebp + 8]
push eax
push str.ePLDTProtocol_0.1_Req_300__s_End
lea ecx, [ebp - 0x408]
push ecx
call fcn.0041062c
add esp, 0xc
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx + 0xc]
push edx
call sub.WS2_32.dll_send
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x40bd7a
xor eax, eax
mov ecx, dword [ebp - 8]
call fcn.004106b5
mov esp, ebp
pop ebp
ret 4

Function at 0x40bfd0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x41f100]
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp - 0x234]
cmp dword [eax + 4], 0
je 0x40c001
mov ecx, dword [ebp - 0x234]
mov eax, dword [ecx + 4]
jmp 0x40c16e
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0x3fc
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 0x40]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x104
lea edx, [ebp - 0x220]
push edx
push 0x3fd
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 0x40]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x220]
push edx
call fcn.0041074b
add esp, 4
mov word [ebp - 0x114], ax
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov ecx, dword [ebp - 0x234]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x234]
cmp dword [edx + 0xc], 0xffffffff
jne 0x40c095
mov eax, dword [ebp - 0x234]
mov eax, dword [eax + 4]
jmp 0x40c16e
mov word [ebp - 0x230], 2
mov cx, word [ebp - 0x114]
push ecx
call sub.WS2_32.dll_htons
mov word [ebp - 0x22e], ax
lea edx, [ebp - 0x110]
push edx
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x22c], eax
push 0x10
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0xc]
push edx
call sub.WS2_32.dll_connect
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
jne 0x40c0ed
jmp 0x40c156
push 0x23
push 0x600
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 0x40]
push ecx
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0xc]
push eax
call sub.WS2_32.dll_WSAAsyncSelect
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
jne 0x40c11e
jmp 0x40c156
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x234]
add edx, 0x10
push edx
call fcn.00410c20
add esp, 8
mov ecx, dword [ebp - 0x234]
call fcn.0040bc10
mov eax, dword [ebp - 0x234]
mov dword [eax + 4], 1
mov eax, 1
jmp 0x40c16e
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0xc]
push edx
call sub.WS2_32.dll_closesocket
mov eax, dword [ebp - 0x234]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 4]
call fcn.004106b5
mov esp, ebp
pop ebp
ret
Function at 0x40c2a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0x401
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x40]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xc], eax
push 0x400
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
neg ecx
sbb ecx, ecx
and ecx, 5
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [edx + 8], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40d120
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x41f100]
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x224]
cmp dword [eax + 0x3c], 0
je 0x40d17e
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x224]
mov dword [eax + 0x3c], 0
cmp dword [0x41ffd0], 0
je 0x40d1fb
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0x3fc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x3fd
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x220]
push edx
call fcn.0041074b
add esp, 4
mov word [ebp - 0x114], ax
mov ax, word [ebp - 0x114]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [0x41ffd0]
call fcn.0040d620
mov edx, dword [ebp - 0x224]
cmp dword [edx + 0xc], 0xffffffff
je 0x40d223
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 0xc]
push ecx
call sub.WS2_32.dll_closesocket
mov edx, dword [ebp - 0x224]
mov dword [edx + 0xc], 0xffffffff
mov eax, dword [ebp - 0x224]
cmp dword [eax + 0x2c], 0
je 0x40d24e
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx + 0x2c]
push edx
call fcn.00410af0
add esp, 4
mov eax, dword [ebp - 0x224]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x224]
cmp dword [ecx + 0x38], 0
je 0x40d279
mov edx, dword [ebp - 0x224]
mov eax, dword [edx + 0x38]
push eax
call fcn.00410af0
add esp, 4
mov ecx, dword [ebp - 0x224]
mov dword [ecx + 0x38], 0
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.004106b5
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40d3b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x41f100]
mov dword [ebp - 8], eax
mov dword [ebp - 0x40c], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 1
je 0x40d3db
jmp 0x40d42c
mov ecx, dword [ebp - 0x40c]
call fcn.0040d5a0
test eax, eax
je 0x40d42c
mov ecx, dword [ebp - 0x40c]
call fcn.0040d5c0
test eax, eax
jne 0x40d42c
push str.ePLDTProtocol_0.1_Req_100_End
lea ecx, [ebp - 0x408]
push ecx
call fcn.0041062c
add esp, 8
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx + 0xc]
push edx
call sub.WS2_32.dll_send
xor eax, eax
mov ecx, dword [ebp - 8]
call fcn.004106b5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40d6a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x40d8c0
mov eax, dword [ebp + 8]
push eax
push 0x70
mov ecx, dword [0x41ffe8]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x14
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 8]
sub edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
push 0xfffffffffffffffe
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40da10
Capabilities:
Hide graphical window
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bdae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
mov eax, dword [0x41f100]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1b4], ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x40da63
push 0
push str.Error___App
push str.CoInitialize_Failed__r_n
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.004126e9
mov eax, dword [ebp + 8]
mov dword [0x41ffe8], eax
mov word [ebp - 0x1a8], 0x202
lea ecx, [ebp - 0x1a4]
push ecx
mov dx, word [ebp - 0x1a8]
push edx
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x40da93
xor eax, eax
jmp 0x40db6f
push 0x634
call fcn.00410563
add esp, 4
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1b0], 0
je 0x40dac9
mov ecx, dword [ebp - 0x1b0]
call fcn.00408a60
mov dword [ebp - 0x1b8], eax
jmp 0x40dad3
mov dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ebp - 0x1ac]
mov dword [ecx + 0x24], edx
push 0
push 0x40e710
push 0
push 0x66
mov eax, dword [0x41ffe8]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x1b4]
cmp dword [edx + 0x28], 0
je 0x40db6d
push 5
push 0
push 0
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [eax + 0x24]
call fcn.0040e810
push eax
mov ecx, dword [ebp - 0x1b4]
mov ecx, dword [ecx + 0x24]
call fcn.0040e7f0
push eax
push 0
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x40db6f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004106b5
mov esp, ebp
pop ebp
ret 8