joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49fe80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x49fed1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x49feb8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x49fea8
jmp 0x49fed1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x49feb9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4afa30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405288
xor eax, eax
push ebp
push 0x4afaa5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405098
mov esi, eax
test esi, esi
jle 0x4afa84
mov ebx, 1
lea eax, [ebp - 4]
call fcn.004052f0
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor edx, edi
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4afa6a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afaac
lea eax, [ebp - 4]
call fcn.00404dd8
ret
Function at 0x4aff2c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b00a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404dd8
mov ebx, 1
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.00405098
mov edi, eax
cmp edi, ebx
jl 0x4b008e
jmp 0x4afff3
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx - 1]
xor edx, edx
mov dl, al
cmp edx, 0x3d
jg 0x4aff9b
je 0x4affc4
sub edx, 0x2b
je 0x4affad
sub edx, 4
je 0x4affb3
dec edx
sub edx, 0xa
jb 0x4affb9
jmp 0x4affdf
add edx, 0xffffffbf
sub edx, 0x1a
jb 0x4affc9
add edx, 0xfffffffa
sub edx, 0x1a
jb 0x4affd4
jmp 0x4affdf
mov ax, 0x3e
jmp 0x4affe3
mov ax, 0x3f
jmp 0x4affe3
and eax, 0xff
sub ax, 0xfffc
jmp 0x4affe3
or eax, 0xffffffff
jmp 0x4affe3
and eax, 0xff
sub ax, 0x41
jmp 0x4affe3
and eax, 0xff
sub ax, 0x47
jmp 0x4affe3
mov ax, 0xfffe
cmp ax, 0xfffe
je 0x4afff2
movzx edx, si
mov word [ebp + edx*2 - 0x10], ax
inc esi
inc ebx
cmp edi, ebx
jl 0x4b0001
cmp si, 4
jb 0x4aff77
cmp si, 4
jne 0x4b0086
xor esi, esi
lea eax, [ebp - 0x14]
mov dx, word [ebp - 0x10]
shl edx, 2
movsx ecx, word [ebp - 0xe]
shr ecx, 4
or dl, cl
call fcn.00404fc0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004050a0
mov eax, dword [ebp - 8]
cmp word [ebp - 0xc], 0xffff
je 0x4b008e
lea eax, [ebp - 0x18]
mov dx, word [ebp - 0xe]
shl edx, 4
movsx ecx, word [ebp - 0xc]
shr ecx, 2
or dl, cl
call fcn.00404fc0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004050a0
mov eax, dword [ebp - 8]
cmp word [ebp - 0xa], 0xffff
je 0x4b008e
lea eax, [ebp - 0x1c]
mov dx, word [ebp - 0xc]
shl edx, 6
mov cx, word [ebp - 0xa]
or dl, cl
call fcn.00404fc0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004050a0
mov eax, dword [ebp - 8]
cmp edi, ebx
jge 0x4afff3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b00b0
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404dfc
ret
Function at 0x4ca078
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405288
mov eax, dword [ebp - 8]
call fcn.00405288
xor eax, eax
push ebp
push 0x4ca149
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xa7]
xor ecx, ecx
mov edx, 0x81
call fcn.00403524
lea eax, [ebp - 0x128]
xor ecx, ecx
mov edx, 0x81
call fcn.00403524
lea eax, [ebp - 0xa7]
mov edx, dword [ebp - 4]
call fcn.0040a758
lea eax, [ebp - 0x128]
mov edx, dword [ebp - 8]
call fcn.0040a758
mov eax, dword [0x59bd28]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
call fcn.004601fc
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], 2
lea eax, [ebp - 0xa7]
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x18
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca150
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404dfc
ret

Function at 0x4ca154
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405288
mov eax, dword [ebp - 8]
call fcn.00405288
xor eax, eax
push ebp
push 0x4ca225
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xa7]
xor ecx, ecx
mov edx, 0x81
call fcn.00403524
lea eax, [ebp - 0x128]
xor ecx, ecx
mov edx, 0x81
call fcn.00403524
lea eax, [ebp - 0xa7]
mov edx, dword [ebp - 4]
call fcn.0040a758
lea eax, [ebp - 0x128]
mov edx, dword [ebp - 8]
call fcn.0040a758
mov eax, dword [0x59bd28]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
call fcn.004601fc
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], 1
lea eax, [ebp - 0xa7]
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x18
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca22c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404dfc
ret

