joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ddee4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4de144
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4ddf47
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004dd9ac
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040dc84
cmp al, 1
jne 0x4ddf47
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004ddcc4
test al, al
je 0x4de0d3
cmp dword [ebp - 8], 0
jge 0x4ddf65
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004dd9ac
mov eax, dword [ebp - 0x210]
call fcn.00404730
cmp ebx, eax
jge 0x4ddfaf
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004dd9ac
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x6023e4]
and eax, 0xff
bt dword [edx], eax
jae 0x4ddfaf
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4ddfc3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004ddec0
cmp ebx, dword [ebp - 8]
je 0x4de0c5
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4ddfef
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403758
and eax, 0x7f
movzx eax, word [eax*2 + 0x601350]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4de0b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403758
and eax, 0x7f
movzx eax, word [eax*2 + 0x601350]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00463578
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403758
and eax, 0x7f
movzx eax, word [eax*2 + 0x601350]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00463578
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de0b9
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4de126
cmp dword [ebp - 8], 0
jge 0x4de0de
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004dd9ac
mov eax, dword [ebp - 0x218]
call fcn.00404730
cmp eax, dword [ebp - 8]
jg 0x4de118
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004dd9ac
mov eax, dword [ebp - 0x21c]
call fcn.00404730
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ddec0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de14b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404494
ret
Function at 0x4fa2bc
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 0x4fa345
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x604034
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4fa32f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040ca48
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, 0x4fa35c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x6021e8]
mov dl, 1
mov eax, dword [0x4f9ac0]
call fcn.0040d378
call fcn.00403dec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa34c
lea eax, [ebp - 0x1c]
call fcn.00404470
ret

Function at 0x4fa9f8
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004fa91c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403758
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4faa5c
call fcn.004fa204
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4faa4e
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.00403758
pop esi
pop ebx
ret

Function at 0x4faa80
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404930
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402eb8
test ebx, ebx
je 0x4faacb
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 0x4faba8
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 0x4fabd9
mov ecx, dword [0x601fe4]
mov dl, 1
mov eax, dword [0x4f9ac0]
call fcn.0040d33c
call fcn.00403dec
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 0x4fac06
mov ecx, dword [0x601ecc]
mov dl, 1
mov eax, dword [0x4f9ac0]
call fcn.0040d33c
call fcn.00403dec
xor eax, eax
push ebp
push 0x4fac82
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.00403758
cmp byte [ebp + 8], 0
je 0x4fac5e
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.004fab10
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.004fa9f8
jmp 0x4fac78
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.004fa4f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fac9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4fae64
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.004fa7b8
xor eax, eax
push ebp
push 0x4fafd5
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 0x4fafbf
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4faeaf
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4faeb9
call fcn.00403e98
jmp 0x4fafdc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00421050
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 0x4fafb4
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 0x4faf67
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4faf54
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403758
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.004fae1c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4fafe8]
cmp dl, byte [eax + 0x28]
je 0x4fafbb
call fcn.0040d254
jmp 0x4fafbb
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00421070
jmp 0x4fafbb
cmp ecx, ebx
jge 0x4faf83
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.00421070
jmp 0x4faeb9
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.00421050
cmp edx, dword [esp + 4]
jne 0x4fafa3
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4faeb9
push ebp
call fcn.004fae1c
pop ecx
jmp 0x4fafbb
push ebp
call fcn.004fae1c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fafdc
mov eax, dword [ebp - 4]
call fcn.004fa7c4
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fafec
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 0x4fb10e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004fa7b8
xor eax, eax
push ebp
push 0x4fb0f1
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 0x4fb03c
call fcn.00403e98
jmp 0x4fb0f8
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 0x4fb0db
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4fb0db
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403758
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 0x4fb0db
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ca48
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, 0x4fb128
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x6021e8]
mov dl, 1
mov eax, dword [0x4f9ac0]
call fcn.0040d378
call fcn.00403dec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb0f8
mov eax, dword [ebp - 4]
call fcn.004fa7c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb115
lea eax, [ebp - 0x28]
call fcn.00404470
ret
Function at 0x4fb174
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 0x4fb2be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004fa7b8
xor eax, eax
push ebp
push 0x4fb2a1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4fb1d9
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4fb1d9
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 0x4fb28b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4fb1ec
call fcn.00403e98
jmp 0x4fb2a8
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 0x4fb28b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4fb28b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403758
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 0x4fb28b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ca48
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, 0x4fb2d8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x6021e8]
mov dl, 1
mov eax, dword [0x4f9ac0]
call fcn.0040d378
call fcn.00403dec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb2a8
mov eax, dword [ebp - 4]
call fcn.004fa7c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb2c5
lea eax, [ebp - 0x28]
call fcn.00404470
ret
Function at 0x4fc554
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4fc761
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0xc]
call fcn.00406318
push eax
push 0x4fc770
push 1
push 0
mov eax, dword [0x6019c4]
push eax
call sub.ole32.dll_CoCreateInstance
mov esi, eax
mov eax, esi
call fcn.0041b42c
test al, al
je 0x4fc61f
lea eax, [ebp - 4]
call fcn.00406318
push eax
push 0
push 0
mov eax, dword [0x601c0c]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.004853a4
jmp 0x4fc603
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x24]
call fcn.004854a0
mov edx, dword [ebp - 0x128]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4fc5e8
jmp 0x4fc720
lea eax, [ebp - 0x10]
push eax
push 0x4fc780
push 0x80000000
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
je 0x4fc720
xor eax, eax
push ebp
push 0x4fc719
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
jmp 0x4fc6e4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 6
lea edx, [ebp - 0x13c]
mov eax, dword [0x601c0c]
call fcn.00485418
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0xb
lea edx, [ebp - 0x138]
mov ecx, 1
mov eax, 0x4fc790
call fcn.0040a158
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x124]
mov ecx, pe_nt_image_headers32
call fcn.004046e0
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x138]
call fcn.004853bc
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x140]
call fcn.004854a0
mov edx, dword [ebp - 0x140]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
push pe_nt_image_headers32
lea eax, [ebp - 0x124]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
je 0x4fc64f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc720
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc768
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404494
lea eax, [ebp - 0x128]
call fcn.00404470
lea eax, [ebp - 0x14]
call fcn.00404470
lea eax, [ebp - 0xc]
call fcn.00406318
lea eax, [ebp - 4]
call fcn.00406318
ret
Function at 0x4fc818
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
jne 0x4fc859
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.004046e0
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fc864
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, edi
call fcn.00404930
push eax
push esi
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x4fc8b2
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.004046e0
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55dc54
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, edx
push esp
push 0x21
mov eax, dword [0x602080]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409c68
add esp, 0x104
pop ebx
ret

