joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f88c4
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov byte [ebp - 5], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4f89e2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x10], 0
je 0x4f88ff
mov eax, esi
mov edx, dword [ebx + 0x10]
call fcn.004054e4
jmp 0x4f89a8
mov eax, esi
call fcn.00405490
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x1c]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x4f898f
push dword [ebp - 0x18]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405688
mov eax, dword [ebp - 4]
test eax, eax
je 0x4f8940
sub eax, 4
mov eax, dword [eax]
mov edi, eax
mov eax, esi
mov edx, edi
call fcn.00405bdc
mov eax, esi
call fcn.004059ac
push eax
lea eax, [ebp - 4]
call fcn.004059ac
mov ecx, edi
pop edx
call fcn.00403114
lea eax, [ebx + 0x10]
mov edx, dword [esi]
call fcn.004054e4
movzx eax, word [ebp - 0x1a]
push eax
call sub.wsock32.dll_ntohs
movzx eax, ax
lea edx, [ebp - 0x20]
call fcn.0040a634
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x14]
call fcn.004054e4
jmp 0x4f89a8
mov eax, esi
mov edx, 0x4f89f8
call fcn.004054e4
lea eax, [ebx + 0x14]
mov edx, 0x4f8a08
call fcn.004054e4
cmp byte [ebp - 5], 0
je 0x4f89c4
push dword [esi]
push 0x4f8a14
push dword [ebx + 0x14]
mov eax, esi
mov edx, 3
call fcn.00405814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f89e9
lea eax, [ebp - 0x20]
call fcn.00405490
lea eax, [ebp - 4]
call fcn.00405490
ret

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

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
call sub.wsock32.dll_WSASetLastError
mov eax, dword [ebx + 0x3c]
add eax, 0x2000
cmp eax, dword [ebx + 0x34]
jle 0x4f8c32
add dword [ebx + 0x34], 0x2000
lea eax, [ebx + 0x30]
mov edx, dword [ebx + 0x34]
call fcn.00402f4c
push 0
push 0x2000
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x3c]
add eax, edx
push eax
mov eax, dword [ebx + 0x1c]
push eax
call sub.wsock32.dll_recv
mov esi, eax
test esi, esi
jle 0x4f8c56
add dword [ebx + 0x3c], esi
jmp 0x4f8c63
test esi, esi
jne 0x4f8c63
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 4]
cmp esi, 0x2000
jl 0x4f8c7a
inc esi
jne 0x4f8c13
mov edx, 0xfffffb2e
mov eax, ebx
call fcn.004f8be4
pop esi
pop ebx
ret
Function at 0x4f8c80
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4f8d50
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.wsock32.dll_WSASetLastError
lea eax, [ebp - 4]
push eax
push 0x4004667f
mov eax, dword [ebx + 0x1c]
push eax
call sub.wsock32.dll_ioctlsocket
inc eax
jne 0x4f8cc5
mov edx, 0xfffffb2e
mov eax, ebx
call fcn.004f8b50
jmp 0x4f8d35
cmp dword [ebp - 4], 1
jl 0x4f8d35
lea ecx, [ebp - 0xc]
mov dl, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x4f8d68
call fcn.004057a0
mov eax, dword [ebp - 8]
call fcn.0049e28c
mov eax, dword [ebp - 4]
add dword [ebx + 0x50], eax
cmp dword [ebx + 0x50], 0x10000
jle 0x4f8d0a
mov edx, 0x7918
mov eax, ebx
call fcn.004f8b50
mov eax, dword [ebp - 4]
call fcn.00402f18
mov esi, eax
push 0
call sub.wsock32.dll_WSASetLastError
push 0
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, dword [ebx + 0x1c]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 4], eax
mov eax, esi
call fcn.00402f34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8d57
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004054b4
ret

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

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x48], 4
jne 0x4f8f9e
push 0
call sub.wsock32.dll_WSASetLastError
mov eax, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x38]
sub eax, edx
push 0
push eax
mov eax, dword [ebx + 0x30]
add eax, edx
push eax
mov eax, dword [ebx + 0x1c]
push eax
call sub.wsock32.dll_send
cmp eax, 0xffffffff
jne 0x4f8f6d
mov edx, 0xfffffb2e
mov eax, ebx
call fcn.004f8be4
pop ebx
ret
add dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 0x3c]
jl 0x4f8f9e
cmp byte [ebx + 0x49], 0
jne 0x4f8f84
mov byte [ebx + 0x48], 0
pop ebx
ret
cmp word [ebx + 0x62], 0
je 0x4f8f95
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x64]
call dword [ebx + 0x60]
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 4]
pop ebx
ret
Function at 0x4f9a14
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebx
push esi
add esp, 0xfffffff0
mov ebx, eax
cmp dword [ebx + 0x1c], 0xffffffff
je 0x4f9a2b
mov eax, 0x2748
jmp 0x4f9afb
push 0
call sub.wsock32.dll_WSASetLastError
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x1c], esi
inc esi
jne 0x4f9a4f
call sub.wsock32.dll_WSAGetLastError
jmp 0x4f9afb
mov word [esp], 2
movzx eax, word [ebx + 0x2c]
push eax
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x80]
mov dword [esp + 4], eax
push 0
call sub.wsock32.dll_WSASetLastError
push 0x10
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x1c]
push eax
call sub.wsock32.dll_bind
test eax, eax
je 0x4f9a90
call sub.wsock32.dll_WSAGetLastError
jmp 0x4f9afb
push 0
call sub.wsock32.dll_WSASetLastError
push 8
push 0x401
mov eax, ebx
call fcn.004f88a8
push eax
mov eax, dword [ebx + 0x1c]
push eax
call sub.wsock32.dll_WSAAsyncSelect
inc eax
jne 0x4f9ab9
call sub.wsock32.dll_WSAGetLastError
jmp 0x4f9afb
push 0
call sub.wsock32.dll_WSASetLastError
push 0x400
mov eax, dword [ebx + 0x1c]
push eax
call sub.wsock32.dll_listen
test eax, eax
je 0x4f9ad9
call sub.wsock32.dll_WSAGetLastError
jmp 0x4f9afb
movzx eax, word [ebx + 0x2c]
push eax
push 0
push 0
mov ecx, dword [ebx + 0x80]
mov dl, 1
mov eax, dword [0x4971f0]
call fcn.004976ac
call fcn.00404574
xor eax, eax
add esp, 0x10
pop esi
pop ebx
ret
Function at 0x50f3dc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405944
xor eax, eax
push ebp
push 0x50f548
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [esi + 0x30], bl
test bl, bl
jne 0x50f452
mov edi, dword [esi + 0x34]
test edi, edi
je 0x50f41d
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [esi + 0x34]
call fcn.00411b68
mov edi, dword [esi + 0x38]
test edi, edi
je 0x50f452
mov eax, edi
mov edx, dword [eax]
call dword [edx]
mov edi, eax
mov eax, dword [esi + 0x38]
call fcn.00404574
test edi, edi
jne 0x50f452
mov eax, dword [esi + 0x3c]
call fcn.0040ac10
test al, al
je 0x50f452
mov eax, dword [esi + 0x3c]
call fcn.00405954
push eax
call sub.kernel32.dll_DeleteFileA
cmp bl, 1
jne 0x50f4b7
mov edi, dword [esi + 0x34]
test edi, edi
je 0x50f467
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x44]
jmp 0x50f476
mov dl, 1
mov eax, dword [0x41bb8c]
call fcn.00404544
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x38]
test edi, edi
je 0x50f4ab
mov eax, edi
mov edx, dword [eax]
call dword [edx]
mov edi, eax
mov eax, dword [esi + 0x38]
call fcn.00404574
test edi, edi
jne 0x50f4ab
mov eax, dword [esi + 0x3c]
call fcn.0040ac10
test al, al
je 0x50f4ab
mov eax, dword [esi + 0x3c]
call fcn.00405954
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [esi + 0x38]
test eax, eax
je 0x50f4b7
call fcn.00404574
cmp bl, 2
jne 0x50f532
mov eax, dword [esi + 0x34]
test eax, eax
je 0x50f4ca
mov edx, dword [eax]
call dword [edx + 0x44]
jmp 0x50f4d9
mov dl, 1
mov eax, dword [0x41bb8c]
call fcn.00404544
mov dword [esi + 0x34], eax
cmp dword [ebp - 4], 0
jne 0x50f4ee
lea eax, [esi + 0x3c]
mov edx, 0x50f560
call fcn.004054e4
jmp 0x50f4f9
lea eax, [esi + 0x3c]
mov edx, dword [ebp - 4]
call fcn.004054e4
mov eax, dword [esi + 0x3c]
call fcn.0040ac10
test al, al
je 0x50f51b
push 0x22
mov ecx, dword [esi + 0x3c]
mov dl, 1
mov eax, dword [0x41bd8c]
call fcn.00421c20
mov dword [esi + 0x38], eax
jmp 0x50f532
push 0xffff
mov ecx, dword [esi + 0x3c]
mov dl, 1
mov eax, dword [0x41bd8c]
call fcn.00421c20
mov dword [esi + 0x38], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50f54f
lea eax, [ebp - 4]
call fcn.00405490
ret

