joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f3e2
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x5c7ed0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], 0
call fcn.00405eb0
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 0
push eax
push 0x100
mov dword [ebp - 0x114], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411c90
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
push edi
call fcn.0053f850
add esp, 0xc
test eax, eax
jne 0x411cf2
push 1
push 0x570210
mov ecx, esi
call fcn.00402c40
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411cc5
sub ecx, edx
lea edx, [ecx + edi]
test edx, edx
jne 0x411cd9
xor ecx, ecx
jmp 0x411ce9
mov ecx, edx
lea edi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411ce0
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00406320
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053bf68
mov esp, ebp
pop ebp
ret

Function at 0x411d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x5c7ed0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x208]
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x514]
push eax
push esi
call fcn.0053d93a
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x108]
push eax
push str.PATCH
lea eax, [ebp - 0x208]
push eax
push str._s_s_s_s_
push edi
call fcn.0053be46
mov ecx, dword [ebp - 4]
add esp, 0x2c
xor ecx, ebp
pop edi
pop esi
call fcn.0053bf68
mov esp, ebp
pop ebp
ret
Function at 0x417a19
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x55f962
call fcn.0053fce5
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 - 0x158], esi
test eax, eax
jne 0x417a47
call fcn.00415820
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x417a42
lea eax, [ebp - 0x154]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x417a8f
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.0053fc65
push eax
call fcn.004157f6
add esp, 0x14
push ebx
push edi
call fcn.004179ec
xor eax, eax
jmp 0x417bb0
cmp eax, 0x104
jb 0x417aac
test edi, edi
je 0x417a88
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.0041636d
jmp 0x417a88
call fcn.00416b7a
push eax
lea ecx, [ebp - 0x15c]
call fcn.004159f0
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.00417370
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x417ba5
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 0x417b17
push ebx
push edi
call fcn.004179ec
lea ecx, [esi - 0x10]
call fcn.00402990
jmp 0x417a88
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x417b33
push dword [ebp - 0x158]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x417ba5
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x417ba5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x417b03
cmp eax, dword [ebp - 0x158]
jbe 0x417b03
lea eax, [ebp - 0x124]
push eax
call fcn.0053fd90
mov edx, dword [ebp - 0x154]
sub edx, dword [ebp - 0x158]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x417bb8
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x154]
call fcn.005401f7
push eax
call fcn.004157f6
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00402990
xor eax, eax
inc eax
call fcn.0053fc94
ret 0xc
test edi, edi
je 0x417b0a
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.0041636d
jmp 0x417b0a

Function at 0x419e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x419ea5
call fcn.00425c78
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x419ea5
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x419ec1
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004253ac
mov ebx, eax
test edi, edi
je 0x419ebf
test esi, esi
je 0x419ebf
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x420f21
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00425c78
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x420f58
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00420f79
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42379f
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ff61
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.0053e620
mov eax, dword [0x5c7ed0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1028], ebx
cmp dword [ecx + 0x58], ebx
je 0x4238d3
push ebx
push eax
call fcn.00423922
mov ebx, eax
test ebx, ebx
jne 0x423807
push esi
jmp 0x4238fb
call fcn.00416b7a
push eax
lea ecx, [ebp - 0x1014]
call fcn.004159f0
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1024], eax
test eax, eax
jne 0x423892
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.00402910
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x1024], eax
call fcn.0041782b
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1024], 0
jne 0x4238c0
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.00405ae0
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00402990
jmp 0x423902
push esi
mov ecx, edi
call fcn.00405eb0
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x4238b9
test esi, esi
jne 0x4238dc
mov esi, 0x570147
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.00405eb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053bf68
mov esp, ebp
pop ebp
ret 0x10
Function at 0x428486
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x5602f3
call fcn.0053fcb2
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00428567
and dword [ebp - 4], 0
mov dword [ebx], vtable.CHttpConnection.0
call fcn.00416b7a
push eax
lea ecx, [ebx + 0x18]
call fcn.004159f0
push dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 1
call fcn.0041636d
push dword [ebx + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebx + 4], eax
test eax, eax
jne 0x4284fc
push eax
push dword [ebx + 8]
call fcn.00428ac7
push dword [ebx + 0xc]
mov ecx, 0x5d0fe0
push eax
call fcn.00429432
mov eax, ebx
call fcn.0053fc80
ret 0x18

