joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a30f8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a3125
mov eax, ebx
call fcn.004a3088
cmp byte [ebx + 0x40], 0
je 0x4a311e
mov dword [ebx + 0x14], 0xcf
mov al, 1
pop esi
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
mov eax, dword [ebx + 0x14]
cmp eax, 0xcb
jne 0x4a3195
mov eax, dword [ebx + 0x190]
cmp byte [eax + 0x10], 0
je 0x4a318a
mov eax, dword [ebx + 8]
test eax, eax
je 0x4a3148
mov esi, eax
mov eax, ebx
call dword [esi]
mov esi, dword [ebx + 0x190]
mov eax, ebx
call dword [esi]
test eax, eax
jne 0x4a315b
xor eax, eax
pop esi
pop ebx
ret
cmp eax, 2
je 0x4a318a
cmp dword [ebx + 8], 0
je 0x4a313b
cmp eax, 3
je 0x4a316e
dec eax
jne 0x4a313b
mov eax, dword [ebx + 8]
inc dword [eax + 4]
mov eax, dword [ebx + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4a313b
mov edx, dword [ebx + 0x11c]
add dword [eax + 8], edx
jmp 0x4a313b
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x84], eax
jmp 0x4a31aa
cmp eax, 0xcc
je 0x4a31aa
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.00497ab8
mov eax, ebx
call fcn.004a31b4
pop esi
pop ebx
ret

Function at 0x4b4520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x14
call fcn.0040326c
mov dword [ebp - 0x14], 0x7fffffff
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
lea esi, [eax - 0x18]
lea ebx, [ebp - 0x28]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [esi]
push eax
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004b438c
pop ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 4]
dec ecx
test ecx, ecx
jl 0x4b458f
inc ecx
xor edi, edi
mov eax, dword [esi]
movsx eax, byte [eax + edi]
cdq
xor eax, edx
sub eax, edx
add dword [ebx], eax
inc edi
dec ecx
jne 0x4b457e
mov eax, dword [ebx]
cmp eax, dword [ebp - 0x14]
jge 0x4b45a1
mov dl, byte [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov byte [ecx], dl
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x10]
add ebx, 4
add esi, 4
cmp dword [ebp - 0x10], 5
jne 0x4b4556
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + eax*4 - 0x18]
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx - 4]
mov edx, dword [ebp + 8]
call fcn.00402ac0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4dc1b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
jne 0x4dc1e2
push ebx
call fcn.004dccc8
pop ecx
mov dl, byte [ebx + 0x40]
test dl, dl
je 0x4dc1db
mov dword [ebx + 0x14], 0xcf
mov al, 1
pop ebx
pop ebp
ret
mov dword [ebx + 0x14], 0xcb
mov edx, dword [ebx + 0x14]
cmp edx, 0xcb
jne 0x4dc258
mov ecx, dword [ebx + 0x190]
mov al, byte [ecx + 0x10]
test al, al
je 0x4dc24d
mov edx, dword [ebx + 8]
test edx, edx
je 0x4dc208
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
push ebx
mov eax, dword [ebx + 0x190]
call dword [eax]
pop ecx
test eax, eax
jne 0x4dc21b
xor eax, eax
pop ebx
pop ebp
ret
cmp eax, 2
je 0x4dc24d
mov edx, dword [ebx + 8]
test edx, edx
je 0x4dc1fa
cmp eax, 3
je 0x4dc22f
dec eax
jne 0x4dc1fa
mov ecx, dword [ebx + 8]
inc dword [ecx + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
cmp edx, ecx
jl 0x4dc1fa
mov edx, dword [ebx + 0x11c]
add dword [eax + 8], edx
jmp 0x4dc1fa
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x84], eax
jmp 0x4dc278
mov ecx, dword [ebx + 0x14]
cmp ecx, 0xcc
je 0x4dc278
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
push ebx
mov ecx, dword [ebx]
call dword [ecx]
pop ecx
push ebx
call fcn.004dc284
pop ecx
pop ebx
pop ebp
ret

