joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b40
Capabilities:
Create thread

Disassembly:
push 0
push 0
push ecx
push 0x4019d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ad76
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5b4e20]
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 ebx, ecx
push 0
push 0x83
mov dword [ebp - 0x11c], ebx
call fcn.004120ec
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x94]
mov dword [ebx], vtable.ADSScanSettings.0
call fcn.004136cf
mov dword [ebx + 0x94], vtable.CButton.0
lea ecx, [ebx + 0x108]
mov byte [ebp - 4], 1
call fcn.004136cf
mov dword [ebx + 0x108], vtable.CButton.0
lea ecx, [ebx + 0x17c]
mov byte [ebp - 4], 2
call fcn.004136cf
mov dword [ebx + method.CButton.virtual_0], vtable.CButton.0
lea ecx, [ebx + 0x1f0]
mov byte [ebp - 4], 3
call fcn.004136cf
mov dword [ebx + method.CButton.virtual_0], vtable.CButton.0
mov dword [ebx + 0x268], 0
mov dword [ebx + method.CFont.virtual_0], vtable.CFont.0
lea ecx, [ebx + 0x280]
mov byte [ebp - 4], 5
call section..text
xorps xmm0, xmm0
mov dword [ebx + 0x290], 0
movq qword [ebx + 0x294], xmm0
movq qword [ebx + 0x29c], xmm0
movq qword [ebx + 0x2a4], xmm0
movq qword [ebx + 0x2ac], xmm0
movq qword [ebx + 0x2b4], xmm0
xor eax, eax
mov dword [ebx + 0x294], 0x28
mov dword [ebx + 0x2bc], 0
mov word [ebx + 0x2c0], ax
lea ecx, [ebx + 0x2c4]
mov byte [ebp - 4], 7
call fcn.0040e9e0
lea ecx, [ebx + 0x55c]
mov byte [ebp - 4], 8
call fcn.0040e9e0
lea ecx, [ebx + 0x7f4]
mov byte [ebp - 4], 9
call fcn.004136cf
mov dword [ebx + 0x7f4], 0x55f49c
lea ecx, [ebx + 0x868]
mov byte [ebp - 4], 0xa
call fcn.004136cf
mov dword [ebx + 0x868], 0x55f60c
lea eax, [ebp - 0x114]
push eax
push 0x104
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x58ddf0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00530cad
push str.HiddenFileFinder_ScanSettings.ini
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00530cad
add esp, 0x14
mov ecx, esp
lea eax, [ebp - 0x114]
push eax
call fcn.004023d0
lea ecx, [ebx + 0x280]
call fcn.004096c0
mov ecx, ebx
call fcn.00401b60
test eax, eax
mov eax, ebx
jne 0x401431
mov dword [ebx + 0x26c], 1
mov dword [ebx + 0x270], 0
mov dword [ebx + 0x274], 1
mov dword [ebx + 0x278], 0
mov dword [ebx + 0x27c], 1
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.005308a3
mov esp, ebp
pop ebp
ret 4

