joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50ba1c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x50ba24
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x50bc16
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x50bc2c
mov eax, esi
call fcn.005098a8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004048cc
lea ecx, [ebp - 0x10]
mov edx, 0x50bc40
mov eax, esi
call fcn.005098a8
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004048cc
lea ecx, [ebp - 0x14]
mov edx, 0x50bc58
mov eax, esi
call fcn.005098a8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004048cc
lea ecx, [ebp - 0x18]
mov edx, 0x50bc74
mov eax, esi
call fcn.005098a8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004048cc
lea ecx, [ebp - 0x1c]
mov edx, 0x50bc90
mov eax, esi
call fcn.005098a8
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004048cc
lea ecx, [ebp - 0x24]
mov edx, 0x50bca8
mov eax, esi
call fcn.005098a8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409570
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409ab8
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x50bcc0
mov eax, esi
call fcn.005098a8
mov eax, dword [ebp - 0x28]
call fcn.00487664
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x50bcd0
mov eax, esi
call fcn.005098a8
mov eax, dword [ebp - 0x2c]
call fcn.00487664
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x50bce8
mov eax, esi
call fcn.005098a8
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409ab8
inc eax
je 0x50bbb9
lea ecx, [ebp - 0x34]
mov edx, 0x50bce8
mov eax, esi
call fcn.005098a8
mov eax, dword [ebp - 0x34]
call fcn.00409a7c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b6a8
fstp qword [ebp - 0x3c]
wait
call fcn.0040ba0c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x50bbd4
lea ecx, [ebp - 0x40]
mov edx, 0x50bce8
mov eax, esi
call fcn.005098a8
mov eax, dword [ebp - 0x40]
call fcn.00487664
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x50bcf8
mov eax, esi
call fcn.005098a8
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004048cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bc1d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040489c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040489c
ret
Function at 0x51788c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41a268]
call fcn.004053e0
xor eax, eax
push ebp
push 0x5179d0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56fc30], 0
jne 0x5178df
mov ecx, dword [0x570fbc]
mov dl, 1
mov eax, dword [0x408554]
call fcn.0040d918
call fcn.004041f4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004031f4
mov eax, ebx
call fcn.004050f4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x5179e0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004067a0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405104
test eax, eax
jle 0x517977
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x517970
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b00
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ae8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004094e0
test eax, eax
jne 0x517970
mov ebx, 0x15
jmp 0x51797c
mov ebx, 0x10
jmp 0x51797c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x56fc30]
call fcn.005177e4
mov eax, dword [ebp - 8]
call fcn.005177e4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004067b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5179d7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040489c
lea eax, [ebp - 0x10]
mov edx, dword [0x41a268]
call fcn.004054b0
ret

Function at 0x51b1ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0051ac4c
test byte [ebx + 0x23d], 4
jne 0x51b241
mov edx, esp
mov eax, ebx
call fcn.0044daa0
push esp
mov eax, ebx
call fcn.00454734
push eax
push 0
mov eax, ebx
test eax, eax
je 0x51b1e1
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x51b212
mov ecx, dword [0x571418]
mov dl, 1
mov eax, dword [0x5174a4]
call fcn.0040d918
call fcn.004041f4
mov eax, ebx
call fcn.0051b780
cmp byte [ebx + 0x57], 0
jne 0x51b248
mov eax, ebx
call fcn.00454938
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x51b248
push 0
mov eax, ebx
call fcn.00454938
push eax
call sub.user32.dll_ShowWindow
jmp 0x51b248
mov eax, ebx
call fcn.004518b8
add esp, 0x10
pop ebx
ret
Function at 0x51ffe0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x520047
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 8]
call fcn.00404ec4
push edi
mov eax, dword [ebp - 8]
call fcn.00404d38
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004048cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52004e
lea eax, [ebp - 8]
call fcn.00404878
ret

