joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d34c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x47d3b6
mov eax, ebx
call fcn.0047f790
test al, al
jne 0x47d3b6
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405388
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x47d3a3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x47d3c3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052ec
jmp 0x47d3c3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052ec
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x47e8b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47e922
mov eax, esi
call fcn.00466de8
test al, al
je 0x47e922
mov eax, dword [ebx + 0x84]
call fcn.00466a48
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47e922
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x47e916
push 0
mov eax, dword [ebx + 0x84]
call fcn.00466a48
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0045e7a0
jmp 0x47e922
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0047e6f0
pop esi
pop ebx
ret

Function at 0x48011c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4801a5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x51ad0c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x48018f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040e330
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x4801bc
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x515748]
mov dl, 1
mov eax, dword [0x47f920]
call fcn.0040ec6c
call fcn.00404cc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4801ac
lea eax, [ebp - 0x1c]
call fcn.00405298
ret

Function at 0x480774
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x4807d0]
cmp al, byte [ebx + 0x28]
je 0x480798
mov esi, 0x401
mov eax, ebx
call fcn.004808c0
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x4807d0]
cmp al, byte [ebx + 0x28]
jne 0x4807c8
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x480854
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00480774
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404548
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4808b8
call fcn.00480064
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4808aa
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404548
pop esi
pop ebx
ret

Function at 0x4808dc
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00405728
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403a60
test ebx, ebx
je 0x48092b
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [esp + 4], cl
movzx ecx, byte [edx + 1]
mov byte [esp + 5], cl
movzx ecx, byte [edx + 2]
mov byte [esp + 6], cl
movzx eax, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x480a08
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x480a39
mov ecx, dword [0x5155e0]
mov dl, 1
mov eax, dword [0x47f920]
call fcn.0040ec30
call fcn.00404cc4
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x480a66
mov ecx, dword [0x515538]
mov dl, 1
mov eax, dword [0x47f920]
call fcn.0040ec30
call fcn.00404cc4
xor eax, eax
push ebp
push 0x480ae2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404548
cmp byte [ebp + 8], 0
je 0x480abe
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00480970
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00480854
jmp 0x480ad8
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00480354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x480aff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x480cd8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00480610
xor eax, eax
push ebp
push 0x480e4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x480e35
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x480d24
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x480d2e
call fcn.00404d70
jmp 0x480e52
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004222f0
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x480e2a
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x480ddd
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x480dca
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404548
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00480c90
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x480e60]
cmp dl, byte [eax + 0x28]
je 0x480e31
call fcn.0040eb48
jmp 0x480e31
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00422310
jmp 0x480e31
cmp edi, ebx
jge 0x480df9
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00422310
jmp 0x480d2e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004222f0
cmp edx, dword [esp + 4]
jne 0x480e19
cmp eax, dword [esp]
pop edx
pop eax
jne 0x480d2e
push ebp
call fcn.00480c90
pop ecx
jmp 0x480e31
push ebp
call fcn.00480c90
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480e52
mov eax, dword [ebp - 4]
call fcn.0048061c
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480e64
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480f86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00480610
xor eax, eax
push ebp
push 0x480f69
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x480eb4
call fcn.00404d70
jmp 0x480f70
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x480f53
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x480f53
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404548
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x480f53
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040e330
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x480fa0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x515748]
mov dl, 1
mov eax, dword [0x47f920]
call fcn.0040ec6c
call fcn.00404cc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480f70
mov eax, dword [ebp - 4]
call fcn.0048061c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480f8d
lea eax, [ebp - 0x28]
call fcn.00405298
ret
Function at 0x480fec
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48115d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00480610
xor eax, eax
push ebp
push 0x481140
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x481051
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x481051
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x48112a
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x481064
call fcn.00404d70
jmp 0x481147
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x48108b
cmp dword [ebp - 0x10], 0
jle 0x48108b
cmp ebx, dword [ebp - 0x10]
jle 0x48108b
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48112a
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48112a
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404548
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x48112a
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0040e330
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x481178
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x515748]
mov dl, 1
mov eax, dword [0x47f920]
call fcn.0040ec6c
call fcn.00404cc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481147
mov eax, dword [ebp - 4]
call fcn.0048061c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481164
lea eax, [ebp - 0x2c]
call fcn.00405298
ret
Function at 0x484034
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4087bc]
call fcn.00405f28
xor eax, eax
push ebp
push 0x4841d5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x513dbc], 0
jne 0x48408f
mov ecx, dword [0x5151d4]
mov dl, 1
mov eax, dword [0x408e3c]
call fcn.0040ec30
call fcn.00404cc4
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403a60
mov eax, ebx
call fcn.00405c70
mov dword [ebp - 0x24], eax
mov esi, 0x4841e4
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004072c0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405c80
test eax, eax
jle 0x484178
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x484164
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405508
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x48410a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405520
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x484120
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405520
mov eax, dword [ebp - 0x54]
call fcn.00405728
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405508
mov eax, dword [ebp - 0x58]
call fcn.00405728
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x484166
xor eax, eax
test al, al
je 0x484171
mov ebx, 0x15
jmp 0x48417d
mov ebx, 0x10
jmp 0x48417d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x513dbc]
call fcn.00483eb4
mov eax, dword [ebp - 4]
call fcn.00483eb4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004072d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4841dc
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004052bc
lea eax, [ebp - 0xc]
mov edx, dword [0x4087bc]
call fcn.00405ff8
ret

