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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov eax, dword [esp + 0xc4]
mov edi, dword [esp + 0xd0]
mov esi, dword [esp + 0xd4]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xd8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x10], edi
mov edi, dword [eax]
mov ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0xdc]
mov eax, edi
mov dword [esp + 0x2c], edx
and eax, 0xffffffcf
mov dword [esp + 0x14], esi
mov dword [ecx], eax
mov eax, edi
and eax, 7
cmp eax, 3
je 0x4055f0
mov esi, edi
and esi, 4
mov dword [esp + 0x40], esi
jne 0x405560
test eax, eax
je 0x4055b0
mov esi, dword [edx]
mov eax, 0x20
xor edx, edx
cmp esi, 0x20
jle 0x405369
add eax, eax
add edx, 1
cmp esi, eax
jg 0x405360
mov dword [esp], edx
lea ebx, [esi - 1]
sar ebx, 5
call sym.___Balloc_D2A
mov dword [esp + 0x20], ebx
mov ebp, eax
mov eax, dword [esp + 0x1c]
lea edx, [ebp + 0x14]
lea ecx, [eax + ebx*4]
lea esi, cs:[esi]
nop
mov ebx, dword [eax]
add eax, 4
add edx, 4
mov dword [edx - 4], ebx
cmp ecx, eax
jae 0x405390
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
add ecx, 1
add eax, 1
shl ebx, 2
cmp ecx, eax
mov eax, 0
cmovb ebx, eax
add ebx, 4
sar ebx, 2
jmp 0x4053d0
test ebx, ebx
je 0x405650
mov eax, ebx
sub ebx, 1
mov edx, dword [ebp + ebx*4 + 0x14]
test edx, edx
je 0x4053c8
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 dbg.__trailz_D2A
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x58], ecx
test eax, eax
jne 0x405660
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4055a8
lea eax, [esp + 0x9c]
mov dword [esp], ebp
mov dword [esp + 4], eax
call dbg.__b2d_D2A
mov ecx, dword [esp + 0x58]
fstp qword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add ecx, ebx
mov dword [esp + 0x44], ecx
and edx, 0xfffff
mov dword [esp + 0x50], ecx
sub ecx, 1
or edx, 0x3ff00000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov eax, 1
sub eax, ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x20]
fld qword [esp + 0x38]
fsub dword [0x40a440]
fmul qword [str.aCoc]
test ecx, ecx
fadd qword [0x40a450]
cmovns eax, ecx
fild dword [esp + 0x48]
fmul qword [0x40a458]
sub eax, 0x435
faddp st(1)
test eax, eax
jle 0x4054b4
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fmul qword [0x40a460]
faddp st(1)
fnstcw word [esp + 0x8e]
movzx eax, word [esp + 0x8e]
or ah, 0xc
mov word [esp + 0x8c], ax
fldcw word [esp + 0x8c]
fist dword [esp + 0x48]
fldcw word [esp + 0x8e]
fldz
fcompi st(1)
ja 0x405ae0
fstp st(0)
mov ecx, dword [esp + 0x20]
mov eax, ecx
shl eax, 0x14
add eax, edx
mov dword [esp + 0x3c], eax
mov eax, ebx
sub eax, ecx
mov ecx, dword [esp + 0x48]
lea edx, [eax - 1]
mov dword [esp + 0x4c], edx
cmp ecx, 0x16
ja 0x405688
fld qword [ecx*8 + 0x40a4c0]
fst qword [esp + 0x20]
fld qword [esp + 0x38]
fxch st(1)
fcompi st(1)
fstp st(0)
ja 0x405b40
test eax, eax
jle 0x406516
add edx, ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x4c], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
jmp 0x4056d5
cmp eax, 4
jne 0x405630
mov eax, dword [esp + 0x10]
mov dword [eax], 0xffff8000
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc8], 3
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], 0x40a439
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
jmp dbg.__nrv_alloc_D2A
mov dword [esp], ebp
call sym.___Bfree_D2A
mov eax, dword [esp + 0x10]
mov dword [eax], 1
mov eax, dword [esp + 0x14]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x40a43d
call dbg.__nrv_alloc_D2A
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x10]
mov dword [eax], 0xffff8000
mov eax, dword [esp + 0x14]
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 dbg.__nrv_alloc_D2A
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp + 0x10], 0
jmp 0x4053ef
mov dword [esp + 4], eax
mov dword [esp], ebp
call dbg.__rshift_D2A
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x28]
add ecx, eax
sub ebx, eax
mov dword [esp + 0x58], ecx
jmp 0x40540e
mov dword [esp + 0x68], 1
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x5c], 0
test edx, edx
jns 0x4056b3
mov edx, 1
mov dword [esp + 0x4c], 0
sub edx, eax
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x48]
test eax, eax
jns 0x405e50
mov eax, dword [esp + 0x48]
sub dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
neg eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
cmp eax, 9
ja 0x405968
cmp eax, 5
jg 0x405b00
mov eax, dword [esp + 0x50]
add eax, 0x3fd
cmp eax, 0x7f7
setbe al
movzx eax, al
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
cmp eax, 4
je 0x405e23
cmp eax, 5
je 0x40635c
mov dword [esp + 0x6c], 0
cmp eax, 2
je 0x405e2b
cmp eax, 3
jne 0x405970
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x78], eax
add eax, 1
mov dword [esp + 0x44], eax
mov edx, eax
test eax, eax
jg 0x405758
mov edx, 1
mov eax, 1
mov dword [esp], eax
mov dword [esp + 0x9c], edx
call sym.___rv_alloc_D2A
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0xc]
sub edx, 1
mov dword [esp + 0x50], edx
je 0x40579d
mov eax, 2
cmovns eax, edx
and edi, 8
mov dword [esp + 0x50], eax
mov edx, eax
je 0x405a00
mov eax, 3
sub eax, edx
mov dword [esp + 0x50], eax
mov edi, dword [esp + 0x44]
cmp edi, 0xe
setbe al
and al, byte [esp + 0x70]
mov byte [esp + 0x7f], al
je 0x405a00
mov eax, dword [esp + 0x50]
or eax, dword [esp + 0x48]
jne 0x405a00
fld qword [esp + 0x38]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x9c], 0
fst qword [esp + 0x50]
test ecx, ecx
je 0x4057ec
fld1
fcompi st(1)
ja 0x4068f9
fstp st(0)
jmp 0x4057ee
fstp st(0)
fld qword [esp + 0x50]
fadd st(0)
fadd dword [0x40a47c]
fstp qword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x70], eax
mov eax, edx
mov edx, dword [esp + 0x44]
sub eax, 0x3400000
mov dword [esp + 0x74], eax
test edx, edx
je 0x4063cc
fld qword [esp + 0x50]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x88], 0
fstp qword [esp + 0x80]
mov eax, dword [esp + 0x6c]
fld qword [esp + 0x70]
fld qword [edi*8 + 0x40a4b8]
test eax, eax
je 0x4067c6
fnstcw word [esp + 0x8e]
fdivr dword [0x40a484]
mov edx, dword [esp + 0x20]
movzx eax, word [esp + 0x8e]
lea ecx, [edx + 1]
or ah, 0xc
mov word [esp + 0x8c], ax
fsubrp st(1)
fld qword [esp + 0x80]
fldcw word [esp + 0x8c]
fist dword [esp + 0x38]
fldcw word [esp + 0x8e]
fild dword [esp + 0x38]
movzx eax, byte [esp + 0x38]
add eax, 0x30
fsubp st(1)
fxch st(1)
mov byte [edx], al
fcomi st(1)
jbe 0x40590d
fstp st(0)
jmp 0x406b47
mov eax, dword [esp + 0x9c]
add eax, 1
mov dword [esp + 0x9c], eax
cmp eax, edi
jge 0x406bde
fld dword [0x40a474]
add ecx, 1
fmul st(1), st(0)
fmulp st(2)
fxch st(1)
fldcw word [esp + 0x8c]
fist dword [esp + 0x38]
fldcw word [esp + 0x8e]
fild dword [esp + 0x38]
movzx eax, byte [esp + 0x38]
add eax, 0x30
fsubp st(1)
fxch st(1)
mov byte [ecx - 1], al
fcomi st(1)
ja 0x406b45
fld st(1)
fsubr dword [0x40a470]
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x4058b8
fstp st(0)
fstp st(0)
movzx eax, byte [ecx - 1]
mov ebx, dword [esp + 0x20]
jmp 0x40593e
cmp edx, ebx
je 0x406a54
movzx eax, byte [edx - 1]
mov ecx, edx
lea edx, [ecx - 1]
cmp al, 0x39
je 0x405930
add eax, 1
mov byte [edx], al
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], 0x20
add eax, 1
mov dword [esp + 0x30], eax
jmp 0x405a98
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], esi
fild dword [esp + 0x20]
fmul qword [0x40a468]
fldcw word [esp + 0x8c]
fistp dword [esp + 0x20]
fldcw word [esp + 0x8e]
mov eax, dword [esp + 0x20]
add eax, 3
mov dword [esp], eax
mov dword [esp + 0x9c], eax
call sym.___rv_alloc_D2A
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
sub eax, 1
mov dword [esp + 0x50], eax
je 0x405b52
js 0x4060ae
and edi, 8
je 0x4060bf
mov edi, dword [esp + 0x50]
mov eax, 3
mov dword [esp + 0x30], 0
mov dword [esp + 0x6c], 1
sub eax, edi
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], 0xffffffff
mov edi, dword [esp + 0x58]
test edi, edi
js 0x405c60
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
cmp dword [eax + 0x14], edi
jl 0x405c60
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
fld qword [eax*8 + 0x40a4c0]
test ebx, ebx
jns 0x406562
mov eax, dword [esp + 0x44]
test eax, eax
jg 0x406562
jne 0x406371
fmul dword [0x40a480]
fld qword [esp + 0x38]
fxch st(1)
fcompi st(1)
fstp st(0)
jae 0x406373
mov eax, dword [esp + 0x20]
mov byte [eax], 0x31
lea ecx, [eax + 1]
mov dword [esp], 0
mov dword [esp + 0x18], ecx
call sym.___Bfree_D2A
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], 0x20
add eax, 2
mov dword [esp + 0x30], eax
jmp 0x405a98
fstp st(0)
fstp st(0)
lea esi, cs:[esi]
mov dword [esp], ebp
mov dword [esp + 0x18], ecx
call sym.___Bfree_D2A
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
mov byte [ecx], 0
mov dword [eax], esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x405abf
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
or dword [eax], edi
mov eax, dword [esp + 0x20]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
fild dword [esp + 0x48]
fucompi st(1)
fstp st(0)
jp 0x405af0
je 0x4054ec
sub dword [esp + 0x48], 1
jmp 0x4054ec
sub eax, 4
mov dword [esp + 0x70], 0
mov dword [esp + 0x18], eax
cmp eax, 4
je 0x405e23
cmp eax, 5
je 0x40635c
mov dword [esp + 0x6c], 0
cmp eax, 2
je 0x405e2b
mov dword [esp + 0x18], 3
jmp 0x405733
sub dword [esp + 0x48], 1
mov dword [esp + 0x68], 0
jmp 0x405690
mov eax, dword [esp + 0x58]
test eax, eax
js 0x406581
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
cmp dword [eax + 0x14], edi
jl 0x406581
fnstcw word [esp + 0x8e]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], 0xffffffff
fld qword [eax*8 + 0x40a4c0]
movzx eax, word [esp + 0x8e]
or ah, 0xc
mov word [esp + 0x8c], ax
fld qword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x9c], 1
lea ecx, [esi + 1]
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 [esi], al
mov eax, dword [esp + 0x48]
add eax, 1
mov dword [esp + 0x30], eax
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x405bf8
je 0x405a8f
lea esi, [esi]
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0x44]
cmp eax, edi
je 0x40678d
fmul dword [0x40a474]
add eax, 1
add ecx, 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 [ecx - 1], al
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x405bf8
jne 0x405bf8
fstp st(0)
fstp st(0)
jmp 0x405a98
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x4060f8
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x405df8
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x405df8
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x4c]
cmp edi, esi
mov eax, esi
cmovle eax, edi
sub edi, eax
sub esi, eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x4c], esi
test eax, eax
jne 0x405e00
xor esi, esi
mov dword [esp], 1
call sym.___i2b_D2A
cmp dword [esp + 0x18], 1
mov dword [esp + 0x38], eax
setle al
cmp ebx, 1
sete bl
and ebx, eax
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x406320
test bl, bl
jne 0x4068be
mov ebx, 0x1f
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
sub ebx, eax
sub ebx, 4
and ebx, 0x1f
add edx, ebx
mov dword [esp + 0x9c], ebx
mov eax, ebx
test edx, edx
jle 0x405d21
mov dword [esp], ebp
mov dword [esp + 4], edx
call dbg.__lshift_D2A
mov ebp, eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x4c]
add ecx, eax
test ecx, ecx
jle 0x405d3f
mov eax, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dbg.__lshift_D2A
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x18], 2
setg dl
test ecx, ecx
jne 0x4061e0
mov eax, dword [esp + 0x44]
test eax, eax
jg 0x405e60
test dl, dl
je 0x405e60
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4061a8
mov eax, dword [esp + 0x38]
mov dword [esp + 8], 0
mov dword [esp + 4], 5
mov dword [esp], eax
call dbg.__multadd_D2A
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 0x38], eax
call sym.___cmp_D2A
test eax, eax
jle 0x4061a8
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov byte [eax], 0x31
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov dword [esp], eax
call sym.___Bfree_D2A
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], 0x20
add eax, 2
test esi, esi
mov dword [esp + 0x30], eax
je 0x405a98
mov dword [esp], esi
mov dword [esp + 0x18], ecx
call sym.___Bfree_D2A
mov ecx, dword [esp + 0x18]
jmp 0x405a98
mov eax, dword [esp + 0x60]
test eax, eax
je 0x405e1a
mov eax, dword [esp + 0x60]
mov dword [esp], ebp
mov dword [esp + 4], eax
call dbg.__pow5mult_D2A
mov dword [esp + 0x60], 0
mov ebp, eax
mov edi, dword [esp + 0x5c]
jmp 0x405cb2
mov dword [esp + 0x6c], 1
mov edx, dword [esp + 0x30]
mov eax, 1
test edx, edx
cmovg eax, edx
mov dword [esp + 0x78], eax
mov edx, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], eax
jmp 0x405758
add dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
jmp 0x405550
mov eax, dword [esp + 0x48]
add eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x406260
add ebx, edi
test ebx, ebx
jle 0x405e8b
mov dword [esp], esi
mov dword [esp + 4], ebx
call dbg.__lshift_D2A
mov esi, eax
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x4c], esi
test ebx, ebx
jne 0x406967
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x50], 2
mov edi, esi
setne byte [esp + 0x5c]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, 1
jmp 0x405f7d
mov dword [esp], eax
call sym.___Bfree_D2A
mov eax, 1
test ebx, ebx
js 0x406698
or ebx, dword [esp + 0x18]
jne 0x405ee8
mov ebx, dword [esp + 0x1c]
test byte [ebx], 1
je 0x406698
mov ecx, dword [esp + 0x2c]
lea ebx, [ecx + 1]
mov edx, ebx
test eax, eax
jle 0x405f00
cmp byte [esp + 0x5c], 0
jne 0x406a11
movzx eax, byte [esp + 0x28]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x9c], eax
je 0x406a45
mov dword [esp], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call dbg.__multadd_D2A
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
mov ebp, eax
mov dword [esp], edi
cmp edi, esi
je 0x4060a0
call dbg.__multadd_D2A
mov dword [esp], esi
mov dword [esp + 8], 0
mov edi, eax
mov dword [esp + 4], 0xa
call dbg.__multadd_D2A
mov esi, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], ebx
add eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 4], eax
call dbg.__quorem_D2A
mov dword [esp + 4], edi
mov dword [esp], ebp
mov ecx, eax
add ecx, 0x30
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], ecx
call sym.___cmp_D2A
mov dword [esp + 4], esi
mov ebx, eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dbg.__diff_D2A
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x405ec0
mov dword [esp + 4], eax
mov dword [esp], ebp
mov dword [esp + 0x58], eax
call sym.___cmp_D2A
mov edx, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
mov dword [esp], edx
call sym.___Bfree_D2A
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
or eax, edx
jne 0x40639a
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
and edx, 1
or edx, dword [esp + 0x50]
jne 0x405ecd
cmp dword [esp + 0x28], 0x39
mov dword [esp + 0x4c], esi
mov esi, edi
mov edi, dword [esp + 0x48]
je 0x406c1a
test ebx, ebx
jle 0x406d70
lea eax, [edi + 0x31]
mov dword [esp + 0x40], 0x20
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x2c]
movzx eax, byte [esp + 0x28]
mov edx, esi
mov esi, dword [esp + 0x4c]
mov byte [edi], al
lea ecx, [edi + 1]
lea esi, [esi]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp], eax
call sym.___Bfree_D2A
test esi, esi
mov ecx, dword [esp + 0x18]
je 0x405a98
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x405de0
cmp edx, esi
je 0x405de0
mov dword [esp], edx
call sym.___Bfree_D2A
mov ecx, dword [esp + 0x18]
jmp 0x405de0
call dbg.__multadd_D2A
mov edi, eax
mov esi, eax
jmp 0x405f6f
and edi, 8
jne 0x406ad2
mov dword [esp + 0x50], 2
mov edi, dword [esp + 0x58]
test edi, edi
js 0x406581
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
cmp dword [eax + 0x14], edi
jge 0x405b6f
mov dword [esp + 0x30], 0
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
lea esi, [esi]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
sub esi, ebx
lea eax, [esi + 1]
mov edx, dword [edi + 4]
sub ecx, esi
mov dword [esp + 0x9c], eax
cmp ecx, edx
jge 0x40643f
mov eax, dword [esp + 0x18]
sub eax, 3
and eax, 0xfffffffd
jne 0x4065ba
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x60]
lea edx, [esi - 1]
cmp eax, edx
jge 0x40653a
mov esi, dword [esp + 0x60]
mov eax, edx
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x58], edx
mov dword [esp], 1
sub eax, esi
add dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
add dword [esp + 0x4c], eax
lea esi, [edi + eax]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x38], esi
call sym.___i2b_D2A
test edi, edi
mov edx, dword [esp + 0x58]
mov esi, eax
jne 0x4069ad
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov dword [esp], ebp
mov dword [esp + 4], edx
call dbg.__pow5mult_D2A
mov ebp, eax
mov dword [esp + 0x60], 1
jmp 0x405cb4
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sym.___Bfree_D2A
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], 0x10
neg eax
mov dword [esp + 0x30], eax
test esi, esi
jne 0x405de0
jmp 0x405a98
mov eax, dword [esp + 0x38]
mov dword [esp], ebp
mov byte [esp + 0x28], dl
mov dword [esp + 4], eax
call sym.___cmp_D2A
movzx edx, byte [esp + 0x28]
test eax, eax
jns 0x405d53
mov dword [esp], ebp
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
sub eax, 1
mov dword [esp + 0x2c], eax
call dbg.__multadd_D2A
movzx edx, byte [esp + 0x28]
mov ebp, eax
mov eax, dword [esp + 0x78]
test eax, eax
setle al
and edx, eax
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x406c46
test dl, dl
jne 0x406b30
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
lea esi, [esi]
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x20]
mov eax, 1
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
jmp 0x4062a4
mov dword [esp], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call dbg.__multadd_D2A
mov ebp, eax
mov eax, dword [esp + 0x9c]
add eax, 1
mov dword [esp + 4], esi
add edi, 1
mov dword [esp], ebp
mov dword [esp + 0x9c], eax
call dbg.__quorem_D2A
add eax, 0x30
mov byte [edi - 1], al
cmp dword [esp + 0x9c], ebx
jl 0x406280
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x18]
xor edx, edx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x406639
cmp eax, 2
je 0x406678
cmp dword [ebp + 0x10], 1
jg 0x40640f
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x40640f
test eax, eax
setne al
movzx eax, al
shl eax, 4
mov dword [esp + 0x40], eax
lea esi, [esi]
mov ecx, edi
sub edi, 1
cmp byte [edi], 0x30
je 0x406310
jmp 0x406058
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dbg.__pow5mult_D2A
mov dword [esp + 0x38], eax
test bl, bl
jne 0x406aff
mov dword [esp + 0x64], 0
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx + 0x10]
bsr ebx, dword [ebx + eax*4 + 0x10]
xor ebx, 0x1f
jmp 0x405ced
mov dword [esp + 0x18], 5
mov dword [esp + 0x6c], 1
jmp 0x405733
fstp st(0)
mov dword [esp], 0
call sym.___Bfree_D2A
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], 0x10
neg eax
mov dword [esp + 0x30], eax
jmp 0x405a98
mov eax, dword [esp + 0x4c]
jmp 0x405ecd
fstp st(0)
fld qword [esp + 0x50]
fadd st(0)
fadd dword [0x40a47c]
fstp qword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, edx
sub eax, 0x3400000
mov dword [esp + 0x74], eax
fld qword [esp + 0x50]
fsub dword [0x40a480]
fld qword [esp + 0x70]
fxch st(1)
fcomi st(1)
ja 0x4069da
fxch st(1)
fchs
fcompi st(1)
fstp st(0)
ja 0x406373
jmp 0x4063f2
fstp st(0)
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x50], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
jmp 0x405a00
mov ebx, dword [esp + 0x20]
jmp 0x406420
cmp edi, ebx
je 0x406620
mov ecx, edi
lea edi, [edi - 1]
movzx eax, byte [ecx - 1]
cmp al, 0x39
je 0x406418
add eax, 1
mov dword [esp + 0x40], 0x20
mov byte [edi], al
jmp 0x406058
cmp dword [esp + 0x18], 1
jg 0x406129
mov esi, dword [esp + 0x60]
add dword [esp + 0x4c], eax
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x5c]
add eax, esi
mov edi, esi
mov dword [esp + 0x5c], eax
mov dword [esp], 1
call sym.___i2b_D2A
mov esi, eax
test edi, edi
je 0x406508
mov edx, dword [esp + 0x4c]
test edx, edx
jle 0x406508
mov edx, dword [esp + 0x4c]
cmp edi, edx
mov eax, edx
cmovle eax, edi
sub dword [esp + 0x5c], eax
sub edx, eax
mov dword [esp + 0x9c], eax
sub edi, eax
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x60]
test edx, edx
je 0x406196
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4068f0
mov dword [esp], esi
mov dword [esp + 4], eax
call dbg.__pow5mult_D2A
mov dword [esp + 4], ebp
mov dword [esp], eax
mov esi, eax
call dbg.__mult_D2A
mov dword [esp], ebp
mov dword [esp + 0x58], eax
call sym.___Bfree_D2A
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], 1
mov ebp, dword [esp + 0x58]
sub edx, eax
je 0x405cb4
jmp 0x406188
mov eax, dword [esp + 0x60]
test eax, eax
je 0x406196
jmp 0x4064ae
mov edx, 1
mov dword [esp + 0x68], 0
sub edx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
jmp 0x405550
sub eax, edx
mov dword [esp + 0x38], eax
test esi, esi
jns 0x406d05
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x9c], 0
sub edi, eax
jmp 0x406462
fnstcw word [esp + 0x8e]
movzx eax, word [esp + 0x8e]
or ah, 0xc
mov word [esp + 0x8c], ax
jmp 0x405b9c
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
sub esi, ebx
mov dword [esp + 0x30], 0
lea eax, [esi + 1]
mov dword [esp + 0x44], 0xffffffff
mov edx, dword [edi + 4]
sub ecx, esi
mov dword [esp + 0x9c], eax
mov dword [esp + 0x78], 0xffffffff
cmp ecx, edx
jge 0x40644a
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x44]
sub eax, edx
add eax, 1
cmp dword [esp + 0x18], 1
setg cl
test esi, esi
mov dword [esp + 0x9c], eax
setg dl
test cl, dl
je 0x40644a
cmp eax, esi
jle 0x40644a
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x60]
lea edx, [eax - 1]
cmp esi, edx
jl 0x40613c
sub esi, edx
add dword [esp + 0x4c], eax
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x9c], eax
add eax, esi
mov edi, esi
mov dword [esp + 0x5c], eax
jmp 0x406462
mov eax, dword [esp + 0x20]
add dword [esp + 0x30], 1
mov dword [esp + 0x40], 0x20
mov byte [eax], 0x31
jmp 0x406058
mov dword [esp], ebp
mov dword [esp + 4], 1
mov dword [esp + 0x18], edx
call dbg.__lshift_D2A
mov ebp, eax
mov eax, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym.___cmp_D2A
mov edx, dword [esp + 0x18]
test eax, eax
jg 0x40640f
jne 0x406678
test byte [esp + 0x28], 1
jne 0x40640f
cmp dword [ebp + 0x10], 1
mov dword [esp + 0x40], 0x10
jg 0x406310
mov eax, dword [ebp + 0x14]
jmp 0x4062fd
mov edx, dword [esp + 0x50]
mov dword [esp + 0x4c], esi
mov esi, edi
mov edi, dword [esp + 0x48]
test edx, edx
je 0x406a66
cmp dword [ebp + 0x10], 1
jle 0x406cbf
cmp dword [esp + 0x50], 2
je 0x406ab8
mov ebx, esi
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
jmp 0x406736
movzx eax, byte [esp + 0x28]
mov dword [esp + 0x1c], ecx
mov byte [ecx - 1], al
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call dbg.__multadd_D2A
mov dword [esp], ebp
cmp ebx, esi
mov dword [esp + 8], 0
cmove ebx, eax
mov dword [esp + 4], 0xa
mov dword [esp + 0x18], eax
call dbg.__multadd_D2A
mov ebp, eax
mov eax, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 4], eax
call dbg.__quorem_D2A
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
add eax, 0x30
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym.___cmp_D2A
lea ecx, [edi + 1]
test eax, eax
jg 0x4066d0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], esi
mov esi, ebx
mov ebx, ecx
mov dword [esp + 0x2c], edi
cmp eax, 0x39
je 0x406c21
add eax, 1
mov dword [esp + 0x40], 0x20
mov edx, esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x2c]
movzx eax, byte [esp + 0x28]
mov ecx, ebx
mov byte [edi], al
jmp 0x406058
mov eax, dword [esp + 0x50]
test eax, eax
je 0x406b83
fstp st(0)
fstp st(0)
mov dword [esp + 0x40], 0x10
cmp eax, 1
jne 0x405a98
mov esi, dword [esp + 0x48]
movzx eax, byte [ecx - 1]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x88], esi
jmp 0x40593e
fnstcw word [esp + 0x8e]
fmulp st(1)
fld qword [esp + 0x38]
mov dword [esp + 0x6c], ebp
mov ecx, dword [esp + 0x20]
movzx ebp, byte [esp + 0x7f]
xor esi, esi
mov dword [esp + 0x9c], 1
movzx eax, word [esp + 0x8e]
fld st(0)
or ah, 0xc
mov word [esp + 0x8c], ax
jmp 0x40681a
add edx, 1
fmul dword [0x40a474]
mov esi, ebp
mov dword [esp + 0x9c], edx
fldcw word [esp + 0x8c]
fist dword [esp + 0x38]
fldcw word [esp + 0x8e]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40683c
fild dword [esp + 0x38]
mov esi, ebp
fsubp st(1)
add ecx, 1
add eax, 0x30
mov byte [ecx - 1], al
mov edx, dword [esp + 0x9c]
cmp edx, edi
jne 0x406808
mov edx, esi
mov ebp, dword [esp + 0x6c]
test dl, dl
fcmove st(0), st(1)
fstp st(1)
fld dword [0x40a484]
fld st(2)
fadd st(1)
fxch st(2)
fcomi st(2)
fstp st(2)
ja 0x406b74
fsubrp st(2)
fxch st(1)
fcompi st(1)
ja 0x406c86
fstp st(0)
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], edx
test eax, eax
js 0x406c39
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
test eax, eax
js 0x406c39
fld qword [0x40a4c0]
mov dword [esp + 0x50], 0
jmp 0x405b9c
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [eax + 4]
add eax, 1
cmp eax, ebx
jge 0x405ce8
add dword [esp + 0x5c], 1
add dword [esp + 0x4c], 1
mov dword [esp + 0x64], 1
jmp 0x405ce8
mov edx, dword [esp + 0x60]
jmp 0x406188
test edi, edi
je 0x4063a3
mov edi, dword [esp + 0x78]
test edi, edi
jle 0x4063f0
mov dword [esp + 0x88], 0xffffffff
fmul dword [0x40a474]
fst qword [esp + 0x80]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
fmul dword [0x40a478]
fadd dword [0x40a47c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
fstp qword [esp + 0x70]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x70], eax
mov eax, edx
sub eax, 0x3400000
mov dword [esp + 0x74], eax
jmp 0x40583b
mov eax, dword [esi + 4]
mov dword [esp], eax
call sym.___Balloc_D2A
lea ecx, [eax + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x10]
mov dword [esp], ecx
lea edx, [eax*4 + 8]
lea eax, [esi + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._memcpy
mov dword [esp + 4], 1
mov dword [esp], ebx
call dbg.__lshift_D2A
mov dword [esp + 0x4c], eax
jmp 0x405e9b
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
cmp edi, ecx
mov eax, ecx
cmovle eax, edi
sub ecx, eax
mov dword [esp + 0x9c], eax
sub edi, eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov dword [esp + 0x5c], ecx
jmp 0x406188
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x20]
mov byte [eax], 0x31
lea ecx, [eax + 1]
mov dword [esp], 0
mov dword [esp + 0x18], ecx
call sym.___Bfree_D2A
mov dword [esp + 0x30], 2
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], 0x20
jmp 0x405a98
cmp dword [esp + 0x28], 0x39
mov dword [esp + 0x4c], esi
mov esi, edi
je 0x406c21
movzx ecx, byte [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], 0x20
mov edx, edi
mov esi, dword [esp + 0x4c]
add ecx, 1
mov byte [eax], cl
mov ecx, ebx
jmp 0x406058
mov eax, esi
mov esi, edi
mov edi, edx
mov edx, esi
mov esi, eax
jmp 0x4062d3
add dword [esp + 0x88], 1
mov eax, 0x31
jmp 0x405948
test eax, eax
jle 0x406aae
mov dword [esp], ebp
mov dword [esp + 4], 1
call dbg.__lshift_D2A
mov ebp, eax
mov eax, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym.___cmp_D2A
test eax, eax
jle 0x406d23
cmp dword [esp + 0x28], 0x39
je 0x406d4a
lea eax, [edi + 0x31]
mov dword [esp + 0x50], 0x20
mov dword [esp + 0x28], eax
cmp dword [ebp + 0x10], 1
jle 0x406ce4
mov eax, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x40], 0x10
mov esi, dword [esp + 0x4c]
lea ebx, [eax + 1]
jmp 0x40677b
mov dword [esp + 0x30], 0
mov dword [esp + 0x6c], 1
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x50], 1
jmp 0x405a00
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
add eax, 1
cmp dword [esp + 0x28], eax
jle 0x406340
add dword [esp + 0x5c], 1
add dword [esp + 0x4c], 1
mov dword [esp + 0x64], 1
jmp 0x406348
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
jmp 0x405d67
fstp st(0)
fldz
xor eax, eax
mov edx, 1
fucompi st(1)
fstp st(0)
setp al
cmovne eax, edx
shl eax, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
add eax, 1
mov dword [esp + 0x30], eax
jmp 0x405a98
fstp st(0)
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x20]
jmp 0x40593e
fadd st(0)
movzx eax, byte [ecx - 1]
fcomi st(1)
ja 0x406ca7
fucompi st(1)
fstp st(0)
jp 0x406ba4
jne 0x406ba4
test byte [esp + 0x18], 1
jne 0x406cab
mov esi, dword [esp + 0x48]
mov dword [esp + 0x40], 0x10
mov eax, ecx
mov dword [esp + 0x88], esi
lea esi, [esi]
mov ecx, eax
lea eax, [eax - 1]
cmp byte [ecx - 1], 0x30
je 0x406bc0
mov eax, dword [esp + 0x88]
add eax, 1
mov dword [esp + 0x30], eax
jmp 0x405a98
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], edx
test eax, eax
js 0x406d3d
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], 0
mov eax, dword [eax + 0x14]
test eax, eax
jns 0x405a1d
jmp 0x4060f8
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 1]
mov edx, esi
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
mov edi, ebx
mov ebx, dword [esp + 0x20]
mov byte [eax], 0x39
jmp 0x406420
mov dword [esp + 0x50], 0
jmp 0x405c6c
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
mov byte [esp + 0x28], dl
call dbg.__multadd_D2A
movzx edx, byte [esp + 0x28]
mov esi, eax
test dl, dl
jne 0x406b30
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
jmp 0x405e77
fldz
xor eax, eax
mov edx, 1
fucompi st(1)
fstp st(0)
setp al
cmovne eax, edx
shl eax, 4
mov dword [esp + 0x40], eax
mov eax, ecx
jmp 0x406bc0
fstp st(0)
fstp st(0)
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x88], esi
jmp 0x40593e
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x4066b8
test eax, eax
jg 0x406a6a
mov eax, dword [esp + 0x2c]
mov edx, esi
mov esi, dword [esp + 0x4c]
lea ebx, [eax + 1]
jmp 0x40677b
mov ecx, dword [ebp + 0x14]
mov edx, esi
mov esi, dword [esp + 0x4c]
test ecx, ecx
je 0x406d5c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], 0x10
lea ebx, [eax + 1]
jmp 0x40677b
mov eax, esi
add dword [esp + 0x4c], esi
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0x5c]
add eax, esi
mov edi, esi
mov dword [esp + 0x5c], eax
jmp 0x406462
jne 0x406d30
test byte [esp + 0x28], 1
jne 0x406a94
mov dword [esp + 0x50], 0x20
jmp 0x406aae
mov dword [esp + 0x50], 0
jmp 0x4060f8
mov eax, dword [esp + 0x2c]
mov edx, esi
mov esi, dword [esp + 0x4c]
lea ebx, [eax + 1]
jmp 0x406c27
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 1]
jmp 0x40677b
cmp dword [ebp + 0x10], 1
mov dword [esp + 0x40], 0x10
jg 0x40603d
xor eax, eax
cmp dword [ebp + 0x14], 0
setne al
shl eax, 4
mov dword [esp + 0x40], eax
jmp 0x40603d