Function at 0x412523
Capabilities:
Enumerate files on windows
Get file size
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov dword [ebp - 4], 0x67
mov dword [ebp - 0x38], 0x51
mov dword [ebp - 0x28], 0x56
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x3c], 0x39
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x48], 0x97
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], 0xda
jmp 0x412587
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x10c
jae 0x41283d
mov dword [ebp - 0xe0], 0x2b
mov dword [ebp - 0x98], 0xee
mov dword [ebp - 0xe4], 0xbc
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x44], 0x46
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x70], 0x12
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x20], 0x8b
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x98]
and edx, dword [0x41c120]
je 0x412611
mov eax, dword [ebp - 0xc]
and eax, dword [ebp - 0x4c]
je 0x412611
mov dword [ebp - 0x54], 1
jmp 0x412618
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0
jne 0x412653
mov ecx, dword [0x41c12c]
and ecx, dword [ebp - 0x70]
mov edx, dword [str.p4vH_]
sub edx, dword [ebp - 0x30]
cmp ecx, edx
je 0x41263d
mov dword [ebp - 0x58], 1
jmp 0x412644
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0
jne 0x412653
mov dword [ebp - 0x5c], 0
jmp 0x41265a
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0
jne 0x412691
mov eax, dword [0x41c134]
sub eax, dword [ebp - 0x3c]
je 0x41267b
mov ecx, dword [ebp - 0x1c]
or ecx, dword [ebp - 0x74]
je 0x41267b
mov dword [ebp - 0x60], 1
jmp 0x412682
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
jne 0x412691
mov dword [ebp - 0x64], 0
jmp 0x412698
mov dword [ebp - 0x64], 1
cmp dword [ebp - 0x64], 0
jne 0x4126cf
mov edx, dword [ebp - 0x30]
and edx, dword [ebp - 0x14]
mov eax, dword [0x41c0c8]
add eax, dword [ebp - 0x10]
cmp edx, eax
je 0x4126b9
mov dword [ebp - 0x68], 1
jmp 0x4126c0
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0
jne 0x4126cf
mov dword [ebp - 0x6c], 0
jmp 0x4126d6
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 0x6c], 0
jne 0x41270a
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x9c]
imul edx, dword [ebp - 0x74]
cmp ecx, edx
jbe 0x4126f9
mov dword [ebp - 0x78], 1
jmp 0x412700
mov dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0
je 0x412820
mov dword [ebp - 0xb4], 0xe3
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xa4], 0xc2
mov dword [ebp - 0xa0], 0
mov eax, dword [0x41c0d0]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xec]
imul ecx, dword [0x41c0d8]
cmp eax, ecx
je 0x412768
mov dword [ebp - 0x7c], 1
jmp 0x41276f
mov dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0
je 0x4127c5
mov edx, dword [ebp - 0xa0]
or edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0xac]
cmp edx, eax
jae 0x41279a
mov dword [ebp - 0x80], 1
jmp 0x4127a1
mov dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0
je 0x4127c5
mov dword [ebp - 0xf0], 0x63
mov ecx, dword [ebp - 0x48]
mov dword [0x41c120], ecx
mov edx, dword [0x41c120]
mov dword [ebp - 0x14], edx
jmp 0x4127f7
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xb0], 0x83
mov dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x84]
xor eax, dword [ebp - 0xb0]
mov dword [ebp - 0x84], eax
jmp 0x412820
mov ecx, dword [0x41c130]
add ecx, dword [0x41c110]
mov dword [ebp - 0xb4], ecx
mov edx, dword [0x41c0d8]
xor edx, dword [0x41c0c0]
mov dword [0x41c0d0], edx
jmp 0x4125f2
mov eax, dword [ebp - 0x44]
or eax, dword [ebp - 0x88]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x20]
or ecx, dword [ebp - 0x44]
mov dword [ebp - 0x88], ecx
jmp 0x41257e
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
sub eax, 0x26
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xa5
ja case.0x412863.1
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + 0x412d8f]
jmp dword [edx*4 + 0x412d6f]
mov dword [ebp - 0xf8], 0xb3
mov dword [ebp - 0xfc], 0x9d
mov eax, dword [ebp - 0x10]
add eax, dword [0x41c124]
mov dword [0x41c128], eax
mov ecx, dword [0x41c11c]
imul ecx, dword [ebp - 8]
mov dword [0x41c110], ecx
jmp 0x412a9d
mov dword [ebp - 0x100], 0x13
mov edx, dword [0x41c0c8]
push edx
mov eax, dword [0x41c0cc]
push eax
mov ecx, dword [str.p4vH_]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41c124], eax
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x18], eax
mov ecx, dword [str.p4vH_]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [0x41c0cc], eax
jmp 0x412a9d
mov dword [ebp - 0xb8], 0x83
mov dword [ebp - 0x104], 0xca
mov edx, dword [0x41c0d4]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0xb8]
or eax, dword [0x41c0bc]
mov dword [0x41c0d8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [0x41c0d0], ecx
jmp 0x412a9d
mov dword [ebp - 0x108], 0x7d
mov dword [ebp - 0x10c], 0x30
mov dword [ebp - 0x110], 0
mov dword [ebp - 0xc0], 0x76
mov dword [ebp - 0xbc], 0
push str.mFPKFwwaDPX.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x30], eax
cmp dword [0x41c0d0], 0
jne 0x412985
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
mov dword [ebp - 0xbc], eax
push str.UJbKKXgmmwy
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc0], eax
mov edx, dword [0x41c110]
push edx
call fcn.0040ac33
add esp, 4
push 0
push 0xffffffffffffffff
push str.hbqxeazentj
push 0xffffffffffffffff
push str.thtgrse
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0x1c], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp + 8], eax
jmp 0x412a9d
mov dword [ebp - 0x114], 0x99
mov dword [ebp - 0x118], 0xff
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x3c], eax
jmp 0x412a9d
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], eax
mov eax, dword [0x41c120]
xor edx, edx
div dword [ebp - 0xcc]
mov dword [ebp - 0x10], eax
jmp 0x412a9d
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [0x41c124], eax
mov eax, dword [0x41c0bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x34], eax
jmp 0x412a9d
mov dword [ebp - 0xc4], 0x1a
mov ecx, dword [0x41c0c0]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
mov dword [ebp - 4], eax
mov eax, dword [0x41c118]
imul eax, dword [ebp - 0xc4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x41c0c4], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x8c], 0xf3
ja case.0x412ac3.1
mov eax, dword [ebp - 0x8c]
movzx ecx, byte [eax + 0x412e57]
jmp dword [ecx*4 + 0x412e37]
mov dword [ebp - 0x11c], 0x41
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 4], eax
jmp 0x412cfb
mov dword [ebp - 0x90], 0x74
mov dword [ebp - 0x120], 0x80
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [0x41c128], eax
mov ecx, dword [0x41c11c]
or ecx, dword [0x41c124]
mov dword [0x41c134], ecx
mov edx, dword [0x41c11c]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [0x41c128], eax
jmp 0x412cfb
mov ecx, dword [ebp - 4]
or ecx, dword [0x41c0d4]
mov dword [0x41c0d0], ecx
mov edx, dword [0x41c0c8]
push edx
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
mov dword [0x41c130], eax
mov eax, dword [ebp - 0x28]
add eax, dword [0x41c134]
mov dword [0x41c120], eax
jmp 0x412cfb
mov dword [ebp - 0xc8], 0x65
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
jmp 0x412cfb
mov dword [ebp - 0x124], 0x1c
mov dword [ebp - 0x128], 0xb4
mov ecx, dword [0x41c130]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_SetArcDirection]
mov dword [ebp - 0x34], eax
jmp 0x412cfb
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x94], 0x5f
push str.vrLqFJllA.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10], eax
push str.YyzdMRkZaG
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x94], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
mov dword [ebp - 0xd0], edx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push str.TUCfTpPVFHi.wuH
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4c], eax
push str.DCtGauH.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xd4], eax
push str.sqNeNmKjqIR
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x94], eax
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x412cfb
mov eax, dword [0x41c110]
push eax
mov ecx, dword [0x41c0cc]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
mov dword [0x41c124], eax
mov eax, dword [ebp - 0x134]
xor edx, edx
div dword [0x41c124]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
sub edx, dword [0x41c134]
mov dword [str.p4vH_], edx
jmp 0x412cfb
mov dword [ebp - 0x138], 0xfc
mov eax, dword [ebp - 0x38]
mov dword [0x41c134], eax
mov ecx, dword [0x41c134]
mov dword [0x41c124], ecx
lea edx, [ebp - 0x14]
push edx
push str.BQPkekfpJRMlW
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x412d31
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x412d14
mov eax, dword [ebp - 8]
mov dword [ebp - 0xdc], eax
push 0
push 0xffffffffffffffff
push str.slnmd
push 0xffffffffffffffff
push str.ggbd
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret