Function at 0x4b08c0
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 0x4b1438
mov ebx, dword [ebp + 0xc]
cmp ebx, esi
je 0x4b1438
cmp dword [edi + 0x5dc], esi
jne 0x4b0919
push 0x10
call fcn.005dd330
add esp, 4
cmp eax, esi
je 0x4b0911
push 0x2710
mov ecx, eax
call fcn.0049c6f0
jmp 0x4b0913
xor eax, eax
mov dword [edi + 0x5dc], eax
mov ecx, dword [edi + 0x5c4]
cmp ecx, esi
je 0x4b0957
push esi
call fcn.004a10b0
test eax, eax
je 0x4b0957
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x5c4]
push 2
push ebx
push eax
push esi
call fcn.004a10b0
push eax
call fcn.00418190
mov eax, dword [edi + 0x5dc]
add esp, 0x10
cmp eax, esi
je 0x4b1438
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.0058ea80
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 0x4b09c2
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.0049c7c0
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 0x4b09fe
add eax, dword [esi + 0xc]
cmp eax, 0x80
jl 0x4b0a9f
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
jns 0x4b0a14
add eax, dword [esi + 0xc]
lea ecx, [eax - 0x80]
test ecx, ecx
jl 0x4b0a57
mov edi, dword [esi + 8]
mov eax, dword [esi + 4]
sub eax, edi
jns 0x4b0a28
add eax, dword [esi + 0xc]
cmp ecx, eax
jge 0x4b0a57
lea eax, [edi + ecx]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
mov dword [esi + 8], eax
jl 0x4b0a3e
sub eax, ecx
mov dword [esi + 8], eax
push 0
push 0x80
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.0049c720
mov dword [esi + 8], edi
mov ecx, dword [ebx + 0x5c4]
test ecx, ecx
je 0x4b0a9f
push 0
call fcn.004a10b0
test eax, eax
je 0x4b0a9f
mov ecx, dword [ebx + 0x5c4]
push 4
push 0x80
lea edx, [esp + 0xa8]
push edx
push 0
call fcn.004a10b0
push eax
call fcn.00418190
mov eax, dword [ebx + 0x5dc]
add esp, 0x10
test eax, eax
je 0x4b13bb
mov ecx, dword [ebx + 0x5dc]
push 4
lea eax, [esp + 0x124]
push eax
call fcn.0049e480
cmp eax, 4
jl 0x4b137c
lea ecx, [ecx]
cmp byte [esp + 0x120], 0xff
jne 0x4b0c82
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x124]
push edx
call fcn.0058ec70
add esp, 8
test eax, eax
je 0x4b0c82
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 0x4b0b15
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jg 0x4b137c
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x4b0b28
add ecx, dword [eax + 0xc]
lea edx, [ebx + 4]
cmp edx, ecx
jle 0x4b0b3a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jg 0x4b137c
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x4b0b45
add ecx, dword [eax + 0xc]
cmp edx, ecx
jg 0x4b0c6d
test ebx, ebx
jl 0x4b0bee
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, esi
sub ecx, edx
jns 0x4b0b64
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jge 0x4b0bee
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
add edx, ebx
cmp edx, ecx
mov dword [eax + 8], edx
jl 0x4b0b81
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 0x4b0b93
add esi, ecx
cmp esi, 4
jge 0x4b0b9e
mov edi, esi
mov dword [esp + 0x38], edi
lea esi, [edx + edi]
cmp esi, ecx
mov esi, dword [eax]
jge 0x4b0bb1
mov ecx, edi
add esi, edx
lea edi, [esp + 0x48]
jmp 0x4b0bd9
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.0058ec70
add esp, 8
test eax, eax
je 0x4b0c82
cmp ebx, 0x41a
jg 0x4b135e
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 0x4b0c32
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jle 0x4b0c3c
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 0x4b0d15
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 0x4b0d4b
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x4b0c78
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jl 0x4b137c
jmp 0x4b0c07
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 0x4b0ca2
add ecx, dword [eax + 0xc]
cmp ecx, 1
jge 0x4b0cad
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 0x4b0cda
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 0x4b133a
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 0x4b133a
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 0x4b10a6
mov eax, dword [esi + 0x210]
cmp eax, edi
mov dword [esi + 0x44], edi
mov dword [esp + 0x54], 1
jne 0x4b0d99
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x4b0d94
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x4b0d94
call fcn.0048e040
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x4b0d99
mov eax, 9
cmp eax, 8
jne 0x4b0dd1
push eax
lea ecx, [esp + 0x14]
call fcn.0049dbc0
test eax, eax
je 0x4b0e5e
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 0x4b0e57
mov eax, dword [esi + 0x210]
cmp eax, edi
jne 0x4b0e00
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x4b0dfb
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x4b0dfb
call fcn.0048e040
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x4b0e00
mov eax, 9
cmp eax, 7
lea ecx, [esp + 0x10]
push 8
jne 0x4b0e32
call fcn.0049dbc0
test eax, eax
je 0x4b0e5e
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 0x4b0e57
call fcn.0049dbc0
test eax, eax
je 0x4b0e5e
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.004a0bd0
push 2
lea ecx, [esp + 0x14]
call fcn.0049dbc0
test eax, eax
je 0x4b0eac
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.0049dbc0
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x4b0ed1
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 [0x5f6554]
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.0049dbc0
test eax, eax
je 0x4b0f2f
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.0049dbc0
test eax, eax
je 0x4b0f5e
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.0049dda0
mov eax, edi
dec eax
mov esi, 3
je 0x4b0f9c
dec eax
jne 0x4b0fb0
mov eax, ebx
sub eax, 0
je 0x4b0f95
dec eax
je 0x4b0fab
dec eax
jmp 0x4b0fa2
mov esi, 1
jmp 0x4b0fb0
sub ebx, 0
je 0x4b0fab
dec ebx
jne 0x4b0fb0
mov esi, 3
jmp 0x4b0fb0
mov esi, 2
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.0049dda0
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.0049dda0
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.0049dda0
push 4
push 2
lea ecx, [esp + 0x18]
call fcn.0049dda0
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.0049dda0
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.0049dda0
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.0049dda0
cmp dword [esp + 0x10], 8
jge 0x4b103f
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.0049dbc0
test eax, eax
je 0x4b103f
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.0049dbc0
test eax, eax
je 0x4b1066
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.0049dbc0
test eax, eax
je 0x4b108b
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.0049dcf0
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.0049dbc0
test eax, eax
je 0x4b10df
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.0049dcf0
cmp dword [esi + 0x5d8], edi
jne 0x4b1210
mov esi, dword [esp + 0x3c]
push esi
call fcn.005dd330
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b120c
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.0049dbc0
test eax, eax
je 0x4b115c
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.0049dc90
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
push 2
lea ecx, [esp + 0x14]
call fcn.0049dbc0
test eax, eax
je 0x4b1196
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.0049dbc0
test eax, eax
je 0x4b11c5
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.0049dbc0
test eax, eax
je 0x4b11fa
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.0049dcf0
push ebx
call fcn.005dd350
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.0049dbc0
test eax, eax
je 0x4b124d
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.0049dbc0
test eax, eax
je 0x4b127c
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.0049dbc0
test eax, eax
je 0x4b12a3
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.0049dbc0
test eax, eax
je 0x4b12ca
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.0049dbc0
test eax, eax
je 0x4b130b
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.0049dcf0
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.0049e480
cmp eax, 4
jge 0x4b0ac0
jmp 0x4b137c
mov edx, dword [esp + 0xc]
push 1
push 0x41a
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [edx + 0x5dc]
call fcn.0049c720
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4b09b0
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 0x4b13b1
fld dword [esp + 0x40]
fidiv dword [esp + 0x44]
fstp qword [edi + 0x208]
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, eax
jne 0x4b13de
lea ecx, [esp + 0x4c]
call fcn.0058eac0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b1438
push eax
call fcn.005dd350
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 0x4b1415
imul ecx, ecx, 0x3e8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], 0x11
fild dword [esp + 0x34]
fdiv dword [esp + 0x40]
call fcn.004fae80
xor ecx, ecx
mov ch, al
push ecx
lea ecx, [esp + 0x14]
call fcn.0049dc60
mov eax, esi
mov esi, dword [esp + 0x18]
push eax
push esi
mov ecx, edi
call fcn.004adae0
lea ecx, [esp + 0x4c]
call fcn.0058eac0
test esi, esi
je 0x4b1438
push esi
call fcn.005dd350
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8