Function at 0x55dc94
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404920
xor eax, eax
push ebp
push 0x55dcff
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402eb8
mov dword [ebp - 0x1e], 3
mov eax, dword [ebp - 4]
call fcn.00404930
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x12], 0x10
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55dd06
lea eax, [ebp - 4]
call fcn.00404470
ret

Function at 0x58ec38
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc9c
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404920
xor eax, eax
push ebp
push 0x58ed3e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20d]
mov edx, dword [ebp - 4]
call fcn.00409b14
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.004029dc
lea eax, [ebp - 0x30d]
mov edx, dword [ebp - 0xc]
call fcn.00409b14
lea eax, [ebp - 0x354]
xor ecx, ecx
mov edx, 0x44
call fcn.00402eb8
mov dword [ebp - 0x354], 0x44
mov dword [ebp - 0x328], 1
mov word [ebp - 0x324], bx
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x20d]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x58ecea
mov dword [ebp - 8], 0xffffffff
jmp 0x58ed20
push 0xffffffffffffffff
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x360]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58ed45
lea eax, [ebp - 0xc]
call fcn.00404470
lea eax, [ebp - 4]
call fcn.00404470
ret

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

Disassembly:
push ebx
push esi
mov esi, edx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x602080]
mov eax, dword [eax]
call fcn.0047cc7c
call sub.kernel32.dll_GetTickCount_1
mov edx, eax
sub edx, ebx
cmp esi, edx
jle 0x5c3af4
cmp ebx, eax
jle 0x5c3ad7
pop esi
pop ebx
ret
Function at 0x5c3c18
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404920
xor eax, eax
push ebp
push 0x5c3d2a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00500dd4
mov ebx, eax
test ebx, ebx
jbe 0x5c3d04
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.00500df4
jmp 0x5c3cfa
lea eax, [ebp - 0x134]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004046e0
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408c3c
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.00408c3c
mov edx, dword [ebp - 0x138]
pop eax
call fcn.0040487c
jne 0x5c3ced
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
jbe 0x5c3ced
push 0
push esi
call sub.kernel32.dll_TerminateProcess
push esi
call sub.kernel32.dll_CloseHandle
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.00500e14
test eax, eax
jne 0x5c3c7f
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c3d31
lea eax, [ebp - 0x138]
mov edx, 3
call fcn.00404494
lea eax, [ebp - 4]
call fcn.00404470
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x40102a
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebx, ebx
pop ecx
test eax, eax
je 0x401078
push str.Windows_original_main_args:_n
call fcn.004010f9
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, ebx
pop ecx
call edi
cmp dword [eax], ebx
jle 0x401078
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.004010f9
add esp, 0xc
inc esi
call edi
cmp esi, dword [eax]
jl 0x401058
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
mov edx, ebx
test edi, edi
jle 0x4010b2
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x4010a7
mov ecx, dword [str.java]
mov dword [esi + edx*4], ebx
test ecx, ecx
jne 0x4010c1
mov ecx, dword [esi]
mov eax, dword [section..data]
test eax, eax
jne 0x4010cc
mov eax, dword [esi]
push ebx
push ebx
push ebx
push 1
push ecx
push eax
push 0x4021bc
push 0x4021c0
push 0x40300c
push 2
push 0x403004
push 2
push esi
push edi
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebx
ret