Function at 0x42866d
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x428696
call fcn.00425c78
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
je 0x4286c3
push esi
push eax
mov ecx, 0x5d0fe0
call fcn.00429432
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.00428ac7
int3

Function at 0x42db51
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5c7ed0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x42dbe3
test esi, esi
je 0x42dbe3
push esi
call fcn.0053fd90
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.0053db90
mov eax, 0x100
add esp, 0x10
cmp ebx, eax
ja 0x42dbc8
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x42dbc8
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x42dbd0
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bf68
mov esp, ebp
pop ebp
ret 8
call fcn.00415820
int3
Function at 0x436bdf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x560eca
call fcn.0053fce5
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x230], ebx
call fcn.00425c78
push ebx
mov ecx, dword [eax + 4]
call fcn.004234e7
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 - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], 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 - 0x22c]
push dword [eax]
push esi
call fcn.0043698e
mov ecx, dword [ebp - 0x21c]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ecx - 0x10]
call fcn.00402990
inc bl
je 0x436d8d
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov esi, ebx
mov byte [ebp - 0x114], bl
call fcn.0053db90
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 0x436d49
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc esi
mov byte [ebp - 0x218], 0
call fcn.0053db90
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00436b7d
test eax, eax
jne 0x436d34
lea eax, [ebp - 0x114]
push eax
lea ecx, [edi + 4]
call fcn.00435c5e
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.0041636d
mov dword [ebp - 0x230], 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 - 0x22c]
call ebx
test eax, eax
je 0x436cb7
lea ecx, [ebp - 0x22c]
call fcn.004234cd
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.00436224
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402990
lea ecx, [ebp - 0x22c]
call fcn.004234cd
lea ecx, [ebp - 0x23c]
call fcn.004234cd
mov eax, dword [ebp - 0x230]
call fcn.0053fc94
ret
Function at 0x4397d6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00420298
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x439812
call fcn.004399f5
mov dword [esi + 0xc], 1
jmp 0x439817
call fcn.004399f5
cmp dword [esi], 0
je 0x439860
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x43983a
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00419f35
jmp 0x43984b
push 0xff
mov ecx, esi
call fcn.00402910
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041782b
jmp 0x439884
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x439884
push dword [esi]
push dword [ebp - 4]
call fcn.0042db51
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43994a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004399f5
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x439992
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00419f35
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041782b
jmp 0x43999d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0042db51
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x439a39
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5c7ed0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 0x48], esi
call fcn.004399f5
cmp dword [edi], 0
mov ebx, eax
mov dword [edi + 0xc], 1
je 0x439aaa
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00543676
add esp, 0x10
cmp eax, 1
je 0x439af8
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.0042426f
mov ecx, edi
call fcn.004399a3
jmp 0x439af8
call fcn.0053fee3
mov edi, dword [eax]
call fcn.0053fee3
and dword [eax], 0
lea eax, [ebp + 0x18]
push eax
push esi
push 0x3f
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0053f2bd
add esp, 0x14
call fcn.0053fee3
cmp dword [eax], 0
je 0x439ae7
call fcn.0053fee3
push dword [eax]
call fcn.00415f7e
pop ecx
jmp 0x439aee
call fcn.0053fee3
mov dword [eax], edi
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0042db51
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bf68
mov esp, ebp
pop ebp
ret
Function at 0x439d41
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x439d8f
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0053fd90
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x439d84
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x439d72
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00415820
int3