Function at 0x4020c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004122e4
Function at 0x402180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402195
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4021d4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4021d0
lea ebx, [ebx]
cmp esi, edx
jae 0x4021d4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4021c0
cmp esi, edx
jb 0x4021d9
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x402bb0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5b4e20]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0xf01ff
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402c12
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x402c12
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x402c20
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005308a3
mov esp, ebp
pop ebp
ret
Function at 0x402c30
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x5b4e20]
xor eax, ebp
mov dword [ebp - 4], eax
movq xmm0, qword [0x58def0]
mov al, byte [0x58df00]
movq qword [ebp - 0x18], xmm0
movq xmm0, qword [0x58def8]
movq qword [ebp - 0x10], xmm0
mov byte [ebp - 8], al
test ecx, ecx
je 0x402d2b
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x120]
push eax
push 0
push 0xf003f
push 0
push 0x58df84
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x402cb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005308a3
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402ce0
sub ecx, edx
push ecx
lea eax, [ebp - 0x11c]
push eax
push 1
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x402d61
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005308a3
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x120]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402c9f
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.005308a3
mov esp, ebp
pop ebp
ret
Function at 0x403070
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5b4e20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push 0x58e2ec
lea eax, [ebp - 0x1c]
push ebx
push eax
mov dword [ebp - 0x1c], 0
call fcn.005316a7
add esp, 0xc
test eax, eax
jne 0x4030c4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4030b0
push eax
call fcn.00531cd0
add esp, 4
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005308a3
mov esp, ebp
pop ebp
ret
call fcn.0041c867
mov eax, dword [eax + 0xc]
push 2
push 0x84
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4030f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005308a3
mov esp, ebp
pop ebp
ret
push esi
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test esi, esi
je 0x4031f8
test edi, edi
je 0x4031f8
movzx edx, word [edi + 0xe]
mov ecx, edx
xor esi, esi
dec ecx
je 0x403145
sub ecx, 3
je 0x40313e
sub ecx, 4
jne 0x40314a
mov esi, 0x400
jmp 0x40314a
mov esi, 0x40
jmp 0x40314a
mov esi, 8
mov eax, dword [edi + 4]
imul eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ecx, eax
and ecx, 0x80000003
jns 0x403168
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, 4
sub edx, ecx
xor ecx, ecx
cmp edx, 4
cmove edx, ecx
add eax, edx
imul eax, dword [edi + 8]
add esi, eax
push 0x58e2f0
lea eax, [esi + 0x36]
mov dword [ebp - 0x12], eax
xor eax, eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov ecx, 0x4d42
push ebx
push eax
mov word [ebp - 0x14], cx
mov dword [ebp - 0xa], 0x36
call fcn.005316a7
add esp, 0xc
test eax, eax
jne 0x4031fe
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4031fe
push eax
push 1
lea eax, [ebp - 0x14]
push 0xe
push eax
call fcn.00531be6
push dword [ebp - 0x18]
lea eax, [esi + 0x28]
push 1
push eax
push edi
call fcn.00531be6
push dword [ebp - 0x18]
call fcn.00531cd0
add esp, 0x24
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005308a3
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005308a3
mov esp, ebp
pop ebp
ret
Function at 0x4032c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push str.Unknown
mov edi, edx
push 0x400
push edi
mov esi, ecx
call fcn.0053170f
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40330f
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x403335
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, esi
or eax, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0
je 0x403352
mov dword [ebp - 0x10], 1
push 0
push 0x400
push ecx
push esi
call fcn.00535bf0
push 0
mov ecx, edx
push 0x3e8
push ecx
push eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], ecx
call fcn.00535bf0
mov ecx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jl 0x4033d2
jg 0x40338e
test eax, eax
je 0x4033d2
push 0
push 0x3e8
push ecx
push eax
call fcn.00535ca0
mov ecx, dword [ebp - 8]
sub ecx, eax
mov eax, dword [ebp - 0xc]
sbb eax, edx
push eax
push ecx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push str._I64d__.3d_KB
push 0x400
push edi
call fcn.00530e69
add esp, 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, ecx
or eax, edx
jne 0x40342b
or esi, dword [ebp - 0x1c]
jne 0x403407
push str.0_KB
push 0x400
push edi
call fcn.00530e69
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.1_KB
push 0x400
push edi
call fcn.00530e69
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push ecx
push str._d_KB
push 0x400
push edi
call fcn.00530e69
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b4e20]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, edx
je 0x4036db
push esi
push str.http:__www.google.com_search_q_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00530e69
add esp, 0x10
lea eax, [ebp - 0x404]
push 3
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jae 0x4036db
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005308a3
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4036e6
mov edx, esi
call fcn.00403460
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.005308a3
mov esp, ebp
pop ebp
ret
Function at 0x403a30
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 0
push 0
push 0
push 0
push str.Software_Verion_Checker
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x403a6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0x50
push 0x58e794
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x403a99
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0x100
push 0
push 0
push 0
push str._product_versions.xml
push 0x58e7f0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
jne 0x403ad1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
call esi
pop edi
push ebx
call esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x403af5
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x403b0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call esi
push dword [ebp - 0x10]
call esi
pop edi
push ebx
call esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
lea eax, [ebp - 4]
push eax
xor esi, esi
push edi
mov dword [ebp - 4], esi
call ebx
test eax, eax
je 0x403b61
mov ecx, dword [ebp - 4]
cmp ecx, 1
jb 0x403b67
lea eax, [esi + ecx]
cmp eax, 0x186a0
ja 0x403b67
lea eax, [ebp - 8]
push eax
push ecx
lea eax, [esi + 0x5bcb18]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x403b61
add esi, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 4], 0
call ebx
test eax, eax
jne 0x403b23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
mov byte [esi + 0x5bcb18], 0
mov dword [eax], esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
push dword [ebp - 0x10]
call esi
pop edi
push ebx
call esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404b40
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x5b4e20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404b88
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005308a3
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404b71
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x408], 0x400
jb 0x404b77
mov eax, 0x5a4d
cmp ax, word [ebp - 0x404]
jne 0x404b77
mov ecx, dword [ebp - 0x3c8]
xor eax, eax
cmp dword [ebp + ecx - 0x404], 0x4550
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop esi
call fcn.005308a3
mov esp, ebp
pop ebp
ret
Function at 0x4083f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x354
mov eax, dword [0x5b4e20]
xor eax, esp
mov dword [esp + 0x350], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov esi, ecx
call fcn.00406f50
cmp dword [esi + 0x2da8], 1
je 0x40853e
push 0x58ff08
push 0x208
push edi
call fcn.00530cad
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, edi
mov ebx, eax
lea eax, [edx + 1]
jmp 0x408450
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x408450
sub edx, eax
mov byte [edx + edi - 1], cl
cmp ebx, 0xffffffff
je 0x40853e
jmp 0x408470
cmp dword [esi + 0x2da8], 1
je 0x408537
test byte [esp + 0x10], 0x10
jne 0x408523
lea eax, [esi + 0x2dc4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test byte [esp + 0x10], 2
je 0x408523
push edi
lea eax, [esp + 0x154]
push 0x208
push eax
call fcn.0053170f
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x160]
push 0x208
push eax
call fcn.00530cad
add esp, 0x18
cmp dword [esi + 0x1820], 0
je 0x4084e0
test dword [esp + 0x10], 0x400
jne 0x408523
cmp dword [esi + 0x181c], 0
je 0x4084f7
cmp dword [esp + 0x2c], 0
jne 0x4084f7
cmp dword [esp + 0x30], 0
je 0x408523
cmp dword [esi + 0x1818], 0
je 0x40850d
lea ecx, [esp + 0x3c]
call fcn.004082d0
test eax, eax
jne 0x408523
push 0
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.00408140
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408470
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x35c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005308a3
mov esp, ebp
pop ebp
ret 4
Function at 0x408da0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x414
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xe], 0
mov dword [ebp - 0xa], 0
mov dword [ebp - 6], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esp, ebp
pop ebp
ret

