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

Disassembly:
push 0xffffffffffffffff
push 0x42d28d
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
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.00406c90
mov dword [esp + 0x308], 0
mov edx, 0x10
lea ecx, [esp + 0x50]
call fcn.0040ec20
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 dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov ebp, eax
add esp, 4
mov dword [esp + 0x68], ebp
mov byte [esp + 0x308], 3
test ebp, ebp
je 0x412dc7
mov dword [ebp], 0
mov dword [ebp], 0xffffffff
jmp 0x412dc9
xor ebp, ebp
mov byte [esp + 0x308], 2
mov dword [esp + 0x68], ebp
mov byte [esp + 0x308], 4
lea edx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040bcb0
add esp, 4
mov byte [esp + 0x308], 5
lea ecx, [esp + 0x6c]
push ecx
push eax
mov ecx, ebp
call fcn.0041c7d0
mov bl, al
mov byte [esp + 0x308], 4
cmp dword [esp + 0x4c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x412e23
push dword [esp + 0x38]
call esi
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 0x41309f
mov ecx, dword [esp + 0x8c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x412ea7
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x412ea7
mov edi, dword [esp + 0xa8]
lea eax, [esp + 0x94]
mov ebx, dword [esp + 0x94]
cmp edi, 8
cmovae eax, ebx
cmp word [eax], 0x2e
jne 0x412ea7
cmp edx, 1
je 0x412e9d
cmp edi, 8
lea eax, [esp + 0x94]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x412ea7
cmp edx, 2
jne 0x412ea7
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x412f21
lea eax, [esp + 0x94]
or ecx, 0
lea edx, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
je 0x412ed5
call fcn.0040f0f0
add esp, 4
mov byte [esp + 0x308], 6
mov ecx, eax
call fcn.00412c80
jmp 0x412ef2
call fcn.0040f0f0
add esp, 4
mov byte [esp + 0x308], 7
lea ecx, [esp + 0x38]
call fcn.0041c1f0
movzx eax, al
cdq
mov edi, edx
mov ebx, eax
mov byte [esp + 0x308], 4
cmp dword [esp + 0x4c], 8
jb 0x412f0e
push dword [esp + 0x38]
call esi
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 0x4130a9
push 0x24c
lea eax, [esp + 0xb4]
mov dword [esp + 0xb0], 0
push 0
push eax
call sub.MSVCR120.dll_memset
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 0x4130a9
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.0041c950
mov ecx, dword [esp + 0x8c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x412fe3
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x412fe3
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0x94]
cmp esi, 8
cmovae eax, dword [esp + 0x94]
cmp word [eax], 0x2e
jne 0x412fe3
cmp edx, 1
je 0x412f21
cmp esi, 8
lea eax, [esp + 0x94]
cmovae eax, dword [esp + 0x94]
cmp word [eax + 2], 0x2e
jne 0x412fe3
cmp edx, 2
je 0x412f21
or ecx, 0
je 0x412fef
mov eax, 1
jmp 0x412ff1
xor eax, eax
test al, al
lea edx, [esp + 0x50]
lea eax, [esp + 0x94]
push eax
je 0x413058
lea ecx, [esp + 0x24]
call fcn.0040f0f0
add esp, 4
mov byte [esp + 0x308], 8
mov ecx, eax
call fcn.00412c80
add ebx, eax
adc edi, edx
mov byte [esp + 0x308], 4
cmp dword [esp + 0x34], 8
jb 0x41303c
push dword [esp + 0x20]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
jmp 0x412f21
lea ecx, [esp + 0x3c]
call fcn.0040f0f0
add esp, 4
mov byte [esp + 0x308], 9
lea ecx, [esp + 0x38]
call fcn.0041c1f0
movzx eax, al
cdq
add ebx, eax
adc edi, edx
mov byte [esp + 0x308], 4
cmp dword [esp + 0x4c], 8
jb 0x412f0e
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jmp 0x412f0b
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x4130af
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x4130c9
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4130c9
mov dword [ebp], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.0041bff0
test al, al
je 0x4130de
add ebx, 1
adc edi, 0
jmp 0x41311d
lea ecx, [esp + 0x50]
call fcn.0041bef0
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x41311d
xor edx, edx
lea ecx, [esp + 0x50]
call fcn.0041bde0
lea ecx, [esp + 0x50]
call fcn.0041bff0
test al, al
je 0x413110
add ebx, 1
adc edi, 0
jmp 0x41311d
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
call fcn.0041bde0
mov byte [esp + 0x308], 2
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x41313f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41313f
mov dword [ebp], 0xffffffff
push ebp
call esi
add esp, 4
mov dword [esp + 0x68], 0
mov byte [esp + 0x308], 0
cmp dword [esp + 0xa8], 8
jb 0x41316b
push dword [esp + 0x94]
call esi
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 0x4131a6
push dword [esp + 0x50]
call esi
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.0042a8a3
add esp, 0x2f8
ret