Function at 0x43d41f
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5c7ed0]
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 0x43d474
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.0053bf68
mov esp, ebp
pop ebp
ret 4
Function at 0x43d5d8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x5c7ed0]
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 0x43d7f7
test esi, esi
je 0x43d7f7
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 0x43d7c8
dec eax
je 0x43d66a
dec eax
je 0x43d730
dec eax
jne 0x43d7e2
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x43d7c3
push ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0042bcbb
test eax, eax
je 0x43d7c3
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x43d728
push ebx
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042bcbb
test eax, eax
je 0x43d728
cmp dword [ebp + 0x10], 1
jne 0x43d788
test byte [ebp - 0x43c], 0x10
jne 0x43d7c3
test byte [ebp - 0x314], 0x10
jne 0x43d728
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
cmp dword [ebp - 0x440], ecx
ja 0x43d728
jb 0x43d7c3
cmp dword [ebp - 0x444], eax
jb 0x43d7c3
cmp dword [ebp - 0x440], ecx
jb 0x43d7e2
ja 0x43d728
cmp dword [ebp - 0x444], eax
jbe 0x43d7e2
xor ebx, ebx
inc ebx
jmp 0x43d7e2
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 0x43d7e2
push 0x408
push 0x160
lea eax, [ebp - 0x5bc]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x43d7e2
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, eax
jmp 0x43d7e2
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.0043ccfd
test al, al
jne 0x43d7c3
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.0043cd1c
xor ebx, ebx
test al, al
setne bl
jmp 0x43d7e2
or ebx, 0xffffffff
jmp 0x43d7e2
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 0x43d7df
xor eax, eax
jmp 0x43d7e4
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bf68
mov esp, ebp
pop ebp
ret 0xc
call fcn.00415820
int3
Function at 0x43dd6c
Capabilities:
Get file system object information

Disassembly:
push 0x398
mov eax, 0x561424
call fcn.0053fce5
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 0x43dd9b
call fcn.00415820
mov eax, dword [ebp + 0x10]
sub eax, ebx
je 0x43dec3
dec eax
je 0x43dded
dec eax
je 0x43ddc5
dec eax
je 0x43dded
push 0x570147
mov ecx, esi
call fcn.00405eb0
mov eax, esi
call fcn.0053fc94
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 0x43ddaf
lea eax, [ebp - 0x28c]
push eax
jmp 0x43ddb4
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x43ddaf
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.0042bcbb
test eax, eax
je 0x43ddaf
call fcn.00416b7a
push eax
lea ecx, [ebp - 0x3a0]
call fcn.004159f0
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], ebx
jne 0x43de83
test byte [ebp - 0x21c], 0x18
jne 0x43de9b
mov eax, dword [edi]
lea ecx, [ebp - 0x3a0]
push ecx
push dword [ebp - 0x220]
mov ecx, edi
push dword [ebp - 0x224]
call dword [eax + 0x19c]
jmp 0x43de9b
mov eax, dword [edi]
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov ecx, edi
call dword [eax + 0x1a0]
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.00405ae0
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [esi], eax
lea ecx, [ecx - 0x10]
call fcn.00402990
jmp 0x43ddbb
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 0x43ddaf
lea eax, [ebp - 0x390]
jmp 0x43ddea

Function at 0x43e0a7
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00456191
call fcn.00425ccc
cmp dword [eax + 0x14], 0
jne 0x43e0c2
mov ecx, esi
pop esi
jmp fcn.0043d485
pop esi
ret

Function at 0x44d4b4
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.005379a0
call fcn.00425ccc
cmp dword [eax + 0x14], 0
jne 0x44d4cf
mov ecx, esi
pop esi
jmp fcn.0044cd9a
pop esi
ret
Function at 0x4e1b18
Capabilities:
Get file system object information

Disassembly:
push 0x270
mov eax, 0x569da0
call fcn.0053fce5
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00405ae0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x5700e0
call fcn.00422b3c
cmp eax, 0xffffffff
jne 0x4e1bfd
push 0
push 0x5700e4
lea ecx, [ebp - 0x278]
call fcn.00422b3c
cmp eax, 0xffffffff
jne 0x4e1bfd
push 0
push 0x574e10
lea ecx, [ebp - 0x278]
call fcn.00422b3c
cmp eax, 0xffffffff
jne 0x4e1bfd
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00405ae0
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 0x4e1bd9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00402990
jmp 0x4e1c2c
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.0041636d
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402990
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 0x4e1c23
mov ebx, dword [ebp - 0x274]
jmp 0x4e1c2c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00402990
mov eax, ebx
call fcn.0053fc94
ret