Function at 0x4dc284
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
cmp eax, 0xcc
je 0x4dc30e
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
xor ecx, ecx
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x14], 0xcc
jmp 0x4dc30e
mov eax, dword [ebx + 8]
test eax, eax
je 0x4dc2c7
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x60]
mov dword [eax + 8], edx
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
mov esi, dword [ebx + 0x78]
lea eax, [ebx + 0x78]
push 0
push eax
push 0
push ebx
mov edx, dword [ebx + 0x184]
call dword [edx + 4]
add esp, 0x10
mov ecx, dword [ebx + 0x78]
cmp esi, ecx
jne 0x4dc2ea
xor eax, eax
jmp 0x4dc32d
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x60]
cmp edx, ecx
jb 0x4dc2b0
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax + 4]
pop ecx
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
xor ecx, ecx
mov dword [ebx + 0x78], ecx
mov eax, dword [ebx + 0x180]
mov dl, byte [eax + 8]
test dl, dl
jne 0x4dc2ea
mov ecx, 0xce
mov al, byte [ebx + 0x41]
test al, al
jne 0x4dc328
dec ecx
mov dword [ebx + 0x14], ecx
mov al, 1
pop esi
pop ebx
pop ebp
ret
Function at 0x4e8604
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x24]
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x6c]
sub eax, edx
mov ecx, dword [ebx + 0x64]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x4e8648
mov edx, dword [ebx + 0x24]
sub edx, 0x106
add edx, esi
mov ecx, dword [ebx + 0x64]
cmp edx, ecx
ja 0x4e86d3
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.004d1b8c
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x3c]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp esi, ecx
ja 0x4e869c
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4e869e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4e8683
mov eax, esi
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x38]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp esi, ecx
ja 0x4e86c8
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4e86ca
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4e86af
add dword [ebp - 8], esi
mov edi, dword [ebx]
mov eax, dword [edi + 4]
test eax, eax
je 0x4e8740
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x64]
add ecx, eax
mov edx, dword [ebx + 0x6c]
add ecx, edx
push ecx
push edi
call fcn.004e82c0
add esp, 0xc
add dword [ebx + 0x6c], eax
mov ecx, dword [ebx + 0x6c]
cmp ecx, 3
jb 0x4e8729
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
mov edx, dword [ebx + 0x4c]
and eax, edx
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x6c]
cmp eax, 0x106
jae 0x4e8740
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4e8613
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x51a918
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 [0x4106a4]
call fcn.004058cc
xor eax, eax
push ebp
push 0x51aa5c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x608418], 0
jne 0x51a96b
mov ecx, dword [0x608f90]
mov dl, 1
mov eax, dword [0x4086f0]
call fcn.0040da78
call fcn.004046f8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040326c
mov eax, ebx
call fcn.00405590
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x51aa6c
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.00406bb0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004055a0
test eax, eax
jle 0x51aa03
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 0x51a9fc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404f80
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404f68
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040965c
test eax, eax
jne 0x51a9fc
mov ebx, 0x15
jmp 0x51aa08
mov ebx, 0x10
jmp 0x51aa08
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 [0x608418]
call fcn.0051a870
mov eax, dword [ebp - 8]
call fcn.0051a870
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51aa63
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404d1c
lea eax, [ebp - 0x10]
mov edx, dword [0x4106a4]
call fcn.0040599c
ret
Function at 0x5d3c1c
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0040326c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x5d85c4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov ecx, edx
mov esi, 8
mov ebp, eax
mov ebx, ebp
mov eax, ecx
xor edx, edx
add eax, 4
adc edx, 0
mov edi, eax
push esp
push 0x40
mov eax, edi
add eax, 4
sub eax, ebp
push eax
push ebp
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x5d8601
mov eax, 0x5d86fc
call fcn.00484710
mov eax, edi
xor edx, edx
add eax, 8
adc edx, 0
lea edx, [esp + 8]
mov ecx, 8
call fcn.00402ac0
cmp dword [esp + 0xc], 0
jne 0x5d862b
cmp dword [esp + 8], 0
je 0x5d86ea
lea edx, [esp + 8]
mov eax, edi
mov ecx, 8
call fcn.00402ac0
jmp 0x5d86c5
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, esi
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, edi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5d8668
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x5d86a8
jmp 0x5d866c
pop edx
pop eax
jle 0x5d86a8
mov ecx, ebx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
xor eax, dword [esp + 8]
xor edx, dword [esp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, esi
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ebx, eax
jmp 0x5d86c5
mov eax, esi
xor byte [ebx], al
mov eax, ebx
xor edx, edx
add eax, 1
adc edx, 0
mov ebx, eax
dec esi
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5d86c1
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5d8697
jmp 0x5d86c5
pop edx
pop eax
jg 0x5d8697
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5d86e2
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5d8640
jmp 0x5d86ea
pop edx
pop eax
jg 0x5d8640
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5d8724
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd0
cmp byte [0x659bf8], 0
jne 0x5d8745
call fcn.005baeb0
mov byte [0x659bf8], 1
call fcn.005bd100
mov esi, 8
mov ebp, 0x5d3dd4
mov ebx, ebp
mov eax, 0x5d85a0
mov edx, 4
call fcn.0048aba0
mov edi, eax
mov edx, 0x587160
mov eax, 0x585300
call fcn.005d85c4
mov edx, 0x5946f0
mov eax, 0x591880
call fcn.005d85c4
mov edx, 0x596b7c
mov eax, 0x594750
call fcn.005d85c4
push esp
push 0x40
mov eax, 0x5d88d0
add eax, 8
sub eax, ebp
push eax
push ebp
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x5d87b1
mov eax, 0x5d88a8
call fcn.00484710
lea edx, [esp + 0x10]
mov eax, edi
mov ecx, 0x10
call fcn.00402ac0
lea edx, [esp + 8]
lea eax, [esp + 0x10]
mov ecx, 8
call fcn.00402ac0
jmp 0x5d8848
mov edx, esi
mov eax, ebx
call fcn.0048aba0
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5d87f5
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x5d882b
jmp 0x5d87f9
pop edx
pop eax
jle 0x5d882b
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
xor eax, dword [esp + 8]
xor edx, dword [esp + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov edx, esi
mov eax, ebx
call fcn.0048aba0
mov ebx, eax
jmp 0x5d8848
mov eax, esi
xor byte [ebx], al
mov edx, 1
mov eax, ebx
call fcn.0048aba0
mov ebx, eax
dec esi
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5d8844
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5d8818
jmp 0x5d8848
pop edx
pop eax
jg 0x5d8818
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5d8865
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5d87d5
jmp 0x5d886d
pop edx
pop eax
jg 0x5d87d5
mov edx, edi
sub edx, ebp
lea ecx, [esp + 0x20]
mov eax, 0x5d3dd4
call fcn.005d3d44
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
call fcn.005d3d74
test al, al
je 0x5d8895
call fcn.005d5c0c
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42bed0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aca2b
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.004a14ab
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42bf52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049f2cd
mov eax, dword [eax]
push 0x4e7d00
push eax
call fcn.00490b34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a1736
test bl, bl
je 0x42bf52
push 0x4e7d00
lea ecx, [esp + 0xc]
call fcn.004a1ac6
push 0x4e7d0c
lea ecx, [esp + 0xc]
call fcn.004a1ac6
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 0x42bf8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a1736
jmp 0x42c059
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 0x42c012
lea edx, [esp + 0x7c]
push 0x4e7d08
push edx
call fcn.00490b34
add esp, 8
test eax, eax
je 0x42c012
lea eax, [esp + 0x7c]
push 0x4e7d04
push eax
call fcn.00490b34
add esp, 8
test eax, eax
je 0x42c012
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 0x42bfa2
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.004a1736
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 0x42c850
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 0x42c8b2
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 0x42c8c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4acaab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f8c28]
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 0x42c9f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42c926
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a1736
xor eax, eax
jmp 0x42ca6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a1873
push esi
lea ecx, [esp + 0xc]
call fcn.004a1b02
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 0x42ca4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0042c850
test eax, eax
jne 0x42ca4d
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 accept
mov ecx, edi
call fcn.0042c850
test eax, eax
jne 0x42ca4d
lea eax, [esp + 0x14]
push 0x4e7d1c
push eax
call fcn.00491e00
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ca2c
lea ecx, [esp + 0x14]
push 0x4e7d18
push ecx
call fcn.00491d80
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ca2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42ca2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a1823
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42c93e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a1736
xor eax, eax
jmp 0x42ca6f
mov byte [esi], 0
push 0x4e7d14
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.004a1736
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 0x432d56
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x432d7e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret
Function at 0x43d4a0
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 0x43d50e
cmp si, 0x69
ja 0x43d50e
add esi, 0xffd0
cmp si, 0x11
je 0x43d4de
push 0x11
call edi
test ax, ax
jge 0x43d4de
or esi, 0x2000
cmp si, 0x10
je 0x43d4f3
push 0x10
call edi
test ax, ax
jge 0x43d4f3
or esi, 0x4000
cmp si, 0x12
je 0x43d508
push 0x12
call edi
test ax, ax
jge 0x43d508
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43d51b
mov esi, 0xbd
jmp 0x43d4cf
cmp si, 0x6e
jne 0x43d528
mov esi, 0xbe
jmp 0x43d4cf
cmp si, 0x6f
jne 0x43d4c9
mov esi, 0xbf
jmp 0x43d4cf

Function at 0x43f0e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5094b8]
xor edx, edx
cmp eax, edx
jne 0x43f106
xor eax, eax
mov byte [eax + 0x5093b8], al
inc eax
cmp eax, 0x100
jl 0x43f0ee
mov dword [0x5094b8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5093b8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43f197
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 0x43f16a
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 0x43f138
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43f210
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 0x43f263
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 0x43f24a
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
Function at 0x446520
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4466b8
cmp ebp, ebx
jle 0x4466b8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x44657e
dec eax
or eax, 0xfffffff8
inc eax
je 0x446585
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x446594
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x44659b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004a1477
add esp, 4
cmp eax, ebx
je 0x4465bc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004a1477
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4466ae
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x446695
mov al, byte [edx]
cmp al, 0xc0
jbe 0x446681
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x446676
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x446684
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x446684
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x446620
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x446611
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret