joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b4d5
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.0043df1a
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 0x43b50c
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.0043b52d
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 0x43e23b
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.00435f63
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 0x43e277
call fcn.0043e45a
mov dword [esi + 0xc], 1
jmp 0x43e27c
call fcn.0043e45a
cmp dword [esi], 0
je 0x43e2c5
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x43e29f
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0042eddb
jmp 0x43e2b0
push 0xff
mov ecx, esi
call fcn.004023d0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0042f13a
jmp 0x43e2e9
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 0x43e2e9
push dword [esi]
push dword [ebp - 4]
call fcn.00445ce4
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43e3af
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.0043e45a
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43e3f7
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042eddb
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0042f13a
jmp 0x43e402
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00445ce4
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x43e49e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5c8eb0]
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.0043e45a
cmp dword [edi], 0
mov ebx, eax
mov dword [edi + 0xc], 1
je 0x43e50f
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.0055031b
add esp, 0x10
cmp eax, 1
je 0x43e55d
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.0043bf07
mov ecx, edi
call fcn.0043e408
jmp 0x43e55d
call fcn.0054dbd8
mov edi, dword [eax]
call fcn.0054dbd8
and dword [eax], 0
lea eax, [ebp + 0x18]
push eax
push esi
push 0x3f
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0054a8db
add esp, 0x14
call fcn.0054dbd8
cmp dword [eax], 0
je 0x43e54c
call fcn.0054dbd8
push dword [eax]
call fcn.00430770
pop ecx
jmp 0x43e553
call fcn.0054dbd8
mov dword [eax], edi
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00445ce4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret

Function at 0x43e56e
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x56866e
call fcn.0054d2bd
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x18]
mov edi, dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push edi
call fcn.0043e658
and dword [ebp - 4], 0
mov dword [ebx], vtable.CFtpConnection.0
call fcn.00437f58
push eax
lea ecx, [ebx + 0x18]
call fcn.00401bb0
push dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 1
call fcn.0040d770
push dword [ebx + 8]
mov eax, dword [ebp + 0x20]
neg eax
sbb eax, eax
and eax, 0x8000000
push eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebx + 4], eax
test eax, eax
jne 0x43e5f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebx + 8]
call fcn.0043ebc2
push dword [ebx + 0xc]
mov ecx, 0x5cfcb0
push eax
call fcn.0043f69c
mov eax, ebx
call fcn.0054d28b
ret 0x1c

Function at 0x43e75e
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 0x43e787
call fcn.0043df1a
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 0x43e7b4
push esi
push eax
mov ecx, 0x5cfcb0
call fcn.0043f69c
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.0043ebc2
int3
Function at 0x44016e
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x568836
call fcn.0054d2f0
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 0x44019c
call fcn.00437ac0
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x440197
lea eax, [ebp - 0x154]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x4401e4
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.0054dd12
push eax
call fcn.0040d320
add esp, 0x14
push ebx
push edi
call fcn.00440141
xor eax, eax
jmp 0x440305
cmp eax, 0x104
jb 0x440201
test edi, edi
je 0x4401dd
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.0040d770
jmp 0x4401dd
call fcn.00437f58
push eax
lea ecx, [ebp - 0x15c]
call fcn.00401bb0
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.0043fb23
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x4402fa
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 0x44026c
push ebx
push edi
call fcn.00440141
lea ecx, [esi - 0x10]
call fcn.00401cf0
jmp 0x4401dd
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x440288
push dword [ebp - 0x158]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x4402fa
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4402fa
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x440258
cmp eax, dword [ebp - 0x158]
jbe 0x440258
lea eax, [ebp - 0x124]
push eax
call fcn.0054d200
mov edx, dword [ebp - 0x154]
sub edx, dword [ebp - 0x158]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x44030d
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x154]
call fcn.0055070f
push eax
call fcn.0040d320
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00401cf0
xor eax, eax
inc eax
call fcn.0054d29f
ret 0xc
test edi, edi
je 0x44025f
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.0040d770
jmp 0x44025f
Function at 0x445ce4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5c8eb0]
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 0x445d76
test esi, esi
je 0x445d76
push esi
call fcn.0054d200
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.0054d170
mov eax, 0x100
add esp, 0x10
cmp ebx, eax
ja 0x445d5b
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x445d5b
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x445d63
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.0054a5f8
mov esp, ebp
pop ebp
ret 8
call fcn.00437ac0
int3

Function at 0x44a49c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x569196
call fcn.0054d2f0
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x230], ebx
call fcn.0043df1a
push ebx
mov ecx, dword [eax + 4]
call fcn.0043ab0d
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.0044a24b
mov ecx, dword [ebp - 0x21c]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ecx - 0x10]
call fcn.00401cf0
inc bl
je 0x44a64a
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov esi, ebx
mov byte [ebp - 0x114], bl
call fcn.0054d170
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 0x44a606
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc esi
mov byte [ebp - 0x218], 0
call fcn.0054d170
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.0044a43a
test eax, eax
jne 0x44a5f1
lea eax, [ebp - 0x114]
push eax
lea ecx, [edi + 4]
call fcn.004495ae
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.0040d770
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 0x44a574
lea ecx, [ebp - 0x22c]
call fcn.0043aaf3
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.00449b50
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00401cf0
lea ecx, [ebp - 0x22c]
call fcn.0043aaf3
lea ecx, [ebp - 0x23c]
call fcn.0043aaf3
mov eax, dword [ebp - 0x230]
call fcn.0054d29f
ret
Function at 0x467f7c
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5c8eb0]
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 0x467fd1
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.0054a5f8
mov esp, ebp
pop ebp
ret 4
Function at 0x468135
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x5c8eb0]
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 0x468354
test esi, esi
je 0x468354
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 0x468325
dec eax
je 0x4681c7
dec eax
je 0x46828d
dec eax
jne 0x46833f
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x468320
push ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00462798
test eax, eax
je 0x468320
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x468285
push ebx
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00462798
test eax, eax
je 0x468285
cmp dword [ebp + 0x10], 1
jne 0x4682e5
test byte [ebp - 0x43c], 0x10
jne 0x468320
test byte [ebp - 0x314], 0x10
jne 0x468285
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
cmp dword [ebp - 0x440], ecx
ja 0x468285
jb 0x468320
cmp dword [ebp - 0x444], eax
jb 0x468320
cmp dword [ebp - 0x440], ecx
jb 0x46833f
ja 0x468285
cmp dword [ebp - 0x444], eax
jbe 0x46833f
xor ebx, ebx
inc ebx
jmp 0x46833f
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 0x46833f
push 0x408
push 0x160
lea eax, [ebp - 0x5bc]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x46833f
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, eax
jmp 0x46833f
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.0046785c
test al, al
jne 0x468320
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.0046787b
xor ebx, ebx
test al, al
setne bl
jmp 0x46833f
or ebx, 0xffffffff
jmp 0x46833f
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 0x46833c
xor eax, eax
jmp 0x468341
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret 0xc
call fcn.00437ac0
int3
Function at 0x4688fc
Capabilities:
Get file system object information

Disassembly:
push 0x398
mov eax, 0x56a40d
call fcn.0054d2f0
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 0x46892b
call fcn.00437ac0
mov eax, dword [ebp + 0x10]
sub eax, ebx
je 0x468a53
dec eax
je 0x46897d
dec eax
je 0x468955
dec eax
je 0x46897d
push 0x5a87b8
mov ecx, esi
call fcn.0040d7f0
mov eax, esi
call fcn.0054d29f
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 0x46893f
lea eax, [ebp - 0x28c]
push eax
jmp 0x468944
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x46893f
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.00462798
test eax, eax
je 0x46893f
call fcn.00437f58
push eax
lea ecx, [ebp - 0x3a0]
call fcn.00401bb0
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], ebx
jne 0x468a13
test byte [ebp - 0x21c], 0x18
jne 0x468a2b
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 0x468a2b
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.00401c40
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [esi], eax
lea ecx, [ecx - 0x10]
call fcn.00401cf0
jmp 0x46894b
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 0x46893f
lea eax, [ebp - 0x390]
jmp 0x46897a

Function at 0x468c04
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004dbff5
call fcn.0043df6e
cmp dword [eax + 0x14], 0
jne 0x468c1f
mov ecx, esi
pop esi
jmp fcn.00467fe2
pop esi
ret
Function at 0x469c0d
Capabilities:
Get file system object information

Disassembly:
push 0x270
mov eax, 0x56a600
call fcn.0054d2f0
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00401c40
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x5a998c
call fcn.0040d050
cmp eax, 0xffffffff
jne 0x469cf2
push 0
push 0x57f038
lea ecx, [ebp - 0x278]
call fcn.0040d050
cmp eax, 0xffffffff
jne 0x469cf2
push 0
push 0x57a900
lea ecx, [ebp - 0x278]
call fcn.0040d050
cmp eax, 0xffffffff
jne 0x469cf2
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00401c40
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 0x469cce
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00401cf0
jmp 0x469d21
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.0040d770
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401cf0
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 0x469d18
mov ebx, dword [ebp - 0x274]
jmp 0x469d21
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00401cf0
mov eax, ebx
call fcn.0054d29f
ret
Function at 0x4d8652
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00409a70
call fcn.0043df6e
cmp dword [eax + 0x14], 0
jne 0x4d866d
mov ecx, esi
pop esi
jmp fcn.004d7f3b
pop esi
ret

Function at 0x4de2ec
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 0x4de33a
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0054d200
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x4de32f
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4de31d
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00437ac0
int3
Function at 0x52d332
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x574d0b
call fcn.0054d2f0
mov ebx, ecx
mov dword [ebp - 0x12c], ebx
call fcn.00518ee0
push 0x1c4
call fcn.0042e89f
pop ecx
mov dword [ebp - 0x128], eax
and dword [ebp - 4], 0
test eax, eax
je 0x52d375
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.005379de
jmp 0x52d377
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.0051835b
call fcn.0043df1a
mov esi, 0x104
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x8c]
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call fcn.0054d200
mov edi, eax
pop ecx
mov byte [ebp + edi - 0x114], 0x5c
inc edi
cmp edi, esi
jae 0x52d594
xor eax, eax
mov byte [ebp + edi - 0x114], 0
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x52d58e
xor esi, esi
mov dword [ebp - 0x120], esi
cmp dword [ebx + 4], eax
jle 0x52d58e
call fcn.00437f58
push eax
lea ecx, [ebp - 0x118]
call fcn.00401bb0
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x114]
push edi
push ecx
push esi
lea ecx, [ebp - 0x118]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
je 0x52d56c
push 0x57fbcc
mov esi, 0x57fbd0
lea ecx, [ebp - 0x118]
push esi
call fcn.0046097e
push esi
push 0x57deb0
lea ecx, [ebp - 0x118]
call fcn.0046097e
push esi
push 0x57fbcc
lea ecx, [ebp - 0x118]
call fcn.0046097e
call fcn.00437f58
push eax
lea ecx, [ebp - 0x124]
call fcn.00401bb0
mov eax, dword [ebp - 0x128]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x52d498
push dword [ebp - 0x118]
lea eax, [ebp - 0x124]
push str.10__s
push eax
call fcn.004024d0
add esp, 0xc
jmp 0x52d4ca
jge 0x52d4b8
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x124]
push str._d__s
push eax
call fcn.004024d0
add esp, 0x10
jmp 0x52d4ca
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x124]
call fcn.0040d9c0
push 0x1c4
call fcn.0042e89f
pop ecx
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x52d4f4
mov ecx, eax
call fcn.004e053e
mov ecx, eax
mov dword [ebp - 0x11c], eax
jmp 0x52d4fc
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x124]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
add eax, 0xe110
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push dword [ebp - 0x120]
mov ecx, ebx
call fcn.0043d45b
mov ecx, dword [ebp - 0x11c]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.0051835b
inc dword [ebp - 0x128]
lea ecx, [esi - 0x10]
call fcn.00401cf0
mov esi, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00401cf0
inc esi
mov dword [ebp - 0x120], esi
cmp esi, dword [ebx + 4]
jl 0x52d3ed
call fcn.0054d29f
ret
call fcn.0054adb2
int3