joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4112c8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0xff
mov eax, dword [ebp + 8]
push eax
push 0x42347c
call fcn.00411bb8
add esp, 0xc
lea edx, [ebp - 8]
push 0
push 0
push 0
push edx
push 0x42347c
call fcn.004115cc
add esp, 0x14
push 0x4207e4
lea ecx, [ebp - 8]
push ecx
call fcn.0040d2bc
add esp, 8
mov byte [0x42347c], 0
push 0
push 0
push 0
push 0
push 0
push 0xff
push 0x42347c
lea eax, [ebp - 8]
push eax
call sub.KERNEL32.dll_GetVolumeInformationA
test eax, eax
je 0x41133b
mov eax, 0x42347c
jmp 0x41133d
xor eax, eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x4113f4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
test byte [ebx + 8], 8
je 0x411419
cmp dword [ebx + 4], 0xfffffffe
jne 0x411419
or eax, 0xffffffff
jmp 0x411551
test byte [ebx + 8], 8
je 0x411486
cmp dword [ebx + 4], 0xffffffff
jne 0x411486
mov dword [esi + 8], 8
mov edx, dword [ebx + 0xc]
push edx
call fcn.004112c8
pop ecx
mov edi, eax
test edi, edi
je 0x41146e
add esi, 0x10
xor eax, eax
push esi
push edi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov dword [ebx + 4], 0xfffffffe
xor eax, eax
jmp 0x411551
call fcn.00412220
test eax, eax
jne 0x41147e
xor eax, eax
jmp 0x411551
or eax, 0xffffffff
jmp 0x411551
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x411493
cmp eax, 0xfffffffe
jne 0x4114ba
mov dword [ebx + 4], 0xffffffff
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebx + 0xc]
push ecx
call sub.KERNEL32.dll_FindFirstFileA
mov edi, eax
mov dword [ebx + 4], edi
cmp edi, 0xffffffff
setne al
and eax, 1
jmp 0x4114ca
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebx + 4]
push ecx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x4114e0
call fcn.00412220
test eax, eax
jne 0x4114db
xor eax, eax
jmp 0x411551
or eax, 0xffffffff
jmp 0x411551
mov eax, dword [ebp - 0x148]
test al, 0x16
je 0x4114f4
mov edx, dword [ebx + 8]
and edx, eax
test dl, 0x16
je 0x411486
mov ecx, dword [ebp - 0x148]
mov dword [esi + 8], ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x134]
push edx
call sub.KERNEL32.dll_FileTimeToLocalFileTime
lea ecx, [esi + 0xc]
push ecx
lea eax, [esi + 0xe]
push eax
lea edx, [ebp - 8]
push edx
call sub.KERNEL32.dll_FileTimeToDosDateTime
mov ecx, dword [ebp - 0x128]
xor eax, eax
mov dword [esi + 4], ecx
add esi, 0x10
push esi
lea edi, [ebp - 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411bb8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x104
call fcn.00419b74
pop ecx
mov ebx, eax
test eax, eax
jne 0x411bdc
xor eax, eax
jmp 0x411c85
lea edx, [ebp - 4]
push edx
push ebx
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call sub.KERNEL32.dll_GetFullPathNameA
mov esi, eax
test esi, esi
je 0x411bfd
cmp esi, 0x104
jb 0x411c08
push ebx
call fcn.00419a60
pop ecx
xor eax, eax
jmp 0x411c85
cmp byte [ebx + 1], 0x3a
jne 0x411c38
mov dl, byte [ebx]
lea ecx, [ebp - 8]
mov byte [ebp - 8], dl
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0x5c
mov byte [ebp - 5], 0
push ecx
call sub.KERNEL32.dll_GetDriveTypeA
cmp eax, 2
jae 0x411c38
push ebx
call fcn.00419a60
pop ecx
xor eax, eax
jmp 0x411c85
inc esi
test edi, edi
je 0x411c7b
cmp esi, dword [ebp + 0x10]
jbe 0x411c4d
push ebx
call fcn.00419a60
pop ecx
xor eax, eax
jmp 0x411c85
push edi
mov esi, edi
xor eax, eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push ebx
call fcn.00419a60
pop ecx
mov eax, edi
jmp 0x411c85
push esi
push ebx
call fcn.0041a040
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x411ca4
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x411cea
lea eax, [ebp - 0x10c]
push eax
push 0x103
call sub.KERNEL32.dll_GetCurrentDirectoryA
test eax, eax
je 0x411cd8
cmp eax, dword [ebp + 0x10]
jle 0x411d73
call fcn.0041a834
mov dword [eax], 8
xor eax, eax
jmp 0x411de0
cmp dword [0x423804], 1
jne 0x411d2f
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov edx, eax
add dl, 0x40
add ecx, 3
mov byte [ebp - 0x10c], dl
mov dl, al
mov byte [ebp - 0x10b], 0x3a
mov byte [ebp - 0x10a], 0x5c
mov byte [ebp - 0x109], 0
mov ah, 0x47
mov esi, ecx
int 0x21
jae 0x411d73
xor eax, eax
jmp 0x411de0
call sub.KERNEL32.dll_GetLogicalDrives
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test edx, eax
je 0x411d6f
add bl, 0x40
lea eax, [ebp - 8]
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10c]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x2e
mov byte [ebp - 1], 0
push eax
push edx
lea ecx, [ebp - 4]
push 0x103
push ecx
call sub.KERNEL32.dll_GetFullPathNameA
jmp 0x411d73
xor eax, eax
jmp 0x411de0
lea edx, [ebp - 0x10c]
push edx
call fcn.0040d3c8
pop ecx
cmp eax, dword [ebp + 0x10]
jl 0x411d94
call fcn.0041a834
mov dword [eax], 0x22
xor eax, eax
jmp 0x411de0
test edi, edi
jne 0x411db7
mov edx, dword [ebp + 0x10]
push edx
call fcn.00419b74
pop ecx
mov edi, eax
test eax, eax
jne 0x411db7
call fcn.0041a834
mov dword [eax], 8
xor eax, eax
jmp 0x411de0
push edi
mov esi, edi
xor eax, eax
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419e74
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x41a17c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [0x41d063], 0
je 0x41a193
push eax
call sub.KERNEL32.dll_OutputDebugStringA
pop ebp
ret
push 0
push eax
push 0x4235f4
call fcn.00414fe8
add esp, 0xc
pop ebp
ret
Function at 0x41a53c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x421fbc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x41a5f4
cmp byte [0x41d063], 0
je 0x41a5ae
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.00418f44
add esp, 8
mov ebx, eax
test eax, eax
jne 0x41a597
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.00418f44
add esp, 8
mov ebx, eax
test eax, eax
jne 0x41a597
lea ebx, [ebp - 0x54]
jmp 0x41a598
inc ebx
call fcn.0041a4f4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x41a615
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x421fc0
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0040d3c8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x421fc3
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x41a615
cmp dword [0x421fbc], 0xffffffff
je 0x41a615
mov eax, dword [0x421fbc]
test eax, eax
je 0x41a615
cmp byte [eax], 0
je 0x41a615
push esi
push eax
call fcn.0041a6a4
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ace4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x423994], 0
jne 0x41ad65
cmp dword [0x4239b0], 0
jne 0x41ad14
call sub.KERNEL32.dll_GetEnvironmentStrings
mov dword [0x4239b0], eax
test eax, eax
jne 0x41ad14
push 0x422128
call fcn.0041a62c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4239b0]
jmp 0x41ad28
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0040d3c8
pop ecx
mov edi, eax
test eax, eax
jne 0x41ad20
lea edi, [ebp + 1]
push edi
call fcn.00419b74
pop ecx
mov ebx, eax
mov dword [0x423998], ebx
test ebx, ebx
jne 0x41ad52
xor eax, eax
jmp 0x41ae28
push edi
mov edx, dword [0x4239b0]
push edx
push ebx
call fcn.0040d1a8
add esp, 0xc
jmp 0x41ad85
xor esi, esi
mov ebx, dword [0x423994]
jmp 0x41ad7f
push eax
call fcn.0040d3c8
pop ecx
test eax, eax
jne 0x41ad7b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41ad6f
lea ebx, [esi + 4]
push 4
mov dword [0x42399c], ebx
inc ebx
push ebx
call fcn.00418fb8
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41ada8
xor eax, eax
jmp 0x41ae28
cmp dword [0x423994], 0
jne 0x41add9
xor esi, esi
mov ebx, dword [0x423998]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41adca
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0040d3c8
pop ecx
mov edi, eax
test eax, eax
jne 0x41adc0
jmp 0x41ae0a
xor esi, esi
mov ebx, dword [0x423994]
mov eax, dword [esp]
mov edi, eax
jmp 0x41ae04
push eax
call fcn.0040d3c8
pop ecx
test eax, eax
je 0x41adf9
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41adfd
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41ade8
mov eax, dword [0x423994]
test eax, eax
je 0x41ae1a
push eax
call fcn.00419a60
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x423994], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41c43c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jge 0x41c462
test esi, esi
je 0x41c462
call fcn.0041a834
mov dword [eax], 0x13
or eax, 0xffffffff
jmp 0x41c4ce
call fcn.0041c218
mov ebx, eax
test eax, eax
jne 0x41c47d
call fcn.0041a834
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x41c4ce
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov dword [ebx + 4], edx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], ecx
push eax
mov edx, dword [ebp + 0x18]
push edx
push ebx
push 0x41c3ac
push esi
mov ecx, dword [ebp + 0x14]
push ecx
call sub.KERNEL32.dll_CreateThread
test eax, eax
jne 0x41c4c2
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x718
jne 0x41c4bb
push 0x59
call fcn.004121d4
pop ecx
jmp 0x41c4ce
call fcn.00412240
jmp 0x41c4ce
mov dword [ebx + 8], eax
test edi, edi
je 0x41c4ce
mov edx, dword [ebp - 4]
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x40b4aa
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40b4cb
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40b4c2
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40b4ba
mov eax, ebx
leave
ret

