Function at 0x4b0bf0
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 0x4b1768
mov ebx, dword [ebp + 0xc]
cmp ebx, esi
je 0x4b1768
cmp dword [edi + 0x5dc], esi
jne 0x4b0c49
push 0x10
call fcn.005ddbe0
add esp, 4
cmp eax, esi
je 0x4b0c41
push 0x2710
mov ecx, eax
call fcn.0049c930
jmp 0x4b0c43
xor eax, eax
mov dword [edi + 0x5dc], eax
mov ecx, dword [edi + 0x5c4]
cmp ecx, esi
je 0x4b0c87
push esi
call fcn.004a12b0
test eax, eax
je 0x4b0c87
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x5c4]
push 2
push ebx
push eax
push esi
call fcn.004a12b0
push eax
call fcn.00418170
mov eax, dword [edi + 0x5dc]
add esp, 0x10
cmp eax, esi
je 0x4b1768
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.0058f2f0
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 0x4b0cf2
mov esi, edi
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebx + 0x5dc]
push esi
add edx, eax
push edx
call fcn.0049ca00
mov eax, dword [esp + 0x50]
add eax, esi
sub edi, esi
mov esi, dword [ebx + 0x5dc]
mov ecx, dword [esi + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [ebp + 0xc], edi
jns 0x4b0d2e
add eax, dword [esi + 0xc]
cmp eax, 0x80
jl 0x4b0dcf
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
jns 0x4b0d44
add eax, dword [esi + 0xc]
lea ecx, [eax - 0x80]
test ecx, ecx
jl 0x4b0d87
mov edi, dword [esi + 8]
mov eax, dword [esi + 4]
sub eax, edi
jns 0x4b0d58
add eax, dword [esi + 0xc]
cmp ecx, eax
jge 0x4b0d87
lea eax, [edi + ecx]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
mov dword [esi + 8], eax
jl 0x4b0d6e
sub eax, ecx
mov dword [esi + 8], eax
push 0
push 0x80
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.0049c960
mov dword [esi + 8], edi
mov ecx, dword [ebx + 0x5c4]
test ecx, ecx
je 0x4b0dcf
push 0
call fcn.004a12b0
test eax, eax
je 0x4b0dcf
mov ecx, dword [ebx + 0x5c4]
push 4
push 0x80
lea edx, [esp + 0xa8]
push edx
push 0
call fcn.004a12b0
push eax
call fcn.00418170
mov eax, dword [ebx + 0x5dc]
add esp, 0x10
test eax, eax
je 0x4b16eb
mov ecx, dword [ebx + 0x5dc]
push 4
lea eax, [esp + 0x124]
push eax
call fcn.0049e650
cmp eax, 4
jl 0x4b16ac
lea ecx, [ecx]
cmp byte [esp + 0x120], 0xff
jne 0x4b0fb2
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x124]
push edx
call fcn.0058f4e0
add esp, 8
test eax, eax
je 0x4b0fb2
mov eax, dword [esp + 0x58]
cdq
and edx, 7
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x5dc]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sar ebx, 3
sub ecx, edx
mov dword [esp + 0x3c], ebx
jns 0x4b0e45
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jg 0x4b16ac
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x4b0e58
add ecx, dword [eax + 0xc]
lea edx, [ebx + 4]
cmp edx, ecx
jle 0x4b0e6a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jg 0x4b16ac
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x4b0e75
add ecx, dword [eax + 0xc]
cmp edx, ecx
jg 0x4b0f9d
test ebx, ebx
jl 0x4b0f1e
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, esi
sub ecx, edx
jns 0x4b0e94
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jge 0x4b0f1e
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
add edx, ebx
cmp edx, ecx
mov dword [eax + 8], edx
jl 0x4b0eb1
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 0x4b0ec3
add esi, ecx
cmp esi, 4
jge 0x4b0ece
mov edi, esi
mov dword [esp + 0x38], edi
lea esi, [edx + edi]
cmp esi, ecx
mov esi, dword [eax]
jge 0x4b0ee1
mov ecx, edi
add esi, edx
lea edi, [esp + 0x48]
jmp 0x4b0f09
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.0058f4e0
add esp, 8
test eax, eax
je 0x4b0fb2
cmp ebx, 0x41a
jg 0x4b168e
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x5dc]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
sub ecx, edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x38], ebx
jns 0x4b0f62
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jle 0x4b0f6c
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 0x4b1045
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 0x4b107b
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x4b0fa8
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jl 0x4b16ac
jmp 0x4b0f37
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x5dc]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
sub ecx, edx
mov ebx, 1
mov dword [esp + 0x38], ebx
jns 0x4b0fd2
add ecx, dword [eax + 0xc]
cmp ecx, 1
jge 0x4b0fdd
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 0x4b100a
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 0x4b166a
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 0x4b166a
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 + 0x5d8]
xor edi, edi
cmp eax, edi
jne 0x4b13d6
mov eax, dword [esi + 0x210]
cmp eax, edi
mov dword [esi + 0x44], edi
mov dword [esp + 0x54], 1
jne 0x4b10c9
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x4b10c4
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x4b10c4
call fcn.0048e320
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x4b10c9
mov eax, 9
cmp eax, 8
jne 0x4b1101
push eax
lea ecx, [esp + 0x14]
call fcn.0049de00
test eax, eax
je 0x4b118e
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 [0x5fb2d4]
mov dword [ecx + 4], edx
jmp 0x4b1187
mov eax, dword [esi + 0x210]
cmp eax, edi
jne 0x4b1130
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x4b112b
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x4b112b
call fcn.0048e320
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x4b1130
mov eax, 9
cmp eax, 7
lea ecx, [esp + 0x10]
push 8
jne 0x4b1162
call fcn.0049de00
test eax, eax
je 0x4b118e
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 [0x5fb2c8]
mov dword [ecx + 4], edx
jmp 0x4b1187
call fcn.0049de00
test eax, eax
je 0x4b118e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [0x5fb2b8]
mov dword [edx], ecx
mov ecx, dword [0x5fb2bc]
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.004a0dd0
push 2
lea ecx, [esp + 0x14]
call fcn.0049de00
test eax, eax
je 0x4b11dc
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.0049de00
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x4b1201
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 + 0x5e0], 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.0049de00
test eax, eax
je 0x4b125f
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.0049de00
test eax, eax
je 0x4b128e
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.0049dfe0
mov eax, edi
dec eax
mov esi, 3
je 0x4b12cc
dec eax
jne 0x4b12e0
mov eax, ebx
sub eax, 0
je 0x4b12c5
dec eax
je 0x4b12db
dec eax
jmp 0x4b12d2
mov esi, 1
jmp 0x4b12e0
sub ebx, 0
je 0x4b12db
dec ebx
jne 0x4b12e0
mov esi, 3
jmp 0x4b12e0
mov esi, 2
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.0049dfe0
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.0049dfe0
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.0049dfe0
push 4
push 2
lea ecx, [esp + 0x18]
call fcn.0049dfe0
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.0049dfe0
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.0049dfe0
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.0049dfe0
cmp dword [esp + 0x10], 8
jge 0x4b136f
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.0049de00
test eax, eax
je 0x4b136f
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.0049de00
test eax, eax
je 0x4b1396
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.0049de00
test eax, eax
je 0x4b13bb
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.0049df30
fld dword [esp + 0x70]
mov edx, dword [esp + 0xc]
fstp qword [edx + 0x5d0]
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.0049de00
test eax, eax
je 0x4b140f
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.0049df30
cmp dword [esi + 0x5d8], edi
jne 0x4b1540
mov esi, dword [esp + 0x3c]
push esi
call fcn.005ddbe0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b153c
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.0049de00
test eax, eax
je 0x4b148c
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.0049ded0
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
push 2
lea ecx, [esp + 0x14]
call fcn.0049de00
test eax, eax
je 0x4b14c6
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.0049de00
test eax, eax
je 0x4b14f5
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.0049de00
test eax, eax
je 0x4b152a
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.0049df30
push ebx
call fcn.005ddc00
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.0049de00
test eax, eax
je 0x4b157d
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.0049de00
test eax, eax
je 0x4b15ac
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.0049de00
test eax, eax
je 0x4b15d3
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.0049de00
test eax, eax
je 0x4b15fa
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.0049de00
test eax, eax
je 0x4b163b
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.0049df30
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 + 0x5d8], 1
mov dword [esi + 0x44], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x5dc]
push 4
lea edx, [esp + 0x124]
push edx
call fcn.0049e650
cmp eax, 4
jge 0x4b0df0
jmp 0x4b16ac
mov edx, dword [esp + 0xc]
push 1
push 0x41a
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [edx + 0x5dc]
call fcn.0049c960
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4b0ce0
mov edi, dword [esp + 0xc]
fld dword [esp + 0x40]
fadd qword [edi + 0x5c8]
mov ecx, dword [esp + 0x44]
test ecx, ecx
fstp qword [edi + 0x5c8]
je 0x4b16e1
fld dword [esp + 0x40]
fidiv dword [esp + 0x44]
fstp qword [edi + 0x208]
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, eax
jne 0x4b170e
lea ecx, [esp + 0x4c]
call fcn.0058f330
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b1768
push eax
call fcn.005ddc00
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 0x4b1745
imul ecx, ecx, 0x3e8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], 0x11
fild dword [esp + 0x34]
fdiv dword [esp + 0x40]
call fcn.004fb6b0
xor ecx, ecx
mov ch, al
push ecx
lea ecx, [esp + 0x14]
call fcn.0049dea0
mov eax, esi
mov esi, dword [esp + 0x18]
push eax
push esi
mov ecx, edi
call fcn.004ade10
lea ecx, [esp + 0x4c]
call fcn.0058f330
test esi, esi
je 0x4b1768
push esi
call fcn.005ddc00
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8