Function at 0x4b2e70
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 0x4b2c20
mov eax, 4
xor edi, edi
nop
add eax, eax
add edi, 1
lea edx, [eax + 0xf]
cmp ecx, edx
jg 0x4b2bd0
mov dword [esp], edi
call fcn.004b5760
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 0x4b2c0f
lea esi, [esi]
nop
movzx ecx, byte [edx]
add eax, 1
add edx, 1
mov byte [eax], cl
test cl, cl
jne 0x4b2c00
test ebx, ebx
je 0x4b2c15
mov dword [ebx], eax
add esp, 0x10
mov eax, edi
pop ebx
pop esi
pop edi
ret
xor edi, edi
jmp 0x4b2bdc
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov edi, dword [esp + 0xd0]
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xd4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0xd8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xdc]
mov ecx, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], edi
mov edi, dword [eax]
mov dword [esp + 0x34], esi
mov eax, edi
and eax, 0xffffffcf
mov dword [ecx], eax
mov eax, edi
and eax, 7
cmp eax, 3
je 0x4b3190
mov edx, edi
and edx, 4
mov dword [esp + 0x2c], edx
jne 0x4b2f18
test eax, eax
je 0x4b3158
sub eax, 1
xor ebx, ebx
cmp eax, 1
jbe 0x4b2f60
add esp, 0xac
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
cmp eax, 4
jne 0x4b2f08
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], 0x5eb629
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
jmp 0x4b2bb0
mov esi, dword [esi]
xor edx, edx
mov eax, 0x20
cmp esi, 0x20
jle 0x4b2f77
add eax, eax
add edx, 1
cmp esi, eax
jg 0x4b2f6e
mov dword [esp], edx
lea ebx, [esi - 1]
sar ebx, 5
shl ebx, 2
call fcn.004b5760
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
lea edx, [ecx + 0x14]
lea ebp, [eax + ebx]
lea esi, [esi]
nop
mov ecx, dword [eax]
add eax, 4
add edx, 4
mov dword [edx - 4], ecx
cmp ebp, eax
jae 0x4b2fa0
mov eax, dword [esp + 0x24]
add ebp, 1
add ebx, 4
mov ecx, dword [esp + 0x38]
add eax, 1
cmp ebp, eax
mov eax, 4
cmovb ebx, eax
sar ebx, 2
jmp 0x4b2fd8
test ebx, ebx
je 0x4b31d0
mov eax, ebx
sub ebx, 1
mov edx, dword [ecx + ebx*4 + 0x14]
test edx, edx
je 0x4b2fd0
bsr edx, dword [ecx + ebx*4 + 0x14]
mov dword [ecx + 0x10], eax
shl eax, 5
xor edx, 0x1f
sub eax, edx
mov ebx, eax
mov dword [esp], ecx
mov dword [esp + 0x38], ecx
call fcn.004b5170
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x58], edx
jne 0x4b31e0
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4b3150
lea eax, [esp + 0x9c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 0x48], ecx
call fcn.004b6190
mov ecx, dword [esp + 0x58]
fstp qword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
add ecx, ebx
and edx, 0xfffff
mov dword [esp + 0x54], ecx
sub ecx, 1
mov dword [esp + 0x38], eax
or edx, 0x3ff00000
mov eax, ecx
neg eax
mov dword [esp + 0x3c], edx
fld qword [esp + 0x38]
fsub dword [0x5eb630]
mov ebp, eax
mov dword [esp + 0x44], ecx
fmul qword [str.aCoc]
cmovs ebp, ecx
mov dword [esp + 0x50], ecx
fadd qword [0x5eb640]
mov ecx, dword [esp + 0x48]
fild dword [esp + 0x44]
fmul qword [0x5eb648]
sub ebp, 0x435
test ebp, ebp
faddp st(1)
jle 0x4b30be
mov dword [esp + 0x44], ebp
fild dword [esp + 0x44]
fmul qword [0x5eb650]
faddp st(1)
fnstcw word [esp + 0x8e]
movzx ebp, word [esp + 0x8e]
or bp, 0xc00
mov word [esp + 0x8c], bp
fldcw word [esp + 0x8c]
fist dword [esp + 0x44]
fldcw word [esp + 0x8e]
fldz
fcompi st(1)
ja 0x4b35a0
fstp st(0)
mov eax, dword [esp + 0x50]
shl eax, 0x14
lea eax, [eax + edx]
mov edx, ebx
sub edx, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
lea eax, [edx - 1]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x16
ja 0x4b3210
fld qword [eax*8 + 0x5eb6c0]
fst qword [esp + 0x48]
fld qword [esp + 0x38]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x4b34c0
sub eax, 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x44], eax
jmp 0x4b3218
mov dword [esp], ecx
call fcn.004b5850
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], 0x5eb62d
call 0x4b2bb0
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 0x4b2bb0
mov dword [ecx + 0x10], 0
jmp 0x4b2ff7
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004b5060
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
add eax, dword [esp + 0x9c]
sub ebx, dword [esp + 0x9c]
mov dword [esp + 0x58], eax
jmp 0x4b301e
mov dword [esp + 0x6c], 1
mov eax, dword [esp + 0x50]
mov dword [esp + 0x5c], 0
test eax, eax
js 0x4b3580
mov eax, dword [esp + 0x44]
test eax, eax
jns 0x4b34dc
mov eax, dword [esp + 0x44]
sub dword [esp + 0x5c], eax
mov dword [esp + 0x44], 0
mov edx, eax
mov dword [esp + 0x64], eax
neg edx
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x18]
cmp eax, 9
ja 0x4b34f8
cmp eax, 5
jg 0x4b35c0
mov eax, dword [esp + 0x54]
add eax, 0x3fd
cmp eax, 0x7f7
setbe al
movzx eax, al
mov dword [esp + 0x74], eax
cmp dword [esp + 0x18], 3
je 0x4b3e70
jle 0x4b3988
cmp dword [esp + 0x18], 4
mov dword [esp + 0x60], 1
je 0x4b399b
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x64]
lea ebp, [eax + 1]
mov dword [esp + 0x78], eax
test ebp, ebp
jle 0x4b3e98
mov dword [esp + 0x9c], ebp
mov eax, ebp
mov dword [esp], eax
mov dword [esp + 0x70], ecx
call fcn.004b2b70
cmp ebp, 0xe
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], eax
setbe al
and al, byte [esp + 0x74]
sub dword [esp + 0x48], 1
mov byte [esp + 0x74], al
je 0x4b3322
mov edx, dword [esp + 0x48]
mov eax, 2
test edx, edx
cmovns eax, edx
and edi, 8
mov dword [esp + 0x48], eax
mov edx, eax
je 0x4b3918
mov eax, 3
sub eax, edx
mov dword [esp + 0x48], eax
cmp byte [esp + 0x74], 0
je 0x4b3918
mov eax, dword [esp + 0x48]
or eax, dword [esp + 0x64]
jne 0x4b3918
mov eax, dword [esp + 0x6c]
fld qword [esp + 0x38]
mov dword [esp + 0x9c], 0
test eax, eax
je 0x4b335c
fld1
fcompi st(1)
ja 0x4b42d9
fld st(0)
fadd st(1)
fadd dword [0x5eb66c]
fstp qword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov eax, edx
sub eax, 0x3400000
mov dword [esp + 0x4c], eax
test ebp, ebp
je 0x4b38db
mov dword [esp + 0x7c], 0
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x70]
fld qword [esp + 0x48]
fld qword [eax*8 + 0x5eb6b8]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4b405b
fxch st(2)
fnstcw word [esp + 0x8e]
mov edi, dword [esp + 0x54]
movzx eax, word [esp + 0x8e]
lea edx, [edi + 1]
or ah, 0xc
mov word [esp + 0x8c], ax
fldcw word [esp + 0x8c]
fist dword [esp + 0x48]
fldcw word [esp + 0x8e]
fxch st(2)
fdivr dword [0x5eb674]
movzx eax, byte [esp + 0x48]
add eax, 0x30
mov byte [edi], al
mov edi, dword [esp + 0x70]
fsubrp st(1)
fild dword [esp + 0x48]
fsubp st(2)
fcomi st(1)
jbe 0x4b3465
fstp st(0)
jmp 0x4b44b9
mov eax, dword [esp + 0x9c]
add eax, 1
mov dword [esp + 0x9c], eax
cmp eax, edi
jge 0x4b38ff
fld dword [0x5eb664]
add edx, 1
fmul st(1), st(0)
fmulp st(2)
fxch st(1)
fldcw word [esp + 0x8c]
fist dword [esp + 0x48]
fldcw word [esp + 0x8e]
fild dword [esp + 0x48]
movzx eax, byte [esp + 0x48]
add eax, 0x30
fsubp st(1)
fxch st(1)
mov byte [edx - 1], al
fcomi st(1)
ja 0x4b44b7
fld st(1)
fsubr dword [0x5eb660]
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x4b3410
fstp st(0)
fstp st(0)
movzx eax, byte [edx - 1]
mov ebx, dword [esp + 0x54]
mov esi, edx
jmp 0x4b3496
cmp edx, ebx
je 0x4b43f4
movzx eax, byte [edx - 1]
mov esi, edx
lea edx, [esi - 1]
cmp al, 0x39
je 0x4b3488
mov dword [esp + 0x54], esi
add eax, 1
mov dword [esp + 0x2c], 0x20
mov byte [edx], al
mov eax, dword [esp + 0x7c]
add eax, 1
mov dword [esp + 0x34], eax
jmp 0x4b387c
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x5c], 0
test eax, eax
js 0x4b3580
mov edx, dword [esp + 0x44]
mov dword [esp + 0x68], 0
add dword [esp + 0x50], edx
mov dword [esp + 0x64], edx
jmp 0x4b3254
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], esi
fild dword [esp + 0x30]
fmul qword [0x5eb658]
mov dword [esp + 0x60], ecx
fldcw word [esp + 0x8c]
fistp dword [esp + 0x30]
fldcw word [esp + 0x8e]
mov eax, dword [esp + 0x30]
add eax, 3
mov dword [esp], eax
mov dword [esp + 0x9c], eax
call fcn.004b2b70
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
sub eax, 1
mov dword [esp + 0x48], eax
je 0x4b35d4
mov dword [esp + 0x30], 0
mov ebp, 0xffffffff
mov byte [esp + 0x74], 0
mov dword [esp + 0x60], 1
mov dword [esp + 0x78], 0xffffffff
jmp 0x4b32fa
mov eax, 1
mov dword [esp + 0x50], 0
sub eax, edx
mov dword [esp + 0x5c], eax
jmp 0x4b322c
fild dword [esp + 0x44]
fucompi st(1)
fstp st(0)
jp 0x4b35b0
je 0x4b30f8
sub dword [esp + 0x44], 1
jmp 0x4b30f8
sub eax, 4
mov dword [esp + 0x74], 0
mov dword [esp + 0x18], eax
jmp 0x4b3282
mov edx, dword [esp + 0x58]
test edx, edx
js 0x4b3f9f
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x64]
cmp dword [eax + 0x14], edi
jge 0x4b3ead
mov dword [esp + 0x30], 0
mov ebp, 0xffffffff
mov dword [esp + 0x78], 0xffffffff
lea esi, [esi]
lea esi, [esi]
mov edi, dword [esp + 0x34]
sub esi, ebx
lea eax, [esi + 1]
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x9c], eax
sub edi, esi
cmp edi, edx
jge 0x4b363f
mov edi, dword [esp + 0x18]
mov esi, edi
sub esi, 3
and esi, 0xfffffffd
jne 0x4b4171
cmp dword [esp + 0x18], 1
jle 0x4b3fd7
mov esi, dword [esp + 0x68]
lea eax, [ebp - 1]
cmp esi, eax
jl 0x4b3fff
sub esi, eax
mov edi, esi
test ebp, ebp
js 0x4b42bf
mov eax, dword [esp + 0x5c]
add dword [esp + 0x50], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x58], eax
add eax, ebp
mov dword [esp + 0x5c], eax
mov dword [esp], 1
mov dword [esp + 0x38], ecx
call fcn.004b59a0
mov dword [esp + 0x60], 1
mov ecx, dword [esp + 0x38]
mov esi, eax
mov edx, dword [esp + 0x58]
test edx, edx
jle 0x4b36c6
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x4b36c6
cmp edx, eax
cmovle eax, edx
sub dword [esp + 0x5c], eax
sub dword [esp + 0x50], eax
sub edx, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4b3724
mov edx, dword [esp + 0x60]
test edx, edx
je 0x4b3e7d
test edi, edi
jle 0x4b3718
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 0x38], ecx
call fcn.004b5bf0
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov esi, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x70], ecx
call fcn.004b5a50
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov dword [esp], ecx
call fcn.004b5850
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
sub eax, edi
jne 0x4b3e81
mov dword [esp], 1
mov dword [esp + 0x68], ecx
call fcn.004b59a0
cmp ebx, 1
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
sete dl
cmp dword [esp + 0x18], 1
mov dword [esp + 0x38], eax
setle bl
and ebx, edx
test edi, edi
jg 0x4b3a10
xor edi, edi
test bl, bl
jne 0x4b437b
mov eax, dword [esp + 0x44]
mov ebx, 0x1f
test eax, eax
jne 0x4b3a2e
sub ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
sub ebx, 4
and ebx, 0x1f
add edx, ebx
mov dword [esp + 0x9c], ebx
mov eax, ebx
test edx, edx
jle 0x4b37a5
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004b5dd0
mov ecx, eax
mov eax, dword [esp + 0x9c]
add eax, dword [esp + 0x50]
test eax, eax
jle 0x4b37c9
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], ecx
mov dword [esp], eax
call fcn.004b5dd0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x18], 2
setg dl
test eax, eax
jne 0x4b3cd0
test ebp, ebp
jg 0x4b3a48
test dl, dl
je 0x4b3a48
test ebp, ebp
jne 0x4b39eb
mov eax, dword [esp + 0x38]
mov dword [esp + 8], 0
mov dword [esp + 4], 5
mov dword [esp], eax
mov dword [esp + 0x18], ecx
call fcn.004b58c0
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0x38], eax
call fcn.004b5f10
mov ecx, dword [esp + 0x18]
test eax, eax
jle 0x4b39eb
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x54]
add eax, 2
mov dword [esp + 0x34], eax
add dword [esp + 0x54], 1
mov byte [ebx], 0x31
mov dword [esp + 0x2c], 0x20
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov dword [esp], eax
call fcn.004b5850
test esi, esi
mov ecx, dword [esp + 0x18]
je 0x4b387c
mov dword [esp], esi
mov dword [esp + 0x18], ecx
call fcn.004b5850
mov ecx, dword [esp + 0x18]
mov dword [esp], ecx
call fcn.004b5850
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x34]
mov byte [eax], 0
mov dword [esi], edi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4b389f
mov dword [esi], eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
or dword [eax], esi
add esp, 0xac
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
fld st(0)
fadd st(1)
fadd dword [0x5eb66c]
fstp qword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov eax, edx
sub eax, 0x3400000
mov dword [esp + 0x4c], eax
fsub dword [0x5eb670]
fld qword [esp + 0x48]
fxch st(1)
fcomi st(1)
ja 0x4b4394
fxch st(1)
fchs
fcompi st(1)
fstp st(0)
ja 0x4b39e1
jmp 0x4b390b
fstp st(0)
fstp st(0)
jmp 0x4b390b
fstp st(0)
jmp 0x4b390b
fstp st(0)
mov dword [esp + 0x48], 0
lea esi, [esi]
nop
mov edi, dword [esp + 0x58]
test edi, edi
js 0x4b39c0
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x64]
cmp dword [edi + 0x14], eax
jl 0x4b39c0
mov edx, dword [esp + 0x30]
fld qword [eax*8 + 0x5eb6c0]
test edx, edx
jns 0x4b3ebd
test ebp, ebp
jg 0x4b3ebd
jne 0x4b39df
fmul dword [0x5eb670]
fld qword [esp + 0x38]
fxch st(1)
fcompi st(1)
fstp st(0)
jae 0x4b39e1
add eax, 2
mov dword [esp + 0x38], 0
mov ebx, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x34], eax
jmp 0x4b3844
cmp dword [esp + 0x18], 2
jne 0x4b3500
mov dword [esp + 0x60], 0
mov edx, dword [esp + 0x30]
mov eax, 1
test edx, edx
cmovg eax, edx
mov dword [esp + 0x9c], eax
mov ebp, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x30], eax
jmp 0x4b32c6
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x4b3610
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x68]
xor esi, esi
mov dword [esp + 0x58], eax
jmp 0x4b369c
fstp st(0)
mov dword [esp + 0x38], 0
xor esi, esi
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x2c], 0x10
neg eax
mov dword [esp + 0x34], eax
jmp 0x4b3854
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004b5bf0
test bl, bl
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], eax
jne 0x4b3c9e
xor edi, edi
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx + 0x10]
bsr ebx, dword [ebx + eax*4 + 0x10]
xor ebx, 0x1f
jmp 0x4b3773
mov eax, dword [esp + 0x64]
add eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4b3d50
add ebx, dword [esp + 0x58]
test ebx, ebx
jle 0x4b3a7d
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 0x28], ecx
call fcn.004b5dd0
mov ecx, dword [esp + 0x28]
mov esi, eax
mov dword [esp + 0x58], esi
test edi, edi
jne 0x4b432d
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x50], ebp
mov ebp, esi
mov esi, ecx
mov dword [esp + 0x30], eax
mov eax, 1
jmp 0x4b3b6d
mov dword [esp], eax
call fcn.004b5850
mov eax, 1
test ebx, ebx
js 0x4b41c1
or ebx, dword [esp + 0x18]
jne 0x4b3ad8
mov ebx, dword [esp + 0x24]
test byte [ebx], 1
je 0x4b41c1
mov ecx, dword [esp + 0x30]
lea ebx, [ecx + 1]
mov edx, ebx
test eax, eax
jle 0x4b3af0
cmp dword [esp + 0x48], 2
jne 0x4b43b3
movzx eax, byte [esp + 0x28]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x9c], eax
je 0x4b43e7
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.004b58c0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
mov esi, eax
mov dword [esp], ebp
cmp ebp, edi
je 0x4b3c90
call fcn.004b58c0
mov dword [esp], edi
mov dword [esp + 8], 0
mov ebp, eax
mov dword [esp + 4], 0xa
call fcn.004b58c0
mov edi, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x30], ebx
add eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.004b2c50
mov dword [esp + 4], ebp
mov dword [esp], esi
lea ecx, [eax + 0x30]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], eax
call fcn.004b5f10
mov dword [esp + 4], edi
mov ebx, eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004b5f60
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4b3ab0
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0x5c], eax
call fcn.004b5f10
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov dword [esp], edx
call fcn.004b5850
mov eax, dword [esp + 0x58]
or eax, dword [esp + 0x18]
jne 0x4b46a4
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
mov edx, ecx
mov dword [esp + 0x58], ecx
and edx, 1
or edx, dword [esp + 0x48]
jne 0x4b3abd
cmp dword [esp + 0x28], 0x39
mov dword [esp + 0x58], edi
mov ecx, esi
mov esi, ebp
mov edi, dword [esp + 0x44]
je 0x4b4479
test ebx, ebx
jle 0x4b467d
lea eax, [edi + 0x31]
mov dword [esp + 0x2c], 0x20
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x30]
movzx eax, byte [esp + 0x28]
mov ebp, esi
mov esi, dword [esp + 0x58]
mov byte [ebx], al
lea edi, [ebx + 1]
lea esi, [esi]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov dword [esp], eax
call fcn.004b5850
test esi, esi
mov ecx, dword [esp + 0x18]
je 0x4b3ff2
test ebp, ebp
je 0x4b44aa
cmp ebp, esi
je 0x4b44aa
mov dword [esp], ebp
call fcn.004b5850
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], edi
jmp 0x4b386c
call fcn.004b58c0
mov ebp, eax
mov edi, eax
jmp 0x4b3b5f
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
add eax, 1
cmp dword [esp + 0x28], eax
jle 0x4b3a2c
add dword [esp + 0x5c], 1
mov edi, 1
add dword [esp + 0x50], 1
jmp 0x4b3762
mov eax, dword [esp + 0x38]
mov dword [esp], ecx
mov byte [esp + 0x34], dl
mov dword [esp + 4], eax
mov dword [esp + 0x28], ecx
call fcn.004b5f10
mov ecx, dword [esp + 0x28]
movzx edx, byte [esp + 0x34]
test eax, eax
jns 0x4b37dd
mov dword [esp], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
lea ebp, [eax - 1]
mov byte [esp + 0x28], dl
call fcn.004b58c0
movzx edx, byte [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x78]
test eax, eax
setle al
and edx, eax
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x4b4540
test dl, dl
jne 0x4b449d
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x34], eax
nop
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x54]
mov eax, 1
mov esi, ecx
mov ebx, dword [esp + 0x38]
jmp 0x4b3d8c
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.004b58c0
mov esi, eax
mov eax, dword [esp + 0x9c]
add eax, 1
mov dword [esp + 4], ebx
add edi, 1
mov dword [esp], esi
mov dword [esp + 0x9c], eax
call fcn.004b2c50
add eax, 0x30
mov byte [edi - 1], al
cmp dword [esp + 0x9c], ebp
jl 0x4b3d68
mov dword [esp + 0x28], eax
mov ecx, esi
mov esi, dword [esp + 0x18]
xor ebp, ebp
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x4b3e0f
mov edx, dword [ecx + 0x10]
movzx eax, byte [edi - 1]
cmp ebx, 2
je 0x4b3e4a
cmp edx, 1
jg 0x4b3ddd
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x4b3e5c
mov ebx, dword [esp + 0x54]
jmp 0x4b3df6
cmp edx, ebx
je 0x4b4014
movzx eax, byte [edx - 1]
mov edi, edx
lea edx, [edi - 1]
cmp al, 0x39
je 0x4b3de8
add eax, 1
mov dword [esp + 0x2c], 0x20
mov byte [edx], al
jmp 0x4b3c48
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.004b5dd0
mov ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 0x18], ecx
call fcn.004b5f10
mov ecx, dword [esp + 0x18]
test eax, eax
movzx eax, byte [edi - 1]
jg 0x4b3ddd
jne 0x4b3e4a
test byte [esp + 0x28], 1
jne 0x4b3ddd
cmp dword [ecx + 0x10], 1
jle 0x4b4584
mov dword [esp + 0x2c], 0x10
mov eax, edi
nop
mov edi, eax
sub eax, 1
cmp byte [eax], 0x30
je 0x4b3e60
jmp 0x4b3c48
mov dword [esp + 0x60], 0
jmp 0x4b32a6
mov eax, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b5bf0
mov ecx, eax
jmp 0x4b3724
mov dword [esp + 0x9c], 1
mov eax, 1
jmp 0x4b32c6
mov eax, dword [esp + 0x64]
mov ebp, 0xffffffff
fld qword [eax*8 + 0x5eb6c0]
fnstcw word [esp + 0x8e]
fld qword [esp + 0x38]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x9c], 1
movzx eax, word [esp + 0x8e]
lea edx, [esi + 1]
fld st(0)
fdiv st(2)
or ah, 0xc
mov word [esp + 0x8c], ax
fldcw word [esp + 0x8c]
fistp dword [esp + 0x18]
fldcw word [esp + 0x8e]
fild dword [esp + 0x18]
movzx eax, byte [esp + 0x18]
add eax, 0x30
fmul st(2)
mov byte [esi], al
mov eax, dword [esp + 0x64]
add eax, 1
mov dword [esp + 0x34], eax
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x4b3f48
lea esi, [esi]
jne 0x4b3f48
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x54], edx
jmp 0x4b387c
mov eax, dword [esp + 0x9c]
cmp eax, ebp
je 0x4b402d
fmul dword [0x5eb664]
add eax, 1
add edx, 1
mov dword [esp + 0x9c], eax
fld st(0)
fdiv st(2)
fldcw word [esp + 0x8c]
fistp dword [esp + 0x18]
fldcw word [esp + 0x8e]
fild dword [esp + 0x18]
movzx eax, byte [esp + 0x18]
add eax, 0x30
fmul st(2)
mov byte [edx - 1], al
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jnp 0x4b3f30
jmp 0x4b3f48
sub esi, ebx
mov edi, esi
lea eax, [esi + 1]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x9c], eax
mov edx, dword [esi + 4]
mov esi, dword [esp + 0x58]
sub esi, edi
cmp edx, esi
jg 0x4b459c
mov dword [esp + 0x30], 0
mov ebp, 0xffffffff
mov dword [esp + 0x78], 0xffffffff
mov esi, dword [esp + 0x5c]
add dword [esp + 0x50], eax
mov edi, dword [esp + 0x68]
add eax, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], eax
jmp 0x4b367e
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x54], edi
jmp 0x4b387c
mov edx, eax
xor edi, edi
sub edx, dword [esp + 0x68]
mov dword [esp + 0x68], eax
add dword [esp + 0x44], edx
jmp 0x4b365d
mov eax, dword [esp + 0x54]
add dword [esp + 0x34], 1
mov dword [esp + 0x2c], 0x20
mov byte [eax], 0x31
jmp 0x4b3c48
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b44fc
fstp st(0)
fstp st(0)
cmp eax, 1
je 0x4b45ca
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x54], edx
jmp 0x4b387c
fnstcw word [esp + 0x8e]
mov dword [esp + 0x80], ebp
mov edi, dword [esp + 0x54]
fmulp st(1)
mov dword [esp + 0x84], ecx
mov ebp, dword [esp + 0x70]
xor ecx, ecx
movzx eax, word [esp + 0x8e]
mov dword [esp + 0x88], esi
mov edx, 1
movzx esi, byte [esp + 0x74]
or ah, 0xc
mov word [esp + 0x8c], ax
fld st(1)
jmp 0x4b40b3
fmul dword [0x5eb664]
add edx, 1
mov ecx, esi
fldcw word [esp + 0x8c]
fist dword [esp + 0x48]
fldcw word [esp + 0x8e]
mov dword [esp + 0x9c], edx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b40dc
fild dword [esp + 0x48]
mov ecx, esi
fsubp st(1)
add edi, 1
add eax, 0x30
mov byte [edi - 1], al
mov edx, dword [esp + 0x9c]
cmp edx, ebp
jne 0x4b40a8
mov edx, ecx
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
test dl, dl
mov esi, dword [esp + 0x88]
fcmove st(0), st(2)
fstp st(2)
fld dword [0x5eb674]
fld st(1)
fadd st(1)
fxch st(3)
fcomi st(3)
fstp st(3)
ja 0x4b44eb
fsubrp st(1)
fcompi st(1)
jbe 0x4b3905
fldz
xor edx, edx
mov ebx, 1
mov esi, edi
fucompi st(1)
fstp st(0)
setp dl
cmovne edx, ebx
mov ebx, dword [esp + 0x54]
shl edx, 4
mov dword [esp + 0x2c], edx
jmp 0x4b4156
movzx eax, byte [edx - 1]
mov esi, edx
lea edx, [esi - 1]
cmp al, 0x30
je 0x4b4150
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], esi
add eax, 1
mov dword [esp + 0x34], eax
jmp 0x4b387c
mov eax, dword [esp + 0x58]
sub eax, edx
add eax, 1
cmp edi, 1
setg dl
test ebp, ebp
mov dword [esp + 0x38], eax
mov esi, edx
mov dword [esp + 0x9c], eax
setg dl
mov eax, esi
test al, dl
je 0x4b41a2
cmp dword [esp + 0x38], ebp
jg 0x4b364a
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x68]
add dword [esp + 0x50], esi
mov dword [esp + 0x58], eax
add eax, esi
mov dword [esp + 0x5c], eax
jmp 0x4b367e
mov edx, dword [esp + 0x48]
mov dword [esp + 0x58], edi
mov ecx, esi
mov esi, ebp
mov edi, dword [esp + 0x44]
test edx, edx
je 0x4b4409
cmp dword [ecx + 0x10], 1
jle 0x4b45e1
cmp dword [esp + 0x48], 2
je 0x4b445f
mov ebx, esi
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x30]
mov esi, ecx
jmp 0x4b4266
movzx eax, byte [esp + 0x28]
mov dword [esp + 0x24], ecx
mov byte [ecx - 1], al
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.004b58c0
mov dword [esp], esi
cmp ebx, edi
mov dword [esp + 8], 0
cmove ebx, eax
mov dword [esp + 4], 0xa
mov dword [esp + 0x18], eax
call fcn.004b58c0
mov esi, eax
mov eax, dword [esp + 0x38]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.004b2c50
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
add eax, 0x30
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004b5f10
lea ecx, [ebp + 1]
test eax, eax
jg 0x4b4200
mov eax, ecx
mov ecx, esi
mov esi, ebx
mov dword [esp + 0x58], edi
mov ebx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ebp
cmp eax, 0x39
je 0x4b4480
add eax, 1
mov dword [esp + 0x2c], 0x20
mov ebp, esi
mov esi, edi
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0x28]
mov edi, ebx
mov ebx, dword [esp + 0x30]
mov byte [ebx], al
jmp 0x4b3c48
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x5c]
sub eax, ebp
mov dword [esp + 0x58], eax
jmp 0x4b367e
test ebp, ebp
je 0x4b38b6
mov edi, dword [esp + 0x78]
test edi, edi
jle 0x4b3909
fmul dword [0x5eb664]
mov dword [esp + 0x70], edi
mov dword [esp + 0x7c], 0xffffffff
fld st(0)
fmul dword [0x5eb668]
fadd dword [0x5eb66c]
fstp qword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov eax, edx
sub eax, 0x3400000
mov dword [esp + 0x4c], eax
jmp 0x4b3395
mov eax, dword [esi + 4]
mov dword [esp + 0x28], ecx
mov dword [esp], eax
call fcn.004b5760
mov ebx, eax
lea edi, [eax + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp], edi
lea edx, [eax*4 + 8]
lea eax, [esi + 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.004b5dd0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
jmp 0x4b3a89
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
add eax, 1
cmp eax, dword [esp + 0x28]
jge 0x4b3762
jmp 0x4b3cb2
fstp st(0)
fstp st(0)
mov dword [esp + 0x34], 2
mov ebx, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x38], 0
jmp 0x4b3844
cmp dword [esp + 0x28], 0x39
mov dword [esp + 0x58], edi
mov ecx, esi
mov edi, ebx
mov esi, ebp
je 0x4b4480
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x2c], 0x20
movzx eax, byte [esp + 0x28]
add eax, 1
mov byte [ebx], al
jmp 0x4b3c48
mov eax, edi
mov ecx, esi
mov edi, edx
mov esi, eax
jmp 0x4b3dbd
mov byte [ebx], 0x30
movzx eax, byte [esi - 1]
add dword [esp + 0x7c], 1
mov dword [esp + 0x54], esi
jmp 0x4b34a1
test eax, eax
jle 0x4b4455
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.004b5dd0
mov ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 0x18], ecx
call fcn.004b5f10
mov ecx, dword [esp + 0x18]
test eax, eax
jle 0x4b463e
cmp dword [esp + 0x28], 0x39
je 0x4b4479
lea eax, [edi + 0x31]
mov dword [esp + 0x48], 0x20
mov dword [esp + 0x28], eax
cmp dword [ecx + 0x10], 1
jle 0x4b4606
mov eax, dword [esp + 0x30]
mov ebp, esi
mov dword [esp + 0x2c], 0x10
mov esi, dword [esp + 0x58]
lea ebx, [eax + 1]
jmp 0x4b42ad
mov eax, dword [esp + 0x30]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x30]
mov edi, ebx
mov ebp, esi
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov byte [eax], 0x39
mov eax, 0x39
jmp 0x4b3df6
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x78]
jmp 0x4b37ed
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x54], edi
jmp 0x4b386c
fstp st(0)
fldz
xor eax, eax
mov ebx, 1
fucompi st(1)
fstp st(0)
setp al
cmovne eax, ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x54], edx
shl eax, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
add eax, 1
mov dword [esp + 0x34], eax
jmp 0x4b387c
fstp st(0)
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x54]
mov esi, edi
jmp 0x4b3496
fadd st(0)
movzx eax, byte [edx - 1]
fcomi st(1)
ja 0x4b4627
fucompi st(1)
fstp st(0)
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x64]
mov esi, edx
jp 0x4b4658
jne 0x4b4658
test byte [esp + 0x18], 1
mov dword [esp + 0x7c], edi
jne 0x4b3496
mov dword [esp + 0x2c], 0x10
jmp 0x4b4156
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
mov byte [esp + 0x34], dl
mov dword [esp + 0x28], ecx
call fcn.004b58c0
movzx edx, byte [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov esi, eax
test dl, dl
jne 0x4b449d
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x34], eax
jmp 0x4b3a5f
mov ebx, dword [ecx + 0x14]
mov eax, 0x10
test ebx, ebx
cmove eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
jmp 0x4b3e5c
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
mov ebp, 0xffffffff
mov dword [esp + 0x78], 0xffffffff
sub eax, edx
add eax, 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x9c], eax
jmp 0x4b41a2
mov edi, dword [esp + 0x64]
movzx eax, byte [edx - 1]
mov esi, edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x7c], edi
jmp 0x4b3496
mov ebp, dword [ecx + 0x14]
test ebp, ebp
jne 0x4b41e3
test eax, eax
jg 0x4b440d
mov eax, dword [esp + 0x30]
mov ebp, esi
mov esi, dword [esp + 0x58]
lea ebx, [eax + 1]
jmp 0x4b42ad
mov ebx, dword [ecx + 0x14]
mov ebp, esi
mov esi, dword [esp + 0x58]
test ebx, ebx
je 0x4b4669
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0x10
lea ebx, [eax + 1]
jmp 0x4b42ad
fstp st(0)
fstp st(0)
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x54]
mov esi, edx
mov dword [esp + 0x7c], edi
jmp 0x4b3496
jne 0x4b464b
test byte [esp + 0x28], 1
jne 0x4b443f
mov dword [esp + 0x48], 0x20
jmp 0x4b4455
mov dword [esp + 0x7c], edi
mov dword [esp + 0x2c], 0x10
jmp 0x4b4156
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
lea ebx, [eax + 1]
jmp 0x4b42ad
cmp dword [ecx + 0x10], 1
mov dword [esp + 0x2c], 0x10
jg 0x4b3c2d
xor eax, eax
cmp dword [ecx + 0x14], 0
setne al
shl eax, 4
mov dword [esp + 0x2c], eax
jmp 0x4b3c2d
mov eax, dword [esp + 0x58]
jmp 0x4b3abd