Function at 0x4a2f3c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4a2f61
cmp dword [esp + 4], 5
jb 0x4a2f61
mov al, 1
jmp 0x4a2f63
xor eax, eax
add esp, 0x94
ret
Function at 0x4b72c8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4b72f6
mov eax, ebx
call fcn.004b7d7c
cmp dword [ebx + 0x40], 0
je 0x4b72ef
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4b7367
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4b7359
cmp dword [ebx + 8], 0
je 0x4b7318
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4b732a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b7359
cmp dword [ebx + 8], 0
je 0x4b730b
cmp eax, 3
je 0x4b733d
dec eax
jne 0x4b730b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4b730b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4b730b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b7385
cmp dword [ebx + 0x14], 0xcc
je 0x4b7385
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004b7390
pop ebx
ret

Function at 0x4e2ff0
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x51af94], 0
jne 0x4e3013
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4e2f64
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x51af94], eax
ret

Function at 0x4e4394
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00466de8
test al, al
je 0x4e43f6
cmp bl, 7
jne 0x4e43cb
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x4e43d0
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xe0]
test eax, eax
je 0x4e43f6
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xe0]
push edi
push 0
push 0x100f
push eax
call sub.user32.dll_SendMessageA
mov byte [esi + 0x268], bl
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x507fa4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x507fac
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x508164
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x380]
mov edx, dword [eax]
call dword [edx + 0xe8]
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [0x515640]
mov eax, dword [eax]
cmp byte [eax + 0x408], 1
jne 0x5080de
lea eax, [ebp - 4]
mov edx, 0x50817c
call fcn.00405330
mov eax, dword [0x515640]
mov eax, dword [eax]
mov eax, dword [eax + 0x388]
push eax
mov eax, dword [0x515640]
mov eax, dword [eax]
mov cl, 1
mov edx, dword [ebp - 4]
call fcn.0050b7dc
jmp 0x5080c2
mov dl, 1
mov eax, dword [0x507148]
call fcn.0040431c
mov ebx, eax
lea ecx, [ebp - 0x18]
mov eax, dword [0x515640]
mov eax, dword [eax]
mov eax, dword [eax + 0x388]
mov edx, 0x5081c8
call fcn.0049fe74
lea eax, [ebp - 0x18]
call fcn.004134dc
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x28]
mov eax, dword [0x515640]
mov eax, dword [eax]
mov eax, dword [eax + 0x388]
mov edx, 0x5081d8
call fcn.0049fe74
lea edx, [ebp - 0x28]
lea eax, [ebx + 8]
call fcn.00415e50
mov ecx, ebx
mov edx, dword [ebx + 8]
mov eax, dword [esi + 0x380]
mov edi, dword [eax]
call dword [edi + 0xe4]
mov eax, dword [0x515640]
mov eax, dword [eax]
mov eax, dword [eax + 0x3f0]
cmp eax, dword [ebx + 4]
jne 0x5080b0
mov eax, dword [esi + 0x380]
mov eax, dword [eax + 0x284]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
mov dword [ebp - 8], eax
mov eax, dword [0x515640]
mov eax, dword [eax]
mov eax, dword [eax + 0x388]
call fcn.004a17a4
mov eax, dword [0x515640]
mov eax, dword [eax]
mov eax, dword [eax + 0x388]
cmp byte [eax + 0xa1], 0
je 0x50801e
jmp 0x50812a
mov dl, 1
mov eax, dword [0x507148]
call fcn.0040431c
mov ebx, eax
mov eax, dword [0x515640]
mov eax, dword [eax]
mov eax, dword [eax + 0x3f0]
mov dword [ebx + 4], eax
lea eax, [ebx + 8]
mov edx, dword [0x515640]
mov edx, dword [edx]
mov edx, dword [edx + 0x3fc]
call fcn.004052ec
mov ecx, ebx
mov edx, dword [ebx + 8]
mov eax, dword [esi + 0x380]
mov ebx, dword [eax]
call dword [ebx + 0xe4]
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x380]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50816b
lea eax, [ebp - 0x28]
mov edx, dword [0x401144]
mov ecx, 2
call fcn.00406044
lea eax, [ebp - 4]
call fcn.00405298
ret
Function at 0x50ed98
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x50ee2d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x3e8], 0
jne 0x50edd4
lea eax, [ebp - 4]
mov edx, dword [esi + 0xc]
lea edx, [edx + edx*2]
mov ecx, dword [0x51afdc]
mov edx, dword [ecx + edx*8 + 0x14]
call fcn.00405330
jmp 0x50ee07
mov eax, dword [esi + 0xc]
lea eax, [eax + eax*2]
mov edx, dword [0x51afdc]
push dword [edx + eax*8 + 0x14]
push 0x50ee44
push dword [ebx + 0x3ec]
push 0x50ee54
push dword [ebx + 0x3f8]
lea eax, [ebp - 4]
mov edx, 5
call fcn.0040562c
push 1
mov eax, dword [ebp - 4]
call fcn.00405728
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ee34
lea eax, [ebp - 4]
call fcn.00405298
ret
Function at 0x50f964
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x50f96c
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x50fa40
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040cc40
fstp qword [ebp - 0x10]
wait
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x3f0]
call fcn.0040a618
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 0x50fa58
call fcn.004055b0
mov eax, dword [ebx + 0x388]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0050b7dc
mov eax, dword [ebx + 0x388]
mov edx, dword [eax]
call dword [edx + 0x16c]
test eax, eax
je 0x50fa0f
lea ecx, [ebp - 0x24]
mov edx, 0x50fae8
mov eax, dword [ebx + 0x388]
call fcn.0049fe74
lea eax, [ebp - 0x24]
call fcn.00418e10
test al, al
jne 0x50fa0f
lea ecx, [ebp - 0x34]
mov edx, 0x50fae8
mov eax, dword [ebx + 0x388]
call fcn.0049fe74
lea eax, [ebp - 0x34]
call fcn.00414e3c
fstp qword [ebp - 0x10]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50fa47
lea eax, [ebp - 0x34]
mov edx, dword [0x401144]
mov ecx, 2
call fcn.00406044
lea eax, [ebp - 0x14]
call fcn.00405298
lea eax, [ebp - 4]
call fcn.00405298
ret
Function at 0x40c3a3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40c440
push ebx
push esi
call fcn.0040c36c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040c300
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40c3ed
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c43f
push edi
push eax
call fcn.0040cfc0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40c40d
call fcn.0040ae61
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c43e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040c300
add esp, 0x20
test eax, eax
jne 0x40c42c
push edi
call fcn.0040ae61
jmp 0x40c434
push ebx
call fcn.0040ae61
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40d73d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b3330
push 0x4b3328
push str.FlsAlloc
push 0x1f
call fcn.0040d5fc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d771
push dword [ebp + 8]
mov ecx, esi
call dword [0x42114c]
call esi
jmp 0x40d777
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d7bb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b3340
push 0x4b3338
push str.FlsGetValue
push 0x21
call fcn.0040d5fc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d7f2
push dword [ebp + 8]
mov ecx, esi
call dword [0x42114c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40d7fa
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b3348
push 0x4b3340
push str.FlsSetValue
push 0x22
call fcn.0040d5fc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d834
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42114c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]