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

Disassembly:
sub esp, 0x98
mov eax, dword [0x44fcc8]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
xorps xmm0, xmm0
push ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa8]
push edi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x38]
push 1
push eax
mov eax, dword [ebx + 0xc]
push ebx
movlpd qword [esp + 0x44], xmm0
call eax
add esp, 0xc
test eax, eax
jne 0x41286c
push 0x11
push 0x20
lea eax, [esp + 0x84]
push eax
push ebx
call fcn.004149e0
add esp, 0x10
test eax, eax
jne 0x41286c
push ebp
xor ecx, ecx
push esi
nop dword [eax]
mov al, byte [esp + ecx + 0x84]
cmp al, byte [ecx + 0x44e064]
jne 0x412865
inc ecx
cmp ecx, 6
jb 0x4123a0
cmp byte [esp + 0x8a], 0
je 0x4123cd
mov eax, 4
jmp 0x41286a
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
add ecx, 0x20
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
adc eax, 0
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
lea ecx, [esp + 0x90]
mov edx, 0x14
mov dword [esp + 0x14], ebp
call fcn.00410e80
cmp eax, dword [esp + 0x8c]
je 0x41243c
mov eax, 3
jmp 0x41286a
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp ecx, eax
jne 0x41285e
test ebp, ebp
jne 0x412455
xor eax, eax
jmp 0x41286a
mov ecx, dword [esp + 0x10]
add ebp, esi
adc eax, ecx
mov dword [esp + 0x1c], eax
cmp ecx, eax
ja 0x412865
jb 0x412473
cmp esi, ebp
ja 0x412865
mov edx, ebp
add edx, 0x20
adc eax, 0
cmp ecx, eax
ja 0x412865
jb 0x41248d
cmp esi, edx
ja 0x412865
push 2
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [ebx + 0xc]
push ebx
movlpd qword [esp + 0x38], xmm0
call eax
add esp, 0xc
test eax, eax
jne 0x41286a
add esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
adc ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
cmp eax, ecx
jb 0x412857
mov edx, dword [esp + 0x2c]
ja 0x4124d4
cmp edx, esi
jb 0x412857
add esi, 0x20
adc ecx, 0
cmp eax, ecx
jb 0x412857
ja 0x4124ec
cmp edx, esi
jb 0x412857
add ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
adc eax, dword [esp + 0x44]
add ebp, 0x20
adc eax, 0
cmp dword [esp + 0x30], eax
jb 0x412857
ja 0x412512
cmp edx, ebp
jb 0x412857
push ecx
push esi
push ebx
call fcn.00414a30
add esp, 0xc
test eax, eax
jne 0x41286a
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x34]
push edi
push ebp
push eax
call fcn.00410df0
add esp, 0xc
test eax, eax
je 0x41285e
push ebp
push dword [esp + 0x38]
push ebx
call fcn.00414990
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x412845
mov ecx, dword [esp + 0x34]
lea esi, [eax + 0x10]
mov edx, ebp
call fcn.00410e80
cmp eax, dword [esp + 0x18]
jne 0x412845
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00413c40
mov esi, eax
add esp, 8
test esi, esi
jne 0x412845
mov eax, dword [esp + 0x2c]
cmp eax, 0x17
jne 0x412775
cmp dword [esp + 0x30], esi
jne 0x412775
lea eax, [esp + 0x50]
push eax
call fcn.00410e60
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
push edi
push edi
mov dword [esp + 0x30], esi
mov ebp, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x38], esi
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], esi
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x84], esi
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x8c], esi
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x94], esi
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x9c], esi
push eax
movups xmmword [esp + 0x84], xmm0
mov dword [esp + 0x3c], esi
call fcn.00413f70
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x4126e0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esi, ebp
mov dword [esp + 0x14], esi
adc eax, dword [esp + 0x10]
cmp dword [esp + 0x74], 1
mov dword [esp + 0x10], eax
je 0x412660
mov esi, 0x10
jmp 0x4126e0
mov ebp, dword [esp + 0x68]
push ebp
call fcn.00412b30
push dword [esp + 0x14]
mov dword [esp + 0x24], eax
push esi
push ebx
call fcn.00414a30
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4126e0
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push edi
push esi
push eax
call fcn.00410df0
add esp, 0xc
test eax, eax
jne 0x41269e
lea esi, [eax + 2]
jmp 0x4126e0
push edi
push esi
push dword [esp + 0x58]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push ebx
push dword [esp + 0x74]
push ebp
call fcn.004113b0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4126e0
cmp dword [ebp + 0x1c], eax
je 0x4126de
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
call fcn.00410e80
cmp eax, dword [ebp + 0x20]
je 0x4126de
mov esi, 3
jmp 0x4126e0
xor esi, esi
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.00412890
push dword [esp + 0x2c]
mov eax, dword [edi + 4]
push edi
call eax
push dword [esp + 0x38]
mov eax, dword [edi + 4]
push edi
call eax
push dword [esp + 0x30]
mov eax, dword [edi + 4]
push edi
call eax
add esp, 0x20
push edi
test esi, esi
je 0x412733
lea eax, [esp + 0x54]
push eax
call fcn.00410e30
add esp, 8
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00410e30
add esp, 8
mov eax, esi
jmp 0x41286a
lea eax, [esp + 0x38]
push eax
call fcn.00410e30
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x40], ecx
push eax
mov dword [esp + 0x58], ecx
call fcn.00413c40
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x412845
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x412840
cmp dword [esp + 0x30], 0
jne 0x412840
push edi
push dword [esp + 0x5c]
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x30], 0
push eax
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x60]
call fcn.004133e0
push dword [esp + 0x40]
mov esi, eax
mov eax, dword [edi + 4]
push edi
call eax
push dword [esp + 0x58]
mov eax, dword [edi + 4]
push edi
call eax
push dword [esp + 0x5c]
mov eax, dword [edi + 4]
push edi
call eax
mov eax, dword [edi + 4]
add esp, 0x40
push dword [esp + 0x10]
push edi
call eax
push dword [esp + 0x24]
mov eax, dword [edi + 4]
push edi
call eax
push dword [esp + 0x24]
mov eax, dword [edi + 4]
push edi
call eax
add esp, 0x18
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00410e30
add esp, 8
mov eax, esi
jmp 0x41286a
mov esi, 4
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00410e30
add esp, 8
mov eax, esi
jmp 0x41286a
mov eax, 6
jmp 0x41286a
mov eax, 2
jmp 0x41286a
mov eax, 0x11
pop esi
pop ebp
mov ecx, dword [esp + 0x9c]
pop edi
pop ebx
xor ecx, esp
call fcn.0042b600
add esp, 0x98
ret