Function at 0x408ec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4816bc
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x60], 0
push 0xffffffffffffffff
push eax
xorps xmm0, xmm0
mov dword [esp + 0x6c], 0
push ecx
lea ecx, [esp + 0x5c]
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
call fcn.004035e0
mov dword [esp + 0x308], 0
mov edx, 0x10
lea ecx, [esp + 0x50]
call fcn.00405b90
xorps xmm0, xmm0
mov dword [esp + 0xa4], 0
xor eax, eax
mov dword [esp + 0xa8], 0
movlpd qword [esp + 0x6c], xmm0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
mov byte [esp + 0x308], 2
push 4
call fcn.00467355
mov ebp, eax
add esp, 4
mov dword [esp + 0x68], ebp
mov byte [esp + 0x308], 3
test ebp, ebp
je 0x409006
mov dword [ebp], 0
mov dword [ebp], 0xffffffff
jmp 0x409008
xor ebp, ebp
mov byte [esp + 0x308], 2
mov dword [esp + 0x68], ebp
mov byte [esp + 0x308], 4
lea edx, [esp + 0x50]
push 0x496870
lea ecx, [esp + 0x3c]
call fcn.00409920
add esp, 4
mov byte [esp + 0x308], 5
lea ecx, [esp + 0x6c]
push ecx
push eax
mov ecx, ebp
call fcn.0041bdb0
mov bl, al
mov byte [esp + 0x308], 4
cmp dword [esp + 0x4c], 8
jb 0x409063
push dword [esp + 0x38]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
test bl, bl
je 0x4092c4
mov ecx, dword [esp + 0x8c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x4090e7
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x4090e7
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0x94]
mov edi, dword [esp + 0x94]
cmp esi, 8
cmovae eax, edi
cmp word [eax], 0x2e
jne 0x4090e7
cmp edx, 1
je 0x4090dd
cmp esi, 8
lea eax, [esp + 0x94]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x4090e7
cmp edx, 2
jne 0x4090e7
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x409164
lea eax, [esp + 0x94]
or ecx, 0
lea edx, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
je 0x409115
call fcn.00406100
add esp, 4
mov byte [esp + 0x308], 6
mov ecx, eax
call fcn.00408ec0
jmp 0x409132
call fcn.00406100
add esp, 4
mov byte [esp + 0x308], 7
lea ecx, [esp + 0x38]
call fcn.0041af80
movzx eax, al
cdq
mov edi, edx
mov ebx, eax
mov byte [esp + 0x308], 4
cmp dword [esp + 0x4c], 8
jb 0x409151
push dword [esp + 0x38]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
mov esi, dword [ebp]
cmp esi, 0xffffffff
je 0x4092cc
push 0x24c
lea eax, [esp + 0xb4]
mov dword [esp + 0xb0], 0
push 0
push eax
call fcn.0046ab60
add esp, 0xc
lea eax, [esp + 0xac]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne al
test al, al
je 0x4092cc
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.0041bf30
mov ecx, dword [esp + 0x8c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x409226
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x409226
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0x94]
cmp esi, 8
cmovae eax, dword [esp + 0x94]
cmp word [eax], 0x2e
jne 0x409226
cmp edx, 1
je 0x409164
cmp esi, 8
lea eax, [esp + 0x94]
cmovae eax, dword [esp + 0x94]
cmp word [eax + 2], 0x2e
jne 0x409226
cmp edx, 2
je 0x409164
or ecx, 0
je 0x409232
mov eax, 1
jmp 0x409234
xor eax, eax
test al, al
lea edx, [esp + 0x50]
lea eax, [esp + 0x94]
push eax
je 0x40929a
lea ecx, [esp + 0x24]
call fcn.00406100
add esp, 4
mov byte [esp + 0x308], 8
mov ecx, eax
call fcn.00408ec0
add ebx, eax
adc edi, edx
mov byte [esp + 0x308], 4
cmp dword [esp + 0x34], 8
jb 0x40927e
push dword [esp + 0x20]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
jmp 0x409164
lea ecx, [esp + 0x3c]
call fcn.00406100
add esp, 4
mov byte [esp + 0x308], 9
lea ecx, [esp + 0x38]
call fcn.0041af80
movzx eax, al
cdq
add ebx, eax
adc edi, edx
jmp 0x409136
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
cmp eax, 0xffffffff
je 0x4092e8
push eax
call esi
test eax, eax
je 0x4092e8
mov dword [ebp], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.0041ad80
test al, al
je 0x4092fd
add ebx, 1
adc edi, 0
jmp 0x40933e
lea ecx, [esp + 0x50]
call fcn.0041a820
mov esi, eax
cmp esi, 0xffffffff
je 0x409338
xor edx, edx
lea ecx, [esp + 0x50]
call fcn.0041a710
lea ecx, [esp + 0x50]
call fcn.0041ad80
test al, al
je 0x40932d
add ebx, 1
adc edi, 0
jmp 0x409338
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.0041a710
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x308], 2
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x40935c
push eax
call esi
test eax, eax
je 0x40935c
mov dword [ebp], 0xffffffff
push ebp
call fcn.00467305
add esp, 4
mov dword [esp + 0x68], 0
mov byte [esp + 0x308], 0
cmp dword [esp + 0xa8], 8
jb 0x40938e
push dword [esp + 0x94]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
mov dword [esp + 0x308], 0xffffffff
cmp dword [esp + 0x64], 8
jb 0x4093cc
push dword [esp + 0x50]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov word [esp + 0x50], ax
mov edx, edi
mov dword [esp + 0x60], 0
mov eax, ebx
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00466b29
add esp, 0x2f8
ret