Function at 0x5158d4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x515908
cmp dword [esp + 4], 5
ja 0x515904
cmp dword [esp + 4], 5
jne 0x515900
cmp dword [esp + 8], 1
jae 0x515904
xor eax, eax
jmp 0x51590a
mov al, 1
jmp 0x51590a
xor eax, eax
add esp, 0x94
ret
Function at 0x515f20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov byte [ebp - 9], 0
xor edx, edx
mov dword [0x5bec80], edx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 4], 0xffffffff
je 0x515f62
cmp dword [ebp - 4], 0
je 0x515f62
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
je 0x515f6f
mov esi, 2
jmp 0x515f74
mov esi, 1
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push esi
call sub.kernel32.dll_WaitForMultipleObjects
mov ebx, eax
lea eax, [esi]
cmp ebx, eax
jb 0x51606f
mov edi, dword [ebp - 4]
cmp edi, 0xa
jbe 0x515f9b
mov edi, 0xa
cmp dword [ebp - 8], 0
jne 0x515fa8
mov eax, 0x40
jmp 0x515fad
mov eax, 0x48
push eax
push edi
push 0
lea eax, [ebp - 0x1c]
push eax
push esi
call sub.user32.dll_MsgWaitForMultipleObjects
mov ebx, eax
cmp ebx, esi
je 0x515fd6
cmp ebx, 0x102
jne 0x51606f
cmp edi, dword [ebp - 4]
je 0x51606f
cmp dword [ebp - 8], 0
je 0x516002
jmp 0x515fe7
lea eax, [ebp - 0x3e]
push eax
call sub.user32.dll_DispatchMessageA
push 1
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x3e]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x515fde
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x3e]
push eax
call sub.user32.dll_PeekMessageA
cmp dword [ebp - 4], 0xffffffff
je 0x51603b
cmp dword [ebp - 4], 0
je 0x51603b
call sub.kernel32.dll_GetTickCount_1
mov edx, eax
sub edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 4]
jbe 0x516035
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x516038
sub dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
cmp byte [ebp - 9], 0
jne 0x515f62
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jae 0x516066
push 2
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
mov byte [ebp - 9], 1
jmp 0x515f62
cmp byte [ebp - 9], 0
je 0x5160ef
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 8
call sub.user32.dll_GetQueueStatus
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
shr eax, 0x10
mov word [ebp - 0x22], ax
test word [ebp - 0x22], 8
jbe 0x5160ef
cmp dword [0x5bec80], 0
jne 0x5160ba
push 0x5160fc
call sub.user32.dll_RegisterWindowMessageA
mov dword [0x5bec80], eax
jmp 0x5160da
push 1
mov eax, dword [0x5bec80]
push eax
mov eax, dword [0x5bec80]
push eax
mov eax, dword [ebp - 8]
dec eax
push eax
lea eax, [ebp - 0x3e]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x5160ba
push 0
push 0
mov eax, dword [0x5bec80]
push eax
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_PostThreadMessageA
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x518f20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x518f28
xor eax, eax
push ebp
push 0x519167
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00518e74
test al, al
je 0x519134
lea edx, [ebp - 0x74]
xor eax, eax
call fcn.00403370
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.004c3f4c
mov edx, dword [ebp - 0x70]
mov eax, dword [0x5c01ec]
mov eax, dword [eax]
call fcn.004a2c3c
mov byte [0x5bec94], 1
lea eax, [ebp - 4]
mov edx, dword [0x5bf9c8]
mov edx, dword [edx]
mov edx, dword [edx + 0x368]
call fcn.00405528
lea eax, [ebp - 0xc]
mov edx, dword [0x5bf9c8]
mov edx, dword [edx]
mov edx, dword [edx + 0x36c]
call fcn.00405528
movzx eax, byte [0x519174]
push eax
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x519180
mov edx, 0x51918c
mov eax, dword [ebp - 0xc]
call fcn.00410d98
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x10]
call fcn.0040b2cc
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00403370
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0040b2cc
lea eax, [ebp - 8]
call fcn.00405490
call fcn.00518eb8
test al, al
je 0x518ffd
lea eax, [ebp - 8]
mov edx, 0x519198
call fcn.0040575c
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
test dword [eax + 0x360], 1
jle 0x51901d
lea eax, [ebp - 8]
mov edx, 0x5191c4
call fcn.0040575c
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0xac]
mov ecx, 5
mov eax, 0x5191dc
call fcn.0040c038
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x10]
call fcn.00405528
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
cmp byte [eax + 0x133], 0
je 0x5190dc
push dword [ebp - 0x10]
push 0x519238
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x14]
call fcn.0040b10c
push dword [ebp - 0xb0]
push 0x51924c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405814
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403b84
mov dword [ebp - 0x6c], 0x44
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00405954
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x519134
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x519127
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x519134
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51916e
lea eax, [ebp - 0xb0]
call fcn.00405490
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.004054b4
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004054b4
ret
Function at 0x51c220
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x51c29c
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 0x51c2b0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0051c12c
push dword [ebp - 8]
push 0x51c2b0
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405814
mov eax, dword [ebp - 4]
call fcn.00405954
push eax
push 0
mov eax, ebx
call fcn.0046a764
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
call fcn.00463188
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c2a3
lea eax, [ebp - 8]
mov edx, 2
call fcn.004054b4
ret

Function at 0x51cf45
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov ebx, edx
mov ecx, eax
mov dl, 1
mov eax, dword [0x45ecfc]
call fcn.00478e5c
mov esi, eax
test bl, bl
je 0x51cf15
push 0x31
call sub.user32.dll_GetSystemMetrics
mov edx, eax
mov eax, esi
call fcn.00479130
push 0x32
call sub.user32.dll_GetSystemMetrics
mov edx, eax
mov eax, esi
call fcn.00479174
mov eax, 0x4001
jmp 0x51cf3a
push 0xb
call sub.user32.dll_GetSystemMetrics
mov edx, eax
mov eax, esi
call fcn.00479130
push 0xc
call sub.user32.dll_GetSystemMetrics
mov edx, eax
mov eax, esi
call fcn.00479174
mov eax, 0x4000
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x51cf70
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x51cf62
mov edx, eax
mov eax, esi
call fcn.004791b8
mov byte [esi + 0x42], 1
mov eax, esi
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x51cf74
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405944
xor eax, eax
push ebp
push 0x51cfdf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x80
mov eax, dword [ebp - 4]
call fcn.00405954
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x51cfc7
mov ebx, dword [ebp - 0x160]
jmp 0x51cfc9
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51cfe6
lea eax, [ebp - 4]
call fcn.00405490
ret

