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

Disassembly:
sub esp, 0x98
mov eax, dword [0x4498ec]
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 0x421bac
push 0x11
push 0x20
lea eax, [esp + 0x84]
push eax
push ebx
call fcn.00420e20
add esp, 0x10
test eax, eax
jne 0x421bac
push ebp
xor ecx, ecx
push esi
nop dword [eax]
mov al, byte [esp + ecx + 0x84]
cmp al, byte [ecx + 0x4498b8]
jne 0x421ba5
inc ecx
cmp ecx, 6
jb 0x4216e0
cmp byte [esp + 0x8a], 0
je 0x42170d
mov eax, 4
jmp 0x421baa
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.00423d00
cmp eax, dword [esp + 0x8c]
je 0x42177c
mov eax, 3
jmp 0x421baa
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp ecx, eax
jne 0x421b9e
test ebp, ebp
jne 0x421795
xor eax, eax
jmp 0x421baa
mov ecx, dword [esp + 0x10]
add ebp, esi
adc eax, ecx
mov dword [esp + 0x1c], eax
cmp ecx, eax
ja 0x421ba5
jb 0x4217b3
cmp esi, ebp
ja 0x421ba5
mov edx, ebp
add edx, 0x20
adc eax, 0
cmp ecx, eax
ja 0x421ba5
jb 0x4217cd
cmp esi, edx
ja 0x421ba5
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 0x421baa
add esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
adc ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
cmp eax, ecx
jb 0x421b97
mov edx, dword [esp + 0x2c]
ja 0x421814
cmp edx, esi
jb 0x421b97
add esi, 0x20
adc ecx, 0
cmp eax, ecx
jb 0x421b97
ja 0x42182c
cmp edx, esi
jb 0x421b97
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 0x421b97
ja 0x421852
cmp edx, ebp
jb 0x421b97
push ecx
push esi
push ebx
call fcn.00420e70
add esp, 0xc
test eax, eax
jne 0x421baa
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x34]
push edi
push ebp
push eax
call fcn.00424080
add esp, 0xc
test eax, eax
je 0x421b9e
push ebp
push dword [esp + 0x38]
push ebx
call fcn.00420dd0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x421b85
mov ecx, dword [esp + 0x34]
lea esi, [eax + 0x10]
mov edx, ebp
call fcn.00423d00
cmp eax, dword [esp + 0x18]
jne 0x421b85
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.00422f80
mov esi, eax
add esp, 8
test esi, esi
jne 0x421b85
mov eax, dword [esp + 0x2c]
cmp eax, 0x17
jne 0x421ab5
cmp dword [esp + 0x30], esi
jne 0x421ab5
lea eax, [esp + 0x50]
push eax
call fcn.004240f0
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.004232b0
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x421a20
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 0x4219a0
mov esi, 0x10
jmp 0x421a20
mov ebp, dword [esp + 0x68]
push ebp
call fcn.00421e70
push dword [esp + 0x14]
mov dword [esp + 0x24], eax
push esi
push ebx
call fcn.00420e70
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x421a20
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push edi
push esi
push eax
call fcn.00424080
add esp, 0xc
test eax, eax
jne 0x4219de
lea esi, [eax + 2]
jmp 0x421a20
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.00424480
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x421a20
cmp dword [ebp + 0x1c], eax
je 0x421a1e
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
call fcn.00423d00
cmp eax, dword [ebp + 0x20]
je 0x421a1e
mov esi, 3
jmp 0x421a20
xor esi, esi
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.00421bd0
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 0x421a73
lea eax, [esp + 0x54]
push eax
call fcn.004240c0
add esp, 8
lea eax, [esp + 0x34]
push edi
push eax
call fcn.004240c0
add esp, 8
mov eax, esi
jmp 0x421baa
lea eax, [esp + 0x38]
push eax
call fcn.004240c0
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.00422f80
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x421b85
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x421b80
cmp dword [esp + 0x30], 0
jne 0x421b80
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.00422720
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.004240c0
add esp, 8
mov eax, esi
jmp 0x421baa
mov esi, 4
lea eax, [esp + 0x34]
push edi
push eax
call fcn.004240c0
add esp, 8
mov eax, esi
jmp 0x421baa
mov eax, 6
jmp 0x421baa
mov eax, 2
jmp 0x421baa
mov eax, 0x11
pop esi
pop ebp
mov ecx, dword [esp + 0x9c]
pop edi
pop ebx
xor ecx, esp
call fcn.00427b35
add esp, 0x98
ret