Function at 0x4312b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f07f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0x64]
mov dword [esp + 0x14], ebx
call fcn.00430ef0
xor edi, edi
push edi
push str.DEFAULT.EGG
mov byte [esp + 0x1b], 1
call fcn.004ecbd5
add esp, 8
cmp eax, 0xffffffff
je 0x4314ac
lea eax, [esp + 0x28]
push str.DEFAULT.EGG
push eax
call fcn.004d911d
push 0x208
call fcn.004c9550
mov esi, eax
lea edx, [esi + 0x100]
lea ecx, [esp + 0x34]
add esp, 0xc
lea eax, [esp + 0x28]
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x431330
mov eax, dword [ebx + 0x5c]
lea edx, [esp + 0x28]
add eax, 0x1118
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x431346
mov eax, dword [esi + 0x200]
mov edx, dword [ebx + 0x5c]
mov dword [edx + 0x1218], eax
mov ecx, dword [esi + 0x200]
push 8
mov dword [ebx + 0x190], ecx
mov byte [esp + 0x17], 0
call fcn.004c9550
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov dword [esp + 0x270], edi
je 0x431392
mov ecx, eax
call fcn.00414a00
mov edi, eax
push 1
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
mov dword [esp + 0x278], 0xffffffff
call fcn.00414a50
push esi
mov ecx, edi
call fcn.00414bd0
mov ecx, edi
call fcn.00414b90
mov ecx, edi
mov ebp, eax
call fcn.00414b90
mov ebx, eax
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.00414b90
cmp ebp, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x4313ef
cmp ebx, ebp
jne 0x4313ef
cmp eax, ebp
jne 0x4313ef
push esi
call fcn.004d88be
add esp, 4
jmp 0x4314a1
push 0xb2e0
call fcn.004d9755
add esp, 4
mov ebx, eax
push 0xb2e0
push ebx
mov ecx, edi
call fcn.00414c00
push 0x18
call fcn.004c9550
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x270], 1
je 0x431440
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x5c]
push 1
push 0x6a
push 0x6c
push ebx
push edx
mov ecx, eax
call fcn.00435ee0
jmp 0x431442
xor eax, eax
or ecx, 0xffffffff
cmp ebp, ecx
mov dword [esp + 0x270], ecx
mov dword [esi + 0x204], eax
mov dword [esi + 0x200], 0
je 0x43146a
mov dword [esi + 0x200], 1
cmp dword [esp + 0x18], ecx
je 0x431477
or dword [esi + 0x200], 2
cmp dword [esp + 0x20], ecx
je 0x431484
or dword [esi + 0x200], 4
push ebx
call fcn.004d88be
add esp, 4
push esi
mov esi, dword [esp + 0x18]
lea ecx, [esi + 0x64]
call fcn.00431180
mov byte [esi + 0x18c], 0
mov ecx, edi
call fcn.00414a90
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x128]
push eax
push str.STOMPED.EGG
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x4316b6
lea esp, [esp]
lea ecx, [esp + 0x154]
push ecx
lea edx, [esp + 0x2c]
push str.STOMPED_s
push edx
call fcn.004d911d
push 0x208
call fcn.004c9550
mov edi, eax
lea edx, [esp + 0x38]
mov ecx, edi
add esp, 0x10
sub ecx, edx
lea eax, [esp + 0x28]
lea edx, [ecx + 0x100]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x431508
cmp byte [esp + 0x13], 1
jne 0x43154f
mov eax, dword [ebx + 0x5c]
lea edx, [esp + 0x28]
add eax, 0x1118
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x431525
mov ecx, dword [edi + 0x200]
mov eax, dword [ebx + 0x5c]
mov dword [eax + 0x1218], ecx
mov edx, dword [edi + 0x200]
mov dword [ebx + 0x190], edx
mov byte [esp + 0x13], 0
push 8
call fcn.004c9550
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x270], 2
je 0x431577
mov ecx, eax
call fcn.00414a00
mov esi, eax
jmp 0x431579
xor esi, esi
push 1
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
mov dword [esp + 0x278], 0xffffffff
call fcn.00414a50
push edi
mov ecx, esi
call fcn.00414bd0
mov ecx, esi
call fcn.00414b90
mov ecx, esi
mov ebx, eax
call fcn.00414b90
mov ebp, eax
mov ecx, esi
mov dword [esp + 0x20], ebp
call fcn.00414b90
cmp ebx, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x4315d6
cmp ebp, ebx
jne 0x4315d6
cmp eax, ebx
jne 0x4315d6
push edi
call fcn.004d88be
add esp, 4
jmp 0x43168c
push 0xb2e0
call fcn.004d9755
add esp, 4
mov ebp, eax
push 0xb2e0
push ebp
mov ecx, esi
call fcn.00414c00
push 0x18
call fcn.004c9550
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x270], 3
je 0x431627
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x5c]
push 1
push 0x6a
push 0x6c
push ebp
push edx
mov ecx, eax
call fcn.00435ee0
jmp 0x431629
xor eax, eax
or ecx, 0xffffffff
cmp ebx, ecx
mov dword [esp + 0x270], ecx
mov dword [edi + 0x204], eax
mov dword [edi + 0x200], 0
je 0x431651
mov dword [edi + 0x200], 1
cmp dword [esp + 0x20], ecx
je 0x43165e
or dword [edi + 0x200], 2
cmp dword [esp + 0x1c], ecx
je 0x43166b
or dword [edi + 0x200], 4
push ebp
call fcn.004d88be
mov ecx, dword [esp + 0x18]
add esp, 4
push edi
add ecx, 0x64
call fcn.00431180
mov eax, dword [esp + 0x14]
mov byte [eax + 0x18c], 0
mov ecx, esi
call fcn.00414a90
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x128]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov ebx, dword [esp + 0x14]
jne 0x4314d0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa8]
mov ecx, dword [esp + 0x268]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x264
ret