Function at 0x40b4f1
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x40b550
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40b57d
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40b56c
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40b55d
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x40b5a3
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x40b544
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x40bde3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.0040b470
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40bfc2
push dword [ebp - 4]
call fcn.0040b454
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40beb3
jmp 0x40bfc2
push dword [ebp - 4]
call fcn.0040b454
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x40bf07
lea eax, [ebp - 4]
push eax
call fcn.0040bdc9
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.0040b67b
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40bf07
mov eax, 1
jmp 0x40bf09
xor eax, eax
test eax, eax
je 0x40bfb7
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40bfaf
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.0040bbe6
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40bf9e
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.0040bda2
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x40bf51
add esp, 0xc
jmp 0x40bfc2
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x40be8c
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x40bfe3
mov esp, ebp
pop ebp
ret 8
Function at 0x42fb40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4afe7b
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.004a2084
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42fbc2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049f520
mov eax, dword [eax]
push 0x52d230
push eax
call fcn.004915c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a230f
test bl, bl
je 0x42fbc2
push 0x52d230
lea ecx, [esp + 0xc]
call fcn.004a26eb
push 0x530dac
lea ecx, [esp + 0xc]
call fcn.004a26eb
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 0x42fbfe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a230f
jmp 0x42fcc9
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 0x42fc82
lea edx, [esp + 0x7c]
push 0x530da8
push edx
call fcn.004915c4
add esp, 8
test eax, eax
je 0x42fc82
lea eax, [esp + 0x7c]
push 0x530da4
push eax
call fcn.004915c4
add esp, 8
test eax, eax
je 0x42fc82
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 0x42fc12
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.004a230f
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 0x4304c0
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 0x430522
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 0x430530
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4afefb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x53aa04]
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 0x430668
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x430596
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a230f
xor eax, eax
jmp 0x4306df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a2498
push esi
lea ecx, [esp + 0xc]
call fcn.004a2727
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x530de4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4306bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004304c0
test eax, eax
jne 0x4306bd
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 closesocket
mov ecx, edi
call fcn.004304c0
test eax, eax
jne 0x4306bd
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004927a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43069c
lea ecx, [esp + 0x14]
push 0x530dbc
push ecx
call fcn.00492720
mov esi, eax
add esp, 8
test esi, esi
jne 0x43069c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43069f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a2448
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4305ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a230f
xor eax, eax
jmp 0x4306df
mov byte [esi], 0
push 0x530db8
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.004a230f
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 0x4444c0
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 0x44452e
cmp si, 0x69
ja 0x44452e
add esi, 0xffd0
cmp si, 0x11
je 0x4444fe
push 0x11
call edi
test ax, ax
jge 0x4444fe
or esi, 0x2000
cmp si, 0x10
je 0x444513
push 0x10
call edi
test ax, ax
jge 0x444513
or esi, 0x4000
cmp si, 0x12
je 0x444528
push 0x12
call edi
test ax, ax
jge 0x444528
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44453b
mov esi, 0xbd
jmp 0x4444ef
cmp si, 0x6e
jne 0x444548
mov esi, 0xbe
jmp 0x4444ef
cmp si, 0x6f
jne 0x4444e9
mov esi, 0xbf
jmp 0x4444ef

Function at 0x445c70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x54ba50]
xor edx, edx
cmp eax, edx
jne 0x445c96
xor eax, eax
mov byte [eax + 0x54b950], al
inc eax
cmp eax, 0x100
jl 0x445c7e
mov dword [0x54ba50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x54b950
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x445d27
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 0x445cfa
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 0x445cc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x445da0
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 0x445df3
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 0x445dda
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