Function at 0x4ca230
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405288
xor eax, eax
push ebp
push 0x4ca2a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x59bb04]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], 3
mov eax, dword [ebp - 4]
call fcn.00405298
mov dword [ebp - 0x1a], eax
xor eax, eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], 0x14
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca2a9
lea eax, [ebp - 4]
call fcn.00404dd8
ret
Function at 0x4ca804
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
push esp
push 0x3ff
call sub.kernel32.dll_GetTempPathA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404ec8
add esp, 0x400
pop ebx
ret

Function at 0x4cabd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4cac97
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4cac7a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x4cac59
lea eax, [ebp - 8]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, ebx
mov edx, 0x104
call fcn.00405424
mov eax, dword [ebx]
call fcn.00405298
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
jne 0x4cac43
call fcn.0040481c
jmp 0x4cac81
mov eax, dword [ebx]
call fcn.00405298
push eax
call sub.kernel32.dll_lstrlenA_1
mov edx, eax
mov eax, ebx
call fcn.00405424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cac81
cmp dword [ebp - 8], 0
je 0x4cac79
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cac9e
lea eax, [ebp - 4]
call fcn.00406b60
ret

Function at 0x4cd838
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4cd869
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00405048
jmp 0x4cd870
mov eax, ebx
call fcn.00404dd8
add esp, 0x104
pop ebx
ret

