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

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
cmp ecx, 0x13
jle 0x4b0e80
mov eax, 4
xor edi, edi
nop
add eax, eax
add edi, 1
lea edx, [eax + 0xf]
cmp ecx, edx
jg 0x4b0e30
mov dword [esp], edi
call fcn.004b2aa0
lea edx, [esi + 1]
mov dword [eax], edi
movzx ecx, byte [esi]
lea edi, [eax + 4]
mov byte [eax + 4], cl
mov eax, edi
test cl, cl
je 0x4b0e6f
lea esi, [esi]
nop
movzx ecx, byte [edx]
add eax, 1
add edx, 1
mov byte [eax], cl
test cl, cl
jne 0x4b0e60
test ebx, ebx
je 0x4b0e75
mov dword [ebx], eax
add esp, 0x10
mov eax, edi
pop ebx
pop esi
pop edi
ret
xor edi, edi
jmp 0x4b0e3c
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xc0]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xd4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0xd8]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], esi
mov esi, dword [eax]
mov dword [esp + 0x38], edi
mov eax, esi
mov dword [esp + 0x20], edx
and eax, 0xffffffcf
mov dword [ecx], eax
mov eax, esi
and eax, 7
cmp eax, 3
je 0x4b13c0
mov ecx, esi
and ecx, 4
mov dword [esp + 0x2c], ecx
jne 0x4b1178
test eax, eax
je 0x4b1388
sub eax, 1
xor ebx, ebx
cmp eax, 1
jbe 0x4b11c0
add esp, 0xac
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
cmp eax, 4
jne 0x4b1168
mov eax, dword [esp + 0x1c]
mov dword [eax], 0xffff8000
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc8], 3
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], 0x57ba19
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
jmp 0x4b0e10
mov edi, dword [edi]
xor edx, edx
mov eax, 0x20
cmp edi, 0x20
jle 0x4b11d7
add eax, eax
add edx, 1
cmp edi, eax
jg 0x4b11ce
mov dword [esp], edx
lea ebx, [edi - 1]
sar ebx, 5
shl ebx, 2
call fcn.004b2aa0
mov dword [esp + 0x40], ebx
mov ebp, eax
mov eax, dword [esp + 0x24]
lea edx, [ebp + 0x14]
lea ecx, [eax + ebx]
lea esi, [esi]
nop
mov ebx, dword [eax]
add eax, 4
add edx, 4
mov dword [edx - 4], ebx
cmp ecx, eax
jae 0x4b1200
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x40]
add ecx, 1
add eax, 1
add ebx, 4
cmp ecx, eax
mov eax, 4
cmovb ebx, eax
sar ebx, 2
jmp 0x4b1238
test ebx, ebx
je 0x4b1400
mov eax, ebx
sub ebx, 1
mov edx, dword [ebp + ebx*4 + 0x14]
test edx, edx
je 0x4b1230
bsr edx, dword [ebp + ebx*4 + 0x14]
mov dword [ebp + 0x10], eax
shl eax, 5
xor edx, 0x1f
sub eax, edx
mov ebx, eax
mov dword [esp], ebp
call fcn.004b2940
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x64], ecx
test eax, eax
jne 0x4b1410
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b1380
lea eax, [esp + 0x9c]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004b34e0
mov ecx, dword [esp + 0x64]
fstp qword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
add ecx, ebx
mov dword [esp + 0x40], eax
mov eax, edx
and eax, 0xfffff
mov dword [esp + 0x58], ecx
sub ecx, 1
or eax, 0x3ff00000
mov dword [esp + 0x48], ecx
mov edx, ecx
mov dword [esp + 0x44], eax
fld qword [esp + 0x40]
sar edx, 0x1f
fsub dword [0x57ba20]
fmul qword [str.aCoc]
fadd qword [0x57ba30]
fild dword [esp + 0x48]
fmul qword [0x57ba38]
mov dword [esp + 0x48], edx
xor edx, ecx
sub edx, dword [esp + 0x48]
sub edx, 0x435
faddp st(1)
test edx, edx
jle 0x4b1310
mov dword [esp + 0x48], edx
fild dword [esp + 0x48]
fmul qword [0x57ba40]
faddp st(1)
fst qword [esp + 0x48]
cvttsd2si edx, qword [esp + 0x48]
fldz
fcompi st(1)
mov dword [esp + 0x50], edx
ja 0x4b1a30
fstp st(0)
mov edx, ecx
shl edx, 0x14
add eax, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov eax, ebx
sub eax, ecx
lea ecx, [eax - 1]
mov dword [esp + 0x54], ecx
cmp edx, 0x16
ja 0x4b1440
fld qword [edx*8 + 0x57baa0]
fst qword [esp + 0x48]
fld qword [esp + 0x40]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x4b16d0
sub edx, 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x50], edx
jmp 0x4b1448
mov dword [esp], ebp
call fcn.004b2b90
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x57ba1d
call 0x4b0e10
add esp, 0xac
mov ebx, eax
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov dword [eax], 0xffff8000
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc8], 8
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], str.Infinity
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
jmp 0x4b0e10
mov dword [ebp + 0x10], 0
jmp 0x4b1257
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.004b2830
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x9c]
mov dword [esp + 0x64], eax
sub ebx, dword [esp + 0x9c]
jmp 0x4b1276
mov dword [esp + 0x78], 1
mov edx, dword [esp + 0x54]
mov dword [esp + 0x68], 0
test edx, edx
js 0x4b1a10
mov eax, dword [esp + 0x50]
test eax, eax
jns 0x4b16ec
mov eax, dword [esp + 0x50]
sub dword [esp + 0x68], eax
mov dword [esp + 0x50], 0
mov edx, eax
mov dword [esp + 0x70], eax
neg edx
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x10]
cmp eax, 9
ja 0x4b1708
cmp eax, 5
jg 0x4b1a60
mov eax, dword [esp + 0x58]
add eax, 0x3fd
cmp eax, 0x7f7
setbe al
movzx eax, al
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
cmp eax, 4
je 0x4b2070
cmp eax, 5
je 0x4b1e80
cmp eax, 2
jne 0x4b1b70
mov dword [esp + 0x6c], 0
mov edx, dword [esp + 0x30]
mov eax, 1
test edx, edx
cmovg eax, edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], eax
mov dword [esp], eax
call fcn.004b0dd0
cmp dword [esp + 0x48], 0xe
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
setbe al
and al, byte [esp + 0x7c]
sub dword [esp + 0x58], 1
mov byte [esp + 0x7c], al
je 0x4b1553
mov ecx, dword [esp + 0x58]
mov eax, 2
test ecx, ecx
cmovns eax, ecx
and esi, 8
mov dword [esp + 0x58], eax
mov edx, eax
je 0x4b1b00
mov eax, 3
sub eax, edx
mov dword [esp + 0x58], eax
cmp byte [esp + 0x7c], 0
je 0x4b1b00
mov eax, dword [esp + 0x58]
or eax, dword [esp + 0x70]
jne 0x4b1b00
mov eax, dword [esp + 0x78]
fld qword [esp + 0x40]
mov dword [esp + 0x9c], 0
test eax, eax
je 0x4b158d
fld1
fcompi st(1)
ja 0x4b2403
fld st(0)
fadd st(1)
fadd dword [0x57ba5c]
fstp qword [esp + 0x58]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov eax, edx
sub eax, 0x3400000
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b1ac6
mov dword [esp + 0x84], 0
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x6c]
fld qword [esp + 0x58]
fld qword [esi*8 + 0x57ba98]
test eax, eax
je 0x4b21ff
fxch st(2)
fst qword [esp + 0x58]
fxch st(2)
fdivr dword [0x57ba64]
cvttsd2si edx, qword [esp + 0x58]
mov ecx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [esp + 0x58], edx
add edx, 0x30
mov byte [ecx], dl
fsubrp st(1)
fild dword [esp + 0x58]
fsubp st(2)
fcomi st(1)
jbe 0x4b166c
fstp st(0)
jmp 0x4b265f
mov ecx, dword [esp + 0x9c]
lea edx, [ecx + 1]
mov dword [esp + 0x9c], edx
cmp edx, esi
jge 0x4b1aea
fld dword [0x57ba54]
add eax, 1
fmul st(1), st(0)
fmulp st(2)
fxch st(1)
fst qword [esp + 0x58]
cvttsd2si edx, qword [esp + 0x58]
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
add edx, 0x30
mov byte [eax - 1], dl
fsubp st(1)
fxch st(1)
fcomi st(1)
ja 0x4b265d
fld st(1)
fsubr dword [0x57ba50]
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x4b1620
fstp st(0)
fstp st(0)
movzx edx, byte [eax - 1]
mov ebx, dword [esp + 0x60]
mov ecx, eax
jmp 0x4b169e
cmp eax, ebx
je 0x4b2582
movzx edx, byte [eax - 1]
mov ecx, eax
lea eax, [ecx - 1]
cmp dl, 0x39
je 0x4b1690
mov dword [esp + 0x60], ecx
add edx, 1
mov byte [eax], dl
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2c], 0x20
add eax, 1
mov dword [esp + 0x30], eax
jmp 0x4b19d6
mov edx, dword [esp + 0x54]
mov dword [esp + 0x78], 0
mov dword [esp + 0x68], 0
test edx, edx
js 0x4b1a10
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x74], 0
add dword [esp + 0x54], ecx
mov dword [esp + 0x70], ecx
jmp 0x4b1484
mov dword [esp + 0x10], 0
mov dword [esp + 0x30], edi
fild dword [esp + 0x30]
fmul qword [0x57ba48]
fstp qword [esp + 0x30]
cvttsd2si eax, qword [esp + 0x30]
add eax, 3
mov dword [esp], eax
mov dword [esp + 0x9c], eax
call fcn.004b0dd0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
sub eax, 1
mov dword [esp + 0x58], eax
jne 0x4b1a74
mov esi, dword [esp + 0x64]
test esi, esi
js 0x4b252c
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x70]
cmp esi, dword [eax + 0x14]
jle 0x4b2092
mov dword [esp + 0x30], 0
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
nop
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
sub edi, ebx
lea ecx, [edi + 1]
mov eax, dword [eax + 4]
sub edx, edi
mov dword [esp + 0x9c], ecx
cmp edx, eax
jge 0x4b1e90
mov esi, dword [esp + 0x10]
lea edx, [esi - 3]
and edx, 0xfffffffd
je 0x4b1e90
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x48]
sub ecx, eax
add ecx, 1
cmp esi, 1
setg dl
test edi, edi
mov dword [esp + 0x9c], ecx
setg al
test dl, al
je 0x4b17ec
cmp ecx, edi
jg 0x4b1e9b
mov eax, dword [esp + 0x68]
add dword [esp + 0x54], ecx
mov edx, dword [esp + 0x74]
mov esi, eax
add eax, ecx
mov dword [esp + 0x68], eax
mov dword [esp], 1
mov dword [esp + 0x40], edx
call fcn.004b2ce0
mov dword [esp + 0x6c], 1
mov edx, dword [esp + 0x40]
mov edi, eax
test esi, esi
jle 0x4b1844
mov ecx, dword [esp + 0x54]
test ecx, ecx
jle 0x4b1844
cmp esi, ecx
mov eax, ecx
cmovle eax, esi
sub dword [esp + 0x68], eax
sub ecx, eax
mov dword [esp + 0x9c], eax
sub esi, eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4b189a
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4b2057
test edx, edx
jle 0x4b188e
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 0x64], edx
call fcn.004b2f40
mov dword [esp + 4], ebp
mov dword [esp], eax
mov edi, eax
call fcn.004b2d90
mov dword [esp], ebp
mov dword [esp + 0x40], eax
call fcn.004b2b90
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x74]
sub eax, edx
jne 0x4b205b
mov dword [esp], 1
call fcn.004b2ce0
cmp ebx, 1
mov edx, dword [esp + 0x50]
sete bl
cmp dword [esp + 0x10], 1
mov dword [esp + 0x40], eax
mov ecx, eax
setle al
and ebx, eax
test edx, edx
jg 0x4b1bf8
mov dword [esp + 0x64], 0
test bl, bl
jne 0x4b24a3
mov eax, dword [esp + 0x50]
mov ebx, 0x1f
test eax, eax
jne 0x4b1c18
sub ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
sub ebx, 4
and ebx, 0x1f
add edx, ebx
mov dword [esp + 0x9c], ebx
mov eax, ebx
test edx, edx
jle 0x4b191b
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.004b3120
mov ebp, eax
mov eax, dword [esp + 0x9c]
add eax, dword [esp + 0x54]
test eax, eax
jle 0x4b1937
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004b3120
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x10], 2
setg dl
test eax, eax
jne 0x4b1ee0
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x4b1c30
test dl, dl
je 0x4b1c30
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4b1bd7
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 0
mov dword [esp + 4], 5
mov dword [esp], eax
call fcn.004b2c00
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 0x40], eax
call fcn.004b3260
test eax, eax
jle 0x4b1bd7
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x60]
add eax, 2
mov dword [esp + 0x30], eax
add dword [esp + 0x60], 1
mov byte [ebx], 0x31
mov dword [esp + 0x2c], 0x20
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004b2b90
test edi, edi
je 0x4b19d6
mov dword [esp], edi
call fcn.004b2b90
mov dword [esp], ebp
call fcn.004b2b90
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x1c]
mov byte [eax], 0
mov dword [edi], esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4b19f9
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
or dword [eax], edi
add esp, 0xac
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 1
mov dword [esp + 0x54], 0
sub edx, eax
mov dword [esp + 0x68], edx
jmp 0x4b145c
fild dword [esp + 0x50]
fucomi st(1)
jp 0x4b1a44
fcompi st(1)
fstp st(0)
je 0x4b132a
jmp 0x4b1a50
fstp st(0)
fstp st(0)
lea esi, [esi]
nop
sub dword [esp + 0x50], 1
jmp 0x4b132a
sub eax, 4
mov dword [esp + 0x7c], 0
mov dword [esp + 0x10], eax
jmp 0x4b14b2
mov dword [esp + 0x30], 0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x6c], 1
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
jmp 0x4b152b
fld st(0)
fadd st(1)
fadd dword [0x57ba5c]
fstp qword [esp + 0x58]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov eax, edx
sub eax, 0x3400000
mov dword [esp + 0x5c], eax
fsub dword [0x57ba60]
fld qword [esp + 0x58]
fxch st(1)
fcomi st(1)
ja 0x4b24ce
fxch st(1)
fchs
fcompi st(1)
fstp st(0)
ja 0x4b1bcd
jmp 0x4b1af6
fstp st(0)
fstp st(0)
jmp 0x4b1af6
fstp st(0)
jmp 0x4b1af6
fstp st(0)
mov dword [esp + 0x58], 0
nop
mov ecx, dword [esp + 0x64]
test ecx, ecx
js 0x4b1bb0
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x70]
cmp dword [esi + 0x14], eax
jl 0x4b1bb0
mov edx, dword [esp + 0x30]
fld qword [eax*8 + 0x57baa0]
test edx, edx
jns 0x4b20a5
mov edi, dword [esp + 0x48]
test edi, edi
jg 0x4b20a5
jne 0x4b1bcb
fmul dword [0x57ba60]
fld qword [esp + 0x40]
fxch st(1)
fcompi st(1)
fstp st(0)
jae 0x4b1bcd
add eax, 2
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x30], eax
jmp 0x4b19ae
cmp eax, 3
jne 0x4b1710
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x70]
mov dword [esp + 0x80], eax
add eax, 1
mov dword [esp + 0x48], eax
test eax, eax
jle 0x4b207d
mov dword [esp + 0x9c], eax
jmp 0x4b14fd
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x4b1790
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x68]
xor edi, edi
jmp 0x4b181e
fstp st(0)
mov dword [esp + 0x40], 0
xor edi, edi
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x2c], 0x10
neg eax
mov dword [esp + 0x30], eax
jmp 0x4b19be
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.004b2f40
mov dword [esp + 0x40], eax
test bl, bl
jne 0x4b2569
mov dword [esp + 0x64], 0
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx + 0x10]
bsr ebx, dword [ebx + eax*4 + 0x10]
xor ebx, 0x1f
jmp 0x4b18e9
mov eax, dword [esp + 0x70]
add eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4b1f60
add ebx, esi
test ebx, ebx
jle 0x4b1c5b
mov dword [esp], edi
mov dword [esp + 4], ebx
call fcn.004b3120
mov edi, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], edi
test eax, eax
jne 0x4b245d
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x9c], 1
mov dword [esp + 0x38], eax
jmp 0x4b1d4b
mov dword [esp], edx
call fcn.004b2b90
mov eax, 1
test ebx, ebx
js 0x4b22f0
or ebx, dword [esp + 0x10]
jne 0x4b1cb8
mov ebx, dword [esp + 0x24]
test byte [ebx], 1
je 0x4b22f0
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 1]
mov edx, ebx
test eax, eax
jle 0x4b1cd0
cmp dword [esp + 0x58], 2
jne 0x4b24ed
movzx eax, byte [esp + 0x28]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x9c], eax
je 0x4b251f
mov dword [esp], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.004b2c00
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
mov ebp, eax
mov dword [esp], edi
cmp edi, esi
je 0x4b1e68
call fcn.004b2c00
mov dword [esp], esi
mov dword [esp + 8], 0
mov edi, eax
mov dword [esp + 4], 0xa
call fcn.004b2c00
mov esi, eax
add dword [esp + 0x9c], 1
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004b0eb0
mov dword [esp + 4], edi
mov dword [esp], ebp
mov ecx, eax
add ecx, 0x30
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], ecx
call fcn.004b3260
mov dword [esp + 4], esi
mov ebx, eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004b32b0
mov edx, eax
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4b1c90
mov dword [esp + 4], edx
mov dword [esp], ebp
mov dword [esp + 0x64], edx
call fcn.004b3260
mov edx, dword [esp + 0x64]
mov dword [esp + 0x54], eax
mov dword [esp], edx
call fcn.004b2b90
mov eax, dword [esp + 0x54]
or eax, dword [esp + 0x10]
jne 0x4b281b
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
mov edx, ecx
mov dword [esp + 0x54], ecx
and edx, 1
or edx, dword [esp + 0x58]
jne 0x4b1c9d
cmp dword [esp + 0x28], 0x39
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x50]
je 0x4b2603
test ebx, ebx
jle 0x4b27fa
lea eax, [esi + 0x31]
mov dword [esp + 0x28], eax
mov eax, 0x20
mov ebx, dword [esp + 0x38]
movzx ecx, byte [esp + 0x28]
mov dword [esp + 0x2c], eax
mov byte [ebx], cl
mov ecx, edi
mov edi, dword [esp + 0x54]
lea esi, [ebx + 1]
lea esi, [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov dword [esp], eax
call fcn.004b2b90
test edi, edi
je 0x4b2151
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4b263f
cmp ecx, edi
je 0x4b263f
mov dword [esp], ecx
call fcn.004b2b90
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x60], esi
jmp 0x4b19ce
call fcn.004b2c00
mov edi, eax
mov esi, eax
jmp 0x4b1d3f
mov dword [esp + 0x6c], 1
jmp 0x4b1b81
cmp dword [esp + 0x10], 1
jle 0x4b17ec
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x74]
sub eax, 1
cmp edi, eax
jl 0x4b215e
sub edi, eax
mov edx, edi
mov eax, dword [esp + 0x48]
test eax, eax
js 0x4b23eb
mov edi, dword [esp + 0x68]
add dword [esp + 0x54], eax
mov dword [esp + 0x9c], eax
add eax, edi
mov esi, edi
mov dword [esp + 0x68], eax
jmp 0x4b1800
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov byte [esp + 0x28], dl
mov dword [esp + 4], eax
call fcn.004b3260
movzx edx, byte [esp + 0x28]
test eax, eax
jns 0x4b194b
mov dword [esp], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
sub eax, 1
mov dword [esp + 0x38], eax
call fcn.004b2c00
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x6c]
mov ebp, eax
test edx, edx
movzx edx, byte [esp + 0x28]
setle al
and edx, eax
test ecx, ecx
jne 0x4b26d3
test dl, dl
jne 0x4b2627
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x48], eax
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x10], edi
mov dword [esp + 0x9c], 1
mov edi, dword [esp + 0x40]
jmp 0x4b1fa2
mov dword [esp], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.004b2c00
add dword [esp + 0x9c], 1
mov ebp, eax
mov dword [esp + 4], edi
add esi, 1
mov dword [esp], ebp
call fcn.004b0eb0
add eax, 0x30
mov byte [esi - 1], al
cmp dword [esp + 0x9c], ebx
jl 0x4b1f80
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4b218c
cmp eax, 2
je 0x4b202d
cmp dword [ebp + 0x10], 1
movzx edx, byte [esi - 1]
jg 0x4b1fec
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4b203f
mov ebx, dword [esp + 0x60]
jmp 0x4b2006
cmp eax, ebx
je 0x4b2173
movzx edx, byte [eax - 1]
mov esi, eax
lea eax, [esi - 1]
cmp dl, 0x39
je 0x4b1ff8
add edx, 1
mov dword [esp + 0x2c], 0x20
mov byte [eax], dl
jmp 0x4b1e20
jne 0x4b202d
test byte [esp + 0x28], 1
jne 0x4b21be
cmp dword [ebp + 0x10], 1
jle 0x4b2716
mov dword [esp + 0x2c], 0x10
mov eax, esi
lea esi, [esi]
mov esi, eax
sub eax, 1
cmp byte [eax], 0x30
je 0x4b2048
jmp 0x4b1e20
mov eax, dword [esp + 0x74]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004b2f40
mov ebp, eax
jmp 0x4b189a
mov dword [esp + 0x6c], 1
jmp 0x4b14d9
mov dword [esp + 0x9c], 1
mov eax, 1
jmp 0x4b14fd
mov eax, dword [esp + 0x70]
mov dword [esp + 0x48], 0xffffffff
fld qword [eax*8 + 0x57baa0]
fld qword [esp + 0x40]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x9c], 1
mov edi, dword [esp + 0x60]
add esi, 1
fld st(0)
mov dword [esp + 0x30], esi
lea eax, [edi + 1]
fdiv st(2)
fstp qword [esp + 0x10]
cvttsd2si ecx, qword [esp + 0x10]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
lea edx, [ecx + 0x30]
mov byte [edi], dl
fmul st(2)
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jnp 0x4b213e
nop
mov edx, dword [esp + 0x9c]
cmp edx, dword [esp + 0x48]
je 0x4b21cb
fmul dword [0x57ba54]
add edx, 1
add eax, 1
mov dword [esp + 0x9c], edx
fld st(0)
fdiv st(2)
fstp qword [esp + 0x10]
cvttsd2si ecx, qword [esp + 0x10]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
lea edx, [ecx + 0x30]
mov byte [eax - 1], dl
fmul st(2)
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x4b20f0
jne 0x4b20f0
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x60], eax
jmp 0x4b19d6
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x60], esi
jmp 0x4b19d6
mov edx, eax
sub edx, dword [esp + 0x74]
mov dword [esp + 0x74], eax
add dword [esp + 0x50], edx
xor edx, edx
jmp 0x4b1eb2
mov eax, dword [esp + 0x60]
add dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0x20
mov byte [eax], 0x31
jmp 0x4b1e20
mov dword [esp], ebp
mov dword [esp + 4], 1
mov dword [esp + 0x10], ecx
call fcn.004b3120
mov ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004b3260
mov ecx, dword [esp + 0x10]
test eax, eax
jle 0x4b2020
movzx edx, byte [esi - 1]
mov ebx, dword [esp + 0x60]
jmp 0x4b2006
mov edi, dword [esp + 0x58]
test edi, edi
je 0x4b2696
fstp st(0)
fstp st(0)
cmp edi, 1
je 0x4b272e
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x60], eax
jmp 0x4b21f2
fstp st(0)
fstp st(0)
mov dword [esp + 0x2c], 0x10
jmp 0x4b19d6
fmulp st(1)
xor ecx, ecx
mov dword [esp + 0x88], ebp
mov eax, dword [esp + 0x60]
mov dword [esp + 0x8c], edi
movzx ebp, byte [esp + 0x7c]
mov edi, ecx
mov dword [esp + 0x9c], 1
fld st(1)
jmp 0x4b2242
add ecx, 1
fmul dword [0x57ba54]
mov edi, ebp
mov dword [esp + 0x9c], ecx
fst qword [esp + 0x58]
cvttsd2si edx, qword [esp + 0x58]
test edx, edx
je 0x4b225c
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
mov edi, ebp
fsubp st(1)
add eax, 1
add edx, 0x30
mov byte [eax - 1], dl
mov ecx, dword [esp + 0x9c]
cmp ecx, esi
jne 0x4b2230
mov ecx, edi
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
test cl, cl
fcmove st(0), st(2)
fstp st(2)
fld dword [0x57ba64]
fld st(1)
fadd st(1)
fxch st(3)
fcomi st(3)
fstp st(3)
ja 0x4b264c
fsubrp st(1)
fcompi st(1)
jbe 0x4b1af0
fldz
mov ebx, dword [esp + 0x60]
fucomi st(1)
jp 0x4b22bc
fcompi st(1)
fstp st(0)
je 0x4b27cf
jmp 0x4b22c0
fstp st(0)
fstp st(0)
mov esi, dword [esp + 0x84]
mov dword [esp + 0x2c], 0x10
add esi, 1
lea esi, [esi]
mov edx, eax
lea eax, [eax - 1]
cmp byte [edx - 1], 0x30
je 0x4b22d8
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], esi
jmp 0x4b19d6
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x50]
test ecx, ecx
je 0x4b259b
cmp dword [ebp + 0x10], 1
jle 0x4b2748
cmp dword [esp + 0x58], 2
je 0x4b25e9
mov ebx, edi
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x38]
jmp 0x4b2392
movzx eax, byte [esp + 0x28]
mov dword [esp + 0x24], ecx
mov byte [ecx - 1], al
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.004b2c00
mov dword [esp], ebp
cmp ebx, esi
mov dword [esp + 8], 0
cmove ebx, eax
mov dword [esp + 4], 0xa
mov dword [esp + 0x10], eax
call fcn.004b2c00
mov ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004b0eb0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
add eax, 0x30
mov dword [esp + 0x28], eax
mov edi, ecx
mov esi, edx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004b3260
lea ecx, [edi + 1]
test eax, eax
jg 0x4b2328
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], edi
mov edi, ebx
mov ebx, ecx
mov dword [esp + 0x54], esi
cmp eax, 0x39
je 0x4b260a
add eax, 1
mov dword [esp + 0x2c], 0x20
mov ecx, edi
mov edi, esi
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0x28]
mov esi, ebx
mov ebx, dword [esp + 0x38]
mov byte [ebx], al
jmp 0x4b1e20
mov dword [esp + 0x9c], 0
mov esi, dword [esp + 0x68]
sub esi, dword [esp + 0x48]
jmp 0x4b1800
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b1aa1
mov esi, dword [esp + 0x80]
test esi, esi
jle 0x4b1af4
fmul dword [0x57ba54]
mov dword [esp + 0x84], 0xffffffff
fld st(0)
fmul dword [0x57ba58]
fadd dword [0x57ba5c]
fstp qword [esp + 0x58]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov eax, edx
sub eax, 0x3400000
mov dword [esp + 0x5c], eax
jmp 0x4b15cd
mov eax, dword [edi + 4]
mov dword [esp], eax
call fcn.004b2aa0
lea ecx, [eax + 0xc]
mov ebx, eax
mov eax, dword [edi + 0x10]
mov dword [esp], ecx
lea edx, [eax*4 + 8]
lea eax, [edi + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.004b3120
mov dword [esp + 0x54], eax
jmp 0x4b1c6b
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
add eax, 1
cmp eax, dword [esp + 0x28]
jge 0x4b18d8
add dword [esp + 0x68], 1
add dword [esp + 0x54], 1
mov dword [esp + 0x64], 1
jmp 0x4b18d8
fstp st(0)
fstp st(0)
mov dword [esp + 0x30], 2
mov ebx, dword [esp + 0x60]
xor edi, edi
mov dword [esp + 0x40], 0
jmp 0x4b19ae
cmp dword [esp + 0x28], 0x39
mov dword [esp + 0x54], esi
mov esi, ebx
je 0x4b260a
movzx eax, byte [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov ecx, edi
mov dword [esp + 0x2c], 0x20
mov edi, dword [esp + 0x54]
add eax, 1
mov byte [ebx], al
jmp 0x4b1e20
mov eax, esi
mov ecx, edi
mov esi, edx
mov edi, eax
jmp 0x4b1fca
mov eax, dword [esp + 0x38]
sub edi, ebx
mov dword [esp + 0x30], 0
lea ecx, [edi + 1]
sub esi, edi
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x80], 0xffffffff
cmp esi, eax
jl 0x4b17b1
jmp 0x4b17ec
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
add eax, 1
cmp dword [esp + 0x28], eax
jg 0x4b24b7
jmp 0x4b1c10
add dword [esp + 0x84], 1
mov edx, 0x31
mov dword [esp + 0x60], ecx
mov byte [ebx], 0x30
jmp 0x4b16ad
test eax, eax
jle 0x4b25df
mov dword [esp], ebp
mov dword [esp + 4], 1
call fcn.004b3120
mov ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004b3260
test eax, eax
jle 0x4b27a8
cmp dword [esp + 0x28], 0x39
je 0x4b2603
lea eax, [esi + 0x31]
mov dword [esp + 0x58], 0x20
mov dword [esp + 0x28], eax
cmp dword [ebp + 0x10], 1
jle 0x4b276d
mov eax, dword [esp + 0x38]
mov ecx, edi
mov dword [esp + 0x2c], 0x10
mov edi, dword [esp + 0x54]
lea ebx, [eax + 1]
jmp 0x4b23d9
mov eax, dword [esp + 0x38]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x38]
mov esi, ebx
mov ecx, edi
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
mov edx, 0x39
mov byte [eax], 0x39
jmp 0x4b2006
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x48], eax
jmp 0x4b195f
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x60], esi
jmp 0x4b19ce
fstp st(0)
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x60]
mov ecx, eax
jmp 0x4b169e
fstp st(0)
mov esi, dword [esp + 0x84]
fldz
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x60], eax
add esi, 1
fucomi st(1)
mov dword [esp + 0x30], esi
jp 0x4b21ee
fcompi st(1)
fstp st(0)
jne 0x4b21f2
mov dword [esp + 0x2c], 0
jmp 0x4b19d6
fadd st(0)
movzx edx, byte [eax - 1]
fcomi st(1)
ja 0x4b278e
fucompi st(1)
fstp st(0)
mov ebx, dword [esp + 0x60]
jp 0x4b27c2
jne 0x4b27c2
and cl, 1
je 0x4b27c2
mov esi, dword [esp + 0x70]
mov ecx, eax
mov dword [esp + 0x84], esi
jmp 0x4b169e
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
mov byte [esp + 0x28], dl
call fcn.004b2c00
movzx edx, byte [esp + 0x28]
mov edi, eax
test dl, dl
jne 0x4b2627
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x48], eax
jmp 0x4b1c47
mov ebx, dword [ebp + 0x14]
mov eax, 0x10
test ebx, ebx
cmove eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
jmp 0x4b203f
mov esi, dword [esp + 0x70]
movzx edx, byte [eax - 1]
mov ecx, eax
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x84], esi
jmp 0x4b169e
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x4b230e
test eax, eax
jg 0x4b259f
mov eax, dword [esp + 0x38]
mov ecx, edi
mov edi, dword [esp + 0x54]
lea ebx, [eax + 1]
jmp 0x4b23d9
mov eax, dword [ebp + 0x14]
mov ecx, edi
mov edi, dword [esp + 0x54]
test eax, eax
je 0x4b27e6
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], 0x10
lea ebx, [eax + 1]
jmp 0x4b23d9
fstp st(0)
fstp st(0)
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x60]
mov ecx, eax
mov dword [esp + 0x84], edi
jmp 0x4b169e
jne 0x4b27b5
test byte [esp + 0x28], 1
jne 0x4b25c9
mov dword [esp + 0x58], 0x20
jmp 0x4b25df
mov dword [esp + 0x2c], 0x10
jmp 0x4b22d8
mov esi, dword [esp + 0x84]
mov dword [esp + 0x2c], 0
add esi, 1
jmp 0x4b22d8
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
lea ebx, [eax + 1]
jmp 0x4b23d9
cmp dword [ebp + 0x10], 1
jle 0x4b280a
mov eax, 0x10
jmp 0x4b1e01
cmp dword [ebp + 0x14], 0
mov edx, 0x10
cmovne eax, edx
jmp 0x4b1e01
mov eax, dword [esp + 0x54]
jmp 0x4b1c9d