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

Disassembly:
push 0xffffffffffffffff
push 0x47bf8c
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49f750]
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.00407460
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.00461bc5
mov ebp, eax
add esp, 4
mov dword [esp + 0x68], ebp
mov byte [esp + 0x308], 3
test ebp, ebp
je 0x40a866
mov dword [ebp], 0
mov dword [ebp], 0xffffffff
jmp 0x40a868
xor ebp, ebp
mov byte [esp + 0x308], 2
mov dword [esp + 0x68], ebp
mov byte [esp + 0x308], 4
lea edx, [esp + 0x50]
push 0x48dda4
lea ecx, [esp + 0x3c]
call fcn.0040b180
add esp, 4
mov byte [esp + 0x308], 5
lea ecx, [esp + 0x6c]
push ecx
push eax
mov ecx, ebp
call fcn.0041d5b0
mov bl, al
mov byte [esp + 0x308], 4
cmp dword [esp + 0x4c], 8
jb 0x40a8c3
push dword [esp + 0x38]
call fcn.00461b75
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 0x40ab24
mov ecx, dword [esp + 0x8c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x40a947
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x40a947
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 0x40a947
cmp edx, 1
je 0x40a93d
cmp esi, 8
lea eax, [esp + 0x94]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x40a947
cmp edx, 2
jne 0x40a947
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x40a9c4
lea eax, [esp + 0x94]
or ecx, 0
lea edx, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
je 0x40a975
call fcn.004079d0
add esp, 4
mov byte [esp + 0x308], 6
mov ecx, eax
call fcn.0040a720
jmp 0x40a992
call fcn.004079d0
add esp, 4
mov byte [esp + 0x308], 7
lea ecx, [esp + 0x38]
call fcn.0041c780
movzx eax, al
cdq
mov edi, edx
mov ebx, eax
mov byte [esp + 0x308], 4
cmp dword [esp + 0x4c], 8
jb 0x40a9b1
push dword [esp + 0x38]
call fcn.00461b75
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 0x40ab2c
push 0x24c
lea eax, [esp + 0xb4]
mov dword [esp + 0xb0], 0
push 0
push eax
call fcn.004653d0
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 0x40ab2c
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.0041d730
mov ecx, dword [esp + 0x8c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x40aa86
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x40aa86
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0x94]
cmp esi, 8
cmovae eax, dword [esp + 0x94]
cmp word [eax], 0x2e
jne 0x40aa86
cmp edx, 1
je 0x40a9c4
cmp esi, 8
lea eax, [esp + 0x94]
cmovae eax, dword [esp + 0x94]
cmp word [eax + 2], 0x2e
jne 0x40aa86
cmp edx, 2
je 0x40a9c4
or ecx, 0
je 0x40aa92
mov eax, 1
jmp 0x40aa94
xor eax, eax
test al, al
lea edx, [esp + 0x50]
lea eax, [esp + 0x94]
push eax
je 0x40aafa
lea ecx, [esp + 0x24]
call fcn.004079d0
add esp, 4
mov byte [esp + 0x308], 8
mov ecx, eax
call fcn.0040a720
add ebx, eax
adc edi, edx
mov byte [esp + 0x308], 4
cmp dword [esp + 0x34], 8
jb 0x40aade
push dword [esp + 0x20]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
jmp 0x40a9c4
lea ecx, [esp + 0x3c]
call fcn.004079d0
add esp, 4
mov byte [esp + 0x308], 9
lea ecx, [esp + 0x38]
call fcn.0041c780
movzx eax, al
cdq
add ebx, eax
adc edi, edx
jmp 0x40a996
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 0x40ab48
push eax
call esi
test eax, eax
je 0x40ab48
mov dword [ebp], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.0041c580
test al, al
je 0x40ab5d
add ebx, 1
adc edi, 0
jmp 0x40ab9e
lea ecx, [esp + 0x50]
call fcn.0041c020
mov esi, eax
cmp esi, 0xffffffff
je 0x40ab98
xor edx, edx
lea ecx, [esp + 0x50]
call fcn.0041bf10
lea ecx, [esp + 0x50]
call fcn.0041c580
test al, al
je 0x40ab8d
add ebx, 1
adc edi, 0
jmp 0x40ab98
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.0041bf10
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x308], 2
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x40abbc
push eax
call esi
test eax, eax
je 0x40abbc
mov dword [ebp], 0xffffffff
push ebp
call fcn.00461b75
add esp, 4
mov dword [esp + 0x68], 0
mov byte [esp + 0x308], 0
cmp dword [esp + 0xa8], 8
jb 0x40abee
push dword [esp + 0x94]
call fcn.00461b75
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 0x40ac2c
push dword [esp + 0x50]
call fcn.00461b75
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.00461397
add esp, 0x2f8
ret