Function at 0x534734
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffeec
mov ebx, eax
push esp
push 0x20019
push 0
push 0x5347f0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5347e6
mov dword [esp + 8], 4
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 0xc], 4
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x53482c
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
cmp dword [esp + 4], 0
jbe 0x5347dd
mov dword [esp + 8], 0x101
mov dword [esp + 0xc], 1
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x534838
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x5347dd
mov eax, ebx
lea edx, [esp + 0x10]
mov ecx, 0x101
call fcn.00405700
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x114
pop ebx
ret
Function at 0x53f9c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
xor edx, edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405944
lea eax, [ebp - 0x168]
mov edx, dword [0x409020]
call fcn.004060c0
xor eax, eax
push ebp
push 0x53fb6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0x170]
mov ecx, 0x53fb80
mov edx, dword [ebp - 4]
call fcn.004057a0
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x168]
mov edx, 0x3f
call fcn.0040aebc
test eax, eax
sete byte [ebp - 0x169]
jmp 0x53faff
test byte [ebp - 0x158], 0x10
jne 0x53fa9c
push dword [ebp - 4]
push 0x53fb90
push dword [ebp - 0x154]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405814
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0040adcc
test eax, eax
jne 0x53fa8c
mov eax, dword [ebp - 8]
call fcn.00405954
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x16a], al
jmp 0x53fa93
mov byte [ebp - 0x16a], 0
movzx ebx, byte [ebp - 0x16a]
jmp 0x53faeb
mov eax, dword [ebp - 0x154]
mov edx, 0x53fb9c
call fcn.004058a0
je 0x53faeb
mov eax, dword [ebp - 0x154]
mov edx, 0x53fba8
call fcn.004058a0
je 0x53faeb
push dword [ebp - 4]
push 0x53fb90
push dword [ebp - 0x154]
lea eax, [ebp - 0x174]
mov edx, 3
call fcn.00405814
mov eax, dword [ebp - 0x174]
call fcn.0053f9c0
mov ebx, eax
lea eax, [ebp - 0x168]
call fcn.0040af28
test eax, eax
sete byte [ebp - 0x169]
test byte [ebp - 0x169], bl
jne 0x53fa3e
lea eax, [ebp - 0x168]
call fcn.0040af64
test bl, bl
je 0x53fb26
mov eax, dword [ebp - 4]
call fcn.0040b774
test al, al
jne 0x53fb2a
xor eax, eax
jmp 0x53fb2c
mov al, 1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fb71
lea eax, [ebp - 0x174]
mov edx, 2
call fcn.004054b4
lea eax, [ebp - 0x168]
mov edx, dword [0x409020]
call fcn.00406190
lea eax, [ebp - 8]
mov edx, 2
call fcn.004054b4
ret

Function at 0x544a44
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x544b28
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x58f69c]
call fcn.005931b0
mov ebx, eax
cmp byte [ebx + 0x3f8], 2
jne 0x544b0d
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x2dc]
cmp eax, 0x1f4
jbe 0x544b0d
mov eax, 0x5bedfc
mov edx, 0x544b40
call fcn.0040575c
mov eax, dword [0x5bedfc]
mov edx, 0x544b4c
call fcn.004058a0
jne 0x544ab6
mov eax, 0x5bedfc
call fcn.00405490
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
cmp dword [eax + 0x34c], 0
jne 0x544ae5
lea eax, [ebp - 4]
mov ecx, dword [0x5bedfc]
mov edx, 0x544b5c
call fcn.004057a0
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00595964
jmp 0x544b02
lea eax, [ebp - 8]
mov ecx, dword [0x5bedfc]
mov edx, 0x544b6c
call fcn.004057a0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00595964
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x2dc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x544b2f
lea eax, [ebp - 8]
mov edx, 2
call fcn.004054b4
ret
Function at 0x54f8e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x54f9c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x54f9d8
call fcn.004054e4
lea eax, [ebp - 0x10d]
xor ecx, ecx
mov edx, 0x105
call fcn.00403b84
lea eax, [ebp - 0x1a4]
xor ecx, ecx
mov edx, 0x94
call fcn.00403b84
mov dword [ebp - 0x1a4], 0x94
lea eax, [ebp - 0x1a4]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x54f9ae
cmp dword [ebp - 0x1a0], 4
jbe 0x54f99d
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x54f9ae
lea eax, [ebp - 8]
push eax
push 5
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, ebx
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00405700
jmp 0x54f9ae
mov ecx, ebx
mov edx, 0x54f9d8
mov eax, 0x54f9e4
call fcn.005a9a44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54f9cb
lea eax, [ebp - 4]
call fcn.00407290
ret

Function at 0x5590d0
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, ebx
add al, 0xdf
sub al, 8
jb 0x5590f7
add al, 0xfc
sub al, 2
jb 0x5590f7
sub al, 0x72
je 0x5590f7
sub al, 2
je 0x5590f7
sub al, 2
jne 0x5590fe
mov eax, 1
jmp 0x559100
xor eax, eax
cmp byte [esp], 0
jne 0x55910b
lea edi, [eax + 2]
jmp 0x55910d
mov edi, eax
call fcn.005a20bc
test al, al
jne 0x55912f
mov eax, dword [0x5bf974]
mov eax, dword [eax]
cmp byte [eax + 0x2bd], 0
je 0x55912f
xor edx, edx
mov eax, esi
call fcn.0055ab10
cmp dword [esi + 0x3dedc], 0
jne 0x55914f
push 0
push edi
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
push ebx
call sub.user32.dll_keybd_event
jmp 0x55918e
mov dword [esp + 1], 1
movzx eax, bl
mov word [esp + 5], ax
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
mov word [esp + 7], ax
mov dword [esp + 9], edi
xor eax, eax
mov dword [esp + 0xd], eax
xor eax, eax
mov dword [esp + 0x11], eax
push 0x1c
lea eax, [esp + 5]
push eax
push 1
call dword [esi + 0x3dedc]
movzx eax, bl
movzx edx, byte [esp]
mov byte [esi + eax + 0x3ddb8], dl
call fcn.005a20bc
test al, al
jne 0x5591ba
mov eax, dword [0x5bf974]
mov eax, dword [eax]
movzx edx, byte [eax + 0x2bd]
mov eax, esi
call fcn.0055ab10
add esp, 0x20
pop edi
pop esi
pop ebx
ret