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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x534
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
mov dword [esp + 0xc], esi
je 0x49491d
mov ebx, dword [ebp + 0xc]
cmp ebx, edi
je 0x49491d
cmp dword [esi + 0x484], edi
jne 0x493e19
push 0x10
call fcn.0052b380
add esp, 4
cmp eax, edi
je 0x493e11
push 0x2710
mov ecx, eax
call fcn.00483e90
jmp 0x493e13
xor eax, eax
mov dword [esi + 0x484], eax
mov ecx, dword [esi + 0x46c]
cmp ecx, edi
je 0x493e57
push edi
call fcn.00486fb0
test eax, eax
je 0x493e57
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x46c]
push 2
push ebx
push eax
push edi
call fcn.00486fb0
push eax
call fcn.00415540
mov eax, dword [esi + 0x484]
add esp, 0x10
cmp eax, edi
je 0x49491d
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00522450
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x1388
mov esi, 0x1388
jg 0x493ea2
mov esi, edi
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0xc]
add ecx, edx
push esi
push ecx
mov ecx, dword [ebx + 0x484]
call fcn.00483f60
mov eax, dword [esp + 0x50]
add eax, esi
sub edi, esi
mov esi, dword [ebx + 0x484]
mov ecx, dword [esi + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [ebp + 0xc], edi
jns 0x493ede
add eax, dword [esi + 0xc]
cmp eax, 0x80
jl 0x493f7f
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
jns 0x493ef4
add eax, dword [esi + 0xc]
lea ecx, [eax - 0x80]
test ecx, ecx
jl 0x493f37
mov edi, dword [esi + 8]
mov eax, dword [esi + 4]
sub eax, edi
jns 0x493f08
add eax, dword [esi + 0xc]
cmp ecx, eax
jge 0x493f37
lea eax, [edi + ecx]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
mov dword [esi + 8], eax
jl 0x493f1e
sub eax, ecx
mov dword [esi + 8], eax
push 0
push 0x80
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call fcn.00483ec0
mov dword [esi + 8], edi
mov ecx, dword [ebx + 0x46c]
test ecx, ecx
je 0x493f7f
push 0
call fcn.00486fb0
test eax, eax
je 0x493f7f
push 4
push 0x80
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [ebx + 0x46c]
push 0
call fcn.00486fb0
push eax
call fcn.00415540
mov eax, dword [ebx + 0x484]
add esp, 0x10
test eax, eax
je 0x4948a0
mov ecx, dword [ebx + 0x484]
push 4
lea edx, [esp + 0x124]
push edx
call fcn.004854e0
cmp eax, 4
jl 0x49485c
lea ecx, [ecx]
cmp byte [esp + 0x120], 0xff
jne 0x494162
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x124]
push ecx
call fcn.00522650
add esp, 8
test eax, eax
je 0x494162
mov eax, dword [esp + 0x58]
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0xc]
mov ebx, eax
mov eax, dword [edx + 0x484]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sar ebx, 3
sub ecx, edx
mov dword [esp + 0x3c], ebx
jns 0x493ff5
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jg 0x49485c
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x494008
add ecx, dword [eax + 0xc]
lea edx, [ebx + 4]
cmp edx, ecx
jle 0x49401a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jg 0x49485c
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x494025
add ecx, dword [eax + 0xc]
cmp edx, ecx
jg 0x49414d
test ebx, ebx
jl 0x4940ce
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, esi
sub ecx, edx
jns 0x494044
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jge 0x4940ce
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
add edx, ebx
cmp edx, ecx
mov dword [eax + 8], edx
jl 0x494061
sub edx, ecx
mov dword [eax + 8], edx
mov edx, dword [eax + 8]
sub esi, edx
mov edi, 4
mov dword [esp + 0x38], edi
jns 0x494073
add esi, ecx
cmp esi, 4
jge 0x49407e
mov edi, esi
mov dword [esp + 0x38], edi
lea esi, [edx + edi]
cmp esi, ecx
mov esi, dword [eax]
jge 0x494091
mov ecx, edi
add esi, edx
lea edi, [esp + 0x48]
jmp 0x4940b9
sub ecx, edx
mov ebx, ecx
add esi, edx
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov esi, dword [eax]
sub ecx, ebx
lea edi, [esp + ebx + 0x48]
mov ebx, dword [esp + 0x3c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00522650
add esp, 8
test eax, eax
je 0x494162
cmp ebx, 0x41a
jg 0x49483e
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x484]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
sub ecx, edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x38], ebx
jns 0x494112
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jle 0x49411c
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax + 0xc]
lea esi, [edx + ebx]
cmp esi, ecx
mov esi, dword [eax]
lea edi, [esp + 0x120]
jge 0x4941f5
add esi, edx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [eax + 8], ebx
jmp 0x49422b
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x494158
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jl 0x49485c
jmp 0x4940e7
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x484]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
sub ecx, edx
mov ebx, 1
mov dword [esp + 0x38], ebx
jns 0x494182
add ecx, dword [eax + 0xc]
cmp ecx, 1
jge 0x49418d
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax + 0xc]
lea esi, [edx + ebx]
cmp esi, ecx
mov esi, dword [eax]
lea edi, [esp + 0x120]
jge 0x4941ba
add esi, edx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [eax + 8], ebx
jmp 0x49481a
sub ecx, edx
mov ebx, ecx
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x38]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax]
sub edx, ebx
mov ecx, edx
lea edi, [esp + ebx + 0x120]
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], edx
jmp 0x49481a
sub ecx, edx
mov ebx, ecx
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x38]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax]
sub edx, ebx
mov ecx, edx
lea edi, [esp + ebx + 0x120]
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], edx
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x480]
xor edi, edi
cmp eax, edi
jne 0x494586
mov eax, dword [esi + 0x1ac]
cmp eax, edi
mov dword [esi + 0x44], edi
mov dword [esp + 0x54], 1
jne 0x494279
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x494274
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x494274
call fcn.004781a0
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x494279
mov eax, 8
cmp eax, 8
jne 0x4942b1
push eax
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x49433e
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edx]
mov edx, dword [0x541788]
mov dword [ecx], edx
mov edx, dword [0x54178c]
mov dword [ecx + 4], edx
jmp 0x494337
mov eax, dword [esi + 0x1ac]
cmp eax, edi
jne 0x4942e0
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x4942db
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x4942db
call fcn.004781a0
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x4942e0
mov eax, 8
cmp eax, 7
lea ecx, [esp + 0x10]
push 8
jne 0x494312
call fcn.00484a90
test eax, eax
je 0x49433e
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edx]
mov edx, dword [0x54177c]
mov dword [ecx], edx
mov edx, dword [0x541780]
mov dword [ecx + 4], edx
jmp 0x494337
call fcn.00484a90
test eax, eax
je 0x49433e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [0x541770]
mov dword [edx], ecx
mov ecx, dword [0x541774]
mov dword [edx + 4], ecx
add eax, 8
mov dword [esp + 0x1c], eax
mov eax, 0xc8
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
call fcn.00486be0
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x49438c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0xc
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x4943b1
mov eax, dword [esp + 0x18]
mov byte [esi + eax], 0xe8
inc esi
mov byte [esi + eax], 3
inc esi
mov dword [esp + 0x1c], esi
call dword [0x53d518]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
and eax, 0x7fffffff
mov dword [ecx + 0x488], eax
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], 1
call fcn.00484a90
test eax, eax
je 0x49440f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 4
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x49443e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 4
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0
call fcn.00484c70
mov eax, edi
dec eax
mov esi, 3
je 0x49447c
dec eax
jne 0x494490
mov eax, ebx
sub eax, 0
je 0x494475
dec eax
je 0x49448b
dec eax
jmp 0x494482
mov esi, 1
jmp 0x494490
sub ebx, 0
je 0x49448b
dec ebx
jne 0x494490
mov esi, 3
jmp 0x494490
mov esi, 2
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.00484c70
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.00484c70
mov edx, dword [esp + 0x34]
xor eax, eax
cmp edx, 1
setne al
push 1
lea ecx, [esp + 0x14]
mov edi, eax
push edi
call fcn.00484c70
push 4
push 2
lea ecx, [esp + 0x18]
call fcn.00484c70
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.00484c70
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.00484c70
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.00484c70
cmp dword [esp + 0x10], 8
jge 0x49451f
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x49451f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
inc eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x494546
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
inc eax
mov byte [eax + ecx], bh
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x49456b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00484bc0
fld dword [esp + 0x70]
mov edx, dword [esp + 0xc]
fstp qword [edx + 0x478]
xor edi, edi
mov esi, edx
mov eax, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edi
call fcn.00484a90
test eax, eax
je 0x4945bf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00484bc0
cmp dword [esi + 0x480], edi
jne 0x4946f0
mov esi, dword [esp + 0x3c]
push esi
call fcn.0052b380
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4946ec
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0x13
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
call fcn.00484a90
test eax, eax
je 0x49463c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 0
lea ecx, [esp + 0x14]
call fcn.00484b60
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x494676
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov byte [eax + edi], cl
inc eax
mov byte [eax + edi], ch
inc eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], edx
call fcn.00484a90
test eax, eax
je 0x4946a5
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov byte [eax + edi], cl
inc eax
mov byte [eax + edi], ch
inc eax
mov dword [esp + 0x1c], eax
push esi
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x4946da
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
add eax, ecx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00484bc0
push ebx
call fcn.00439d00
add esp, 4
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0x13
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
call fcn.00484a90
test eax, eax
je 0x49472d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 4
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x49475c
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x494783
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
inc eax
mov byte [eax + ecx], bh
inc eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x4947aa
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
inc eax
mov byte [eax + ecx], bh
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x4947eb
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, edx
mov ebx, ecx
shr ecx, 2
add edi, eax
lea esi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00484bc0
fld dword [esp + 0x70]
mov ecx, dword [esi + 0x44]
fadd dword [esp + 0x40]
mov eax, dword [esp + 0x44]
inc ecx
inc eax
fstp dword [esp + 0x40]
mov dword [esi + 0x480], 1
mov dword [esi + 0x44], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x484]
push 4
lea edx, [esp + 0x124]
push edx
call fcn.004854e0
cmp eax, 4
jge 0x493fa0
jmp 0x49485c
mov edx, dword [esp + 0xc]
push 1
push 0x41a
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [edx + 0x484]
call fcn.00483ec0
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x493e90
mov edi, dword [esp + 0xc]
fld dword [esp + 0x40]
fadd qword [edi + 0x470]
mov esi, dword [esp + 0x44]
test esi, esi
fstp qword [edi + 0x470]
je 0x494896
fild dword [esp + 0x44]
fdivr dword [esp + 0x40]
call fcn.004ae0e0
mov dword [edi + 0x1a8], eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebx, eax
jne 0x4948c3
lea ecx, [esp + 0x4c]
call fcn.00522490
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49491d
push eax
call fcn.00439d00
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4948fa
imul esi, esi, 0x3e8
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], 0x11
fild dword [esp + 0x34]
fdiv dword [esp + 0x40]
call fcn.004ae0e0
xor ecx, ecx
mov ch, al
push ecx
lea ecx, [esp + 0x14]
call fcn.00484b30
mov eax, ebx
mov esi, dword [esp + 0x18]
push eax
push esi
mov ecx, edi
call fcn.00491e50
lea ecx, [esp + 0x4c]
call fcn.00522490
test esi, esi
je 0x49491d
push esi
call fcn.00439d00
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8