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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov dword [ebp - 0x20], 0xe
mov dword [ebp - 8], 0x7a
mov dword [ebp - 0x2c], 0xf4
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x50], 0x7f
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
or ecx, dword [ebp - 0x60]
jne 0x41150f
mov edx, dword [ebp - 8]
xor edx, dword [0x4217f8]
jne 0x41150f
mov dword [ebp - 0x54], 0
jmp 0x411516
mov dword [ebp - 0x54], 1
cmp dword [ebp - 0x54], 0
jne 0x411557
mov eax, dword [0x4217f0]
imul eax, dword [0x4217f4]
mov ecx, dword [0x4217e8]
add ecx, dword [0x421800]
cmp eax, ecx
jne 0x411541
mov dword [ebp - 0x58], 1
jmp 0x411548
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0
jne 0x411557
mov dword [ebp - 0x5c], 0
jmp 0x41155e
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0
jne 0x41158e
mov edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0xc]
cmp edx, eax
je 0x41157d
mov dword [ebp - 0x64], 1
jmp 0x411584
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0
je 0x4116ba
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0xdc], 0x10
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
mov ecx, dword [ebp - 0x68]
and ecx, dword [ebp - 0x68]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x24]
imul edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
imul eax, dword [0x4217f8]
cmp edx, eax
jne 0x4115f2
mov dword [ebp - 0x6c], 1
jmp 0x4115f9
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0
je 0x41164b
mov ecx, dword [ebp - 0x44]
and ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0xdc]
cmp ecx, edx
jbe 0x41161b
mov dword [ebp - 0x74], 1
jmp 0x411622
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0
je 0x41164b
mov dword [ebp - 0x114], 0xc4
mov dword [ebp - 0x118], 8
mov eax, dword [0x421808]
sub eax, dword [ebp - 0x10]
mov dword [0x421818], eax
jmp 0x4116a6
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x120], 0
mov ecx, dword [ebp - 0xe0]
and ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov edx, dword [0x4217fc]
push edx
mov eax, dword [0x421814]
push eax
call fcn.00412a9b
add esp, 8
jmp 0x4116ba
mov ecx, dword [0x4217e4]
xor ecx, dword [ebp - 0x14]
dec ebp
in al, dx
mov dword [0x421824], ecx
jmp 0x4114f3
mov edx, dword [0x4217f0]
or edx, dword [0x4217ec]
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0xcc]
cmp edx, eax
jbe 0x4116dd
mov dword [ebp - 0x78], 1
jmp 0x4116e4
mov dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0
jne 0x411722
mov ecx, dword [ebp - 0x20]
and ecx, dword [0x42181c]
jne 0x41170c
mov edx, dword [0x4217fc]
sub edx, dword [0x421804]
jne 0x41170c
mov dword [ebp - 0x7c], 0
jmp 0x411713
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x7c], 0
jne 0x411722
mov dword [ebp - 0x80], 0
jmp 0x411729
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x80], 0
jne 0x411762
mov eax, dword [ebp - 4]
or eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x30]
cmp eax, ecx
jne 0x41174b
mov dword [ebp - 0x84], 1
jmp 0x411755
mov dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0
je 0x411d45
mov dword [ebp - 0x1c], 0xda
mov dword [ebp - 0x28], 0x45
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x14]
je 0x41179c
mov eax, dword [0x4217f8]
and eax, dword [ebp - 0x40]
je 0x41179c
mov dword [ebp - 0x88], 1
jmp 0x4117a6
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0
jne 0x4117f1
mov ecx, dword [0x421820]
imul ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xd8]
and edx, dword [ebp - 4]
cmp ecx, edx
je 0x4117d2
mov dword [ebp - 0x8c], 1
jmp 0x4117dc
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0
jne 0x4117f1
mov dword [ebp - 0x90], 0
jmp 0x4117fb
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x90], 0
jne 0x41183f
mov eax, dword [ebp - 0x38]
xor eax, dword [ebp - 0x10]
je 0x411820
mov ecx, dword [ebp - 0x3c]
or ecx, dword [ebp + 0xc]
je 0x411820
mov dword [ebp - 0x94], 1
jmp 0x41182a
mov dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0
jne 0x41183f
mov dword [ebp - 0x98], 0
jmp 0x411849
mov dword [ebp - 0x98], 1
cmp dword [ebp - 0x98], 0
jne 0x411885
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x28]
jne 0x41186e
mov eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x4c]
jne 0x41186e
mov dword [ebp - 0x9c], 0
jmp 0x411878
mov dword [ebp - 0x9c], 1
cmp dword [ebp - 0x9c], 0
je 0x4119c1
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x34], 0x3d
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0xc]
cmp ecx, edx
je 0x4118b2
mov dword [ebp - 0xa0], 1
jmp 0x4118bc
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0
jne 0x4118f8
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
and ecx, dword [ebp - 0x34]
cmp eax, ecx
je 0x4118e1
mov dword [ebp - 0xa4], 1
jmp 0x4118eb
mov dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0
je 0x411998
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x134], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xec], eax
push 0
mov edx, dword [ebp - 0xec]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xf4], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x411981
mov dword [ebp - 0xf0], 0x1d25
cmp dword [ebp - 0xf4], 0
je 0x411994
mov dword [ebp - 0xf8], 0x1a88
jmp 0x4119c1
mov dword [ebp - 0x138], 0xea
mov dword [ebp - 0x13c], 0x70
mov ecx, dword [0x4217f0]
push ecx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
mov dword [ebp - 0x14], eax
jmp 0x41177e
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [0x4217f8]
and eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xd8]
and ecx, dword [0x42182c]
cmp eax, ecx
je 0x4119ee
mov dword [ebp - 0xa8], 1
jmp 0x4119f8
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0
je 0x411a44
mov edx, dword [0x421800]
add edx, dword [0x4217ec]
mov eax, dword [0x421814]
and eax, dword [ebp - 0x3c]
cmp edx, eax
jae 0x411a25
mov dword [ebp - 0xac], 1
jmp 0x411a2f
mov dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0
je 0x411a44
mov dword [ebp - 0xb0], 1
jmp 0x411a4e
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x411a96
mov ecx, dword [ebp - 0x40]
imul ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
xor edx, dword [0x421814]
cmp ecx, edx
jne 0x411a77
mov dword [ebp - 0xb4], 1
jmp 0x411a81
mov dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0
je 0x411a96
mov dword [ebp - 0xb8], 1
jmp 0x411aa0
mov dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0
je 0x411ae6
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x18]
cmp eax, ecx
jne 0x411ac5
mov dword [ebp - 0xbc], 1
jmp 0x411acf
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
je 0x411ae6
mov edx, dword [ebp - 8]
add edx, dword [0x421820]
mov dword [ebp + 8], edx
jmp 0x411b65
mov dword [ebp - 0xc0], 0x4f
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0xfc], 0x91
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
movzx edx, word [ecx]
mov dword [ebp - 0xfc], edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x411b65
mov dword [ebp - 0x100], 0x2fa
mov ecx, dword [0x421800]
and ecx, dword [ebp - 0x38]
je 0x411b84
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x14]
je 0x411b84
mov dword [ebp - 0xc4], 1
jmp 0x411b8e
mov dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0
jne 0x411bca
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x28]
cmp eax, ecx
jbe 0x411bb3
mov dword [ebp - 0xc8], 1
jmp 0x411bbd
mov dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0
je 0x411c8e
mov dword [ebp - 0x144], 0xd6
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x104], 0x71
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0xd0], 0xb1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x24]
push edx
push str.MlRTiLOrBtH
add bh, bh
adc eax, sym.imp.KERNEL32.dll_FindFirstFileA
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x411c4f
mov dword [ebp - 0xd0], 0x1bc3
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x411c6c
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
jmp 0x411c4f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0xd4]
or edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
jmp 0x411d45
mov dword [ebp - 0x150], 0x83
mov eax, dword [0x421824]
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 0xc]
and edx, dword [0x4217e0]
mov dword [0x4217ec], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [0x421808]
push edx
mov eax, dword [0x4217fc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [0x421824]
and al, 0x18
inc edx
add byte [ebx], ch
dec ebp
aam 0x3b
invalid
jbe 0x411cf3
mov edx, dword [ebp - 0x30]
xor edx, dword [ebp - 0x2c]
mov dword [0x421808], edx
jmp 0x411d40
mov dword [ebp - 0x154], 0xeb
mov dword [ebp - 0x158], 0xca
mov eax, dword [0x421820]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [0x4217f8]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [0x421800], eax
mov edx, dword [ebp - 0x30]
and edx, dword [ebp - 0x28]
mov dword [0x421818], edx
jmp 0x4116ba
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x40], eax
push 0
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x411d6c
mov dword [ebp - 0x30], 0x21ea
push str.cExG.TNP
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x30]
mov esp, ebp
pop ebp
ret