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

Disassembly:
mov eax, 0x1158
call fcn.004b68c0
push ebx
push ebp
mov ebp, dword [esp + 0x1164]
push esi
push edi
xor esi, esi
movsx ecx, word [ebp + 0x2bc]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov ecx, dword [esp + 0x1170]
lea eax, [eax + eax*2]
lea edi, [eax*4 + 0xecc6b8]
mov eax, dword [ecx]
mov dword [esp + 0x6c], edi
mov ebx, dword [edi + 0xd8]
lea ecx, [eax + eax*4]
lea edx, [ecx + ecx*8]
mov ecx, dword [esp + 0x1174]
shl edx, 1
mov ecx, dword [ecx]
sub edx, eax
mov edx, dword [ebx + edx*4 + 0x78]
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
cmp byte [ecx], 0
jle 0x43558c
lea ebx, [esp + 0xe8]
jmp 0x435542
mov edi, dword [esp + 0x6c]
mov ecx, dword [ecx + 4]
movsx edx, word [ecx + esi*2]
push edx
push eax
push ebp
push ebx
call fcn.00433c30
mov eax, dword [esp + 0x1180]
mov edi, dword [edi + 0xd8]
add esp, 0x10
inc esi
mov eax, dword [eax]
add ebx, 0xc
lea ecx, [eax + eax*4]
lea edx, [ecx + ecx*8]
mov ecx, dword [esp + 0x1174]
shl edx, 1
mov ecx, dword [ecx]
sub edx, eax
mov edx, dword [edi + edx*4 + 0x78]
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
movsx edx, byte [ecx]
cmp esi, edx
jl 0x43553e
mov esi, dword [esp + 0x1180]
mov dword [esp + 0x18], 0
test esi, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jle 0x43571b
mov ebx, dword [esp + 0x117c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
mov edi, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov ebp, dword [edi]
add ebx, 0xc
mov dword [esp + 0x40], ebp
fld dword [esp + 0x40]
fadd dword [esp + 0x10]
mov ebp, dword [edi + 4]
mov dword [esp + 0x44], ebp
mov edi, dword [edi + 8]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
dec edi
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fadd dword [esp + 0x48]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
jne 0x4355ca
mov ebp, dword [esp + 0x116c]
fild dword [esp + 0x1180]
fld dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
fdiv st(1)
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x100]
lea ecx, [esp + 0xf4]
push eax
lea edx, [esp + 0xec]
push ecx
lea eax, [esp + 0x60]
push edx
push eax
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fdiv st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fdiv st(1)
fstp dword [esp + 0x3c]
fstp st(0)
call fcn.004cb390
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
fstp st(0)
fld dword [esp + 0x68]
fmul dword [0x51d854]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [0x51d854]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x68]
push ecx
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul dword [0x51d854]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x70], edx
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
call fcn.004cb450
fcomp dword [0x51d808]
add esp, 0x14
fnstsw ax
test ah, 0x40
jne 0x43572c
push 0
lea edx, [esp + 0x5c]
push 0
lea eax, [esp + 0xcc]
push edx
push eax
call fcn.004cc1e0
add esp, 0x10
jmp 0x43573c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
jmp 0x435635
lea ecx, [esp + 0xc4]
push ecx
call fcn.004cb520
add esp, 4
lea edx, [esp + 0xc4]
lea eax, [esp + 0x78]
push edx
push eax
call fcn.004cc360
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x82]
mov eax, dword [esp + 0x80]
push ecx
push edx
lea ecx, [esp + 0xb0]
push eax
push ecx
call fcn.004cbb50
add esp, 0x18
test esi, esi
jle 0x43582c
mov edi, dword [esp + 0x117c]
lea edx, [esp + 0x268]
lea ebx, [esp + 0x268]
sub edi, edx
mov ebp, esi
lea eax, [edi + ebx]
mov ecx, dword [edi + ebx]
mov dword [esp + 0x10], ecx
fld dword [esp + 0x10]
fsub dword [esp + 0x24]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 8]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fsub dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0xa0]
push ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fsub dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x44]
push edx
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
push eax
call fcn.004cb570
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, ebx
add esp, 0xc
add ebx, 0xc
dec ebp
mov dword [ecx], edx
mov edx, dword [esp + 0x54]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jne 0x435797
mov ebp, dword [esp + 0x116c]
fld dword [0x51d850]
or edi, 0xffffffff
xor ecx, ecx
test esi, esi
mov dword [esp + 0x1c], edi
jle 0x43585f
lea edx, [esp + 0x268]
fcom dword [edx]
fnstsw ax
test ah, 0x41
jne 0x435857
fstp st(0)
fld dword [edx]
mov dword [esp + 0x1c], ecx
inc ecx
add edx, 0xc
cmp ecx, esi
jl 0x435846
fstp st(0)
fld dword [0x51d84c]
xor ecx, ecx
mov dword [esp + 0x20], edi
test esi, esi
jle 0x435891
lea edx, [esp + 0x26c]
fcom dword [edx]
fnstsw ax
test ah, 1
je 0x435889
fstp st(0)
fld dword [edx]
mov dword [esp + 0x20], ecx
inc ecx
add edx, 0xc
cmp ecx, esi
jl 0x435878
fstp st(0)
fld dword [0x51d84c]
xor ecx, ecx
mov ebx, edi
test esi, esi
jle 0x4358bf
lea edx, [esp + 0x268]
fcom dword [edx]
fnstsw ax
test ah, 1
je 0x4358b7
fstp st(0)
fld dword [edx]
mov ebx, ecx
inc ecx
add edx, 0xc
cmp ecx, esi
jl 0x4358a8
fstp st(0)
fld dword [0x51d850]
xor ecx, ecx
mov edx, edi
test esi, esi
jle 0x4358ed
lea edi, [esp + 0x26c]
fcom dword [edi]
fnstsw ax
test ah, 0x41
jne 0x4358e5
fstp st(0)
fld dword [edi]
mov edx, ecx
inc ecx
add edi, 0xc
cmp ecx, esi
jl 0x4358d6
mov eax, dword [esp + 0x1c]
lea edx, [edx + edx*2]
fstp st(0)
lea eax, [eax + eax*2]
mov dword [esp + 0x9c], 0
mov ecx, dword [esp + eax*4 + 0x268]
lea eax, [esp + eax*4 + 0x268]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], eax
lea ecx, [ecx + ecx*2]
mov esi, dword [esp + ecx*4 + 0x26c]
lea ecx, [esp + ecx*4 + 0x26c]
mov dword [esp + 0x98], esi
lea esi, [ebx + ebx*2]
mov dword [esp + 0x80], ecx
fld dword [esp + esi*4 + 0x268]
fsub dword [eax]
fstp dword [esp + 0x20]
fld dword [ecx]
fsub dword [esp + edx*4 + 0x26c]
fstp dword [esp + 0x1c]
fild dword [0x543b24]
fst dword [esp + 0x34]
fst dword [esp + 0x3c]
fld dword [esp + 0x34]
fld dword [esp + 0x20]
fdiv st(1)
fld st(0)
call fcn.004b6898
mov ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fsubr st(1)
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x435998
inc ecx
inc ecx
cmp ecx, 0x7e
jle 0x4359a6
fadd dword [0x51d834]
jmp 0x43596f
fstp dword [esp + 0x34]
cmp ecx, 2
jge 0x4359b4
mov ecx, 2
mov edi, ecx
mov dword [esp + 0x64], edi
fld dword [esp + 0x1c]
fdiv st(1)
fld st(0)
call fcn.004b6898
mov ebx, eax
mov dword [esp + 0x30], ebx
fild dword [esp + 0x30]
fsubr st(1)
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x4359e3
inc ebx
inc ebx
cmp ebx, 0x7e
mov dword [esp + 0x30], ebx
jle 0x4359f5
fadd dword [0x51d834]
jmp 0x4359ba
fstp dword [esp + 0x3c]
cmp ebx, 2
jge 0x435a0a
mov dword [esp + 0x30], 2
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x1184]
push 1
push eax
push ebx
push edi
call fcn.0044b6e0
mov esi, eax
mov eax, dword [0x7f9994]
add esp, 0x10
mov dword [esp + 0x68], esi
test eax, eax
je 0x435a99
fild dword [esp + 0x64]
fdivr dword [esp + 0x20]
call fcn.004b6898
mov ecx, eax
mov edx, ecx
mov dword [esp + 0x34], ecx
imul edx, edi
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
fsubr dword [esp + 0x20]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
jne 0x435a63
inc ecx
mov dword [esp + 0x34], ecx
fild dword [esp + 0x30]
fdivr dword [esp + 0x1c]
call fcn.004b6898
mov ecx, eax
imul eax, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
fild dword [esp + 0x38]
fsubr dword [esp + 0x1c]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
jne 0x435ab3
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x435ab3
fld dword [esp + 0x34]
call fcn.004b6898
fld dword [esp + 0x3c]
mov dword [esp + 0x34], eax
call fcn.004b6898
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1178]
test eax, eax
jle 0x435cac
mov edi, dword [esp + 0x1170]
mov edx, dword [esp + 0x1174]
mov ecx, edi
mov dword [esp + 0x38], eax
sub edx, ecx
mov dword [esp + 0x3c], edx
jmp 0x435ae5
mov ebp, dword [esp + 0x116c]
mov ecx, dword [edi]
mov eax, dword [edx + edi]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [ebp + ecx*4 + 0x1dc]
lea eax, [eax + eax*8]
mov word [ecx + eax*4 + 2], si
mov eax, dword [edi]
mov ecx, dword [edx + edi]
mov ebx, dword [ebx + 0xd8]
lea esi, [eax + eax*4]
mov ebp, dword [ebp + eax*4 + 0x1dc]
lea ecx, [ecx + ecx*8]
lea esi, [esi + esi*8]
shl esi, 1
sub esi, eax
shl ecx, 2
mov esi, dword [ebx + esi*4 + 0x78]
add ebp, ecx
add esi, ecx
xor ebx, ebx
cmp byte [esi], 0
jle 0x435b70
lea edx, [esp + 0xe8]
mov dword [esp + 0x1c], edx
mov eax, dword [esi + 4]
mov edx, dword [edi]
movsx ecx, word [eax + ebx*2]
mov eax, dword [esp + 0x116c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call fcn.00433c30
movsx edx, byte [esi]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
inc ebx
add ecx, 0xc
cmp ebx, edx
mov dword [esp + 0x1c], ecx
jl 0x435b39
mov edx, dword [esp + 0x3c]
mov al, byte [esi]
xor ebx, ebx
test al, al
jle 0x435c96
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
imul eax, dword [esp + 0x64]
imul ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0xe8]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
fstp dword [esp + 0x84]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x70]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
fld dword [esp + 0x10]
fsub dword [esp + 0x24]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 8]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fsub dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0xa0]
push ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fsub dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x44]
push edx
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
push eax
call fcn.004cb570
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
fld dword [esp + 0x58]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x98], edx
fsub dword [ecx]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x8c]
add esp, 0xc
fdiv dword [esp + 0x84]
inc ebx
fstp dword [edx + ebx*4 - 4]
fld dword [eax]
fsub dword [esp + 0x8c]
mov ecx, dword [ebp + 0x20]
fabs
fdiv dword [esp + 0x70]
fstp dword [ecx + ebx*4 - 4]
movsx edx, byte [esi]
mov ecx, dword [esp + 0x1c]
add ecx, 0xc
cmp ebx, edx
mov dword [esp + 0x1c], ecx
jl 0x435bb4
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x68]
add edi, 4
dec eax
mov dword [esp + 0x38], eax
jne 0x435ade
lea eax, [esp + 0xa0]
push eax
call fcn.004cb540
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x98]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
call fcn.004cb570
fld dword [esp + 0x5c]
fadd dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [0x8856c4]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fadd dword [esp + 0x38]
mov dword [esp + 0x28], eax
lea eax, [esi + esi*4]
add esp, 0x10
shl eax, 3
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [esp + 0x2c]
lea edx, [eax + ecx + 4]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [edx], ecx
mov ecx, dword [esp + 0x10]
fstp dword [esp + 0x14]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 8], ecx
mov edx, dword [0x8856c4]
mov cl, byte [esp + 0x30]
mov byte [eax + edx], cl
mov edx, dword [0x8856c4]
mov cl, byte [esp + 0x1c]
mov byte [eax + edx + 1], cl
mov edx, dword [esp + 0x54]
fld dword [esp + 0x54]
fmul dword [0x51d854]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x8856c4]
mov dword [esp + 0x14], edx
fstp dword [esp + 0xc]
fld dword [esp + 0x10]
fmul dword [0x51d854]
lea edx, [eax + ecx + 0x10]
mov eax, dword [esp + 0xc]
mov dword [edx], eax
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul dword [0x51d854]
mov ecx, dword [esp + 0x10]
mov dword [edx + 4], ecx
lea ecx, [esi + esi*2]
pop esi
pop ebp
fstp dword [esp + 0xc]
mov eax, dword [esp + 0xc]
pop ebx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x14]
lea edx, [ecx*4 + 0x7399a0]
mov ecx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
add esp, 0x1158
ret