joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ffcc4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e54
xor eax, eax
push ebp
push 0x4ffe8e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56cf30], 0xa
jge 0x4ffe70
cmp byte [ebp - 5], 0
je 0x4ffd13
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x4ffea4
call fcn.00404cb0
jmp 0x4ffd23
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x4ffecc
call fcn.00404cb0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404e64
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4ffe70
cmp byte [ebp - 5], 0
je 0x4ffd6a
mov eax, dword [ebp - 4]
call fcn.00404e64
mov edx, eax
lea eax, [ebp - 0x85]
call fcn.0040a2e0
mov byte [ebp - 0x19], 1
jmp 0x4ffd94
mov dword [ebp - 0x14], 0x64
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x85]
push eax
push 0
push 0
push 0x4ffee0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0x19]
cmp byte [ebp - 0x19], 0
je 0x4ffe67
mov dword [ebp - 0x14], 0xff
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x185]
push eax
push 0
push 0
push 0x4ffef4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4ffe67
mov byte [ebp - 0x1a], 0
mov eax, dword [0x56cf30]
dec eax
test eax, eax
jl 0x4ffe0f
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax*4 + 0x56cf88]
call fcn.00404e64
lea edx, [ebp - 0x85]
call fcn.00409450
test eax, eax
jne 0x4ffe07
mov byte [ebp - 0x1a], 1
jmp 0x4ffe0f
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x4ffde3
cmp byte [ebp - 0x1a], 0
jne 0x4ffe67
inc dword [0x56cf30]
mov eax, dword [0x56cf30]
lea eax, [eax*4 + 0x56cf34]
lea edx, [ebp - 0x185]
mov ecx, pe_nt_image_headers32
call fcn.00404bf8
mov eax, dword [0x56cf30]
lea eax, [eax*4 + 0x56cf5c]
mov edx, dword [ebp - 4]
call fcn.004049cc
mov eax, dword [0x56cf30]
lea eax, [eax*4 + 0x56cf84]
lea edx, [ebp - 0x85]
mov ecx, 0x65
call fcn.00404bf8
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ffe95
lea eax, [ebp - 0xc]
call fcn.00404978
lea eax, [ebp - 4]
call fcn.00404978
ret
Function at 0x5031ec
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x503386
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00503a38
mov eax, dword [0x5692e0]
cmp byte [eax], 0
jne 0x50321a
call fcn.00503690
mov byte [0x56cf19], 0
cmp dword [0x56cf30], 1
jle 0x5032df
cmp dword [0x56cf28], 0
je 0x5032df
lea eax, [ebp - 4]
call fcn.004ff8bc
lea edx, [ebp - 0x10]
mov eax, dword [0x56cf00]
call fcn.0040a080
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x50339c
call fcn.00404cb0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00404fa8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x5032df
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c64
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00404c64
sub ebx, eax
sub ebx, dword [ebp - 0xc]
inc ebx
push ebx
mov eax, dword [ebp - 8]
call fcn.00404c64
mov edx, eax
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
pop ecx
call fcn.00404ec4
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404ec4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
pop ecx
call fcn.00404cb0
mov eax, dword [ebp - 4]
call fcn.00404e64
push eax
push 0x5033a0
call sub.kernel32.dll_SetEnvironmentVariableA
cmp dword [0x56cfc0], 0
jbe 0x5032fa
mov eax, dword [0x56cfc0]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
mov dword [0x56cfc0], eax
cmp dword [0x56cfc4], 0
jbe 0x503315
mov eax, dword [0x56cfc4]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
mov dword [0x56cfc4], eax
mov byte [0x56cfbc], 0
mov eax, 0x56cf00
call fcn.00404978
mov eax, 0x56cf04
call fcn.00404978
mov eax, 0x56cf08
call fcn.00404978
mov word [0x56cf0c], 0
mov byte [0x56cf0e], 0
mov al, byte [0x5033a8]
mov byte [0x56cf0f], al
mov eax, 0x56cf28
call fcn.00404978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50338d
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040499c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040499c
ret

Function at 0x504bdc
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 0x504c65
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x56d004
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x504c4f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040d10c
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, 0x504c7c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x569ad0]
mov dl, 1
mov eax, dword [0x5049b0]
call fcn.0040da30
call fcn.00404310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504c6c
lea eax, [ebp - 0x1c]
call fcn.00404978
ret
Function at 0x505318
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0050523c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403c7c
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x50537c
call fcn.00504b24
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x50536e
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.00403c7c
pop esi
pop ebx
ret