Function at 0x524980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x524a0a
xor edx, edx
push ebp
push 0x5249eb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x524a0a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x5288bc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5288ea
mov eax, ebx
call fcn.00529370
cmp dword [ebx + 0x40], 0
je 0x5288e3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x52895b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x52894d
cmp dword [ebx + 8], 0
je 0x52890c
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 0x52891e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x52894d
cmp dword [ebx + 8], 0
je 0x5288ff
cmp eax, 3
je 0x528931
dec eax
jne 0x5288ff
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 0x5288ff
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5288ff
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x528979
cmp dword [ebx + 0x14], 0xcc
je 0x528979
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.00528984
pop ebx
ret
Function at 0x5391b4
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d28
mov eax, dword [ebp - 8]
call fcn.00404d28
mov eax, dword [ebp - 0xc]
call fcn.00404d28
xor eax, eax
push ebp
push 0x5392e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404d38
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.00404d38
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.004345a0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404d38
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5392c8
xor eax, eax
push ebp
push 0x5392c1
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
push 0
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x5392a1
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x5392a5
xor eax, eax
jmp 0x5392a7
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5392c8
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5392ea
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040489c
ret
Function at 0x5392f4
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d28
mov eax, dword [ebp - 8]
call fcn.00404d28
mov eax, dword [ebp - 0xc]
call fcn.00404d28
mov eax, dword [ebp + 0xc]
call fcn.00404d28
xor eax, eax
push ebp
push 0x53945e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404d38
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x539470
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404d38
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x53943b
xor edx, edx
push ebp
push 0x539434
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404d38
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d38
push eax
mov ax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x53941d
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x539414
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x539418
xor eax, eax
jmp 0x53941a
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53943b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x539465
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040489c
lea eax, [ebp + 0xc]
call fcn.00404878
ret
Function at 0x539478
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x539540
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x539544
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x539540
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x539537
xor eax, eax
push ebp
push 0x539530
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x539537
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5397b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5399c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.0040286c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x53982e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x539818
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404a70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x539835
mov eax, dword [ebp - 8]
call fcn.0040288c
ret

Function at 0x53ad90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.004031f4
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x53adca
cmp byte [ebp - 0xa], 0x31
jne 0x53adc8
mov bl, 1
jmp 0x53adca
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53c4f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00454c3c
test al, al
je 0x53c5ae
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
jmp 0x53c58c
cmp word [esi + 0x5f2], 0
je 0x53c541
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
mov al, byte [esi + 0x5e8]
or al, byte [ebp - 9]
jne 0x53c563
cmp dword [ebp - 4], 0
jbe 0x53c55f
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x53c563
xor ebx, ebx
jmp 0x53c565
mov bl, 1
test bl, bl
jne 0x53c5ae
mov eax, dword [0x57164c]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x53c5ae
mov eax, dword [0x57164c]
mov eax, dword [eax]
call fcn.0046db54
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x53c5ae
cmp byte [esi + 0x588], 0
jne 0x53c5ae
mov edx, 0xfffffdf3
mov eax, esi
call fcn.0051b5b8
cmp eax, 4
jne 0x53c51e
mov byte [esi + 0x5e8], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ffe0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47749b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00469e5f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410062
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004678dd
mov eax, dword [eax]
push 0x60e1e0
push eax
call fcn.0045a594
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046a0ea
test bl, bl
je 0x410062
push 0x60e1e0
lea ecx, [esp + 0xc]
call fcn.0046a4c6
push 0x611d5c
lea ecx, [esp + 0xc]
call fcn.0046a4c6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41009e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046a0ea
jmp 0x410169
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x410122
lea edx, [esp + 0x7c]
push 0x611d58
push edx
call fcn.0045a594
add esp, 8
test eax, eax
je 0x410122
lea eax, [esp + 0x7c]
push 0x611d54
push eax
call fcn.0045a594
add esp, 8
test eax, eax
je 0x410122
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4100b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046a0ea
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4113c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x411422
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x411430
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4775fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x618c38]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x411568
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411496
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046a0ea
xor eax, eax
jmp 0x4115df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046a273
push esi
lea ecx, [esp + 0xc]
call fcn.0046a502
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4115bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.004113c0
test eax, eax
jne 0x4115bd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.004113c0
test eax, eax
jne 0x4115bd
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0045b670
mov esi, eax
add esp, 8
test esi, esi
jne 0x41159c
lea ecx, [esp + 0x14]
push 0x611d6c
push ecx
call fcn.0045b5f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41159c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41159f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046a223
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4114ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046a0ea
xor eax, eax
jmp 0x4115df
mov byte [esi], 0
push 0x611d68
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0046a0ea
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x421d70
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x421dde
cmp si, 0x69
ja 0x421dde
add esi, 0xffd0
cmp si, 0x11
je 0x421dae
push 0x11
call edi
test ax, ax
jge 0x421dae
or esi, 0x2000
cmp si, 0x10
je 0x421dc3
push 0x10
call edi
test ax, ax
jge 0x421dc3
or esi, 0x4000
cmp si, 0x12
je 0x421dd8
push 0x12
call edi
test ax, ax
jge 0x421dd8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x421deb
mov esi, 0xbd
jmp 0x421d9f
cmp si, 0x6e
jne 0x421df8
mov esi, 0xbe
jmp 0x421d9f
cmp si, 0x6f
jne 0x421d99
mov esi, 0xbf
jmp 0x421d9f

Function at 0x4235a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6299f8]
xor edx, edx
cmp eax, edx
jne 0x4235c6
xor eax, eax
mov byte [eax + 0x6298f8], al
inc eax
cmp eax, 0x100
jl 0x4235ae
mov dword [0x6299f8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6298f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x423657
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42362a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4235f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4236d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x423723
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42370a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret