joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424cdb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x54fa17
call fcn.00531203
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x224], ebx
call fcn.00417bf4
push ebx
mov ecx, dword [eax + 4]
call fcn.004115ea
mov esi, eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
push 0x2001f
lea ecx, [ebp - 0x230]
push dword [eax]
push esi
call fcn.00424a8a
mov ecx, dword [ebp - 0x21c]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ecx - 0x10]
call fcn.00402620
add bl, 1
je 0x424e7a
xor ebx, ebx
lea eax, [ebp - 0x114]
push 0x104
push ebx
push eax
mov esi, ebx
call fcn.00533860
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
jmp 0x424e36
mov eax, 0x104
inc esi
push eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00533860
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00424c79
test eax, eax
jne 0x424e21
lea eax, [ebp - 0x114]
push eax
lea ecx, [edi + 4]
call fcn.00423aca
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.00403fd0
mov dword [ebp - 0x224], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x230]
call ebx
test eax, eax
je 0x424dae
lea ecx, [ebp - 0x230]
call fcn.004115d0
mov eax, dword [edi]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [ebp - 0x23c]
push dword [eax]
call fcn.004241f6
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402620
lea ecx, [ebp - 0x230]
call fcn.004115d0
lea ecx, [ebp - 0x23c]
call fcn.004115d0
mov eax, dword [ebp - 0x224]
call fcn.005311ad
ret
Function at 0x48695a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1b8]
test al, al
jns 0x486979
or ecx, 0xffffffff
jmp 0x48697f
mov ecx, dword [0x5ab494]
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x2b4]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x5ab60c
call fcn.00421946
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x486a23
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x486a23
test edi, edi
je 0x4869d4
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x228]
push eax
push 0x5ab728
call fcn.00421946
pop ecx
pop ecx
mov ebx, eax
jmp 0x4869d6
xor ebx, ebx
mov eax, dword [ebp - 8]
cmp eax, 2
jne 0x486a2e
test ebx, ebx
je 0x486a0f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c0]
test al, 0x40
je 0x486a23
cmp dword [ebp - 4], 0
je 0x486a0f
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x24c]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x486a25
mov eax, dword [esi]
mov ecx, esi
push 5
push 0
push edi
call dword [eax + 0x1f8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x486a23
test edi, edi
je 0x486a23
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x184]
test eax, eax
je 0x486a23
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
test eax, eax
je 0x486a23
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x240]
mov eax, dword [esi]
mov ecx, esi
push 0
push 1
push 5
push edi
call dword [eax + 0x34c]
mov ecx, dword [ebp + 8]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], edx
jmp 0x486a25
Function at 0x48885d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov edx, dword [0x5d62dc]
push ebx
push esi
push edi
mov edx, dword [eax + edx*4]
mov ebx, ecx
mov eax, dword [0x5d42b4]
cmp eax, dword [edx + 4]
jle 0x4888b8
mov esi, 0x5d42b4
push esi
call fcn.005309c4
cmp dword [0x5d42b4], 0xffffffff
pop ecx
jne 0x4888b8
call fcn.00413b9d
push eax
mov ecx, 0x5d42b0
call fcn.00402500
push 0x55c17e
call fcn.00530d1e
push esi
call fcn.00530985
pop ecx
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x48895a
mov eax, dword [ebx + 0x34c]
test eax, eax
je 0x488951
cmp dword [eax + 0x20], 0
je 0x488951
test eax, eax
je 0x4888de
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x488951
mov eax, dword [edi + 4]
sub eax, 1
je 0x488925
sub eax, 1
je 0x4888fb
sub eax, 1
jne 0x488951
mov esi, 0x428e
jmp 0x48892a
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x48892a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x340]
test eax, eax
je 0x48892a
add esi, 3
jmp 0x48892a
mov esi, 0x3ea0
push esi
call fcn.00417382
test eax, eax
je 0x48895a
push esi
push eax
mov ecx, 0x5d42b0
call fcn.00403d30
test eax, eax
je 0x48895a
mov eax, dword [0x5d42b0]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x488953
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
call fcn.004136db
int3
Function at 0x497e33
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x553c49
call fcn.00531203
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x154], esi
test eax, eax
jne 0x497e61
call fcn.004136db
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x497e5c
lea eax, [ebp - 0x158]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x497ea9
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.00539c10
push eax
call fcn.004046f1
add esp, 0x14
push ebx
push edi
call fcn.00497e06
xor eax, eax
jmp 0x497fca
cmp eax, 0x104
jb 0x497ec6
test edi, edi
je 0x497ea2
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00403fd0
jmp 0x497ea2
call fcn.00413b9d
push eax
lea ecx, [ebp - 0x15c]
call fcn.00402500
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.004977db
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x497fbf
xor ecx, ecx
lea eax, [ebp - 0x160]
push ecx
push ecx
push eax
lea eax, [ebp - 0x164]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x497f31
push ebx
push edi
call fcn.00497e06
lea ecx, [esi - 0x10]
call fcn.00402620
jmp 0x497ea2
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x497f4d
push dword [ebp - 0x154]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x497fbf
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x497fbf
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x497f1d
cmp eax, dword [ebp - 0x154]
jbe 0x497f1d
lea eax, [ebp - 0x124]
push eax
call fcn.00538ee0
mov edx, dword [ebp - 0x158]
sub edx, dword [ebp - 0x154]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x497fd2
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x158]
call fcn.0053a24f
push eax
call fcn.004046f1
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00402620
xor eax, eax
inc eax
call fcn.005311ad
ret 0xc
test edi, edi
je 0x497f24
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00403fd0
jmp 0x497f24
Function at 0x49a4c9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x49a4e3
mov edi, dword [esi + 0xc]
jmp 0x49a523
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x49a4fc
call fcn.0041473d
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x49a511
call fcn.0041473d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x49a523
call fcn.0041473d
call fcn.00417bf4
cmp dword [eax + 0x3c], 0
je 0x49a538
push edi
mov ecx, ebx
call fcn.00499cbe
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0049a70c
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x49a561
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x49a56d
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4a24a2
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x55429e
call fcn.0053123a
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp + 0xc]
call fcn.0043b564
test eax, eax
je 0x4a2643
lea ecx, [ebp - 0x1c]
xor edi, edi
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], edi
push ecx
lea ecx, [ebx + 4]
call fcn.0043c92f
test eax, eax
je 0x4a24e5
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00413b9d
push eax
lea ecx, [ebp - 0x18]
call fcn.00402500
mov esi, 0x104
mov dword [ebp - 4], edi
push esi
lea ecx, [ebp - 0x18]
call fcn.00402780
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00411b4a
call fcn.00413b9d
push eax
lea ecx, [ebp - 0x14]
call fcn.00402500
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00402780
mov esi, dword [ebp - 0x18]
push eax
push edi
push 0x56dc98
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00411b4a
push edi
push 0x4000100
push 2
push edi
push edi
mov edi, dword [ebp - 0x14]
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x4a257d
lea ecx, [edi - 0x10]
call fcn.00402620
lea ecx, [esi - 0x10]
jmp 0x4a263e
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004974bd
push 0
push 0x1000
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.00426221
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [ebx + 0x20], 1
push edx
mov byte [ebp - 4], 4
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.00426823
and dword [ebx + 0x20], 0
lea ecx, [ebp - 0x88]
call fcn.00426331
lea ecx, [ebp - 0x40]
call fcn.00497572
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebx + 4]
call fcn.004387c8
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
lea ecx, [edi - 0x10]
call fcn.00402620
lea ecx, [esi - 0x10]
call fcn.00402620
xor eax, eax
inc eax
jmp 0x4a2645
call fcn.00402620
xor eax, eax
call fcn.00531198
ret 8
Function at 0x4c1e24
Capabilities:
Get file system object information

Disassembly:
push 0x270
mov eax, 0x556b36
call fcn.00531203
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403b20
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x55f610
call fcn.00404b6c
cmp eax, 0xffffffff
jne 0x4c1f09
push 0
push 0x563704
lea ecx, [ebp - 0x278]
call fcn.00404b6c
cmp eax, 0xffffffff
jne 0x4c1f09
push 0
push 0x55e080
lea ecx, [ebp - 0x278]
call fcn.00404b6c
cmp eax, 0xffffffff
jne 0x4c1f09
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403b20
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x27c], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x114]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x4c1ee5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00402620
jmp 0x4c1f38
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.00403fd0
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402620
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4c1f2f
mov ebx, dword [ebp - 0x274]
jmp 0x4c1f38
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00402620
mov eax, ebx
call fcn.005311ad
ret
Function at 0x4cbee4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5abe6c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.00418294
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
push 0x20
mov ebx, eax
call esi
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0041ad8e
mov edi, dword [ebp - 0x18]
mov esi, eax
test edi, 0x1000
je 0x4cbf5c
cmp esi, 3
jne 0x4cbf4b
push 2
pop esi
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4cbf5c
xor eax, eax
jmp 0x4cbfb1
cmp esi, 0xa
jl 0x4cbf66
cmp esi, 0x11
jle 0x4cbf6b
cmp esi, 4
jne 0x4cbfaf
test edi, 0x800
je 0x4cbf78
push 2
pop eax
jmp 0x4cbfb1
mov eax, dword [ebp - 0x1c]
neg ebx
push ebx
neg eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test edi, 0x200
je 0x4cbfaf
mov eax, esi
sub eax, 4
je 0x4cbffc
sub eax, 9
je 0x4cbfe8
sub eax, 1
je 0x4cbfd8
dec eax
sub eax, 1
je 0x4cbfc4
sub eax, 1
je 0x4cbffc
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00530862
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setle al
dec eax
and eax, 5
add eax, 0xa
jmp 0x4cbfb1
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x4cbfb1
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
lea eax, [eax*2 + 0xa]
jmp 0x4cbfb1
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setg al
lea eax, [eax*4 + 0xb]
jmp 0x4cbfb1
Function at 0x4cff92
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov edx, 0x104
xor ecx, ecx
mov eax, dword [edi + 4]
cmp eax, edx
ja 0x4d013b
je 0x4d0165
cmp eax, 0xa1
jb 0x4d01a8
cmp eax, 0xa2
jbe 0x4d0165
cmp eax, 0xa3
jbe 0x4d01a8
cmp eax, 0xa5
jbe 0x4d0165
cmp eax, 0xa6
jbe 0x4d01a8
cmp eax, 0xa8
jbe 0x4d0165
cmp eax, 0x100
jne 0x4d01a8
cmp dword [esi + 0xc0], 0xffffffff
je 0x4d0165
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4d0163
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x4d00c3
sub eax, 1
jne 0x4d0163
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xbc]
add eax, ecx
lea edi, [ecx + 1]
jmp 0x4d0076
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x4d007c
mov eax, dword [esi + 0xbc]
inc edi
add eax, dword [esi + 0xc0]
cmp edi, eax
jl 0x4d004c
jmp 0x4d00bb
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.004186d1
mov edx, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [edx + 0x270]
and dword [esi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x4d01ce
mov ecx, dword [esi + 0xc0]
lea edi, [ecx - 1]
add edi, dword [esi + 0xbc]
cmp edi, ecx
jle 0x4d00bb
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x4d00fe
dec edi
cmp edi, dword [esi + 0xc0]
jg 0x4d00d6
jmp 0x4d00bb
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.004186d1
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [eax + 0x270]
jmp 0x4d00b4
cmp eax, 0x200
jb 0x4d01a8
cmp eax, 0x202
jbe 0x4d0165
cmp eax, 0x203
jbe 0x4d01a8
cmp eax, 0x205
jbe 0x4d0165
add eax, 0xfffffdf9
cmp eax, 1
ja 0x4d01a8
jmp 0x4d0165
xor ecx, ecx
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x4d0185
cmp dword [eax + 0x20], 0
je 0x4d0185
push edi
push ecx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4d01a6
cmp dword [eax + 0x20], 0
je 0x4d01a6
push edi
push 0
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
cmp dword [edi + 4], 0x203
jne 0x4d01c6
lea eax, [esi + 0x2250]
test eax, eax
je 0x4d01be
mov ecx, dword [eax + 0x20]
cmp dword [edi], ecx
je 0x4d00bb
push edi
mov ecx, esi
call fcn.0046a51f
pop edi
pop esi
pop ebp
ret 4
Function at 0x4fa08c
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5abe6c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4fa0e1
xor eax, eax
test esi, esi
sete al
or eax, 0x4000
push eax
push 0x160
lea eax, [ebp - 0x26c]
push eax
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00530862
mov esp, ebp
pop ebp
ret 4
Function at 0x4fa21d
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x5abe6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x4fa442
test esi, esi
je 0x4fa442
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
sub eax, ebx
je 0x4fa413
sub eax, 1
je 0x4fa2b5
sub eax, 1
je 0x4fa37b
sub eax, 1
jne 0x4fa42d
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x4fa40e
push ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0049edf4
test eax, eax
je 0x4fa40e
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x4fa373
push ebx
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0049edf4
test eax, eax
je 0x4fa373
cmp dword [ebp + 0x10], 1
jne 0x4fa3d3
test byte [ebp - 0x43c], 0x10
jne 0x4fa40e
test byte [ebp - 0x314], 0x10
jne 0x4fa373
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
cmp dword [ebp - 0x440], ecx
ja 0x4fa373
jb 0x4fa40e
cmp dword [ebp - 0x444], eax
jb 0x4fa40e
cmp dword [ebp - 0x440], ecx
jb 0x4fa42d
ja 0x4fa373
cmp dword [ebp - 0x444], eax
jbe 0x4fa42d
xor ebx, ebx
inc ebx
jmp 0x4fa42d
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x71c]
push 0x408
push 0x160
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x4fa42d
push 0x408
push 0x160
lea eax, [ebp - 0x5bc]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x4fa42d
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, eax
jmp 0x4fa42d
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.004f9955
test al, al
jne 0x4fa40e
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.004f9974
xor ebx, ebx
test al, al
setne bl
jmp 0x4fa42d
or ebx, 0xffffffff
jmp 0x4fa42d
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x4fa42a
xor eax, eax
jmp 0x4fa42f
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00530862
mov esp, ebp
pop ebp
ret 0xc
call fcn.004136db
int3
Function at 0x4fa9bc
Capabilities:
Get file system object information

