joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53fd04
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp ebx, dword [0x563414]
jb 0x53fd28
push 6
call fcn.0054042c
pop ecx
jmp 0x53fdb9
push ebx
call fcn.005400b0
pop ecx
mov esi, dword [ebx*4 + 0x58df10]
push 0x22
push 0
push edi
call fcn.00539438
add esp, 0xc
push esi
call sub.KERNEL32.dll_GetFileType
dec eax
je 0x53fd5c
dec eax
je 0x53fd54
dec eax
je 0x53fda8
jmp 0x53fdae
mov word [edi + 4], 0x2000
jmp 0x53fdae
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0x10]
push ecx
push esi
call sub.KERNEL32.dll_GetFileTime
dec eax
je 0x53fd7a
call fcn.00540498
mov esi, eax
jmp 0x53fdb0
push 0
push esi
call sub.KERNEL32.dll_GetFileSize
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0x10]
push ecx
xor eax, eax
test byte [ebx*4 + 0x563419], 1
jne 0x53fd9c
inc eax
push eax
push edi
call fcn.00548c34
add esp, 0x18
jmp 0x53fdae
mov word [edi + 4], 0x1000
xor esi, esi
push ebx
call fcn.00540144
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53fdc0
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.00545a4c
pop ecx
mov ebx, eax
test eax, eax
jne 0x53fde4
xor eax, eax
jmp 0x53fe8d
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 0x53fe05
cmp esi, 0x104
jb 0x53fe10
push ebx
call fcn.00545938
pop ecx
xor eax, eax
jmp 0x53fe8d
cmp byte [ebx + 1], 0x3a
jne 0x53fe40
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 0x53fe40
push ebx
call fcn.00545938
pop ecx
xor eax, eax
jmp 0x53fe8d
inc esi
test edi, edi
je 0x53fe83
cmp esi, dword [ebp + 0x10]
jbe 0x53fe55
push ebx
call fcn.00545938
pop ecx
xor eax, eax
jmp 0x53fe8d
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.00545938
pop ecx
mov eax, edi
jmp 0x53fe8d
push esi
push ebx
call fcn.00545f18
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x53fe94
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 0x53feda
lea eax, [ebp - 0x10c]
push eax
push 0x103
call sub.KERNEL32.dll_GetCurrentDirectoryA
test eax, eax
je 0x53fec8
cmp eax, dword [ebp + 0x10]
jle 0x53ff63
call fcn.00546178
mov dword [eax], 8
xor eax, eax
jmp 0x53ffd0
cmp dword [0x58e320], 1
jne 0x53ff1f
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 0x53ff63
xor eax, eax
jmp 0x53ffd0
call sub.KERNEL32.dll_GetLogicalDrives
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test edx, eax
je 0x53ff5f
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 0x53ff63
xor eax, eax
jmp 0x53ffd0
lea edx, [ebp - 0x10c]
push edx
call fcn.005395b8
pop ecx
cmp eax, dword [ebp + 0x10]
jl 0x53ff84
call fcn.00546178
mov dword [eax], 0x22
xor eax, eax
jmp 0x53ffd0
test edi, edi
jne 0x53ffa7
mov edx, dword [ebp + 0x10]
push edx
call fcn.00545a4c
pop ecx
mov edi, eax
test eax, eax
jne 0x53ffa7
call fcn.00546178
mov dword [eax], 8
xor eax, eax
jmp 0x53ffd0
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 0x53ffd8
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test al, al
jne 0x53ffed
xor eax, eax
jmp 0x540001
add al, 0x40
mov byte [ebp - 4], al
lea eax, [ebp - 4]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], 0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push edx
lea edx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push edx
push ecx
push eax
call sub.KERNEL32.dll_GetDiskFreeSpaceA
dec eax
je 0x540023
mov dword [ebx + 0xc], 0xffffffff
jmp 0x54003a
mov eax, dword [ebp - 0x14]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
mov edx, dword [ebp - 8]
mov dword [ebx + 0xc], edx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 8], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x540a48
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0054006c
test byte [ebp + 0xd], 0xc0
jne 0x540a6c
mov eax, dword [0x563500]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x540a79
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x540aa6
je 0x540ab8
sub ecx, 0x100
je 0x540ac6
sub ecx, 0x100
je 0x540acd
sub ecx, 0x100
je 0x540abf
jmp 0x540ad4
sub ecx, 0x600
je 0x540acd
sub ecx, 0x100
je 0x540ab8
jmp 0x540ad4
mov edi, 1
jmp 0x540ad9
mov edi, 2
jmp 0x540ad9
mov edi, 4
jmp 0x540ad9
mov edi, 5
jmp 0x540ad9
mov edi, 3
test byte [ebp + 0xd], 1
je 0x540b00
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x563adc]
test al, 0x80
je 0x540af9
mov ebx, 0x80
jmp 0x540b12
mov ebx, 1
jmp 0x540b12
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x540b12
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x540b24
je 0x540b2d
dec eax
je 0x540b36
jmp 0x540b3f
mov dword [ebp - 4], 0x80000000
jmp 0x540b4e
mov dword [ebp - 4], 0x40000000
jmp 0x540b4e
mov dword [ebp - 4], 0xc0000000
jmp 0x540b4e
push 1
call fcn.0054042c
pop ecx
mov ebx, eax
jmp 0x540c3a
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x540b6a
sub eax, 0x10
je 0x540b71
sub eax, 0x10
je 0x540b7a
sub eax, 0x10
je 0x540b83
jmp 0x540b83
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x540b8a
mov dword [ebp - 8], 1
jmp 0x540b8a
mov dword [ebp - 8], 2
jmp 0x540b8a
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x540bf3
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x540be8
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x540be8
add ebx, 0xffffffb2
push ebx
call fcn.0054042c
pop ecx
mov ebx, eax
jmp 0x540c3a
mov edi, esi
push edi
call fcn.005409ac
pop ecx
test eax, eax
je 0x540c07
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x540c13
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0054016c
add esp, 8
mov ebx, eax
inc eax
jne 0x540c3a
push 4
call fcn.0054042c
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
call fcn.005400a0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x545d4c
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 0x5461ec
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x56463c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x5462a4
cmp byte [0x54a12a], 0
je 0x54625e
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.005450ec
add esp, 8
mov ebx, eax
test eax, eax
jne 0x546247
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.005450ec
add esp, 8
mov ebx, eax
test eax, eax
jne 0x546247
lea ebx, [ebp - 0x54]
jmp 0x546248
inc ebx
call fcn.005461a4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x5462c5
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x564640
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.005395b8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x564643
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x5462c5
cmp dword [0x56463c], 0xffffffff
je 0x5462c5
mov eax, dword [0x56463c]
test eax, eax
je 0x5462c5
cmp byte [eax], 0
je 0x5462c5
push esi
push eax
call fcn.00546354
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x546a38
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
push esi
call fcn.005395b8
pop ecx
inc eax
push eax
call fcn.00545a4c
pop ecx
mov ebx, eax
test eax, eax
jne 0x546a66
call fcn.00546178
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x546adf
xor eax, eax
push esi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, ebx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x3d
push ebx
call fcn.00544f20
add esp, 8
mov esi, eax
test eax, eax
jne 0x546ab1
call fcn.00546178
mov dword [eax], 0x13
push ebx
call fcn.00545938
pop ecx
or eax, 0xffffffff
jmp 0x546adf
mov byte [esi], 0
cmp byte [esi + 1], 0
jne 0x546abe
xor edx, edx
jmp 0x546ac1
lea edx, [esi + 1]
push edx
push ebx
call sub.KERNEL32.dll_SetEnvironmentVariableA
dec eax
je 0x546ad4
call fcn.00540498
mov esi, eax
jmp 0x546ad6
xor esi, esi
push ebx
call fcn.00545938
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x546b38
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x58e3b0], 0
jne 0x546bb9
cmp dword [0x58e3cc], 0
jne 0x546b68
call sub.KERNEL32.dll_GetEnvironmentStrings
mov dword [0x58e3cc], eax
test eax, eax
jne 0x546b68
push str.GetEnvironmentStrings_failed
call fcn.005462dc
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x58e3cc]
jmp 0x546b7c
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.005395b8
pop ecx
mov edi, eax
test eax, eax
jne 0x546b74
lea edi, [ebp + 1]
push edi
call fcn.00545a4c
pop ecx
mov ebx, eax
mov dword [0x58e3b4], ebx
test ebx, ebx
jne 0x546ba6
xor eax, eax
jmp 0x546c7c
push edi
mov edx, dword [0x58e3cc]
push edx
push ebx
call fcn.005393c8
add esp, 0xc
jmp 0x546bd9
xor esi, esi
mov ebx, dword [0x58e3b0]
jmp 0x546bd3
push eax
call fcn.005395b8
pop ecx
test eax, eax
jne 0x546bcf
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x546bc3
lea ebx, [esi + 4]
push 4
mov dword [0x58e3b8], ebx
inc ebx
push ebx
call fcn.00545160
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x546bfc
xor eax, eax
jmp 0x546c7c
cmp dword [0x58e3b0], 0
jne 0x546c2d
xor esi, esi
mov ebx, dword [0x58e3b4]
mov eax, dword [esp]
mov ebp, eax
jmp 0x546c1e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.005395b8
pop ecx
mov edi, eax
test eax, eax
jne 0x546c14
jmp 0x546c5e
xor esi, esi
mov ebx, dword [0x58e3b0]
mov eax, dword [esp]
mov edi, eax
jmp 0x546c58
push eax
call fcn.005395b8
pop ecx
test eax, eax
je 0x546c4d
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x546c51
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x546c3c
mov eax, dword [0x58e3b0]
test eax, eax
je 0x546c6e
push eax
call fcn.00545938
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x58e3b0], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4327e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bcfdb
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.004ad354
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x432862
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004aa79a
mov eax, dword [eax]
push 0x521250
push eax
call fcn.0049ced4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ad5df
test bl, bl
je 0x432862
push 0x521250
lea ecx, [esp + 0xc]
call fcn.004ad9bb
push 0x524de8
lea ecx, [esp + 0xc]
call fcn.004ad9bb
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 0x43289e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ad5df
jmp 0x432969
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 0x432922
lea edx, [esp + 0x7c]
push 0x524de4
push edx
call fcn.0049ced4
add esp, 8
test eax, eax
je 0x432922
lea eax, [esp + 0x7c]
push 0x524de0
push eax
call fcn.0049ced4
add esp, 8
test eax, eax
je 0x432922
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 0x4328b2
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.004ad5df
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 0x433160
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 0x4331c2
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 0x4331d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bd05b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5338b0]
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 0x433308
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x433236
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ad5df
xor eax, eax
jmp 0x43337f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ad768
push esi
lea ecx, [esp + 0xc]
call fcn.004ad9f7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x524e20
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43335d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00433160
test eax, eax
jne 0x43335d
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.00433160
test eax, eax
jne 0x43335d
lea eax, [esp + 0x14]
push 0x524dfc
push eax
call fcn.0049dfb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43333c
lea ecx, [esp + 0x14]
push 0x524df8
push ecx
call fcn.0049df30
mov esi, eax
add esp, 8
test esi, esi
jne 0x43333c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43333f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ad718
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43324e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ad5df
xor eax, eax
jmp 0x43337f
mov byte [esi], 0
push 0x524df4
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.004ad5df
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 0x4469e0
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 0x446a4e
cmp si, 0x69
ja 0x446a4e
add esi, 0xffd0
cmp si, 0x11
je 0x446a1e
push 0x11
call edi
test ax, ax
jge 0x446a1e
or esi, 0x2000
cmp si, 0x10
je 0x446a33
push 0x10
call edi
test ax, ax
jge 0x446a33
or esi, 0x4000
cmp si, 0x12
je 0x446a48
push 0x12
call edi
test ax, ax
jge 0x446a48
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x446a5b
mov esi, 0xbd
jmp 0x446a0f
cmp si, 0x6e
jne 0x446a68
mov esi, 0xbe
jmp 0x446a0f
cmp si, 0x6f
jne 0x446a09
mov esi, 0xbf
jmp 0x446a0f

Function at 0x4481d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5447a8]
xor edx, edx
cmp eax, edx
jne 0x4481f6
xor eax, eax
mov byte [eax + 0x5446a8], al
inc eax
cmp eax, 0x100
jl 0x4481de
mov dword [0x5447a8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5446a8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x448287
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 0x44825a
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 0x448228
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x448300
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 0x448353
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 0x44833a
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 0x44f050
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 0x44f1e8
cmp ebp, ebx
jle 0x44f1e8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x44f0ae
dec eax
or eax, 0xfffffff8
inc eax
je 0x44f0b5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x44f0c4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x44f0cb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004ad320
add esp, 4
cmp eax, ebx
je 0x44f0ec
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.004ad320
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 0x44f1de
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 0x44f1c5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x44f1b1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x44f1a6
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 0x44f1b4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x44f1b4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x44f150
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 0x44f141
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
Function at 0x452420
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bea38
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x452459
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.004b64d2
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004b655a
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.004524e0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004b6597
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24