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

Disassembly:
sub esp, 0xb4
push ebx
mov ebx, dword [esp + 0xc4]
xor ecx, ecx
mov edx, dword [esp + 0xbc]
mov eax, dword [ebx + 4]
mov cx, word [ebx + 0xe]
imul ecx, eax
add ecx, 0x1f
push ebp
sar ecx, 3
and ecx, 0xfffffffc
xor ebp, ebp
mov dword [esp + 0x34], ecx
mov ecx, eax
imul eax, dword [ebx + 8]
imul ecx, dword [edx + 8]
mov dword [esp + 0x80], eax
mov al, byte [0x4f0ea0]
push esi
push edi
test al, al
mov dword [esp + 0x84], ecx
je 0x48790f
mov ecx, 0x40
xor eax, eax
mov edi, 0x4f0ea0
rep stosd dword es:[edi], eax
mov byte [eax + 0x4f0fa0], al
inc eax
cmp eax, 0x100
jl 0x4878f2
mov ecx, 0x40
or eax, 0xffffffff
mov edi, 0x4f10a0
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
shl eax, 3
push eax
fidiv dword [edx + 4]
fstp dword [esp + 0x38]
fild dword [ebx + 8]
fidiv dword [edx + 8]
fstp dword [esp + 0x18]
call fcn.004bd49b
fld dword [esp + 0x38]
fcomp dword [0x4d6904]
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
fnstsw ax
test ah, 1
je 0x487a95
fld dword [esp + 0xdc]
fdiv dword [esp + 0x34]
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], ebp
cmp eax, ebp
fstp dword [esp + 0x18]
fld dword [0x4d6904]
fdiv dword [esp + 0x34]
fstp dword [esp + 0x24]
jle 0x487bb9
fld dword [esp + 0x18]
fadd st(0), st(0)
fadd dword [0x4d6904]
call fcn.004a7d38
shl eax, 3
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov dword [esi], 0
push ecx
call fcn.004bd49b
fild dword [esp + 0x2c]
push ecx
mov dword [esi + 4], eax
fdiv dword [esp + 0x3c]
fst dword [esp + 0x28]
fsub dword [esp + 0x20]
fstp qword [esp]
call fcn.004aab38
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [esp + 0x20]
fstp qword [esp]
call fcn.004aaa69
fstp dword [esp + 0x34]
fld dword [esp + 0x24]
add esp, 8
call fcn.004a7d38
mov ebx, eax
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x1c]
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
je 0x487a70
mov ebp, ebx
neg ebp
fld dword [esp + 0x20]
fsub st(1)
push ecx
fdiv dword [esp + 0x28]
fstp dword [esp]
fstp st(0)
call dword [esp + 0xdc]
fdiv dword [esp + 0x28]
add esp, 4
test ebx, ebx
jge 0x487a25
mov eax, ebp
jmp 0x487a3c
mov edx, dword [esp + 0xc8]
mov eax, dword [edx + 4]
cmp ebx, eax
jl 0x487a3a
add eax, eax
sub eax, ebx
dec eax
jmp 0x487a3c
mov eax, ebx
mov edi, dword [esi]
fmul dword [0x4db080]
lea ecx, [edi + 1]
mov dword [esi], ecx
mov edx, dword [esi + 4]
mov dword [edx + edi*8], eax
call fcn.004a7d38
inc ebx
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
dec ebp
fild dword [esp + 0x1c]
mov dword [ecx + edi*8 + 4], eax
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4879ff
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x28]
inc eax
add esi, 8
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], eax
cmp eax, ecx
fstp st(0)
jl 0x487996
jmp 0x487bb9
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], ebp
cmp eax, ebp
jle 0x487bb9
fld dword [esp + 0xdc]
fadd st(0), st(0)
fadd dword [0x4d6904]
call fcn.004a7d38
shl eax, 3
mov dword [esp + 0x10], eax
jmp 0x487ac5
mov eax, dword [esp + 0x10]
push eax
mov dword [esi], 0
call fcn.004bd49b
fild dword [esp + 0x28]
push ecx
mov dword [esi + 4], eax
fdiv dword [esp + 0x3c]
fst dword [esp + 0x28]
fsub dword [esp + 0xe4]
fstp qword [esp]
call fcn.004aab38
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [esp + 0xe4]
fstp qword [esp]
call fcn.004aaa69
fstp dword [esp + 0x34]
fld dword [esp + 0x24]
add esp, 8
call fcn.004a7d38
mov ebx, eax
mov dword [esp + 0x28], ebx
fild dword [esp + 0x28]
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
je 0x487b99
mov ebp, ebx
neg ebp
fld dword [esp + 0x20]
fsub st(1)
push ecx
fstp dword [esp]
fstp st(0)
call dword [esp + 0xdc]
add esp, 4
test ebx, ebx
jge 0x487b4e
mov eax, ebp
jmp 0x487b65
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 4]
cmp ebx, eax
jl 0x487b63
add eax, eax
sub eax, ebx
dec eax
jmp 0x487b65
mov eax, ebx
mov edi, dword [esi]
fmul dword [0x4db080]
lea ecx, [edi + 1]
mov dword [esi], ecx
mov edx, dword [esi + 4]
mov dword [edx + edi*8], eax
call fcn.004a7d38
inc ebx
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ebx
dec ebp
fild dword [esp + 0x28]
mov dword [ecx + edi*8 + 4], eax
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x487b30
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x24]
inc eax
add esi, 8
mov ecx, dword [edx + 4]
mov dword [esp + 0x24], eax
cmp eax, ecx
fstp st(0)
jl 0x487ac1
mov esi, dword [esp + 0xd0]
mov eax, dword [esi + 8]
shl eax, 3
push eax
call fcn.004bd49b
fld dword [esp + 0x18]
fcomp dword [0x4d6904]
mov dword [esp + 0x38], eax
add esp, 4
fnstsw ax
test ah, 1
je 0x487d33
fld dword [esp + 0xdc]
fdiv dword [esp + 0x14]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], 0
test eax, eax
fstp dword [esp + 0x18]
fld dword [0x4d6904]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x24]
jle 0x487e5f
fld dword [esp + 0x18]
fadd st(0), st(0)
fadd dword [0x4d6904]
call fcn.004a7d38
mov esi, dword [esp + 0x34]
shl eax, 3
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov dword [esi], 0
push ecx
call fcn.004bd49b
fild dword [esp + 0x14]
push ecx
mov dword [esi + 4], eax
fdiv dword [esp + 0x1c]
fst dword [esp + 0x28]
fsub dword [esp + 0x20]
fstp qword [esp]
call fcn.004aab38
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [esp + 0x20]
fstp qword [esp]
call fcn.004aaa69
fstp dword [esp + 0x34]
fld dword [esp + 0x24]
add esp, 8
call fcn.004a7d38
mov ebx, eax
mov dword [esp + 0x28], ebx
fild dword [esp + 0x28]
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
je 0x487d0e
mov ebp, ebx
neg ebp
fld dword [esp + 0x20]
fsub st(1)
push ecx
fdiv dword [esp + 0x28]
fstp dword [esp]
fstp st(0)
call dword [esp + 0xdc]
fdiv dword [esp + 0x28]
add esp, 4
test ebx, ebx
jge 0x487cc3
mov eax, ebp
jmp 0x487cda
mov edx, dword [esp + 0xc8]
mov eax, dword [edx + 8]
cmp ebx, eax
jl 0x487cd8
add eax, eax
sub eax, ebx
dec eax
jmp 0x487cda
mov eax, ebx
mov edi, dword [esi]
fmul dword [0x4db080]
lea ecx, [edi + 1]
mov dword [esi], ecx
mov edx, dword [esi + 4]
mov dword [edx + edi*8], eax
call fcn.004a7d38
inc ebx
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ebx
dec ebp
fild dword [esp + 0x28]
mov dword [ecx + edi*8 + 4], eax
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x487c9d
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x10]
inc eax
add esi, 8
mov ecx, dword [edx + 8]
mov dword [esp + 0x10], eax
cmp eax, ecx
fstp st(0)
jl 0x487c34
jmp 0x487e5f
mov eax, dword [esi + 8]
mov dword [esp + 0x28], 0
test eax, eax
jle 0x487e5f
fld dword [esp + 0xdc]
fadd st(0), st(0)
fadd dword [0x4d6904]
call fcn.004a7d38
mov esi, dword [esp + 0x34]
shl eax, 3
mov dword [esp + 0x10], eax
jmp 0x487d6b
mov eax, dword [esp + 0x10]
push eax
mov dword [esi], 0
call fcn.004bd49b
fild dword [esp + 0x2c]
push ecx
mov dword [esi + 4], eax
fdiv dword [esp + 0x1c]
fst dword [esp + 0x28]
fsub dword [esp + 0xe4]
fstp qword [esp]
call fcn.004aab38
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [esp + 0xe4]
fstp qword [esp]
call fcn.004aaa69
fstp dword [esp + 0x34]
fld dword [esp + 0x24]
add esp, 8
call fcn.004a7d38
mov ebx, eax
mov dword [esp + 0x30], ebx
fild dword [esp + 0x30]
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
je 0x487e3f
mov ebp, ebx
neg ebp
fld dword [esp + 0x20]
fsub st(1)
push ecx
fstp dword [esp]
fstp st(0)
call dword [esp + 0xdc]
add esp, 4
test ebx, ebx
jge 0x487df4
mov eax, ebp
jmp 0x487e0b
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 8]
cmp ebx, eax
jl 0x487e09
add eax, eax
sub eax, ebx
dec eax
jmp 0x487e0b
mov eax, ebx
mov edi, dword [esi]
fmul dword [0x4db080]
lea ecx, [edi + 1]
mov dword [esi], ecx
mov edx, dword [esi + 4]
mov dword [edx + edi*8], eax
call fcn.004a7d38
inc ebx
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], ebx
dec ebp
fild dword [esp + 0x30]
mov dword [ecx + edi*8 + 4], eax
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x487dd6
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x28]
inc eax
add esi, 8
mov ecx, dword [edx + 8]
mov dword [esp + 0x28], eax
cmp eax, ecx
fstp st(0)
jl 0x487d67
mov ebx, dword [esp + 0xd0]
mov ecx, 0xb
mov esi, ebx
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc8]
mov eax, dword [edi + 8]
mov dword [esp + 0x94], eax
imul eax, dword [esp + 0x3c]
push eax
call fcn.004bd49b
mov ecx, dword [edi + 8]
mov esi, eax
xor eax, eax
add esp, 4
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], eax
cmp ecx, eax
mov eax, dword [esp + 0x9a]
mov dword [esp + 0x28], esi
jle 0x48873b
xor ecx, ecx
cmp ax, 8
sete cl
and eax, 0xffff
mov dword [esp + 0x30], ecx
imul eax, dword [esp + 0x90]
add eax, 0x1f
mov dword [esp + 0x1c], esi
sar eax, 3
and al, 0xfc
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc8]
xor eax, eax
mov edx, dword [esp + 0xcc]
mov esi, dword [esp + 0x1c]
mov ax, word [ecx + 0xe]
mov edi, eax
imul edi, dword [ecx + 4]
add edi, 0x1f
sar edi, 3
and edi, 0xfffffffc
imul edi, dword [esp + 0x24]
add edi, edx
dec eax
cmp eax, 0x17
ja case.0x487f21.6
xor edx, edx
mov dl, byte [eax + 0x488ba0]
jmp dword [edx*4 + 0x488b88]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x487ff9
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], 0
test eax, eax
jle case.0x487f21.6
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
xor ebp, ebp
mov ebx, dword [edx]
test ebx, ebx
jle 0x487fb9
mov eax, edx
mov esi, dword [eax + 4]
mov eax, dword [esi]
mov ecx, eax
and ecx, 0x80000007
jns 0x487f79
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, 0x80
sar edx, cl
mov dword [esp + 0x3c], edx
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 3
mov cl, byte [eax + edi]
and dl, cl
mov ecx, dword [esp + 0xc8]
neg dl
sbb edx, edx
xor eax, eax
neg edx
add esi, 8
mov al, byte [ecx + edx*4 + 0x29]
imul eax, dword [esi - 4]
add ebp, eax
dec ebx
jne 0x487f68
mov ecx, dword [esp + 0x10]
mov eax, ebp
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
inc ecx
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov byte [eax + ecx - 1], dl
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x90]
add edx, 8
cmp ecx, eax
mov dword [esp + 0x14], edx
jl 0x487f57
jmp case.0x487f21.6
mov eax, dword [esp + 0x90]
test eax, eax
jle case.0x487f21.6
mov ecx, dword [esp + 0x38]
mov edx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov eax, dword [ecx]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
jle 0x4880b9
mov ebp, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov ecx, eax
and ecx, 0x80000007
jns 0x488047
dec ecx
or ecx, 0xfffffff8
inc ecx
cdq
and edx, 7
mov ebx, 0x80
add eax, edx
sar ebx, cl
sar eax, 3
mov ecx, dword [esp + 0xc8]
mov al, byte [eax + edi]
and bl, al
neg bl
sbb ebx, ebx
xor edx, edx
neg ebx
add ebp, 8
mov dl, byte [ecx + ebx*4 + 0x28]
lea eax, [ecx + ebx*4 + 0x28]
mov ecx, dword [ebp - 4]
mov ebx, dword [esp + 0x50]
imul edx, ecx
add ebx, edx
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x50], ebx
imul edx, ecx
mov ebx, dword [esp + 0x54]
add ebx, edx
xor edx, edx
mov dl, byte [eax + 2]
mov eax, dword [esp + 0x10]
imul edx, ecx
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x58]
add ebx, edx
dec eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], eax
jne 0x488035
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
add ecx, 8
cdq
and edx, 0xffff
mov dword [esp + 0x14], ecx
add eax, edx
sar eax, 0x10
inc esi
mov al, byte [eax + 0x4f0fa0]
mov byte [esi - 1], al
mov eax, dword [esp + 0x54]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
inc esi
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x58]
mov byte [esi - 1], dl
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
inc esi
mov al, byte [eax + 0x4f0fa0]
mov byte [esi - 1], al
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x488016
jmp case.0x487f21.6
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4881e4
mov eax, dword [esp + 0x90]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x10], ecx
jle case.0x487f21.6
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0x14], ebx
mov eax, dword [ebx]
xor esi, esi
test eax, eax
jle 0x4881a8
mov ecx, dword [ebx + 4]
mov ebx, eax
mov eax, dword [ecx]
test al, 1
cdq
je 0x488176
sub eax, edx
sar eax, 1
mov dl, byte [eax + edi]
and dl, 0xf
mov byte [esp + 0x2c], dl
jmp 0x488184
sub eax, edx
sar eax, 1
mov al, byte [eax + edi]
shr al, 4
mov byte [esp + 0x2c], al
mov edx, dword [esp + 0x2c]
xor eax, eax
and edx, 0xff
add ecx, 8
mov al, byte [ebp + edx*4 + 0x29]
imul eax, dword [ecx - 4]
add esi, eax
dec ebx
jne 0x48815f
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, esi
add ebx, 8
cdq
and edx, 0xffff
mov dword [esp + 0x14], ebx
add eax, edx
sar eax, 0x10
inc ecx
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov byte [eax + ecx - 1], dl
mov eax, dword [esp + 0x90]
cmp ecx, eax
jl 0x488152
jmp case.0x487f21.6
mov eax, dword [esp + 0x90]
test eax, eax
jle case.0x487f21.6
mov ecx, dword [esp + 0x38]
mov edx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov eax, dword [ecx]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
jle 0x4882a4
mov ebp, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
test al, 1
cdq
je 0x488237
sub eax, edx
sar eax, 1
mov al, byte [eax + edi]
and al, 0xf
mov byte [esp + 0x20], al
jmp 0x488245
sub eax, edx
sar eax, 1
mov cl, byte [eax + edi]
shr cl, 4
mov byte [esp + 0x20], cl
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0xc8]
mov ecx, dword [ebp + 4]
and edx, 0xff
mov ebx, dword [esp + 0x5c]
add ebp, 8
lea eax, [eax + edx*4 + 0x28]
xor edx, edx
mov dl, byte [eax]
imul edx, ecx
add ebx, edx
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x5c], ebx
imul edx, ecx
mov ebx, dword [esp + 0x60]
add ebx, edx
xor edx, edx
mov dl, byte [eax + 2]
mov eax, dword [esp + 0x10]
imul edx, ecx
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x64]
add ebx, edx
dec eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x10], eax
jne 0x488220
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
add ecx, 8
cdq
and edx, 0xffff
mov dword [esp + 0x14], ecx
add eax, edx
sar eax, 0x10
inc esi
mov al, byte [eax + 0x4f0fa0]
mov byte [esi - 1], al
mov eax, dword [esp + 0x60]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
inc esi
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x64]
mov byte [esi - 1], dl
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
inc esi
mov al, byte [eax + 0x4f0fa0]
mov byte [esi - 1], al
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x488201
jmp case.0x487f21.6
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48839f
mov eax, dword [esp + 0x90]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x10], ecx
jle case.0x487f21.6
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0x14], ebx
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x488369
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
xor ebx, ebx
add ecx, 8
mov bl, byte [edx + edi]
xor edx, edx
mov dl, byte [ebp + ebx*4 + 0x29]
imul edx, dword [ecx - 4]
add eax, edx
dec esi
jne 0x488348
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cdq
and edx, 0xffff
add ebx, 8
add eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 0x10
inc ecx
mov dword [esp + 0x14], ebx
mov al, byte [eax + 0x4f0fa0]
mov dword [esp + 0x10], ecx
mov byte [edx + ecx - 1], al
mov eax, dword [esp + 0x90]
cmp ecx, eax
jl 0x48833d
jmp case.0x487f21.6
mov eax, dword [esp + 0x90]
test eax, eax
jle case.0x487f21.6
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
jle 0x488432
mov ebp, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp]
mov eax, dword [esp + 0xc8]
xor edx, edx
mov ebx, dword [esp + 0x68]
mov dl, byte [ecx + edi]
add ebp, 8
lea ecx, [eax + edx*4 + 0x28]
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [ecx]
imul eax, edx
add ebx, eax
xor eax, eax
mov al, byte [ecx + 1]
mov dword [esp + 0x68], ebx
imul eax, edx
mov ebx, dword [esp + 0x6c]
add ebx, eax
xor eax, eax
mov al, byte [ecx + 2]
mov dword [esp + 0x6c], ebx
imul eax, edx
mov edx, dword [esp + 0x70]
add edx, eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x10], eax
jne 0x4883d5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x68]
add ecx, 8
cdq
and edx, 0xffff
mov dword [esp + 0x14], ecx
add eax, edx
sar eax, 0x10
inc esi
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x6c]
mov byte [esi - 1], dl
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
inc esi
mov al, byte [eax + 0x4f0fa0]
mov byte [esi - 1], al
mov eax, dword [esp + 0x70]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
inc esi
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x18]
mov byte [esi - 1], dl
dec eax
mov dword [esp + 0x18], eax
jne 0x4883ba
jmp case.0x487f21.6
mov eax, dword [esp + 0x90]
test eax, eax
jle case.0x487f21.6
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
jle 0x48853a
mov ebp, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov ebx, dword [esp + 0x78]
add ebp, 8
mov cx, word [edi + ecx*2]
mov al, cl
shl al, 3
and eax, 0xff
imul eax, edx
add ebx, eax
mov eax, ecx
shr eax, 2
and eax, 0xf8
mov dword [esp + 0x78], ebx
shr ecx, 7
imul eax, edx
and ecx, 0xf8
mov ebx, dword [esp + 0x7c]
imul ecx, edx
mov edx, dword [esp + 0x80]
add ebx, eax
mov eax, dword [esp + 0x10]
add edx, ecx
dec eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], edx
mov dword [esp + 0x10], eax
jne 0x4884d4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
add ecx, 8
cdq
and edx, 0xffff
mov dword [esp + 0x14], ecx
add eax, edx
sar eax, 0x10
inc esi
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x7c]
mov byte [esi - 1], dl
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
inc esi
mov al, byte [eax + 0x4f0fa0]
mov byte [esi - 1], al
mov eax, dword [esp + 0x80]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
inc esi
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x18]
mov byte [esi - 1], dl
dec eax
mov dword [esp + 0x18], eax
jne 0x4884b6
jmp case.0x487f21.6
mov eax, dword [esp + 0x90]
test eax, eax
jle case.0x487f21.6
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
jle 0x48862f
mov ebp, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
xor eax, eax
mov ebx, dword [esp + 0x40]
lea ecx, [ecx + ecx*2]
add ebp, 8
mov al, byte [ecx + edi]
imul eax, edx
add ebx, eax
xor eax, eax
mov al, byte [ecx + edi + 1]
mov dword [esp + 0x40], ebx
imul eax, edx
mov ebx, dword [esp + 0x44]
add ebx, eax
xor eax, eax
mov al, byte [ecx + edi + 2]
mov dword [esp + 0x44], ebx
imul eax, edx
mov edx, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x10], eax
jne 0x4885dc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
add ecx, 8
cdq
and edx, 0xffff
mov dword [esp + 0x14], ecx
add eax, edx
sar eax, 0x10
inc esi
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x44]
mov byte [esi - 1], dl
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
inc esi
mov al, byte [eax + 0x4f0fa0]
mov byte [esi - 1], al
mov eax, dword [esp + 0x48]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
inc esi
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x18]
mov byte [esi - 1], dl
dec eax
mov dword [esp + 0x18], eax
jne 0x4885c1
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x488702
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0x24]
lea esi, [eax + ecx]
mov ebp, dword [0x4d6350]
mov eax, dword [edx + 4]
push esi
imul eax, ebx
push 0x64
push eax
call ebp
mov edx, dword [esp + 0xd0]
lea ecx, [ebx - 1]
push esi
push 0x64
imul ecx, dword [edx + 4]
push ecx
mov edi, eax
call ebp
cmp edi, eax
je 0x488706
mov eax, dword [esp + 0xe4]
push 0x64
push edi
push eax
call dword [esp + 0xec]
test eax, eax
je 0x4888aa
jmp 0x488706
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x1c]
add edx, ecx
inc ebx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x24], ebx
cmp ebx, dword [edx + 8]
jl 0x487ee1
mov eax, dword [esp + 0x9a]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0xd0]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x30], 0
test ecx, ecx
jle 0x488b01
and eax, 0xffff
mov dword [esp + 0x14], esi
mov ebp, eax
imul eax, dword [esp + 0x94]
mov edx, eax
mov eax, 0x55555556
imul edx
imul ebp, dword [esp + 0x90]
mov eax, edx
add ebp, 0x1f
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x74], edx
mov edx, esi
mov dword [esp + 0x24], eax
sub edx, eax
sub eax, esi
mov dword [esp + 0xc0], edx
sar ebp, 3
mov dword [esp + 0x3c], eax
or eax, 0xffffffff
and ebp, 0xfffffffc
sub eax, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0xb8], eax
mov edx, dword [esp + 0xd0]
xor ebx, ebx
mov ax, word [edx + 0xe]
mov esi, eax
and esi, 0xffff
imul esi, ecx
add esi, 0x1f
sar esi, 3
and esi, 0xfffffffc
cmp ax, 8
mov eax, dword [esp + 0x74]
mov dword [esp + 0xbc], esi
push eax
sete bl
call fcn.004bd49b
add esp, 4
mov edi, eax
test ebx, ebx
je 0x4888b7
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
add edx, ecx
xor eax, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x94]
test edx, edx
jle 0x48881f
mov bl, byte [ecx]
add ecx, esi
mov byte [eax + edi], bl
inc eax
cmp eax, edx
jl 0x488813
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x488a3d
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov edx, dword [ecx]
xor eax, eax
test edx, edx
jle 0x488869
mov ecx, dword [ecx + 4]
mov ebp, edx
mov edx, dword [ecx]
xor ebx, ebx
add ecx, 8
mov bl, byte [edi + edx]
imul ebx, dword [ecx - 4]
add eax, ebx
dec ebp
jne 0x48884e
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cdq
and edx, 0xffff
add ecx, 8
add eax, edx
mov dword [esp + 0x18], ecx
sar eax, 0x10
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x10]
mov byte [eax], dl
mov edx, dword [esp + 0xd0]
add eax, esi
mov ebx, dword [edx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, ebx
mov dword [esp + 0x1c], eax
jl 0x488841
jmp 0x488a3d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb4
ret
cmp word [esp + 0x9a], 8
jne 0x48890a
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x14]
test ecx, ecx
mov eax, edi
jle 0x48893b
mov dword [esp + 0x10], ecx
xor ecx, ecx
inc eax
mov cl, byte [edx]
inc eax
inc eax
add edx, ebp
mov bl, byte [esp + ecx*4 + 0xb4]
lea ecx, [esp + ecx*4 + 0xb4]
mov byte [eax - 3], bl
mov bl, byte [ecx + 1]
mov byte [eax - 2], bl
mov cl, byte [ecx + 2]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x10]
dec ecx
mov dword [esp + 0x10], ecx
jne 0x4888d7
jmp 0x48893b
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x24]
lea ecx, [edx + eax]
mov edx, dword [esp + 0x94]
test edx, edx
mov eax, edi
jle 0x48893b
mov bl, byte [ecx]
mov byte [eax], bl
mov bl, byte [ecx + 1]
inc eax
mov byte [eax], bl
mov bl, byte [ecx + 2]
inc eax
add ecx, ebp
mov byte [eax], bl
inc eax
dec edx
jne 0x488925
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], 0
mov eax, dword [edx + 8]
test eax, eax
jle 0x488a3d
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x48], ebx
mov eax, dword [edx]
test eax, eax
jle 0x4889c7
mov esi, dword [edx + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, eax
add esi, 8
lea ecx, [ecx + ecx*2]
mov al, byte [ecx + edi]
imul eax, edx
add ebp, eax
inc ecx
xor eax, eax
mov al, byte [ecx + edi]
imul eax, edx
add ebx, eax
xor eax, eax
mov al, byte [ecx + edi + 1]
imul eax, edx
mov edx, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x1c], eax
jne 0x48897e
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0xbc]
mov eax, ebp
mov ebp, dword [esp + 0x10]
cdq
and edx, 0xffff
add ebp, 8
add eax, edx
mov dword [esp + 0x10], ebp
sar eax, 0x10
mov dl, byte [eax + 0x4f0fa0]
mov eax, ebx
mov byte [ecx], dl
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
mov al, byte [eax + 0x4f0fa0]
mov byte [ecx + 1], al
mov eax, dword [esp + 0x48]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
mov dl, byte [eax + 0x4f0fa0]
mov eax, dword [esp + 0x2c]
mov byte [ecx + 2], dl
mov edx, dword [esp + 0xd0]
add ecx, esi
inc eax
mov ebx, dword [edx + 8]
mov dword [esp + 0x18], ecx
cmp eax, ebx
mov dword [esp + 0x2c], eax
jl 0x488965
mov ebp, dword [esp + 0x20]
push edi
call fcn.004bd4c4
mov eax, dword [esp + 0xe4]
add esp, 4
test eax, eax
je 0x488abd
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x84]
imul ecx, dword [edx + 8]
lea esi, [eax + edi]
add ecx, edi
push esi
push 0x64
push ecx
call dword [0x4d6350]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xd0]
mov ebx, eax
mov eax, dword [esp + 0xb8]
add eax, ecx
push esi
imul eax, dword [edx + 8]
add eax, edi
push 0x64
push eax
call dword [0x4d6350]
cmp ebx, eax
je 0x488abd
mov eax, dword [esp + 0xe4]
push 0x64
push ebx
push eax
call dword [esp + 0xec]
test eax, eax
je 0x488aee
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
inc eax
inc edi
add esi, 3
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], esi
jl 0x4887b2
jmp 0x488af6
mov dword [esp + 0x4c], 1
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0xd0]
mov eax, dword [ebx + 4]
xor edi, edi
test eax, eax
jle 0x488b28
mov edx, dword [esp + 0x38]
lea ebp, [edx + 4]
mov eax, dword [ebp]
push eax
call fcn.004bd4c4
mov eax, dword [ebx + 4]
add esp, 4
inc edi
add ebp, 8
cmp edi, eax
jl 0x488b11
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004bd4c4
mov eax, dword [ebx + 8]
add esp, 4
xor edi, edi
test eax, eax
jle 0x488b5c
mov edx, dword [esp + 0x34]
lea ebp, [edx + 4]
mov eax, dword [ebp]
push eax
call fcn.004bd4c4
mov eax, dword [ebx + 8]
add esp, 4
inc edi
add ebp, 8
cmp edi, eax
jl 0x488b45
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004bd4c4
push esi
call fcn.004bd4c4
mov ecx, dword [esp + 0x54]
add esp, 8
xor eax, eax
pop edi
pop esi
test ecx, ecx
pop ebp
pop ebx
sete al
add esp, 0xb4
ret