Disassembly:
push 0x398
mov eax, 0x558d72
call fcn.00531203
mov edi, ecx
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
mov esi, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x3a4], ebx
setne al
test eax, eax
jne 0x4fa9eb
call fcn.004136db
mov eax, dword [ebp + 0x10]
sub eax, ebx
je 0x4fab19
sub eax, 1
je 0x4faa43
sub eax, 1
je 0x4faa1b
sub eax, 1
je 0x4faa43
push 0x58e2bf
mov ecx, esi
call fcn.00404010
mov eax, esi
call fcn.005311ad
ret 0x10
push 0x408
push 0x160
lea eax, [ebp - 0x39c]
push eax
push ebx
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4faa05
lea eax, [ebp - 0x28c]
push eax
jmp 0x4faa0a
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4faa05
push ebx
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], ebx
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x238], ebx
push eax
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
call fcn.0049edf4
test eax, eax
je 0x4faa05
call fcn.00413b9d
push eax
lea ecx, [ebp - 0x3a0]
call fcn.00402500
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], ebx
jne 0x4faad9
test byte [ebp - 0x21c], 0x18
jne 0x4faaf1
mov eax, dword [edi]
lea ecx, [ebp - 0x3a0]
push ecx
push dword [ebp - 0x220]
mov ecx, edi
push dword [ebp - 0x224]
call dword [eax + 0x1a0]
jmp 0x4faaf1
mov eax, dword [edi]
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov ecx, edi
call dword [eax + 0x1a4]
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.00403b20
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [esi], eax
lea ecx, [ecx - 0x10]
call fcn.00402620
jmp 0x4faa11
push 0x208
push 0x160
lea eax, [ebp - 0x39c]
push eax
push ebx
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4faa05
lea eax, [ebp - 0x390]
jmp 0x4faa40

Function at 0x4facfb
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0052c3f5
call fcn.00417c48
cmp dword [eax + 0x14], 0
jne 0x4fad16
mov ecx, esi
pop esi
jmp fcn.004fa0f2
pop esi
ret