Function at 0x4a3310
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 esi, esi
cmp eax, esi
mov edi, ecx
mov dword [esp + 0xc], edi
je 0x4a3e88
mov ebx, dword [ebp + 0xc]
cmp ebx, esi
je 0x4a3e88
cmp dword [edi + 0x50c], esi
jne 0x4a3369
push 0x10
call fcn.0043f000
add esp, 4
cmp eax, esi
je 0x4a3361
push 0x2710
mov ecx, eax
call fcn.00490e80
jmp 0x4a3363
xor eax, eax
mov dword [edi + 0x50c], eax
mov ecx, dword [edi + 0x4f4]
cmp ecx, esi
je 0x4a33a7
push esi
call fcn.004951c0
test eax, eax
je 0x4a33a7
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x4f4]
push 2
push ebx
push eax
push esi
call fcn.004951c0
push eax
call fcn.00417fe0
mov eax, dword [edi + 0x50c]
add esp, 0x10
cmp eax, esi
je 0x4a3e88
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0057af20
xor ecx, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
lea ebx, [ebx]
mov edi, dword [ebp + 0xc]
cmp edi, 0x1388
mov esi, 0x1388
jg 0x4a3412
mov esi, edi
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebx + 0x50c]
push esi
add edx, eax
push edx
call fcn.00490f50
mov eax, dword [esp + 0x50]
add eax, esi
sub edi, esi
mov esi, dword [ebx + 0x50c]
mov ecx, dword [esi + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [ebp + 0xc], edi
jns 0x4a344e
add eax, dword [esi + 0xc]
cmp eax, 0x80
jl 0x4a34ef
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
jns 0x4a3464
add eax, dword [esi + 0xc]
lea ecx, [eax - 0x80]
test ecx, ecx
jl 0x4a34a7
mov edi, dword [esi + 8]
mov eax, dword [esi + 4]
sub eax, edi
jns 0x4a3478
add eax, dword [esi + 0xc]
cmp ecx, eax
jge 0x4a34a7
lea eax, [edi + ecx]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
mov dword [esi + 8], eax
jl 0x4a348e
sub eax, ecx
mov dword [esi + 8], eax
push 0
push 0x80
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.00490eb0
mov dword [esi + 8], edi
mov ecx, dword [ebx + 0x4f4]
test ecx, ecx
je 0x4a34ef
push 0
call fcn.004951c0
test eax, eax
je 0x4a34ef
mov ecx, dword [ebx + 0x4f4]
push 4
push 0x80
lea edx, [esp + 0xa8]
push edx
push 0
call fcn.004951c0
push eax
call fcn.00417fe0
mov eax, dword [ebx + 0x50c]
add esp, 0x10
test eax, eax
je 0x4a3e0b
mov ecx, dword [ebx + 0x50c]
push 4
lea eax, [esp + 0x124]
push eax
call fcn.00492770
cmp eax, 4
jl 0x4a3dcc
lea ecx, [ecx]
cmp byte [esp + 0x120], 0xff
jne 0x4a36d2
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x124]
push edx
call fcn.0057b110
add esp, 8
test eax, eax
je 0x4a36d2
mov eax, dword [esp + 0x58]
cdq
and edx, 7
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x50c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sar ebx, 3
sub ecx, edx
mov dword [esp + 0x3c], ebx
jns 0x4a3565
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jg 0x4a3dcc
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x4a3578
add ecx, dword [eax + 0xc]
lea edx, [ebx + 4]
cmp edx, ecx
jle 0x4a358a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jg 0x4a3dcc
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x4a3595
add ecx, dword [eax + 0xc]
cmp edx, ecx
jg 0x4a36bd
test ebx, ebx
jl 0x4a363e
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, esi
sub ecx, edx
jns 0x4a35b4
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jge 0x4a363e
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
add edx, ebx
cmp edx, ecx
mov dword [eax + 8], edx
jl 0x4a35d1
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 0x4a35e3
add esi, ecx
cmp esi, 4
jge 0x4a35ee
mov edi, esi
mov dword [esp + 0x38], edi
lea esi, [edx + edi]
cmp esi, ecx
mov esi, dword [eax]
jge 0x4a3601
mov ecx, edi
add esi, edx
lea edi, [esp + 0x48]
jmp 0x4a3629
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.0057b110
add esp, 8
test eax, eax
je 0x4a36d2
cmp ebx, 0x41a
jg 0x4a3dae
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x50c]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
sub ecx, edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x38], ebx
jns 0x4a3682
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jle 0x4a368c
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 0x4a3765
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 0x4a379b
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x4a36c8
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jl 0x4a3dcc
jmp 0x4a3657
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x50c]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
sub ecx, edx
mov ebx, 1
mov dword [esp + 0x38], ebx
jns 0x4a36f2
add ecx, dword [eax + 0xc]
cmp ecx, 1
jge 0x4a36fd
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 0x4a372a
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 0x4a3d8a
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 0x4a3d8a
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 + 0x508]
xor edi, edi
cmp eax, edi
jne 0x4a3af6
mov eax, dword [esi + 0x210]
cmp eax, edi
mov dword [esi + 0x44], edi
mov dword [esp + 0x54], 1
jne 0x4a37e9
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x4a37e4
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x4a37e4
call fcn.004827c0
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x4a37e9
mov eax, 9
cmp eax, 8
jne 0x4a3821
push eax
lea ecx, [esp + 0x14]
call fcn.00491e40
test eax, eax
je 0x4a38ae
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edx]
mov edx, dword [str.FWS_b]
mov dword [ecx], edx
mov edx, dword [0x5dbbcc]
mov dword [ecx + 4], edx
jmp 0x4a38a7
mov eax, dword [esi + 0x210]
cmp eax, edi
jne 0x4a3850
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x4a384b
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x4a384b
call fcn.004827c0
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x4a3850
mov eax, 9
cmp eax, 7
lea ecx, [esp + 0x10]
push 8
jne 0x4a3882
call fcn.00491e40
test eax, eax
je 0x4a38ae
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edx]
mov edx, dword [str.FWS_a]
mov dword [ecx], edx
mov edx, dword [0x5dbbc0]
mov dword [ecx + 4], edx
jmp 0x4a38a7
call fcn.00491e40
test eax, eax
je 0x4a38ae
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [0x5dbbb0]
mov dword [edx], ecx
mov ecx, dword [0x5dbbb4]
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.00494d40
push 2
lea ecx, [esp + 0x14]
call fcn.00491e40
test eax, eax
je 0x4a38fc
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.00491e40
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x4a3921
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 [sym.imp.WINMM.dll_timeGetTime]
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 + 0x510], 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.00491e40
test eax, eax
je 0x4a397f
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.00491e40
test eax, eax
je 0x4a39ae
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.00492020
mov eax, edi
dec eax
mov esi, 3
je 0x4a39ec
dec eax
jne 0x4a3a00
mov eax, ebx
sub eax, 0
je 0x4a39e5
dec eax
je 0x4a39fb
dec eax
jmp 0x4a39f2
mov esi, 1
jmp 0x4a3a00
sub ebx, 0
je 0x4a39fb
dec ebx
jne 0x4a3a00
mov esi, 3
jmp 0x4a3a00
mov esi, 2
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.00492020
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.00492020
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.00492020
push 4
push 2
lea ecx, [esp + 0x18]
call fcn.00492020
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.00492020
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.00492020
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.00492020
cmp dword [esp + 0x10], 8
jge 0x4a3a8f
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.00491e40
test eax, eax
je 0x4a3a8f
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.00491e40
test eax, eax
je 0x4a3ab6
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.00491e40
test eax, eax
je 0x4a3adb
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.00491f70
fld dword [esp + 0x70]
mov edx, dword [esp + 0xc]
fstp qword [edx + 0x500]
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.00491e40
test eax, eax
je 0x4a3b2f
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.00491f70
cmp dword [esi + 0x508], edi
jne 0x4a3c60
mov esi, dword [esp + 0x3c]
push esi
call fcn.0043f000
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a3c5c
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.00491e40
test eax, eax
je 0x4a3bac
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.00491f10
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
push 2
lea ecx, [esp + 0x14]
call fcn.00491e40
test eax, eax
je 0x4a3be6
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.00491e40
test eax, eax
je 0x4a3c15
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.00491e40
test eax, eax
je 0x4a3c4a
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.00491f70
push ebx
call fcn.0043f020
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.00491e40
test eax, eax
je 0x4a3c9d
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.00491e40
test eax, eax
je 0x4a3ccc
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.00491e40
test eax, eax
je 0x4a3cf3
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.00491e40
test eax, eax
je 0x4a3d1a
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.00491e40
test eax, eax
je 0x4a3d5b
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.00491f70
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 + 0x508], 1
mov dword [esi + 0x44], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x50c]
push 4
lea edx, [esp + 0x124]
push edx
call fcn.00492770
cmp eax, 4
jge 0x4a3510
jmp 0x4a3dcc
mov edx, dword [esp + 0xc]
push 1
push 0x41a
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [edx + 0x50c]
call fcn.00490eb0
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4a3400
mov edi, dword [esp + 0xc]
fld dword [esp + 0x40]
fadd qword [edi + 0x4f8]
mov ecx, dword [esp + 0x44]
test ecx, ecx
fstp qword [edi + 0x4f8]
je 0x4a3e01
fld dword [esp + 0x40]
fidiv dword [esp + 0x44]
fstp qword [edi + 0x208]
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, eax
jne 0x4a3e2e
lea ecx, [esp + 0x4c]
call fcn.0057af60
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a3e88
push eax
call fcn.0043f020
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4a3e65
imul ecx, ecx, 0x3e8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], 0x11
fild dword [esp + 0x34]
fdiv dword [esp + 0x40]
call fcn.004ebb60
xor ecx, ecx
mov ch, al
push ecx
lea ecx, [esp + 0x14]
call fcn.00491ee0
mov eax, esi
mov esi, dword [esp + 0x18]
push eax
push esi
mov ecx, edi
call fcn.004a06c0
lea ecx, [esp + 0x4c]
call fcn.0057af60
test esi, esi
je 0x4a3e88
push esi
call fcn.0043f020
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8