Function at 0x4cd878
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cd8e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfd
lea eax, [ebp - 4]
mov edx, 0xfe
call fcn.00405424
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405298
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405424
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404e2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd8ec
lea eax, [ebp - 4]
call fcn.00404dd8
ret
Function at 0x4d45e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d4848
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4d464b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004d4100
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e2cc
cmp al, 1
jne 0x4d464b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004d43c8
test al, al
je 0x4d47d7
cmp dword [ebp - 8], 0
jge 0x4d4669
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004d4100
mov eax, dword [ebp - 0x210]
call fcn.00405098
cmp ebx, eax
jge 0x4d46b3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004d4100
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x59bd48]
and eax, 0xff
bt dword [edx], eax
jae 0x4d46b3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4d46c7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004d45c4
cmp ebx, dword [ebp - 8]
je 0x4d47c9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4d46f3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004041a0
and eax, 0x7f
movzx eax, word [eax*2 + 0x59a3c8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4d47b6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004041a0
and eax, 0x7f
movzx eax, word [eax*2 + 0x59a3c8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004601fc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004041a0
and eax, 0x7f
movzx eax, word [eax*2 + 0x59a3c8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004601fc
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d47bd
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4d482a
cmp dword [ebp - 8], 0
jge 0x4d47e2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004d4100
mov eax, dword [ebp - 0x218]
call fcn.00405098
cmp eax, dword [ebp - 8]
jg 0x4d481c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004d4100
mov eax, dword [ebp - 0x21c]
call fcn.00405098
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d45c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d484f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404dfc
ret
Function at 0x4d605c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x96db58
test esi, esi
jne 0x4d6076
xor eax, eax
jmp 0x4d6178
cmp dword [ebp], 0
jne 0x4d6081
call fcn.004d5fec
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4d6151
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x4d608d
test edi, edi
jbe 0x4d6173
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x4d6155
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4e3cf8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e3d69
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x59a45c]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4e3d53
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004e3ce8
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4e3af0]
call fcn.004e3d90
mov dword [0x59a4c0], eax
mov eax, dword [ebp - 4]
call fcn.004e3c98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3d70
lea eax, [ebp - 8]
call fcn.00406b60
ret
Function at 0x4eb9f8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ebab2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040550c
mov eax, dword [0x59bd58]
cmp dword [eax], 2
jne 0x4eba67
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004057e4
mov eax, dword [ebx]
call fcn.004056a8
push eax
mov eax, dword [ebx]
call fcn.00405698
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004056a8
mov edx, eax
dec edx
mov eax, ebx
call fcn.004057e4
jmp 0x4eba99
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a8f0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ebab9
lea eax, [ebp - 0x3f0]
call fcn.00404dd8
ret
Function at 0x50251c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x5026d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00430050
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.0046c0dc
call fcn.004f1e60
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x5025a0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.0042a1d0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00430050
mov eax, dword [eax + 0xc]
pop edx
call fcn.0042a1d8
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042a0b8
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.0040a758
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00430050
call fcn.0042b370
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042a12c
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042a168
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042a168
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042a168
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042a1d0
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00430050
mov eax, dword [eax + 0xc]
pop edx
call fcn.0042a064
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00430050
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x54]
lea edx, [edx + edx*2]
lea edx, [edx + edx*8]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x90]
mov edx, dword [ecx + edx*4 + 0xc]
call fcn.00429ea8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5026db
lea eax, [ebp - 4]
call fcn.00404dd8
ret
Function at 0x512ebc
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.0040a128
test al, al
je 0x512f43
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00403524
or esi, 0x100
test esi, esi
jns 0x512ef7
call fcn.00403ee4
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00405298
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x512f43
mov dl, 1
mov eax, dword [0x429040]
call fcn.00431780
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.00431b50
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x512f43
mov eax, esp
call fcn.0040f468
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x53a4c8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x53a6a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edi + 0x29c]
mov eax, dword [eax + 0x30]
call fcn.00430050
mov eax, dword [eax + 0xc]
mov edx, dword [edi + 0x68]
mov ecx, dword [eax]
call dword [ecx + 8]
test si, 0x10
setne bl
test bl, bl
je 0x53a58e
mov eax, 0xff00000e
call fcn.004299e8
push eax
mov eax, dword [edi + 0x29c]
mov eax, dword [eax + 0x30]
call fcn.00430050
mov eax, dword [eax + 0xc]
pop edx
call fcn.00429ea8
mov eax, 0xff00000d
call fcn.004299e8
push eax
mov eax, dword [edi + 0x29c]
mov eax, dword [eax + 0x30]
call fcn.00430050
mov eax, dword [eax + 0x14]
pop edx
call fcn.0042a674
mov eax, dword [edi + 0x29c]
mov eax, dword [eax + 0x30]
call fcn.00430050
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.0042a790
mov eax, dword [edi + 0x29c]
mov eax, dword [eax + 0x30]
call fcn.00430050
lea edx, [ebp - 0x14]
call fcn.0042ad54
jmp 0x53a5db
mov eax, dword [edi + 0x29c]
mov eax, dword [eax + 0x30]
call fcn.00430050
mov eax, dword [eax + 0xc]
mov edx, dword [edi + 0x68]
mov edx, dword [edx + 0x18]
call fcn.00429ea8
mov eax, dword [edi + 0x29c]
mov eax, dword [eax + 0x30]
call fcn.00430050
mov eax, dword [eax + 0x14]
mov edx, dword [edi + 0x70]
call fcn.0042a674
mov eax, dword [edi + 0x29c]
mov eax, dword [eax + 0x30]
call fcn.00430050
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0042a790
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004599c4
cmp dword [ebp - 0x28], 0
je 0x53a660
mov dl, byte [edi + 0x298]
mov eax, edi
call fcn.004f1ed0
or eax, 0x820
mov dword [ebp - 4], eax
cmp byte [edi + 0x276], 0
sete al
and eax, 0x7f
mov edx, dword [ebp - 8]
sub edx, eax
push edx
lea eax, [ebp - 0x24]
push eax
cmp byte [edi + 0x276], 0
setne al
and eax, 0x7f
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.0041c610
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x2c]
mov eax, edi
call fcn.004599c4
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [edi + 0x29c]
mov eax, dword [eax + 0x30]
call fcn.00430050
call fcn.0042b370
lea ecx, [ebp - 0x24]
pop edx
call fcn.004f6af0
test si, 0x10
setne al
test bl, bl
je 0x53a689
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x29c]
mov eax, dword [eax + 0x30]
call fcn.00430050
call fcn.0042b370
push eax
call sub.user32.dll_DrawFocusRect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a6ab
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00404dfc
ret