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

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0x98]
push ebp
push esi
mov eax, dword [ebx + 4]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x88], edx
mov dword [esp + 0x6c], ecx
mov esi, eax
mov ebp, dword [edi]
mov edx, dword [edi + 4]
mov ecx, eax
sub esi, edx
sub ecx, ebp
mov ebp, dword [edi + 8]
mov edx, eax
add ecx, 0x10
sub edx, ebp
mov dword [esp + 0x68], ecx
add edx, 0x10
mov dword [esp + 0x5c], esi
mov dword [esp + 0x78], edx
mov edx, dword [edi + 0xc]
sub eax, edx
mov edx, dword [ebx]
add eax, 0x20
cmp esi, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x90], esi
jl 0x4e066c
mov dword [esp + 0x90], ecx
cmp eax, ecx
lea esi, [edx + 0x20]
jle 0x4e0675
mov ecx, eax
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 8]
cmp edx, eax
jge 0x4e10b6
mov edi, dword [esp + 0xa8]
mov ebx, dword [edi]
cmp ebx, esi
jge 0x4e10b6
mov edi, dword [edi + 0xc]
mov ebp, dword [esp + 0x90]
cmp ebp, edi
jge 0x4e10b6
mov ebp, dword [esp + 0xa8]
mov ebp, dword [ebp + 4]
cmp ebp, ecx
jge 0x4e10b6
cmp ecx, edi
mov dword [esp + 0x38], ecx
jl 0x4e06c8
mov dword [esp + 0x38], edi
cmp esi, eax
jge 0x4e06ce
mov eax, esi
mov ecx, dword [esp + 0x90]
cmp ecx, ebp
mov dword [esp + 0x30], ecx
jg 0x4e06e1
mov dword [esp + 0x30], ebp
cmp edx, ebx
jle 0x4e06e7
mov ebx, edx
mov ebp, dword [esp + 0xb0]
sub eax, edx
mov dword [esp + 0x3c], eax
mov esi, ebx
mov edi, dword [ebp]
mov eax, dword [ebp + 4]
sub eax, edi
sub esi, edx
cdq
and edx, 0x1f
mov dword [esp + 0x84], esi
add eax, edx
mov ecx, eax
mov eax, dword [ebp + 0xc]
sub eax, edi
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0xa4]
sar eax, 5
mov dword [esp + 0x74], eax
imul eax, esi
sar ecx, 5
mov dword [esp + 0x80], ecx
imul ecx, esi
add eax, edi
add ecx, edi
mov dword [esp + 0x70], eax
mov al, byte [edx]
sub bl, al
mov eax, dword [esp + 0x3c]
and bl, 1
cmp esi, eax
mov dword [esp + 0x64], ecx
mov byte [esp + 0x2c], bl
jge 0x4e10b6
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x5c]
mov eax, edx
sub eax, ebx
mov ebx, dword [esp + 0x4c]
sub ebx, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x7c], ebx
imul ebx, esi
lea edx, [edx + esi*4]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], edx
mov edx, 0x1f
sub edx, esi
mov esi, eax
neg esi
imul eax, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x48], edx
mov esi, dword [esp + 0x60]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
cdq
and edx, 0x1f
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x5c]
sar edi, 5
add edi, eax
mov eax, ebx
cdq
and edx, 0x1f
add eax, edx
mov ebp, eax
mov eax, dword [esp + 0x68]
sar ebp, 5
add ebp, eax
mov eax, ebp
sub eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
cmp edi, eax
jge 0x4e1047
cmp ebp, dword [esp + 0x30]
jle 0x4e1047
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4e1047
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
cdq
sub eax, edx
mov byte [esp + 0x13], 1
sar eax, 1
shl eax, 1
mov edx, eax
mov eax, 0x1f
sub eax, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
mov ebx, dword [edx]
mov eax, dword [eax + 0x104]
add eax, ebx
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
sub eax, ecx
cdq
idiv dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], edx
mov bl, byte [eax]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
cmp edi, eax
jle 0x4e085c
mov ecx, dword [esp + 0x18]
mov edx, edi
mov dword [esp + 0x40], ecx
jmp 0x4e08c5
mov dword [esp + 0x20], eax
sub eax, edi
mov edi, eax
imul edi, edx
add edi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], edi
mov edi, eax
imul edi, dword [esp + 0x34]
mov eax, edi
cdq
idiv ecx
lea edx, [eax + 1]
imul edx, ecx
mov cl, byte [esp + 0x13]
sub edx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x40], edx
cmp ebx, eax
jg 0x4e08a9
test cl, cl
jne 0x4e089b
add edi, ebx
sub eax, ebx
xor ebx, ebx
mov bl, byte [edi]
inc edi
test cl, cl
sete cl
jmp 0x4e0891
test cl, cl
mov byte [esp + 0x13], cl
mov dword [esp + 0x14], edi
jne 0x4e08bb
add edi, eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x20]
sub ebx, eax
mov eax, dword [esp + 0x30]
mov cl, dl
sub cl, al
mov eax, dword [esp + 0xa0]
and cl, 1
mov edi, dword [eax + 0xc]
mov byte [esp + 0x1c], cl
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x84]
add eax, ecx
mov ecx, edi
imul ecx, edx
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0xa0]
add eax, dword [ecx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
cmp ebp, eax
jl 0x4e090c
mov ebp, eax
mov ecx, dword [esp + 0x40]
sub ebp, edx
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x4e098f
imul ebx, ebp
add ecx, ebx
cmp ecx, ebp
jle 0x4e1014
mov ebx, dword [esp + 0x18]
mov edx, ecx
sub edx, ebx
mov ebx, dword [esp + 0x34]
lea eax, [edx + ebx - 1]
cdq
idiv ebx
test eax, eax
jle 0x4e1014
mov edx, eax
mov ebp, dword [esp + 0x28]
imul edx, ebx
sub ecx, edx
mov edx, edi
imul edx, eax
mov ebx, dword [esp + 0x20]
add ebx, edx
mov edx, eax
imul edx, dword [esp + 0x54]
mov dword [esp + 0x20], ebx
mov bl, byte [esp + 0x1c]
add ebp, edx
mov dl, al
add dl, bl
mov dword [esp + 0x28], ebp
and dl, 1
mov byte [esp + 0x1c], dl
mov edx, dword [esp + 0x24]
sub edx, eax
mov dword [esp + 0x24], edx
jmp 0x4e1014
test ebx, ebx
mov dword [esp + 0x40], ebx
jle 0x4e1014
test ecx, ecx
jle 0x4e0fec
mov eax, dword [esp + 0x28]
lea ebp, [eax + 0x100]
mov eax, dword [esp + 0x14]
xor edx, edx
mov edi, ebp
mov dl, byte [eax]
mov eax, dword [esp + 0x88]
sar edi, 0xb
mov ax, word [eax + edx*2]
mov edx, ebp
sar edx, 9
and edx, 3
dec edx
je 0x4e09fd
dec edx
je 0x4e09ee
dec edx
jne 0x4e0a15
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
and edx, 0xff
and ebx, 0xff
or edx, ebx
jmp 0x4e0a13
mov dl, byte [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add edx, ebx
and edx, 1
jmp 0x4e0a13
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
and edx, 0xff
and ebx, 0xff
and edx, ebx
add edi, edx
cmp edi, 0x10
jg case.default.0x4e0a1e
jmp dword [edi*4 + 0x4e1b1c]
xor edx, edx
jmp 0x4e0f95
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x834910]
mov bx, ax
sar edi, 3
shr bx, 3
and edi, ebx
mov bx, ax
sub edx, edi
mov edi, dword [0x8348f8]
sar edi, 2
shr bx, 2
and edi, ebx
sub edx, edi
mov edi, dword [0x8348f4]
sar edi, 1
shr ax, 1
and edi, eax
sub edx, edi
jmp 0x4e0f95
mov edi, dword [0x834910]
mov dx, ax
sar edi, 3
shr dx, 3
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x8348f8]
mov bx, ax
sar edi, 2
shr bx, 2
and edi, ebx
sub edx, edi
mov edi, dword [0x8348f4]
sar edi, 1
shr ax, 1
and edi, eax
sub edx, edi
jmp 0x4e0f95
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
jmp 0x4e0a8e
mov edi, dword [0x8348f8]
mov dx, ax
sar edi, 2
shr dx, 2
and edi, edx
mov edx, eax
jmp 0x4e0aa6
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x834910]
mov bx, ax
sar edi, 3
shr bx, 3
jmp 0x4e0aa4
mov edi, dword [0x834910]
mov dx, ax
sar edi, 3
shr dx, 3
and edi, edx
mov edx, eax
jmp 0x4e0aa6
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
jmp 0x4e0aa6
mov edx, dword [0x8348f4]
mov di, ax
sar edx, 1
shr di, 1
and edx, edi
sub eax, edx
mov edx, eax
jmp 0x4e0f95
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x834910]
mov bx, ax
sar edi, 3
shr bx, 3
and edi, ebx
jmp 0x4e0ba4
mov edi, dword [0x834910]
mov dx, ax
sar edi, 3
shr dx, 3
jmp 0x4e0ba0
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x8348f8]
sar edi, 2
shr ax, 2
and edi, eax
sub edx, edi
jmp 0x4e0f95
mov edx, dword [0x8348f8]
mov di, ax
sar edx, 2
shr di, 2
and edx, edi
sub eax, edx
mov edx, eax
jmp 0x4e0f95
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x834910]
sar edi, 3
shr ax, 3
and edi, eax
sub edx, edi
jmp 0x4e0f95
mov edx, dword [0x834910]
mov di, ax
sar edx, 3
shr di, 3
and edx, edi
sub eax, edx
mov edx, eax
jmp 0x4e0f95
mov edx, dword [0x8348ec]
mov di, ax
sar edx, 4
shr di, 4
and edx, edi
sub eax, edx
mov edx, eax
jmp 0x4e0f95
lea edx, [edi - 0x11]
cmp edx, 0xf
ja case.default.0x4e0c45
jmp dword [edx*4 + 0x4e1b60]
mov esi, dword [0x8348ec]
mov edx, eax
sar esi, 4
and edx, 0xffff
and esi, 0xffff
shr edx, 4
and esi, edx
jmp case.default.0x4e0c45
mov esi, dword [0x834910]
mov edx, eax
sar esi, 3
and edx, 0xffff
and esi, 0xffff
shr edx, 3
and esi, edx
jmp case.default.0x4e0c45
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
and edi, 0xffff
shr edx, 3
and edi, edx
add esi, edi
jmp case.default.0x4e0c45
mov esi, dword [0x8348f8]
mov edx, eax
sar esi, 2
and edx, 0xffff
and esi, 0xffff
shr edx, 2
and esi, edx
jmp case.default.0x4e0c45
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr edx, 2
and edi, edx
add esi, edi
jmp case.default.0x4e0c45
mov esi, dword [0x834910]
mov edx, eax
and edx, 0xffff
sar esi, 3
mov edi, edx
and esi, 0xffff
shr edi, 3
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr edx, 2
and edi, edx
add esi, edi
jmp case.default.0x4e0c45
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebx, edx
and edi, 0xffff
shr ebx, 3
and edi, ebx
add esi, edi
jmp 0x4e0d06
mov esi, dword [0x8348f4]
mov edx, eax
sar esi, 1
and edx, 0xffff
and esi, 0xffff
shr edx, 1
and esi, edx
jmp case.default.0x4e0c45
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
jmp 0x4e0ea2
mov esi, dword [0x834910]
mov edx, eax
and edx, 0xffff
sar esi, 3
mov edi, edx
and esi, 0xffff
shr edi, 3
and esi, edi
jmp 0x4e0ea2
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebx, edx
and edi, 0xffff
shr ebx, 3
jmp 0x4e0e9e
mov esi, dword [0x8348f8]
mov edx, eax
and edx, 0xffff
sar esi, 2
mov edi, edx
and esi, 0xffff
shr edi, 2
and esi, edi
jmp 0x4e0ea2
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
jmp 0x4e0e88
mov esi, dword [0x834910]
mov edx, eax
and edx, 0xffff
sar esi, 3
mov edi, edx
and esi, 0xffff
shr edi, 3
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
mov ebx, edx
and edi, 0xffff
shr ebx, 2
and edi, ebx
add esi, edi
mov edi, dword [0x8348f4]
sar edi, 1
and edi, 0xffff
shr edx, 1
and edi, edx
add esi, edi
jmp case.default.0x4e0c45
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebx, edx
and edi, 0xffff
shr ebx, 3
and edi, ebx
mov ebx, edx
add esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr ebx, 2
and edi, ebx
add esi, edi
mov edi, dword [0x8348f4]
sar edi, 1
and edi, 0xffff
shr edx, 1
and edi, edx
add esi, edi
jmp case.default.0x4e0c45
mov esi, eax
and esi, 0xffff
mov edi, dword [0x839f40]
and eax, 0xffff
mov edx, eax
mov ebx, esi
and edx, edi
mov edi, dword [0x839f3c]
and eax, edi
and ebx, edi
mov edi, dword [0x839f28]
add eax, ebx
test eax, edi
je 0x4e0f93
test dword [0x839f34], eax
je 0x4e0f63
mov ebx, dword [0x839f38]
mov edi, dword [0x8348e4]
and eax, ebx
or eax, edi
test dword [0x839f4c], eax
je 0x4e0f7b
mov ebx, dword [0x839f44]
mov edi, dword [0x8348fc]
and eax, ebx
or eax, edi
test dword [0x839f2c], eax
je 0x4e0f93
mov ebx, dword [0x839f30]
mov edi, dword [0x8348f0]
and eax, ebx
or eax, edi
or edx, eax
mov eax, dword [esp + 0x20]
mov word [eax], dx
mov eax, dword [esp + 0x24]
dec eax
test eax, eax
mov dword [esp + 0x24], eax
jle 0x4e103f
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov edi, dword [edx + 0xc]
mov edx, dword [esp + 0x34]
add eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
add ebx, eax
add ebp, eax
mov dword [esp + 0x28], ebx
mov bl, byte [esp + 0x1c]
test bl, bl
sete al
sub ecx, edx
mov byte [esp + 0x1c], al
test ecx, ecx
jg 0x4e09ad
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4e103f
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
inc eax
add ecx, ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
dec eax
test eax, eax
mov dword [esp + 0x40], eax
jg 0x4e099b
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4e103f
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [esp + 0x18]
mov bl, byte [eax]
inc eax
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x13]
test al, al
sete dl
mov byte [esp + 0x13], dl
jmp 0x4e091a
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x80]
add edx, eax
mov al, byte [esp + 0x2c]
add ecx, edi
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x7c]
test al, al
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x84]
sete dl
mov byte [esp + 0x2c], dl
mov edx, dword [esp + 0x60]
add edi, edx
mov edx, dword [esp + 0x3c]
add ebx, ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x50]
inc eax
dec ebp
add edi, 4
cmp eax, edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], edi
jl 0x4e07a1
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [esp + 0x5c]
cmp eax, edx
mov dword [esp + 0x90], eax
lea esi, [ecx + 0x20]
jl 0x4e10dc
mov dword [esp + 0x90], edx
mov edi, dword [esp + 0x4c]
lea ebp, [ecx + 0x40]
cmp edi, edx
jg 0x4e10e9
mov edi, edx
mov edx, dword [esp + 0xa8]
mov eax, dword [edx + 8]
cmp esi, eax
jge 0x4e1b0f
mov ebx, dword [edx]
cmp ebx, ebp
jge 0x4e1b0f
mov esi, dword [edx + 0xc]
cmp dword [esp + 0x90], esi
jge 0x4e1b0f
mov edx, dword [edx + 4]
cmp edx, edi
jge 0x4e1b0f
cmp edi, esi
mov dword [esp + 0x50], edi
jl 0x4e112c
mov dword [esp + 0x50], esi
cmp ebp, eax
jge 0x4e1132
mov eax, ebp
mov esi, dword [esp + 0x90]
cmp esi, edx
mov dword [esp + 0x34], esi
jg 0x4e1145
mov dword [esp + 0x34], edx
lea edx, [ecx + 0x20]
cmp edx, ebx
jle 0x4e114e
mov ebx, edx
mov ebp, dword [esp + 0xb0]
mov esi, ebx
sub eax, ecx
sub esi, ecx
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 4]
sub eax, 0x20
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x68], eax
mov eax, ecx
sub eax, edi
sub esi, 0x20
cdq
and edx, 0x1f
mov dword [esp + 0x38], esi
add eax, edx
sar eax, 5
mov dword [esp + 0x64], eax
mov eax, ecx
sub eax, ebp
mov ecx, dword [esp + 0x64]
cdq
imul ecx, esi
and edx, 0x1f
add ecx, edi
add eax, edx
mov edx, dword [esp + 0xa4]
sar eax, 5
mov dword [esp + 0x7c], eax
imul eax, esi
add eax, ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], eax
mov al, byte [edx]
sub bl, al
mov eax, dword [esp + 0x68]
and bl, 1
cmp esi, eax
mov byte [esp + 0x20], bl
jge 0x4e1b0f
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x5c]
sub eax, edx
sub edx, ebx
mov ebx, 0x1f
mov dword [esp + 0x74], edx
imul edx, esi
mov dword [esp + 0x44], edx
mov edx, eax
sub ebx, esi
neg edx
imul ebx, eax
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x40], ebx
lea edx, [edx + esi*4 + 0x80]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x44]
cdq
and edx, 0x1f
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x5c]
sar edi, 5
add edi, eax
mov eax, ebx
cdq
and edx, 0x1f
add eax, edx
mov ebp, eax
mov eax, dword [esp + 0x78]
sar ebp, 5
add ebp, eax
mov eax, ebp
sub eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
cmp edi, eax
jge 0x4e1aaf
cmp ebp, dword [esp + 0x34]
jle 0x4e1aaf
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4e1aaf
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
cdq
sub eax, edx
mov byte [esp + 0x13], 1
sar eax, 1
shl eax, 1
mov edx, eax
mov eax, 0x1f
sub eax, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
mov ebx, dword [edx]
mov eax, dword [eax + 0x104]
add eax, ebx
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
sub eax, ecx
cdq
idiv dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], edx
mov bl, byte [eax]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
cmp edi, eax
jle 0x4e12ca
mov ecx, dword [esp + 0x18]
mov edx, edi
mov dword [esp + 0x3c], ecx
jmp 0x4e1333
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
sub eax, edi
mov edi, eax
imul edi, edx
add edi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edi
mov edi, eax
imul edi, dword [esp + 0x30]
mov eax, edi
cdq
idiv ecx
lea edx, [eax + 1]
imul edx, ecx
mov cl, byte [esp + 0x13]
sub edx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
cmp ebx, eax
jg 0x4e131b
test cl, cl
jne 0x4e130d
add edi, ebx
sub eax, ebx
xor ebx, ebx
mov bl, byte [edi]
inc edi
test cl, cl
sete cl
jmp 0x4e1303
test cl, cl
mov byte [esp + 0x13], cl
mov dword [esp + 0x14], edi
jne 0x4e132d
add edi, eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x60]
sub ebx, eax
mov ecx, dword [esp + 0xa4]
mov al, dl
sub al, byte [ecx + 4]
mov ecx, dword [ecx]
and al, 1
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0xa0]
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
add ecx, eax
mov eax, edi
imul eax, edx
lea eax, [eax + ecx*2 + 0x40]
mov ecx, dword [esp + 0xa0]
add eax, dword [ecx + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
cmp ebp, eax
jl 0x4e1378
mov ebp, eax
mov ecx, dword [esp + 0x3c]
sub ebp, edx
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x4e13fb
imul ebx, ebp
add ecx, ebx
cmp ecx, ebp
jle 0x4e1a7c
mov ebx, dword [esp + 0x18]
mov edx, ecx
sub edx, ebx
mov ebx, dword [esp + 0x30]
lea eax, [edx + ebx - 1]
cdq
idiv ebx
test eax, eax
jle 0x4e1a7c
mov edx, eax
mov ebp, dword [esp + 0x24]
imul edx, ebx
sub ecx, edx
mov edx, edi
imul edx, eax
mov ebx, dword [esp + 0x2c]
add ebx, edx
mov edx, eax
imul edx, dword [esp + 0x58]
mov dword [esp + 0x2c], ebx
mov bl, byte [esp + 0x1c]
add ebp, edx
mov dl, al
add dl, bl
mov dword [esp + 0x24], ebp
and dl, 1
mov byte [esp + 0x1c], dl
mov edx, dword [esp + 0x28]
sub edx, eax
mov dword [esp + 0x28], edx
jmp 0x4e1a7c
test ebx, ebx
mov dword [esp + 0x3c], ebx
jle 0x4e1a7c
test ecx, ecx
jle 0x4e1a54
mov eax, dword [esp + 0x24]
lea ebp, [eax + 0x100]
mov eax, dword [esp + 0x14]
xor edx, edx
mov edi, ebp
mov dl, byte [eax]
mov eax, dword [esp + 0x88]
sar edi, 0xb
mov ax, word [eax + edx*2]
mov edx, ebp
sar edx, 9
and edx, 3
dec edx
je 0x4e1469
dec edx
je 0x4e145a
dec edx
jne 0x4e1481
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
and edx, 0xff
and ebx, 0xff
or edx, ebx
jmp 0x4e147f
mov dl, byte [esp + 0x1c]
mov ebx, dword [esp + 0x20]
add edx, ebx
and edx, 1
jmp 0x4e147f
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
and edx, 0xff
and ebx, 0xff
and edx, ebx
add edi, edx
cmp edi, 0x10
jg case.default.0x4e148a
jmp dword [edi*4 + 0x4e1ba0]
xor edx, edx
jmp 0x4e19fd
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x834910]
mov bx, ax
sar edi, 3
shr bx, 3
and edi, ebx
mov bx, ax
sub edx, edi
mov edi, dword [0x8348f8]
sar edi, 2
shr bx, 2
and edi, ebx
sub edx, edi
mov edi, dword [0x8348f4]
sar edi, 1
shr ax, 1
and edi, eax
sub edx, edi
jmp 0x4e19fd
mov edi, dword [0x834910]
mov dx, ax
sar edi, 3
shr dx, 3
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x8348f8]
mov bx, ax
sar edi, 2
shr bx, 2
and edi, ebx
sub edx, edi
mov edi, dword [0x8348f4]
sar edi, 1
shr ax, 1
and edi, eax
sub edx, edi
jmp 0x4e19fd
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
jmp 0x4e14fa
mov edi, dword [0x8348f8]
mov dx, ax
sar edi, 2
shr dx, 2
and edi, edx
mov edx, eax
jmp 0x4e1512
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x834910]
mov bx, ax
sar edi, 3
shr bx, 3
jmp 0x4e1510
mov edi, dword [0x834910]
mov dx, ax
sar edi, 3
shr dx, 3
and edi, edx
mov edx, eax
jmp 0x4e1512
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
jmp 0x4e1512
mov edx, dword [0x8348f4]
mov di, ax
sar edx, 1
shr di, 1
and edx, edi
sub eax, edx
mov edx, eax
jmp 0x4e19fd
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x834910]
mov bx, ax
sar edi, 3
shr bx, 3
and edi, ebx
jmp 0x4e1610
mov edi, dword [0x834910]
mov dx, ax
sar edi, 3
shr dx, 3
jmp 0x4e160c
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x8348f8]
sar edi, 2
shr ax, 2
and edi, eax
sub edx, edi
jmp 0x4e19fd
mov edx, dword [0x8348f8]
mov di, ax
sar edx, 2
shr di, 2
and edx, edi
sub eax, edx
mov edx, eax
jmp 0x4e19fd
mov edi, dword [0x8348ec]
mov dx, ax
sar edi, 4
shr dx, 4
and edi, edx
mov edx, eax
sub edx, edi
mov edi, dword [0x834910]
sar edi, 3
shr ax, 3
and edi, eax
sub edx, edi
jmp 0x4e19fd
mov edx, dword [0x834910]
mov di, ax
sar edx, 3
shr di, 3
and edx, edi
sub eax, edx
mov edx, eax
jmp 0x4e19fd
mov edx, dword [0x8348ec]
mov di, ax
sar edx, 4
shr di, 4
and edx, edi
sub eax, edx
mov edx, eax
jmp 0x4e19fd
lea edx, [edi - 0x11]
cmp edx, 0xf
ja case.default.0x4e16b1
jmp dword [edx*4 + 0x4e1be4]
mov esi, dword [0x8348ec]
mov edx, eax
sar esi, 4
and edx, 0xffff
and esi, 0xffff
shr edx, 4
and esi, edx
jmp case.default.0x4e16b1
mov esi, dword [0x834910]
mov edx, eax
sar esi, 3
and edx, 0xffff
and esi, 0xffff
shr edx, 3
and esi, edx
jmp case.default.0x4e16b1
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
and edi, 0xffff
shr edx, 3
and edi, edx
add esi, edi
jmp case.default.0x4e16b1
mov esi, dword [0x8348f8]
mov edx, eax
sar esi, 2
and edx, 0xffff
and esi, 0xffff
shr edx, 2
and esi, edx
jmp case.default.0x4e16b1
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr edx, 2
and edi, edx
add esi, edi
jmp case.default.0x4e16b1
mov esi, dword [0x834910]
mov edx, eax
and edx, 0xffff
sar esi, 3
mov edi, edx
and esi, 0xffff
shr edi, 3
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr edx, 2
and edi, edx
add esi, edi
jmp case.default.0x4e16b1
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebx, edx
and edi, 0xffff
shr ebx, 3
and edi, ebx
add esi, edi
jmp 0x4e1772
mov esi, dword [0x8348f4]
mov edx, eax
sar esi, 1
and edx, 0xffff
and esi, 0xffff
shr edx, 1
and esi, edx
jmp case.default.0x4e16b1
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
jmp 0x4e190e
mov esi, dword [0x834910]
mov edx, eax
and edx, 0xffff
sar esi, 3
mov edi, edx
and esi, 0xffff
shr edi, 3
and esi, edi
jmp 0x4e190e
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebx, edx
and edi, 0xffff
shr ebx, 3
jmp 0x4e190a
mov esi, dword [0x8348f8]
mov edx, eax
and edx, 0xffff
sar esi, 2
mov edi, edx
and esi, 0xffff
shr edi, 2
and esi, edi
jmp 0x4e190e
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
jmp 0x4e18f4
mov esi, dword [0x834910]
mov edx, eax
and edx, 0xffff
sar esi, 3
mov edi, edx
and esi, 0xffff
shr edi, 3
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
mov ebx, edx
and edi, 0xffff
shr ebx, 2
and edi, ebx
add esi, edi
mov edi, dword [0x8348f4]
sar edi, 1
and edi, 0xffff
shr edx, 1
and edi, edx
add esi, edi
jmp case.default.0x4e16b1
mov esi, dword [0x8348ec]
mov edx, eax
and edx, 0xffff
sar esi, 4
mov edi, edx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebx, edx
and edi, 0xffff
shr ebx, 3
and edi, ebx
mov ebx, edx
add esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr ebx, 2
and edi, ebx
add esi, edi
mov edi, dword [0x8348f4]
sar edi, 1
and edi, 0xffff
shr edx, 1
and edi, edx
add esi, edi
jmp case.default.0x4e16b1
mov esi, eax
and esi, 0xffff
mov edi, dword [0x839f40]
mov ebx, dword [0x839f3c]
and eax, 0xffff
mov edx, eax
and eax, ebx
and edx, edi
mov edi, esi
and edi, ebx
add edi, eax
mov eax, dword [0x839f28]
test edi, eax
je 0x4e19fb
test dword [0x839f34], edi
je 0x4e19cd
mov ebx, dword [0x839f38]
mov eax, dword [0x8348e4]
and edi, ebx
or edi, eax
test dword [0x839f4c], edi
je 0x4e19e4
mov ebx, dword [0x839f44]
mov eax, dword [0x8348fc]
and edi, ebx
or edi, eax
test dword [0x839f2c], edi
je 0x4e19fb
mov ebx, dword [0x839f30]
mov eax, dword [0x8348f0]
and edi, ebx
or edi, eax
or edx, edi
mov eax, dword [esp + 0x2c]
mov word [eax], dx
mov eax, dword [esp + 0x28]
dec eax
test eax, eax
mov dword [esp + 0x28], eax
jle 0x4e1aa7
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov edi, dword [edx + 0xc]
mov edx, dword [esp + 0x30]
add eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
add ebx, eax
add ebp, eax
mov dword [esp + 0x24], ebx
mov bl, byte [esp + 0x1c]
test bl, bl
sete al
sub ecx, edx
mov byte [esp + 0x1c], al
test ecx, ecx
jg 0x4e1419
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x4e1aa7
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
inc eax
add ecx, ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
dec eax
test eax, eax
mov dword [esp + 0x3c], eax
jg 0x4e1407
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x4e1aa7
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [esp + 0x18]
mov bl, byte [eax]
inc eax
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x13]
test al, al
sete dl
mov byte [esp + 0x13], dl
jmp 0x4e1386
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x64]
add edx, eax
mov al, byte [esp + 0x20]
add ecx, edi
test al, al
mov dword [esp + 0x48], edx
mov ebp, dword [esp + 0x44]
sete dl
mov eax, dword [esp + 0x38]
mov byte [esp + 0x20], dl
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x80]
add edx, 4
inc eax
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x74]
add ebp, edx
mov edx, dword [esp + 0x68]
add ebx, edi
cmp eax, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
jl 0x4e120f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x14