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

Disassembly:
sub esp, 0x12c
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x134]
push ebx
mov ebx, dword [esp + 0x134]
push ebp
push esi
push edi
mov edi, dword [esp + 0x148]
mov esi, dword [edi + 0x78]
fld dword [edi + 0x70]
mov dword [esp + 0x6c], eax
fstp dword [esp + 0x68]
mov eax, dword [esp + 0x14c]
push eax
push ebx
mov eax, edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], esi
call fcn.0042fa40
mov ecx, dword [esp + 0x14c]
push esi
movzx ebp, ax
push ecx
push edi
mov esi, ebx
mov dword [esp + 0x60], ebp
call fcn.0042fc60
movzx eax, ax
mov dword [esp + 0x5c], eax
cmp ax, bp
jae 0x430b4a
movzx edx, bp
mov dword [esp + 0x5c], edx
lea esi, [esp + 0xb8]
call fcn.00431280
mov ebp, dword [esp + 0xb8]
xor eax, eax
xor edx, edx
lea ecx, [ebp + 1]
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], dx
mov dword [esp + 0x24], ecx
call fcn.004312e0
test al, al
jne 0x430b7e
xor eax, eax
mov byte [eax], al
mov ecx, dword [esp + 0xc4]
lea eax, [ebp + ebp*2]
lea esi, [ecx + eax*2]
mov eax, dword [esp + 0xb8]
cmp eax, ebp
jbe 0x430bac
sub eax, ebp
lea edx, [eax + eax*2]
add edx, edx
push edx
lea eax, [esi + 6]
push esi
push eax
call fcn.006586a0
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ax, word [esp + 0x20]
mov dword [esp + 0xb8], ecx
mov dword [esi], edx
mov word [esi + 4], ax
mov eax, dword [esp + 0xb8]
or esi, 0xffffffff
mov dword [esp + 0x18], esi
mov byte [esp + 0x17], 0
test eax, eax
je 0x431083
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0xc4]
add ebx, 0x58
mov dword [esp + 0x58], ebx
jmp 0x430bf9
mov ebx, dword [esp + 0x58]
mov edi, dword [edx]
mov cx, word [edx + 4]
mov dword [esp + 0x30], edi
mov word [esp + 0x34], cx
cmp eax, 1
jbe 0x430c2f
lea eax, [eax + eax*2 - 3]
add eax, eax
push eax
lea ecx, [edx + 6]
push ecx
push edx
call fcn.006586a0
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xc4]
add esp, 0xc
fld dword [esp + 0x68]
dec eax
mov dword [esp + 0xb8], eax
xor ecx, ecx
lea eax, [eax + eax*2]
mov dword [edx + eax*2], ecx
lea eax, [edx + eax*2]
mov word [eax + 4], cx
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0xa0], ecx
mov cx, word [esp + 0x34]
sub esp, 8
mov eax, esp
mov dword [eax], edi
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x6c]
mov word [eax + 4], cx
mov eax, dword [esp + 0x154]
push ecx
fstp dword [esp]
push edx
mov edx, dword [esp + 0x4c]
mov ebx, dword [edx + 0x28]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0042f500
mov ecx, dword [esp + 0x64]
add dword [esp + 0x5c], esi
add dword [esp + 0x60], ebp
add esp, 0x18
test ecx, ecx
je 0x430cb0
mov edx, dword [esp + 0x50]
test edx, edx
jne 0x430cd2
mov eax, 0xfffffffe
cmp dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
jb 0x430cc7
lea eax, [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
jmp 0x43105a
mov esi, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x58]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], edx
lea eax, [esp + 0xb8]
call fcn.00412340
mov esi, eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x48], edx
mov edx, dword [esi]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
lea eax, [esp + 0x98]
lea ecx, [esp + 0x160]
call fcn.00412340
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x43105a
mov edx, dword [esp + 0x94]
test edx, edx
je 0x43105a
mov ax, word [esp + 0x30]
cmp ax, word [esp + 0x54]
mov ebp, dword [esi]
sete bl
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esi + 4]
mov dword [eax + 4], ebp
mov ebp, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x98]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xac]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x80]
movzx ecx, bl
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x37]
and ecx, edx
mov dx, word [esp + 0x54]
push ecx
push eax
mov byte [esp + 0x54], bl
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x98]
sub esp, 8
mov eax, esp
mov dword [eax], edi
mov word [eax + 4], dx
mov eax, dword [esp + 0x180]
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
call fcn.004307d0
mov dword [esp + 0x24], eax
test bl, bl
je 0x430e06
test eax, eax
je 0x431007
mov cx, word [esp + 0x30]
cmp cx, word [esp + 0x5c]
jae 0x431007
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x32]
lea eax, [edx + edx]
lea ecx, [ebx + 1]
inc edi
add ebp, ebp
lea esi, [esp + 0xb8]
mov word [esp + 0x76], di
mov word [esp + 0x78], bp
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ecx
call fcn.004312e0
test al, al
jne 0x430e54
xor eax, eax
mov byte [eax], al
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xc4]
lea ecx, [ebx + ebx*2]
lea esi, [edx + ecx*2]
cmp eax, ebx
jbe 0x430e81
sub eax, ebx
lea eax, [eax + eax*2]
add eax, eax
push eax
lea ecx, [esi + 6]
push esi
push ecx
call fcn.006586a0
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x76]
mov cx, word [esp + 0x38]
mov dword [esp + 0xb8], edx
mov dword [esi], eax
mov word [esi + 4], cx
mov ebx, dword [esp + 0xb8]
lea ecx, [ebx + 1]
lea esi, [esp + 0xb8]
mov word [esp + 0x70], di
mov word [esp + 0x72], bp
mov dword [esp + 0x28], ecx
call fcn.004312e0
test al, al
jne 0x430ec7
xor eax, eax
mov byte [eax], al
mov eax, dword [esp + 0xc4]
lea edx, [ebx + ebx*2]
lea esi, [eax + edx*2]
mov eax, dword [esp + 0xb8]
cmp eax, ebx
jbe 0x430ef4
sub eax, ebx
lea ecx, [eax + eax*2]
add ecx, ecx
push ecx
lea edx, [esi + 6]
push esi
push edx
call fcn.006586a0
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x38]
mov dword [esi], ecx
inc eax
mov word [esi + 4], ax
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0xb8]
lea ecx, [ebp + 1]
lea esi, [esp + 0xb8]
mov dword [esp + 0x1c], eax
mov word [esp + 0x82], di
mov word [esp + 0x84], bx
mov dword [esp + 0x28], ecx
call fcn.004312e0
test al, al
jne 0x430f47
xor eax, eax
mov byte [eax], al
mov eax, dword [esp + 0xc4]
lea edx, [ebp + ebp*2]
lea esi, [eax + edx*2]
mov eax, dword [esp + 0xb8]
cmp eax, ebp
jbe 0x430f75
sub eax, ebp
lea ecx, [eax + eax*2]
add ecx, ecx
push ecx
lea edx, [esi + 6]
push esi
push edx
call fcn.006586a0
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x82]
mov dx, word [esp + 0x38]
mov dword [esp + 0xb8], eax
mov dword [esi], ecx
mov word [esi + 4], dx
mov word [esp + 0x7c], di
mov edi, dword [esp + 0xb8]
mov word [esp + 0x7e], bx
lea ebx, [edi + 1]
mov ecx, ebx
lea esi, [esp + 0xb8]
call fcn.004312e0
test al, al
jne 0x430fbc
xor eax, eax
mov byte [eax], al
mov ecx, dword [esp + 0xc4]
lea eax, [edi + edi*2]
lea esi, [ecx + eax*2]
mov eax, dword [esp + 0xb8]
cmp eax, edi
jbe 0x430fe9
sub eax, edi
lea edx, [eax + eax*2]
add edx, edx
push edx
lea eax, [esi + 6]
push esi
push eax
call fcn.006586a0
add esp, 0xc
mov ecx, dword [esp + 0x7c]
mov dx, word [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], ebx
mov bl, byte [esp + 0x2c]
mov dword [esi], ecx
mov word [esi + 4], dx
test bl, bl
je 0x431014
test eax, eax
je 0x431014
mov byte [esp + 0x17], 1
cmp dword [esp + 0x18], eax
lea eax, [esp + 0x18]
jb 0x431022
lea eax, [esp + 0x24]
mov eax, dword [eax]
mov cx, word [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
test cx, cx
je 0x431061
test eax, eax
je 0x431070
mov edx, dword [esp + 0xc4]
cmp cx, word [edx]
jae 0x431068
push 0x430a80
push 6
push eax
push edx
call fcn.00658b10
add esp, 0x10
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xc4]
test eax, eax
jne 0x430bf5
cmp byte [esp + 0x17], 0
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
jne 0x4310b4
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x43108e
mov byte [eax], 0
mov cx, word [esp + 0x54]
mov edx, dword [esp + 0x14c]
mov word [esp + 0x1c], cx
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
push ebx
mov dword [esp + 0x2e], 0xffff
call fcn.0042f7e0
push 0
push 0xffffffffffffffff
push 0
push ebx
call fcn.0042f7e0
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0xc8]
cmp eax, ecx
je 0x4310ef
mov ecx, dword [esp + 0x128]
push eax
test ecx, ecx
jne 0x4310e8
call fcn.00658a01
add esp, 4
jmp 0x4310ef
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x134]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x12c
ret 0x20