Function at 0x413efb
Capabilities:
Enumerate files on windows
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push esi
mov dword [ebp - 0x64], 0x76
mov dword [ebp - 0x88], 0x94
mov dword [ebp - 0x10], 0x4f
mov dword [ebp - 0x14], 0xc2
mov dword [ebp - 0x1c], 0x6b
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0x1d
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [0x42181c]
mov ecx, dword [0x421828]
or ecx, dword [0x421824]
cmp eax, ecx
jbe 0x413f63
mov dword [ebp - 0x28], 1
jmp 0x413f6a
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0
je 0x4140b6
mov edx, dword [ebp - 0x24]
or edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x44]
cmp edx, eax
je 0x413f8d
mov dword [ebp - 0x2c], 1
jmp 0x413f94
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
je 0x4140b6
mov esi, dword [ebp - 0x40]
sub esi, dword [0x421808]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp esi, eax
je 0x413fc2
mov dword [ebp - 0x30], 1
jmp 0x413fc9
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x84]
imul eax, dword [0x421818]
mov dword [0x421824], eax
cmp dword [0x421824], 0
je 0x413ff8
mov ecx, dword [0x421828]
sub ecx, dword [ebp - 0x10]
je 0x413ff8
mov dword [ebp - 0x34], 1
jmp 0x413fff
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x34]
jne 0x414010
mov dword [ebp - 0x38], 1
jmp 0x414017
mov dword [ebp - 0x38], 0
mov eax, dword [0x4217e0]
or eax, dword [ebp - 0x20]
mov dword [0x4217e0], eax
je 0x414047
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [0x421804]
push eax
call dword [sym.imp.GDI32.dll_PolylineTo]
test eax, eax
je 0x414047
mov dword [ebp - 0x3c], 1
jmp 0x41404e
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x3c]
jbe 0x414088
mov edx, dword [0x421804]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x421808], eax
mov eax, dword [0x4217ec]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x64]
or ecx, dword [0x4217f8]
mov dword [0x42181c], ecx
jmp 0x4140b1
mov dword [ebp - 0x8c], 0x76
mov eax, dword [ebp - 0x18]
xor edx, edx
div dword [ebp - 0x44]
mov dword [0x4217f8], eax
mov edx, dword [0x421820]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x421814], eax
jmp 0x4142cf
mov dword [ebp - 0x90], 0x51
mov dword [ebp - 0x74], 0x94
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xb3
mov dword [ebp - 0x6c], 0x18
push str.qPmecDjrDJQ.tQZ
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x4c], eax
push str.cKBOcPfD.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10], eax
push str.ZXqltBdY
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x48], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x414143
mov dword [ebp - 0x68], 0x1114
mov edx, dword [ebp - 0x18]
movzx eax, word [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp - 0x48]
je 0x414165
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x4c]
je 0x414165
mov dword [ebp - 0x50], 1
jmp 0x41416c
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0
jne 0x4141a1
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x18]
jne 0x41418b
mov ecx, dword [ebp - 0x70]
xor ecx, dword [ebp - 0x20]
jne 0x41418b
mov dword [ebp - 0x54], 0
jmp 0x414192
mov dword [ebp - 0x54], 1
cmp dword [ebp - 0x54], 0
jne 0x4141a1
mov dword [ebp - 0x58], 0
jmp 0x4141a8
mov dword [ebp - 0x58], 1
cmp dword [ebp - 0x58], 0
jne 0x4141d8
mov edx, dword [ebp - 4]
add edx, dword [ebp - 4]
jne 0x4141c7
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x74]
jne 0x4141c7
mov dword [ebp - 0x5c], 0
jmp 0x4141ce
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0
je fcn.00414273
mov dword [ebp - 0x60], 2
mov dword [ebp - 8], 0xaf
mov dword [ebp - 0x94], 0x7f
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x1c]
push ecx
push str.axAyK
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x60], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 8], 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x414253
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x414236
mov edx, dword [ebp - 8]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x7c]
movzx ecx, word [eax]
mov dword [ebp - 0x80], ecx
mov edx, dword [0x421800]
push edx
call fcn.004126eb
add esp, 4
jmp 0x4142cf