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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov dword [ebp - 0xc4], 0xfd
mov dword [ebp - 8], 0xcf
mov dword [ebp - 0xa0], 0x34
mov dword [ebp - 0xa8], 0x28
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0xbe
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x54], pe_nt_image_headers32
mov eax, dword [0x41a0c0]
sub eax, dword [0x41a0ec]
mov ecx, dword [ebp - 0x24]
and ecx, dword [0x41a0c4]
cmp eax, ecx
jae 0x412260
mov dword [ebp - 0x34], 1
jmp 0x412267
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0
je 0x4122a5
mov edx, dword [0x41a0f0]
or edx, dword [ebp - 8]
je 0x41228f
mov eax, dword [ebp - 0xc]
imul eax, dword [0x41a108]
test eax, eax
je 0x41228f
mov dword [ebp - 0x38], 1
jmp 0x412296
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0
je 0x4122a5
mov dword [ebp - 0x3c], 1
jmp 0x4122ac
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
je 0x4122ed
mov ecx, dword [0x41a0c0]
sub ecx, dword [0x41a100]
jne 0x4122d7
mov edx, dword [0x41a0ec]
xor edx, dword [0x41a0c0]
jne 0x4122d7
mov dword [ebp - 0x40], 0
jmp 0x4122de
mov dword [ebp - 0x40], 1
cmp dword [ebp - 0x40], 0
je 0x4122ed
mov dword [ebp - 0x44], 1
jmp 0x4122f4
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0
je 0x412354
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x30]
cmp eax, ecx
jbe 0x412313
mov dword [ebp - 0x48], 1
jmp 0x41231a
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
je 0x412354
mov dword [ebp - 0xa4], 0xff
mov dword [ebp - 0xc8], 0xb2
mov edx, dword [ebp - 0xa0]
or edx, dword [ebp - 0xa4]
mov dword [0x41a0e8], edx
mov eax, dword [ebp - 0x14]
or eax, dword [0x41a0fc]
mov dword [ebp + 8], eax
jmp 0x412374
mov dword [ebp - 0xcc], 0x78
mov dword [ebp - 0xd0], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004127e7
add esp, 4
mov edx, dword [0x41a0f4]
sub edx, dword [ebp - 0x18]
je 0x412395
mov eax, dword [0x41a0c8]
add eax, dword [0x41a0c0]
je 0x412395
mov dword [ebp - 0x4c], 1
jmp 0x41239c
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
je 0x412420
mov ecx, dword [ebp - 0xa8]
imul ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
imul edx, dword [ebp - 0x14]
cmp ecx, edx
je 0x4123c0
mov dword [ebp - 0x50], 1
jmp 0x4123c7
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0
je 0x412420
mov dword [ebp - 0xd4], 0x19
mov dword [ebp - 0xd8], 0xa3
mov eax, dword [ebp - 0x74]
and eax, dword [ebp - 0xb0]
mov dword [0x41a0f4], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x41a0f0]
push edx
mov eax, dword [str.a6_b_]
push eax
call dword [sym.imp.GDI32.dll_PolylineTo]
mov dword [ebp - 0x18], eax
mov eax, dword [str.a6_b_]
xor edx, edx
div dword [0x41a0c0]
mov dword [0x41a0fc], eax
jmp 0x4127d4
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0x30]
and ecx, dword [0x41a0ec]
mov edx, dword [ebp - 0x54]
sub edx, dword [ebp + 0xc]
cmp ecx, edx
je 0x412451
mov dword [ebp - 0x58], 1
jmp 0x412458
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0
je 0x412495
mov eax, dword [0x41a0bc]
or eax, dword [ebp - 0x18]
mov ecx, dword [0x41a0bc]
or ecx, dword [0x41a0f4]
cmp eax, ecx
jbe 0x41247f
mov dword [ebp - 0x5c], 1
jmp 0x412486
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0
je 0x412495
mov dword [ebp - 0x60], 1
jmp 0x41249c
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
je 0x4124d9
mov edx, dword [ebp - 0x1c]
or edx, dword [0x41a0f4]
je 0x4124c3
mov eax, dword [0x41a0e8]
xor eax, dword [ebp - 0xdc]
je 0x4124c3
mov dword [ebp - 0x64], 1
jmp 0x4124ca
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0
je 0x4124d9
mov dword [ebp - 0x68], 1
jmp 0x4124e0
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0
je 0x41254c
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x78]
cmp ecx, edx
jbe 0x4124ff
mov dword [ebp - 0x6c], 1
jmp 0x412506
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0
je 0x41254c
mov dword [ebp - 0xac], 0x6e
mov eax, dword [0x41a0f8]
or eax, dword [ebp - 8]
mov dword [0x41a0d4], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.GDI32.dll_SetArcDirection]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.GDI32.dll_SetArcDirection]
mov dword [0x41a0ec], eax
jmp 0x4125ac
mov dword [ebp - 0xe0], 0x8f
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x70], 0
mov edx, dword [ebp - 0x70]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x20], edx
push str.ZjD.dpY
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x70], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4125ac
mov dword [ebp - 0x20], 0xb76
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x74], eax
push str.JlniBVRQZr.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp + 8], eax
push 0
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4125e1
mov dword [ebp - 0x78], 0x94c
push str.dacqlUL
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [0x41a108]
mov ecx, dword [0x41a0f0]
add ecx, dword [0x41a0cc]
cmp eax, ecx
jbe 0x412615
mov dword [ebp - 0x7c], 1
jmp 0x41261c
mov dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0
jne 0x412659
mov edx, dword [ebp - 4]
xor edx, dword [0x41a0c0]
mov eax, dword [0x41a0fc]
add eax, dword [ebp + 0xc]
cmp edx, eax
jne 0x412640
mov dword [ebp - 0x80], 1
jmp 0x412647
mov dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0
jne 0x412659
mov dword [ebp - 0x84], 0
jmp 0x412663
mov dword [ebp - 0x84], 1
cmp dword [ebp - 0x84], 0
jne 0x4126b0
mov ecx, dword [ebp - 0x10]
and ecx, dword [0x41a0e8]
mov edx, dword [0x41a0f0]
and edx, dword [ebp - 0xb0]
cmp ecx, edx
je 0x412691
mov dword [ebp - 0x88], 1
jmp 0x41269b
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0
jne 0x4126b0
mov dword [ebp - 0x8c], 0
jmp 0x4126ba
mov dword [ebp - 0x8c], 1
cmp dword [ebp - 0x8c], 0
jne 0x4126f7
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
and ecx, dword [ebp - 0x10]
cmp eax, ecx
jne 0x4126e0
mov dword [ebp - 0x90], 1
jmp 0x4126ea
mov dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0
je 0x4127b9
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xbc], 0
lea edx, [ebp + 0xc]
push edx
push str.iDDbtG
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x28], 0
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x412779
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
jmp 0x412759
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xb8], eax
push str.igOsZF.nkT
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x98]
or ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0xbc]
or edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
jmp 0x4127d4
mov dword [ebp - 0xc0], 0xbe
mov eax, dword [ebp - 0xc0]
sub eax, dword [0x41a0fc]
mov dword [0x41a108], eax
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x30]
mov esp, ebp
pop ebp
ret