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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x80], ecx
mov eax, dword [edi + 4]
mov ebx, dword [edx]
mov ecx, dword [edx + 4]
mov ebp, eax
mov esi, eax
sub ebp, ebx
mov ebx, dword [edx + 8]
sub esi, ecx
mov ecx, eax
sub ecx, ebx
mov ebx, dword [edx + 0xc]
mov edx, dword [edi]
sub eax, ebx
add ebp, 0x10
add ecx, 0x10
add eax, 0x20
cmp esi, ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x90], esi
jl 0x4e345f
mov dword [esp + 0x90], ebp
cmp eax, ebp
lea ecx, [edx + 0x20]
mov esi, eax
jg 0x4e346a
mov esi, ebp
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 8]
cmp edx, eax
jge 0x4e3e75
mov edi, dword [esp + 0xa4]
mov ebx, dword [edi]
cmp ebx, ecx
jge 0x4e3e75
mov ecx, edi
mov edi, dword [esp + 0x90]
mov ecx, dword [ecx + 0xc]
cmp edi, ecx
jge 0x4e3e75
mov edi, dword [esp + 0xa4]
mov edi, dword [edi + 4]
cmp edi, esi
jge 0x4e3e75
cmp esi, ecx
mov dword [esp + 0x5c], esi
jl 0x4e34bf
mov dword [esp + 0x5c], ecx
lea ecx, [edx + 0x20]
cmp ecx, eax
jge 0x4e34c8
mov eax, ecx
mov ecx, dword [esp + 0x90]
cmp ecx, edi
mov dword [esp + 0x34], ecx
jg 0x4e34db
mov dword [esp + 0x34], edi
cmp edx, ebx
jle 0x4e34e1
mov ebx, edx
sub eax, edx
mov ecx, ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xac]
sub ecx, edx
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
mov dword [esp + 0x2c], ecx
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0xac]
mov edi, eax
mov eax, dword [edx + 0xc]
sub eax, esi
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
sar edi, 5
mov dword [esp + 0x7c], eax
imul eax, ecx
mov edx, edi
add eax, esi
imul edx, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa0]
add edx, esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x48], edx
mov dl, byte [eax]
mov eax, dword [esp + 0x38]
sub bl, dl
and bl, 1
cmp ecx, eax
mov byte [esp + 0x1c], bl
jge 0x4e3e75
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x64]
mov edx, ebp
sub ebx, ebp
mov eax, 0x1f
sub edx, esi
mov dword [esp + 0x78], ebx
imul ebx, ecx
sub eax, ecx
mov ecx, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ebx
neg ecx
imul eax, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x50]
jmp 0x4e359b
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x40]
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0x64]
mov edi, eax
mov eax, ebx
sar edi, 5
add edi, edx
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, ebp
mov ecx, eax
mov dword [esp + 0x54], eax
sub ecx, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x5c]
cmp edi, ecx
jge 0x4e3e12
cmp eax, dword [esp + 0x34]
jle 0x4e3e12
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4e3e12
mov eax, dword [esp + 0x44]
cdq
sub eax, edx
sar eax, 1
shl eax, 1
mov ecx, eax
mov eax, 0x1f
sub eax, ecx
mov dword [esp + 0x68], eax
mov al, byte [0x85aa54]
test al, 1
jne 0x4e361d
or al, 1
mov byte [0x85aa54], al
call fcn.004df850
mov dword [0x85aa58], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [0x85aa58]
mov dword [esp + 0x28], 0
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x80]
mov edx, dword [edx + 4]
lea ecx, [edx + ecx*2]
xor edx, edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xb0]
mov bl, byte [ecx + 4]
cmp bl, 4
mov ebx, dword [esp + 0x48]
sete dl
shl edx, 6
add edx, eax
mov eax, dword [esp + 0x58]
sub eax, ebx
mov ebp, dword [edx*4 + 0x74c658]
mov edx, dword [ecx + 8]
add ebp, edx
mov ecx, ebx
cdq
idiv dword [esp + 0x10]
mov dword [esp + 0x30], ebp
mov edx, eax
mov eax, dword [esp + 0x34]
cmp edi, eax
mov dword [esp + 0x84], edx
jle 0x4e3698
mov eax, edi
mov dword [esp + 0x18], 0
jmp 0x4e36e4
mov dword [esp + 0x14], eax
sub eax, edi
mov ecx, eax
imul eax, dword [esp + 0x68]
imul ecx, edx
mov edi, eax
add ecx, ebx
cdq
idiv dword [esp + 0x10]
mov ebx, eax
mov eax, edi
cdq
idiv dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edx
lea edx, [eax + ebx*2]
mov eax, ebx
mov dword [esp + 0x20], edx
sar eax, 1
add ebp, eax
test bl, 1
mov dword [esp + 0x30], ebp
je 0x4e36e0
mov dword [esp + 0x28], 4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xa0]
mov dl, al
mov bl, byte [edi + 4]
mov edi, dword [edi]
sub dl, bl
mov ebx, dword [esp + 0x2c]
and dl, 1
add edi, ebx
mov byte [esp + 0x24], dl
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0xc]
imul ebx, eax
lea ebx, [ebx + edi*2]
mov edi, dword [edx + 0x10]
mov edx, dword [esp + 0x5c]
add ebx, edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x60], ebx
cmp edi, edx
jge 0x4e3725
mov edx, edi
sub edx, eax
add ecx, 0x100
mov dword [esp + 0x54], edx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edi, edx
sar edi, 0xb
mov ax, word [ecx]
mov ecx, edx
sar ecx, 9
and ecx, 3
dec ecx
je 0x4e377d
dec ecx
je 0x4e376e
dec ecx
jne 0x4e3795
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
and ecx, 0xff
and ebp, 0xff
or ecx, ebp
jmp 0x4e3793
mov cl, byte [esp + 0x24]
mov ebp, dword [esp + 0x1c]
add ecx, ebp
and ecx, 1
jmp 0x4e3793
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
and ecx, 0xff
and ebp, 0xff
and ecx, ebp
add edi, ecx
cmp edi, 0x10
jg case.default.0x4e379e
jmp dword [edi*4 + 0x4e48c8]
xor edi, edi
jmp 0x4e3d15
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x834910]
mov bp, ax
sar ecx, 3
shr bp, 3
and ecx, ebp
mov bp, ax
sub edi, ecx
mov ecx, dword [0x8348f8]
sar ecx, 2
shr bp, 2
and ecx, ebp
sub edi, ecx
mov ecx, dword [0x8348f4]
sar ecx, 1
shr ax, 1
and ecx, eax
sub edi, ecx
jmp 0x4e3d15
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x8348f8]
mov bp, ax
sar ecx, 2
shr bp, 2
and ecx, ebp
sub edi, ecx
mov ecx, dword [0x8348f4]
sar ecx, 1
shr ax, 1
and ecx, eax
sub edi, ecx
jmp 0x4e3d15
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
jmp 0x4e380e
mov ecx, dword [0x8348f8]
mov di, ax
sar ecx, 2
shr di, 2
and ecx, edi
mov edi, eax
jmp 0x4e3826
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x834910]
mov bp, ax
sar ecx, 3
shr bp, 3
jmp 0x4e3824
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
and ecx, edi
mov edi, eax
jmp 0x4e3826
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
jmp 0x4e3826
mov ecx, dword [0x8348f4]
mov di, ax
sar ecx, 1
shr di, 1
and ecx, edi
sub eax, ecx
mov edi, eax
jmp 0x4e3d15
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x834910]
mov bp, ax
sar ecx, 3
shr bp, 3
and ecx, ebp
jmp 0x4e3924
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
jmp 0x4e3920
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x8348f8]
sar ecx, 2
shr ax, 2
and ecx, eax
sub edi, ecx
jmp 0x4e3d15
mov ecx, dword [0x8348f8]
mov di, ax
sar ecx, 2
shr di, 2
and ecx, edi
sub eax, ecx
mov edi, eax
jmp 0x4e3d15
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x834910]
sar ecx, 3
shr ax, 3
and ecx, eax
sub edi, ecx
jmp 0x4e3d15
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
and ecx, edi
sub eax, ecx
mov edi, eax
jmp 0x4e3d15
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
sub eax, ecx
mov edi, eax
jmp 0x4e3d15
add edi, 0xffffffef
cmp edi, 0xf
ja case.default.0x4e39c5
jmp dword [edi*4 + 0x4e490c]
mov esi, dword [0x8348ec]
mov ecx, eax
sar esi, 4
and ecx, 0xffff
and esi, 0xffff
shr ecx, 4
and esi, ecx
jmp case.default.0x4e39c5
mov esi, dword [0x834910]
mov ecx, eax
sar esi, 3
and ecx, 0xffff
and esi, 0xffff
shr ecx, 3
and esi, ecx
jmp case.default.0x4e39c5
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
and edi, 0xffff
shr ecx, 3
and edi, ecx
add esi, edi
jmp case.default.0x4e39c5
mov esi, dword [0x8348f8]
mov ecx, eax
sar esi, 2
and ecx, 0xffff
and esi, 0xffff
shr ecx, 2
and esi, ecx
jmp case.default.0x4e39c5
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr ecx, 2
and edi, ecx
add esi, edi
jmp case.default.0x4e39c5
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edi, ecx
and esi, 0xffff
shr edi, 3
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr ecx, 2
and edi, ecx
add esi, edi
jmp case.default.0x4e39c5
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebp, ecx
and edi, 0xffff
shr ebp, 3
and edi, ebp
add esi, edi
jmp 0x4e3a86
mov esi, dword [0x8348f4]
mov ecx, eax
sar esi, 1
and ecx, 0xffff
and esi, 0xffff
shr ecx, 1
and esi, ecx
jmp case.default.0x4e39c5
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
jmp 0x4e3c22
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edi, ecx
and esi, 0xffff
shr edi, 3
and esi, edi
jmp 0x4e3c22
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebp, ecx
and edi, 0xffff
shr ebp, 3
jmp 0x4e3c1e
mov esi, dword [0x8348f8]
mov ecx, eax
and ecx, 0xffff
sar esi, 2
mov edi, ecx
and esi, 0xffff
shr edi, 2
and esi, edi
jmp 0x4e3c22
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
jmp 0x4e3c08
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edi, ecx
and esi, 0xffff
shr edi, 3
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
mov ebp, ecx
and edi, 0xffff
shr ebp, 2
and edi, ebp
add esi, edi
mov edi, dword [0x8348f4]
sar edi, 1
and edi, 0xffff
shr ecx, 1
and edi, ecx
add esi, edi
jmp case.default.0x4e39c5
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebp, ecx
and edi, 0xffff
shr ebp, 3
and edi, ebp
mov ebp, ecx
add esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr ebp, 2
and edi, ebp
add esi, edi
mov edi, dword [0x8348f4]
sar edi, 1
and edi, 0xffff
shr ecx, 1
and edi, ecx
add esi, edi
jmp case.default.0x4e39c5
mov esi, eax
and esi, 0xffff
mov ecx, dword [0x839f40]
and eax, 0xffff
mov edi, eax
mov ebp, esi
and edi, ecx
mov ecx, dword [0x839f3c]
and eax, ecx
and ebp, ecx
mov ecx, dword [0x839f28]
add eax, ebp
test eax, ecx
je 0x4e3d13
test dword [0x839f34], eax
je 0x4e3ce3
mov ebp, dword [0x839f38]
mov ecx, dword [0x8348e4]
and eax, ebp
or eax, ecx
test dword [0x839f4c], eax
je 0x4e3cfb
mov ebp, dword [0x839f44]
mov ecx, dword [0x8348fc]
and eax, ebp
or eax, ecx
test dword [0x839f2c], eax
je 0x4e3d13
mov ebp, dword [0x839f30]
mov ecx, dword [0x8348f0]
and eax, ebp
or eax, ecx
or edi, eax
mov ecx, dword [esp + 0x30]
xor eax, eax
and edi, 0xffff
mov al, byte [ecx]
mov cl, byte [esp + 0x28]
mov ebp, eax
xor eax, eax
shr ebp, cl
mov ax, word [ebx]
and ebp, 0xf
test ebp, ebp
je 0x4e3d8f
mov edx, ebp
mov ebx, dword [0x8348d0]
sar edx, 3
and edx, 1
mov ecx, eax
add ebp, edx
mov edx, eax
mov eax, dword [0x8348fc]
and ecx, ebx
and edx, eax
mov eax, edi
and eax, dword [0x8348fc]
and edi, ebx
sub edi, ecx
mov ebx, dword [0x8348dc]
sub eax, edx
imul edi, ebp
imul eax, ebp
shl edx, 4
shl ecx, 4
add eax, edx
mov edx, dword [0x834928]
add edi, ecx
and eax, edx
mov edx, dword [esp + 0x14]
and edi, ebx
mov ebx, dword [esp + 0x60]
add eax, edi
sar eax, 4
mov word [ebx], ax
mov eax, dword [esp + 0x54]
dec eax
test eax, eax
mov dword [esp + 0x54], eax
jle 0x4e3e12
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x84]
add edx, ecx
mov edi, dword [eax + 0xc]
mov al, byte [esp + 0x24]
add ebx, edi
mov edi, dword [esp + 0x68]
test al, al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], ebx
sete cl
mov byte [esp + 0x24], cl
mov ecx, dword [esp + 0x10]
add eax, edi
mov dword [esp + 0x14], edx
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4e3739
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov ebp, 4
add edx, 2
sub ebp, dword [esp + 0x28]
mov dword [esp + 0x28], ebp
jne 0x4e3dfb
inc edi
sub eax, ecx
cmp eax, ecx
jge 0x4e3de8
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], edx
jmp 0x4e3735
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
add ecx, eax
mov al, byte [esp + 0x1c]
add edi, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x58], ecx
test al, al
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x40]
sete cl
mov byte [esp + 0x1c], cl
mov ecx, dword [esp + 0x50]
add ebx, edx
mov edx, dword [esp + 0x44]
add edi, ecx
mov ecx, dword [esp + 0x38]
inc eax
dec edx
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edx
jl 0x4e3590
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x90], eax
mov edx, dword [edx]
cmp eax, ecx
lea esi, [edx + 0x20]
jl 0x4e3e9b
mov dword [esp + 0x90], ecx
mov edi, dword [esp + 0x4c]
lea ebp, [edx + 0x40]
cmp edi, ecx
jg 0x4e3ea8
mov edi, ecx
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx + 8]
cmp esi, eax
jge 0x4e48ba
mov ebx, dword [ecx]
cmp ebx, ebp
jge 0x4e48ba
mov esi, dword [ecx + 0xc]
cmp dword [esp + 0x90], esi
jge 0x4e48ba
mov ecx, dword [ecx + 4]
cmp ecx, edi
jge 0x4e48ba
cmp edi, esi
mov dword [esp + 0x44], edi
jl 0x4e3eeb
mov dword [esp + 0x44], esi
cmp ebp, eax
jge 0x4e3ef1
mov eax, ebp
mov esi, dword [esp + 0x90]
cmp esi, ecx
mov dword [esp + 0x2c], esi
jg 0x4e3f04
mov dword [esp + 0x2c], ecx
lea ecx, [edx + 0x20]
cmp ecx, ebx
jle 0x4e3f0d
mov ebx, ecx
sub eax, edx
mov ecx, ebx
sub eax, 0x20
sub ecx, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xac]
sub ecx, 0x20
mov ebp, dword [eax + 8]
mov edi, dword [eax + 4]
mov eax, ebp
mov dword [esp + 0x34], ecx
sub eax, edi
cdq
and edx, 0x1f
add eax, edx
mov esi, eax
mov eax, dword [esp + 0xac]
sar esi, 5
mov edx, dword [eax + 0xc]
mov eax, ebp
sub eax, edx
mov dword [esp + 0x50], edx
cdq
and edx, 0x1f
mov dword [esp + 0x78], esi
add eax, edx
mov edx, esi
imul edx, ecx
sar eax, 5
mov dword [esp + 0x7c], eax
imul eax, ecx
add edx, edi
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x50]
add eax, edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x40], eax
mov al, byte [edx]
sub bl, al
mov eax, dword [esp + 0x5c]
and bl, 1
cmp ecx, eax
mov byte [esp + 0x28], bl
jge 0x4e48ba
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
sub edx, eax
lea esi, [ecx*4 + 0x80]
sub eax, ebx
mov dword [esp + 0x3c], esi
mov ebx, 0x1f
mov esi, edx
mov dword [esp + 0x50], eax
sub ebx, ecx
imul eax, ecx
neg esi
imul ebx, edx
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], ebx
jmp 0x4e3fe0
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0x64]
mov edi, eax
mov eax, ebx
sar edi, 5
add edi, edx
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0x70]
mov ebp, eax
sar ebp, 5
add ebp, edx
mov eax, ebp
sub eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
cmp edi, eax
jge 0x4e4855
cmp ebp, dword [esp + 0x2c]
jle 0x4e4855
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4e4855
mov ebx, dword [esp + 0x34]
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
shl eax, 1
mov ecx, eax
mov eax, 0x1f
sub eax, ecx
mov dword [esp + 0x54], eax
mov al, byte [0x85aa54]
test al, 1
jne 0x4e4062
or al, 1
mov byte [0x85aa54], al
call fcn.004df850
mov dword [0x85aa58], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [0x85aa58]
mov ecx, dword [edx + eax]
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 4]
xor edx, edx
lea ecx, [eax + ecx*2]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xb0]
cmp byte [ecx + 4], 4
sete dl
shl edx, 6
add edx, ebx
mov ebx, dword [ecx + 8]
mov ecx, dword [esp + 0x30]
mov eax, dword [edx*4 + 0x74c6d8]
add eax, ebx
xor ebx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
sub eax, ecx
mov dword [esp + 0x14], ebx
cdq
idiv dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
cmp edi, eax
jle 0x4e40cd
mov eax, edi
mov dword [esp + 0x20], ebx
jmp 0x4e4127
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
sub eax, edi
mov ecx, eax
imul eax, dword [esp + 0x54]
mov edi, eax
imul ecx, dword [esp + 0x60]
cdq
idiv dword [esp + 0x10]
add ecx, ebx
mov ebx, eax
mov eax, edi
cdq
idiv dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
lea edx, [eax + ebx*2]
mov eax, ebx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
sar eax, 1
add edx, eax
test bl, 1
mov dword [esp + 0x18], edx
je 0x4e4123
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0xa0]
mov dl, al
mov bl, byte [edi + 4]
mov edi, dword [edi]
sub dl, bl
mov ebx, dword [esp + 0x34]
and dl, 1
add edi, ebx
mov byte [esp + 0x1c], dl
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0xc]
imul ebx, eax
lea ebx, [ebx + edi*2 + 0x40]
mov edi, dword [edx + 0x10]
mov edx, dword [esp + 0x44]
add ebx, edi
cmp ebp, edx
mov dword [esp + 0x68], ebx
jl 0x4e4165
mov ebp, edx
sub ebp, eax
lea edx, [ecx + 0x100]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x24]
mov edi, edx
sar edi, 0xb
mov ax, word [ecx]
mov ecx, edx
sar ecx, 9
and ecx, 3
dec ecx
je 0x4e41b9
dec ecx
je 0x4e41aa
dec ecx
jne 0x4e41d1
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
and ecx, 0xff
and ebp, 0xff
or ecx, ebp
jmp 0x4e41cf
mov cl, byte [esp + 0x1c]
mov ebp, dword [esp + 0x28]
add ecx, ebp
and ecx, 1
jmp 0x4e41cf
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
and ecx, 0xff
and ebp, 0xff
and ecx, ebp
add edi, ecx
cmp edi, 0x10
jg case.default.0x4e41da
jmp dword [edi*4 + 0x4e494c]
xor edi, edi
jmp 0x4e4751
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x834910]
mov bp, ax
sar ecx, 3
shr bp, 3
and ecx, ebp
mov bp, ax
sub edi, ecx
mov ecx, dword [0x8348f8]
sar ecx, 2
shr bp, 2
and ecx, ebp
sub edi, ecx
mov ecx, dword [0x8348f4]
sar ecx, 1
shr ax, 1
and ecx, eax
sub edi, ecx
jmp 0x4e4751
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x8348f8]
mov bp, ax
sar ecx, 2
shr bp, 2
and ecx, ebp
sub edi, ecx
mov ecx, dword [0x8348f4]
sar ecx, 1
shr ax, 1
and ecx, eax
sub edi, ecx
jmp 0x4e4751
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
jmp 0x4e424a
mov ecx, dword [0x8348f8]
mov di, ax
sar ecx, 2
shr di, 2
and ecx, edi
mov edi, eax
jmp 0x4e4262
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x834910]
mov bp, ax
sar ecx, 3
shr bp, 3
jmp 0x4e4260
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
and ecx, edi
mov edi, eax
jmp 0x4e4262
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
jmp 0x4e4262
mov ecx, dword [0x8348f4]
mov di, ax
sar ecx, 1
shr di, 1
and ecx, edi
sub eax, ecx
mov edi, eax
jmp 0x4e4751
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x834910]
mov bp, ax
sar ecx, 3
shr bp, 3
and ecx, ebp
jmp 0x4e4360
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
jmp 0x4e435c
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x8348f8]
sar ecx, 2
shr ax, 2
and ecx, eax
sub edi, ecx
jmp 0x4e4751
mov ecx, dword [0x8348f8]
mov di, ax
sar ecx, 2
shr di, 2
and ecx, edi
sub eax, ecx
mov edi, eax
jmp 0x4e4751
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x834910]
sar ecx, 3
shr ax, 3
and ecx, eax
sub edi, ecx
jmp 0x4e4751
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
and ecx, edi
sub eax, ecx
mov edi, eax
jmp 0x4e4751
mov ecx, dword [0x8348ec]
mov di, ax
sar ecx, 4
shr di, 4
and ecx, edi
sub eax, ecx
mov edi, eax
jmp 0x4e4751
add edi, 0xffffffef
cmp edi, 0xf
ja case.default.0x4e4401
jmp dword [edi*4 + 0x4e4990]
mov esi, dword [0x8348ec]
mov ecx, eax
sar esi, 4
and ecx, 0xffff
and esi, 0xffff
shr ecx, 4
and esi, ecx
jmp case.default.0x4e4401
mov esi, dword [0x834910]
mov ecx, eax
sar esi, 3
and ecx, 0xffff
and esi, 0xffff
shr ecx, 3
and esi, ecx
jmp case.default.0x4e4401
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
and edi, 0xffff
shr ecx, 3
and edi, ecx
add esi, edi
jmp case.default.0x4e4401
mov esi, dword [0x8348f8]
mov ecx, eax
sar esi, 2
and ecx, 0xffff
and esi, 0xffff
shr ecx, 2
and esi, ecx
jmp case.default.0x4e4401
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr ecx, 2
and edi, ecx
add esi, edi
jmp case.default.0x4e4401
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edi, ecx
and esi, 0xffff
shr edi, 3
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr ecx, 2
and edi, ecx
add esi, edi
jmp case.default.0x4e4401
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebp, ecx
and edi, 0xffff
shr ebp, 3
and edi, ebp
add esi, edi
jmp 0x4e44c2
mov esi, dword [0x8348f4]
mov ecx, eax
sar esi, 1
and ecx, 0xffff
and esi, 0xffff
shr ecx, 1
and esi, ecx
jmp case.default.0x4e4401
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
jmp 0x4e465e
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edi, ecx
and esi, 0xffff
shr edi, 3
and esi, edi
jmp 0x4e465e
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebp, ecx
and edi, 0xffff
shr ebp, 3
jmp 0x4e465a
mov esi, dword [0x8348f8]
mov ecx, eax
and ecx, 0xffff
sar esi, 2
mov edi, ecx
and esi, 0xffff
shr edi, 2
and esi, edi
jmp 0x4e465e
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
jmp 0x4e4644
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edi, ecx
and esi, 0xffff
shr edi, 3
and esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
mov ebp, ecx
and edi, 0xffff
shr ebp, 2
and edi, ebp
add esi, edi
mov edi, dword [0x8348f4]
sar edi, 1
and edi, 0xffff
shr ecx, 1
and edi, ecx
add esi, edi
jmp case.default.0x4e4401
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edi, ecx
and esi, 0xffff
shr edi, 4
and esi, edi
mov edi, dword [0x834910]
sar edi, 3
mov ebp, ecx
and edi, 0xffff
shr ebp, 3
and edi, ebp
mov ebp, ecx
add esi, edi
mov edi, dword [0x8348f8]
sar edi, 2
and edi, 0xffff
shr ebp, 2
and edi, ebp
add esi, edi
mov edi, dword [0x8348f4]
sar edi, 1
and edi, 0xffff
shr ecx, 1
and edi, ecx
add esi, edi
jmp case.default.0x4e4401
mov esi, eax
and esi, 0xffff
mov ecx, dword [0x839f40]
and eax, 0xffff
mov edi, eax
mov ebp, esi
and edi, ecx
mov ecx, dword [0x839f3c]
and eax, ecx
and ebp, ecx
mov ecx, dword [0x839f28]
add eax, ebp
test eax, ecx
je 0x4e474f
test dword [0x839f34], eax
je 0x4e471f
mov ebp, dword [0x839f38]
mov ecx, dword [0x8348e4]
and eax, ebp
or eax, ecx
test dword [0x839f4c], eax
je 0x4e4737
mov ebp, dword [0x839f44]
mov ecx, dword [0x8348fc]
and eax, ebp
or eax, ecx
test dword [0x839f2c], eax
je 0x4e474f
mov ebp, dword [0x839f30]
mov ecx, dword [0x8348f0]
and eax, ebp
or eax, ecx
or edi, eax
mov ecx, dword [esp + 0x18]
xor eax, eax
and edi, 0xffff
mov al, byte [ecx]
mov cl, byte [esp + 0x14]
mov ebp, eax
xor eax, eax
shr ebp, cl
mov ax, word [ebx]
and ebp, 0xf
test ebp, ebp
je 0x4e47cb
mov edx, ebp
mov ebx, dword [0x8348d0]
sar edx, 3
and edx, 1
mov ecx, eax
add ebp, edx
mov edx, eax
mov eax, dword [0x8348fc]
and ecx, ebx
and edx, eax
mov eax, edi
and eax, dword [0x8348fc]
and edi, ebx
sub edi, ecx
mov ebx, dword [0x8348dc]
sub eax, edx
imul edi, ebp
imul eax, ebp
shl edx, 4
shl ecx, 4
add eax, edx
mov edx, dword [0x834928]
add edi, ecx
and eax, edx
mov edx, dword [esp + 0x4c]
and edi, ebx
mov ebx, dword [esp + 0x68]
add eax, edi
sar eax, 4
mov word [ebx], ax
mov eax, dword [esp + 0x38]
dec eax
test eax, eax
mov dword [esp + 0x38], eax
jle 0x4e4855
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x60]
add edx, ecx
mov edi, dword [eax + 0xc]
mov al, byte [esp + 0x1c]
add ebx, edi
mov edi, dword [esp + 0x54]
test al, al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], ebx
sete cl
mov byte [esp + 0x1c], cl
mov ecx, dword [esp + 0x10]
add eax, edi
mov dword [esp + 0x4c], edx
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4e4175
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov edx, 4
add eax, 2
sub edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
jne 0x4e483a
inc ebp
sub ecx, edi
cmp ecx, edi
jge 0x4e4827
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], eax
jmp 0x4e4175
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x40]
mov dl, byte [esp + 0x28]
mov ebp, dword [esp + 0x3c]
add ebx, eax
mov eax, dword [esp + 0x34]
add edi, ecx
mov ecx, dword [esp + 0x50]
test dl, dl
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x58]
sete dl
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x48]
mov byte [esp + 0x28], dl
mov edx, dword [esp + 0x74]
add ebx, ecx
mov ecx, dword [esp + 0x5c]
inc eax
add ebp, 4
add edi, edx
cmp eax, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x48], edi
jl 0x4e3fd8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x14