Function at 0x409570
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b4e20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ecx + 0xc]
lea eax, [ebp - 0x404]
push 0x400
push eax
push 0x58df84
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x404]
mov edx, eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4095b4
sub ecx, edi
cmp ecx, 1
jb 0x4095e1
cmp edx, 1
jb 0x4095e1
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 0x14]
push esi
call fcn.0053170f
add esp, 0xc
mov esi, 1
jmp 0x4095e3
xor esi, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x409602
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40961c
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005308a3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x409840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bc0f
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5b4e20]
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 ebx, ecx
push 0
push 0x9b
mov dword [ebp - 0x120], ebx
call fcn.004120ec
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x94]
mov dword [ebx], vtable.COptionsDlg.0
call fcn.004136cf
mov dword [ebx + 0x94], vtable.CEdit.0
lea ecx, [ebx + 0x108]
mov byte [ebp - 4], 1
call fcn.004136cf
mov dword [ebx + 0x108], vtable.CEdit.0
lea ecx, [ebx + 0x17c]
mov byte [ebp - 4], 2
call fcn.0040cf30
lea ecx, [ebx + 0x22c]
mov byte [ebp - 4], 3
call fcn.004136cf
mov dword [ebx + method.CButton.virtual_0], vtable.CButton.0
lea ecx, [ebx + 0x2a0]
mov byte [ebp - 4], 4
call fcn.004136cf
mov dword [ebx + method.CButton.virtual_0], vtable.CButton.0
lea ecx, [ebx + 0x314]
mov byte [ebp - 4], 5
call fcn.004136cf
mov dword [ebx + method.CButton.virtual_0], vtable.CButton.0
mov dword [ebx + 0x38c], 0
mov dword [ebx + method.CFont.virtual_0], vtable.CFont.0
mov dword [ebx + 0x394], 0
mov dword [ebx + method.CBrush.virtual_0], vtable.CBrush.0
lea ecx, [ebx + 0x5c0]
mov byte [ebp - 4], 8
call section..text
xorps xmm0, xmm0
mov dword [ebx + 0x5d0], 0
movq qword [ebx + 0x5d4], xmm0
movq qword [ebx + 0x5dc], xmm0
movq qword [ebx + 0x5e4], xmm0
movq qword [ebx + 0x5ec], xmm0
movq qword [ebx + 0x5f4], xmm0
xor eax, eax
mov dword [ebx + 0x5d4], 0x28
mov dword [ebx + 0x5fc], 0
mov word [ebx + 0x600], ax
lea ecx, [ebx + 0x604]
mov byte [ebp - 4], 0xa
call fcn.0040e9e0
lea ecx, [ebx + 0x89c]
mov byte [ebp - 4], 0xb
call fcn.0040e9e0
lea ecx, [ebx + 0xb34]
mov byte [ebp - 4], 0xc
call fcn.0040e9e0
lea ecx, [ebx + 0xdcc]
mov byte [ebp - 4], 0xd
call fcn.0040e9e0
lea ecx, [ebx + 0x1064]
mov byte [ebp - 4], 0xe
call fcn.004136cf
mov dword [ebx + 0x1064], 0x55fa74
lea ecx, [ebx + 0x10d8]
mov byte [ebp - 4], 0xf
call fcn.004136cf
mov dword [ebx + 0x10d8], 0x55f49c
lea ecx, [ebx + 0x114c]
mov byte [ebp - 4], 0x10
call fcn.004136cf
mov dword [ebx + 0x114c], 0x55f60c
lea ecx, [ebx + 0x11c0]
mov byte [ebp - 4], 0x11
call fcn.004136cf
mov dword [ebx + 0x11c0], 0x55f60c
lea ecx, [ebx + 0x1234]
mov byte [ebp - 4], 0x12
call fcn.004136cf
mov dword [ebx + 0x1234], 0x55f60c
lea ecx, [ebx + 0x12a8]
mov byte [ebp - 4], 0x13
call fcn.004136cf
mov dword [ebx + 0x12a8], 0x55f60c
lea eax, [ebp - 0x118]
push eax
push 0x104
mov byte [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x58ddf0
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.00530cad
add esp, 0xc
lea eax, [ebp - 0x118]
push str.HiddenFileFinder_GlobalOptions.ini
push 0x104
push eax
call fcn.00530cad
add esp, 8
lea eax, [ebp - 0x118]
mov ecx, esp
push eax
call fcn.004023d0
lea ecx, [ebx + 0x5c0]
call fcn.004096c0
mov ecx, ebx
call fcn.0040abd0
mov eax, ebx
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.005308a3
mov esp, ebp
pop ebp
ret 4