Function at 0x5053a0
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404e64
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004032b0
test ebx, ebx
je 0x5053eb
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, 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 0x5054c8
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 0x5054f9
mov ecx, dword [0x5698c0]
mov dl, 1
mov eax, dword [0x5049b0]
call fcn.0040d9f4
call fcn.00404310
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 0x505526
mov ecx, dword [0x5697ec]
mov dl, 1
mov eax, dword [0x5049b0]
call fcn.0040d9f4
call fcn.00404310
xor eax, eax
push ebp
push 0x5055a2
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.00403c7c
cmp byte [ebp + 8], 0
je 0x50557e
mov eax, dword [ebp + 0x10]
push eax
mov ax, 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.00505430
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.00505318
jmp 0x505598
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00504e10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5055bf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x505784
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
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005050d8
xor eax, eax
push ebp
push 0x5058f5
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 0x5058df
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x5057cf
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5057d9
call fcn.004043bc
jmp 0x5058fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420aa4
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 0x5058d4
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 ecx, eax
cmp ecx, 0xffffffff
jne 0x505887
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x505874
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c7c
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.0050573c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x505908]
cmp dl, byte [eax + 0x28]
je 0x5058db
call fcn.0040d918
jmp 0x5058db
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420ac4
jmp 0x5058db
cmp ecx, ebx
jge 0x5058a3
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420ac4
jmp 0x5057d9
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.00420aa4
cmp edx, dword [esp + 4]
jne 0x5058c3
cmp eax, dword [esp]
pop edx
pop eax
jne 0x5057d9
push ebp
call fcn.0050573c
pop ecx
jmp 0x5058db
push ebp
call fcn.0050573c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5058fc
mov eax, dword [ebp - 4]
call fcn.005050e4
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50590c
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 0x505a2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005050d8
xor eax, eax
push ebp
push 0x505a11
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 0x50595c
call fcn.004043bc
jmp 0x505a18
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 0x5059fb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5059fb
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c7c
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 0x5059fb
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d10c
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, 0x505a48
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x569ad0]
mov dl, 1
mov eax, dword [0x5049b0]
call fcn.0040da30
call fcn.00404310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505a18
mov eax, dword [ebp - 4]
call fcn.005050e4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505a35
lea eax, [ebp - 0x28]
call fcn.00404978
ret
Function at 0x505a94
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x505bde
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005050d8
xor eax, eax
push ebp
push 0x505bc1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x505af9
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x505af9
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 0x505bab
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x505b0c
call fcn.004043bc
jmp 0x505bc8
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 0x505bab
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x505bab
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c7c
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 0x505bab
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d10c
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, 0x505bf8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x569ad0]
mov dl, 1
mov eax, dword [0x5049b0]
call fcn.0040da30
call fcn.00404310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505bc8
mov eax, dword [ebp - 4]
call fcn.005050e4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505be5
lea eax, [ebp - 0x28]
call fcn.00404978
ret
Function at 0x505f88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004062b8
xor eax, eax
push ebp
push 0x5060aa
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x4aeb5c]
call fcn.00406134
add esp, 4
mov eax, dword [ebp - 4]
call fcn.00405f78
push eax
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x4aeb5c]
call fcn.00406134
add esp, 4
mov eax, dword [ebp - 4]
call fcn.00405f78
mov esi, eax
test esi, esi
jns 0x505fff
add esi, 7
sar esi, 3
dec esi
test esi, esi
jl 0x506051
inc esi
xor ebx, ebx
xor eax, eax
mov edx, ebx
shl edx, 3
add edx, eax
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx]
mov ecx, dword [ebp - 0x10]
xor byte [ecx + eax], dl
inc eax
cmp eax, 8
jne 0x50600c
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.005060b8
cmp byte [ebp - 5], 0
jne 0x50604d
mov eax, ebx
shl eax, 3
push eax
push 8
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00505ec8
inc ebx
dec esi
jne 0x50600a
cmp byte [ebp - 5], 0
je 0x50606a
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [0x4aeb5c]
call fcn.00406290
jmp 0x50607b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [0x4aeb5c]
call fcn.00406290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5060b1
lea eax, [ebp - 0x14]
mov edx, dword [0x4aeb5c]
mov ecx, 2
call fcn.00405658
lea eax, [ebp - 4]
mov edx, dword [0x4aeb5c]
call fcn.00406254
ret
Function at 0x512288
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404978
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x5122c8
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404bf8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5197cc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x51997a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5694ac]
mov eax, dword [eax]
call fcn.004b96c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x507f44]
call fcn.00513634
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
je 0x519828
lea eax, [ebp - 0x14]
mov edx, 0x519994
call fcn.00404a10
jmp 0x519835
lea eax, [ebp - 0x14]
mov edx, 0x5199a4
call fcn.00404a10
cmp bl, 2
je 0x51983f
cmp bl, 3
jne 0x51985f
mov si, 0x70
push 0x5199b4
push dword [ebp - 0x14]
push 0x5199f8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d24
jmp 0x51987d
mov si, 0x71
push 0x519a14
push dword [ebp - 0x14]
push 0x5199f8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d24
mov eax, dword [ebp - 0x10]
add eax, 0x28
mov edx, dword [ebp - 0xc]
call fcn.004049cc
mov eax, dword [ebp - 0x10]
mov word [eax + 0x30], 8
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x507c9c]
call fcn.005115ec
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.0041e3c8
lea eax, [ebx + 0xc]
mov edx, 0x519a58
call fcn.004049cc
mov eax, dword [ebp - 4]
call fcn.005116a0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
call fcn.004b96f8
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x51994c
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 0x1c]
push eax
push 4
push esi
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x20]
mov ecx, edi
mov eax, dword [ebp - 0x10]
call fcn.00516b04
xor edx, edx
call fcn.00503e74
mov eax, dword [ebp - 8]
call fcn.004b96c4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
push 0
mov ecx, 1
mov edx, edi
mov eax, dword [ebp - 0x10]
call fcn.00516b88
xor edx, edx
call fcn.00503e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519953
mov eax, dword [ebp - 0x10]
call fcn.00403a80
mov eax, dword [ebp - 0x1c]
call fcn.004b971c
ret
Function at 0x519a5c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x519bf7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x56d1a8], 0
je 0x519aaa
push 0
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, 1
mov edx, dword [0x4aeb5c]
call fcn.00406134
add esp, 4
xor ebx, ebx
jmp 0x519be1
mov eax, dword [0x5694ac]
mov eax, dword [eax]
call fcn.004b96c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x507f44]
call fcn.00513634
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
mov edx, 0x519c10
call fcn.00404a10
mov eax, dword [ebp - 0xc]
add eax, 0x28
mov edx, dword [ebp - 8]
call fcn.004049cc
mov eax, dword [ebp - 0xc]
mov word [eax + 0x30], 8
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x507c9c]
call fcn.005115ec
mov edi, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov edx, edi
call fcn.0041e3c8
lea eax, [edi + 0xc]
mov edx, 0x519c40
call fcn.004049cc
mov eax, dword [ebp - 4]
call fcn.005116a0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
call fcn.004b96f8
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x519bd8
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 0x14]
push eax
push 4
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x10]
push eax
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x18]
mov ecx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00516b04
xor edx, edx
call fcn.00503e74
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1d]
mov dword [ebp - 0x1c], eax
push ebx
push 0x20
push 0
lea eax, [ebp - 0x1c]
push eax
push 5
mov eax, dword [ebp - 0x18]
push eax
call fcn.0051b874
add esp, 0x18
xor edx, edx
call fcn.00503e74
mov eax, esi
call fcn.004b96c4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
push 0
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00516b88
xor edx, edx
call fcn.00503e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519bdf
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c], 0
mov eax, dword [ebp - 0xc]
call fcn.00403a80
mov eax, dword [ebp - 0x14]
call fcn.004b971c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519bfe
lea eax, [ebp - 8]
call fcn.00404978
ret
Function at 0x519db8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
test dl, dl
je 0x519dca
add esp, 0xfffffff0
call fcn.00403de4
mov esi, ecx
mov ebx, edx
mov edi, eax
mov eax, dword [ebp + 0x10]
call fcn.004062b8
xor eax, eax
push ebp
push 0x519e6d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00403a50
mov dword [edi + 4], esi
mov eax, dword [ebp + 0x18]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
lea eax, [edi + 0x28]
mov edx, dword [ebp + 0x10]
mov ecx, dword [0x4aeb5c]
call fcn.00406290
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x14]
mov edx, dword [0x4aeb5c]
call fcn.00406254
xor eax, eax
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x34], eax
xor eax, eax
mov dword [edi + 0x18], eax
mov byte [edi + 0xd], 0
mov byte [edi + 0xc], 0
mov word [edi + 0xe], 0
xor eax, eax
mov dword [edi + 0x20], eax
mov word [edi + 0x1c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519e74
lea eax, [ebp + 0x10]
mov edx, dword [0x4aeb5c]
call fcn.00406254
ret

Function at 0x54e6e4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x54e6ec
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x54e82d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x14]
mov edx, 0x54e844
mov eax, esi
call fcn.0041fc8c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 8]
call fcn.004094c4
lea ecx, [ebp - 0x18]
mov edx, 0x54e85c
mov eax, esi
call fcn.0041fc8c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
call fcn.004094c4
lea ecx, [ebp - 0x20]
mov edx, 0x54e874
mov eax, esi
call fcn.0041fc8c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004094c4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
call fcn.004ba0fc
lea eax, [ebp - 4]
call fcn.00404978
mov eax, dword [ebp - 0x10]
mov edx, 0x54e884
call fcn.00404db0
je 0x54e78e
mov eax, dword [ebp - 8]
push eax
push 0
lea edx, [ebp - 4]
mov ecx, 0x54e894
mov eax, ebx
call fcn.004e12dc
jmp 0x54e7b4
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x170]
call fcn.0052ef5c
mov eax, dword [ebp - 0x24]
push eax
push 0
lea edx, [ebp - 4]
mov ecx, 0x54e894
mov eax, ebx
call fcn.004e12dc
mov eax, dword [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 4]
mov ecx, 0x54e8a4
mov eax, ebx
call fcn.004e12dc
cmp dword [ebp - 4], 0
je 0x54e7dc
lea eax, [ebp - 4]
mov edx, 0x54e8b8
call fcn.00404c6c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x54e8c8
call fcn.004ba164
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x198]
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
call dword [edx + 0x54]
mov ebx, dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e834
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.0040499c
ret