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

Disassembly:
sub esp, 0x84
mov eax, dword [esp + 0x9c]
push ebx
push ebp
push esi
mov bl, byte [eax + 4]
push edi
cmp bl, 1
mov dword [esp + 0x80], edx
mov dword [esp + 0x74], ecx
je 0x4e1c8f
push eax
mov eax, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xac]
push eax
call fcn.004ddb90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0x18
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa4]
mov eax, dword [ebx + 4]
mov ebp, dword [esi]
mov edx, dword [esi + 4]
mov ecx, eax
mov edi, eax
sub ecx, ebp
mov ebp, dword [esi + 8]
sub edi, edx
mov edx, eax
add ecx, 0x10
sub edx, ebp
mov dword [esp + 0x50], ecx
add edx, 0x10
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edx
mov edx, dword [esi + 0xc]
sub eax, edx
mov edx, dword [ebx]
add eax, 0x20
cmp edi, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], edi
jl 0x4e1ce6
mov dword [esp + 0x88], ecx
cmp eax, ecx
lea esi, [edx + 0x20]
jle 0x4e1cef
mov ecx, eax
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0xa8]
mov eax, dword [eax + 8]
cmp edx, eax
jge 0x4e27c2
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx]
cmp ebx, esi
jge 0x4e27c2
mov esi, dword [esp + 0xa0]
mov ebp, dword [esp + 0x88]
mov esi, dword [esi + 0xc]
cmp ebp, esi
jge 0x4e27c2
mov ebp, dword [esp + 0xa0]
mov ebp, dword [ebp + 4]
cmp ebp, ecx
jge 0x4e27c2
cmp ecx, esi
mov dword [esp + 0x48], ecx
jl 0x4e1d50
mov dword [esp + 0x48], esi
lea ecx, [edx + 0x20]
cmp ecx, eax
jge 0x4e1d59
mov eax, ecx
mov ecx, dword [esp + 0x88]
cmp ecx, ebp
mov dword [esp + 0x60], ecx
jg 0x4e1d6c
mov dword [esp + 0x60], ebp
cmp edx, ebx
jle 0x4e1d72
mov ebx, edx
mov esi, dword [edi]
sub eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [edi + 4]
mov ecx, ebx
sub eax, esi
sub ecx, edx
cdq
and edx, 0x1f
mov dword [esp + 0x38], ecx
add eax, edx
mov ebp, eax
mov eax, dword [edi + 0xc]
sub eax, esi
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0x9c]
sar eax, 5
sar ebp, 5
mov edi, eax
mov dword [esp + 0x7c], ebp
imul ebp, ecx
imul edi, ecx
mov dword [esp + 0x58], eax
mov al, byte [edx]
sub bl, al
mov eax, dword [esp + 0x68]
add ebp, esi
add edi, esi
and bl, 1
cmp ecx, eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x64], edi
mov byte [esp + 0x34], bl
jge 0x4e27c2
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x6c]
lea edx, [eax + ecx*4]
mov eax, 0x1f
sub eax, ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xac]
jmp 0x4e1e0c
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x38]
cmp ecx, 0x3c
jle 0x4e1e34
xor edx, edx
cmp byte [eax + 4], 4
sete dl
shl edx, 6
add edx, ecx
mov ecx, dword [edx*4 + 0x74c658]
mov edx, dword [eax + 8]
xor eax, eax
mov al, byte [ecx + edx]
jmp 0x4e1e4f
xor edx, edx
cmp byte [eax + 4], 4
sete dl
shl edx, 6
add edx, ecx
mov ecx, dword [edx*4 + 0x74c658]
mov edx, dword [eax + 8]
mov eax, dword [ecx + edx]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4e2770
mov eax, dword [esp + 0x50]
sub eax, ebx
imul eax, dword [esp + 0x40]
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0x50]
mov ecx, eax
mov eax, dword [esp + 0x78]
sub eax, edx
imul eax, dword [esp + 0x38]
cdq
and edx, 0x1f
sar ecx, 5
add eax, edx
add ecx, ebx
mov ebx, eax
mov eax, dword [esp + 0x50]
sar ebx, 5
add ebx, eax
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
cmp ecx, eax
jge 0x4e2770
cmp ebx, dword [esp + 0x60]
jle 0x4e2770
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4e2770
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], ebp
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 + 0x5c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x104]
add eax, dword [edx]
mov dword [esp + 0x18], eax
mov eax, edi
sub eax, ebp
mov edi, dword [esp + 0x18]
cdq
idiv dword [esp + 0x20]
mov dword [esp + 0x4c], eax
xor eax, eax
mov al, byte [edi]
inc edi
mov ebp, eax
mov eax, dword [esp + 0x60]
cmp ecx, eax
mov dword [esp + 0x18], edi
jle 0x4e1f23
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
jmp 0x4e1fa8
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
sub eax, ecx
mov edi, eax
mov ecx, eax
imul edi, dword [esp + 0x3c]
imul ecx, dword [esp + 0x4c]
mov eax, edi
add ecx, edx
cdq
idiv dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, eax
shr edx, cl
test edx, edx
mov dword [esp + 0x1c], edx
je 0x4e2770
lea ecx, [eax + 1]
imul ecx, dword [esp + 0x20]
sub ecx, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov cl, byte [esp + 0x13]
cmp ebp, eax
jg 0x4e1f90
test cl, cl
jne 0x4e1f80
add edi, ebp
xor edx, edx
sub eax, ebp
mov dl, byte [edi]
inc edi
test cl, cl
mov ebp, edx
sete cl
jmp 0x4e1f76
test cl, cl
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], edi
jne 0x4e1fa2
add edi, eax
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x44]
sub ebp, eax
mov edx, dword [esp + 0x9c]
mov al, cl
sub al, byte [edx + 4]
mov edx, dword [edx]
and al, 1
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x98]
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
add edx, eax
mov eax, edi
imul eax, ecx
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x98]
add eax, dword [edx + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
cmp ebx, eax
jl 0x4e1fec
mov ebx, eax
mov al, byte [esp + 0x13]
sub ebx, ecx
mov dword [esp + 0x2c], ebx
test al, al
je 0x4e2089
mov eax, dword [esp + 0x1c]
mov ecx, ebp
shr eax, cl
mov ecx, dword [esp + 0x20]
imul ebp, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
add eax, ebp
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x4e273f
mov edx, ecx
mov ecx, dword [esp + 0x3c]
sub eax, edx
lea eax, [eax + ecx - 1]
cdq
idiv ecx
test eax, eax
jle 0x4e273f
mov ecx, eax
mov ebp, dword [esp + 0x14]
imul ecx, dword [esp + 0x3c]
mov edx, edi
sub ebp, ecx
imul edx, eax
mov ebx, dword [esp + 0x30]
mov ecx, eax
imul ecx, dword [esp + 0x4c]
add ebx, edx
mov edx, dword [esp + 0x28]
add edx, ecx
mov cl, byte [esp + 0x24]
mov dword [esp + 0x28], edx
mov dl, al
add dl, cl
mov ecx, dword [esp + 0x2c]
and dl, 1
sub ecx, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x24], dl
mov dword [esp + 0x2c], ecx
jmp 0x4e273f
test ebp, ebp
mov dword [esp + 0x44], ebp
jle 0x4e273f
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4e2705
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
and ebx, 1
lea ebp, [eax + 0x100]
test ebx, ebx
je 0x4e26ad
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
xor ecx, ecx
mov edi, ebp
mov cl, byte [edx]
sar edi, 0xb
mov ax, word [eax + ecx*2]
mov ecx, ebp
sar ecx, 9
and ecx, 3
dec ecx
je 0x4e210e
dec ecx
je 0x4e20fd
dec ecx
jne 0x4e2126
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
and ecx, 0xff
and edx, 0xff
or ecx, edx
add edi, ecx
jmp 0x4e2126
mov cl, byte [esp + 0x24]
mov edx, dword [esp + 0x34]
add ecx, edx
and ecx, 1
add edi, ecx
jmp 0x4e2126
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
and edx, 0xff
and ecx, 0xff
and edx, ecx
add edi, edx
cmp edi, 0x10
jg case.default.0x4e212f
jmp dword [edi*4 + 0x4e32dc]
xor ecx, ecx
jmp 0x4e26a6
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x834910]
mov di, ax
sar edx, 3
shr di, 3
and edx, edi
mov di, ax
sub ecx, edx
mov edx, dword [0x8348f8]
sar edx, 2
shr di, 2
and edx, edi
sub ecx, edx
mov edx, dword [0x8348f4]
sar edx, 1
shr ax, 1
and edx, eax
sub ecx, edx
jmp 0x4e26a6
mov edx, dword [0x834910]
mov cx, ax
sar edx, 3
shr cx, 3
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x8348f8]
mov di, ax
sar edx, 2
shr di, 2
and edx, edi
sub ecx, edx
mov edx, dword [0x8348f4]
sar edx, 1
shr ax, 1
and edx, eax
sub ecx, edx
jmp 0x4e26a6
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
jmp 0x4e219f
mov edx, dword [0x8348f8]
mov cx, ax
sar edx, 2
shr cx, 2
and edx, ecx
mov ecx, eax
jmp 0x4e21b7
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x834910]
mov di, ax
sar edx, 3
shr di, 3
jmp 0x4e21b5
mov edx, dword [0x834910]
mov cx, ax
sar edx, 3
shr cx, 3
and edx, ecx
mov ecx, eax
jmp 0x4e21b7
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
jmp 0x4e21b7
mov ecx, dword [0x8348f4]
mov dx, ax
sar ecx, 1
shr dx, 1
and ecx, edx
sub eax, ecx
mov ecx, eax
jmp 0x4e26a6
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x834910]
mov di, ax
sar edx, 3
shr di, 3
and edx, edi
jmp 0x4e22b5
mov edx, dword [0x834910]
mov cx, ax
sar edx, 3
shr cx, 3
jmp 0x4e22b1
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x8348f8]
sar edx, 2
shr ax, 2
and edx, eax
sub ecx, edx
jmp 0x4e26a6
mov ecx, dword [0x8348f8]
mov dx, ax
sar ecx, 2
shr dx, 2
and ecx, edx
sub eax, ecx
mov ecx, eax
jmp 0x4e26a6
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x834910]
sar edx, 3
shr ax, 3
and edx, eax
sub ecx, edx
jmp 0x4e26a6
mov ecx, dword [0x834910]
mov dx, ax
sar ecx, 3
shr dx, 3
and ecx, edx
sub eax, ecx
mov ecx, eax
jmp 0x4e26a6
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
sub eax, ecx
mov ecx, eax
jmp 0x4e26a6
lea ecx, [edi - 0x11]
cmp ecx, 0xf
ja case.default.0x4e2356
jmp dword [ecx*4 + 0x4e3320]
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.0x4e2356
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.0x4e2356
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
and edx, 0xffff
shr ecx, 3
and edx, ecx
add esi, edx
jmp case.default.0x4e2356
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.0x4e2356
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr ecx, 2
and edx, ecx
add esi, edx
jmp case.default.0x4e2356
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr ecx, 2
and edx, ecx
add esi, edx
jmp case.default.0x4e2356
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
and edx, edi
add esi, edx
jmp 0x4e2417
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.0x4e2356
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
jmp 0x4e25b3
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
jmp 0x4e25b3
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
jmp 0x4e25af
mov esi, dword [0x8348f8]
mov ecx, eax
and ecx, 0xffff
sar esi, 2
mov edx, ecx
and esi, 0xffff
shr edx, 2
and esi, edx
jmp 0x4e25b3
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
jmp 0x4e2599
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
mov edi, ecx
and edx, 0xffff
shr edi, 2
and edx, edi
add esi, edx
mov edx, dword [0x8348f4]
sar edx, 1
and edx, 0xffff
shr ecx, 1
and edx, ecx
add esi, edx
jmp case.default.0x4e2356
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
and edx, edi
mov edi, ecx
add esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr edi, 2
and edx, edi
add esi, edx
mov edx, dword [0x8348f4]
sar edx, 1
and edx, 0xffff
shr ecx, 1
and edx, ecx
add esi, edx
jmp case.default.0x4e2356
mov esi, eax
and esi, 0xffff
mov edx, dword [0x839f40]
and eax, 0xffff
mov ecx, eax
mov edi, esi
and ecx, edx
mov edx, dword [0x839f3c]
and eax, edx
and edi, edx
mov edx, dword [0x839f28]
add eax, edi
test eax, edx
je 0x4e26a4
test dword [0x839f34], eax
je 0x4e2674
mov edi, dword [0x839f38]
mov edx, dword [0x8348e4]
and eax, edi
or eax, edx
test dword [0x839f4c], eax
je 0x4e268c
mov edi, dword [0x839f44]
mov edx, dword [0x8348fc]
and eax, edi
or eax, edx
test dword [0x839f2c], eax
je 0x4e26a4
mov edi, dword [0x839f30]
mov edx, dword [0x8348f0]
and eax, edi
or eax, edx
or ecx, eax
mov eax, dword [esp + 0x30]
mov word [eax], cx
mov eax, dword [esp + 0x2c]
dec eax
test eax, eax
mov dword [esp + 0x2c], eax
jle 0x4e2770
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov edi, dword [ecx + 0xc]
add eax, edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
add edx, eax
add ebp, eax
mov al, byte [esp + 0x24]
mov dword [esp + 0x28], edx
test al, al
mov eax, dword [esp + 0x14]
sete dl
mov byte [esp + 0x24], dl
mov edx, dword [esp + 0x3c]
sub eax, edx
test eax, eax
mov dword [esp + 0x14], eax
jg 0x4e20b2
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4e2770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
inc ecx
shr eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
add eax, ebp
dec ecx
test ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], ecx
jg 0x4e2099
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4e2770
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e2770
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [eax]
inc eax
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x13]
test al, al
sete al
mov ebp, ecx
mov byte [esp + 0x13], al
jmp 0x4e1ff6
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x58]
mov dl, byte [esp + 0x34]
mov ecx, dword [esp + 0x68]
add ebp, eax
mov eax, dword [esp + 0x38]
add edi, ebx
mov ebx, dword [esp + 0x40]
test dl, dl
sete dl
mov byte [esp + 0x34], dl
mov edx, dword [esp + 0x5c]
inc eax
dec ebx
add edx, 4
cmp eax, ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x5c], edx
jl 0x4e1e01
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x70]
mov edx, dword [eax]
mov eax, dword [esp + 0x6c]
cmp eax, ecx
mov dword [esp + 0x88], eax
lea esi, [edx + 0x20]
jl 0x4e27e8
mov dword [esp + 0x88], ecx
mov edi, dword [esp + 0x78]
lea ebp, [edx + 0x40]
cmp edi, ecx
jg 0x4e27f5
mov edi, ecx
mov ecx, dword [esp + 0xa0]
mov eax, dword [ecx + 8]
cmp esi, eax
jge 0x4e32cf
mov ebx, dword [ecx]
cmp ebx, ebp
jge 0x4e32cf
mov esi, dword [ecx + 0xc]
cmp dword [esp + 0x88], esi
jge 0x4e32cf
mov ecx, dword [ecx + 4]
cmp ecx, edi
jge 0x4e32cf
cmp edi, esi
mov dword [esp + 0x5c], edi
jl 0x4e2838
mov dword [esp + 0x5c], esi
cmp ebp, eax
jge 0x4e283e
mov eax, ebp
mov esi, dword [esp + 0x88]
cmp esi, ecx
mov dword [esp + 0x40], esi
jg 0x4e2851
mov dword [esp + 0x40], ecx
lea ecx, [edx + 0x20]
cmp ecx, ebx
jle 0x4e285a
mov ebx, ecx
sub eax, edx
mov ecx, ebx
sub eax, 0x20
sub ecx, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa8]
sub ecx, 0x20
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
mov eax, ebp
mov dword [esp + 0x30], ecx
sub eax, esi
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0xa8]
mov edi, eax
mov eax, ebp
mov edx, dword [edx + 0xc]
sub eax, edx
mov dword [esp + 0x58], edx
cdq
and edx, 0x1f
sar edi, 5
add eax, edx
mov dword [esp + 0x7c], edi
sar eax, 5
imul edi, ecx
mov ebp, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x9c]
imul ebp, ecx
mov dl, byte [eax]
mov eax, dword [esp + 0x44]
add edi, esi
mov esi, dword [esp + 0x58]
sub bl, dl
add ebp, esi
and bl, 1
cmp ecx, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x64], ebp
mov byte [esp + 0x34], bl
jge 0x4e32cf
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x58]
mov eax, 0x1f
sub eax, ecx
mov dword [esp + 0x50], eax
lea eax, [edx + ecx*4 + 0x80]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 0x20]
cmp eax, 0x3c
jle 0x4e2937
mov ecx, dword [esp + 0xac]
xor edx, edx
mov bl, byte [ecx + 4]
mov ecx, dword [ecx + 8]
cmp bl, 4
sete dl
shl edx, 6
add edx, eax
mov eax, dword [edx*4 + 0x74c658]
xor edx, edx
mov dl, byte [eax + ecx]
mov eax, edx
jmp 0x4e295b
mov ecx, dword [esp + 0xac]
xor edx, edx
mov bl, byte [ecx + 4]
mov ecx, dword [ecx + 8]
cmp bl, 4
sete dl
shl edx, 6
add edx, eax
mov eax, dword [edx*4 + 0x74c658]
mov eax, dword [eax + ecx]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4e327d
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
sub eax, ebx
imul eax, dword [esp + 0x30]
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0x70]
mov ecx, eax
mov eax, dword [esp + 0x78]
sub eax, edx
imul eax, dword [esp + 0x50]
cdq
and edx, 0x1f
sar ecx, 5
add eax, edx
add ecx, ebx
mov ebx, eax
mov eax, dword [esp + 0x70]
sar ebx, 5
add ebx, eax
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
cmp ecx, eax
jge 0x4e327d
cmp ebx, dword [esp + 0x40]
jle 0x4e327d
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4e327d
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edi
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 + 0x48]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x104]
add eax, dword [edx]
mov dword [esp + 0x18], eax
mov eax, ebp
sub eax, edi
mov edi, dword [esp + 0x18]
cdq
idiv dword [esp + 0x20]
mov dword [esp + 0x54], eax
xor eax, eax
mov al, byte [edi]
inc edi
mov ebp, eax
mov eax, dword [esp + 0x40]
cmp ecx, eax
mov dword [esp + 0x18], edi
jle 0x4e2a33
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
jmp 0x4e2ab8
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
sub eax, ecx
mov edi, eax
mov ecx, eax
imul edi, dword [esp + 0x3c]
imul ecx, dword [esp + 0x54]
mov eax, edi
add ecx, edx
cdq
idiv dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, eax
shr edx, cl
test edx, edx
mov dword [esp + 0x1c], edx
je 0x4e327d
lea ecx, [eax + 1]
imul ecx, dword [esp + 0x20]
sub ecx, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov cl, byte [esp + 0x13]
cmp ebp, eax
jg 0x4e2aa0
test cl, cl
jne 0x4e2a90
add edi, ebp
xor edx, edx
sub eax, ebp
mov dl, byte [edi]
inc edi
test cl, cl
mov ebp, edx
sete cl
jmp 0x4e2a86
test cl, cl
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], edi
jne 0x4e2ab2
add edi, eax
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x58]
sub ebp, eax
mov edx, dword [esp + 0x9c]
mov al, cl
sub al, byte [edx + 4]
mov edx, dword [edx]
and al, 1
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x98]
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x30]
add edx, eax
mov eax, edi
imul eax, ecx
lea eax, [eax + edx*2 + 0x40]
mov edx, dword [esp + 0x98]
add eax, dword [edx + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
cmp ebx, eax
jl 0x4e2afd
mov ebx, eax
mov al, byte [esp + 0x13]
sub ebx, ecx
mov dword [esp + 0x28], ebx
test al, al
je 0x4e2b9a
mov eax, dword [esp + 0x1c]
mov ecx, ebp
shr eax, cl
mov ecx, dword [esp + 0x20]
imul ebp, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
add eax, ebp
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x4e324c
mov edx, ecx
mov ecx, dword [esp + 0x3c]
sub eax, edx
lea eax, [eax + ecx - 1]
cdq
idiv ecx
test eax, eax
jle 0x4e324c
mov ecx, eax
mov ebp, dword [esp + 0x14]
imul ecx, dword [esp + 0x3c]
mov edx, edi
sub ebp, ecx
imul edx, eax
mov ebx, dword [esp + 0x38]
mov ecx, eax
imul ecx, dword [esp + 0x54]
add ebx, edx
mov edx, dword [esp + 0x2c]
add edx, ecx
mov cl, byte [esp + 0x24]
mov dword [esp + 0x2c], edx
mov dl, al
add dl, cl
mov ecx, dword [esp + 0x28]
and dl, 1
sub ecx, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x24], dl
mov dword [esp + 0x28], ecx
jmp 0x4e324c
test ebp, ebp
mov dword [esp + 0x68], ebp
jle 0x4e324c
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4e3212
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
and ebx, 1
lea ebp, [eax + 0x100]
test ebx, ebx
je 0x4e31ba
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
xor ecx, ecx
mov edi, ebp
mov cl, byte [edx]
sar edi, 0xb
mov ax, word [eax + ecx*2]
mov ecx, ebp
sar ecx, 9
and ecx, 3
dec ecx
je 0x4e2c1f
dec ecx
je 0x4e2c0e
dec ecx
jne 0x4e2c37
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
and ecx, 0xff
and edx, 0xff
or ecx, edx
add edi, ecx
jmp 0x4e2c37
mov cl, byte [esp + 0x24]
mov edx, dword [esp + 0x34]
add ecx, edx
and ecx, 1
add edi, ecx
jmp 0x4e2c37
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
and edx, 0xff
and ecx, 0xff
and edx, ecx
add edi, edx
cmp edi, 0x10
jg case.default.0x4e2c40
jmp dword [edi*4 + 0x4e3360]
xor ecx, ecx
jmp 0x4e31b3
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x834910]
mov di, ax
sar edx, 3
shr di, 3
and edx, edi
mov di, ax
sub ecx, edx
mov edx, dword [0x8348f8]
sar edx, 2
shr di, 2
and edx, edi
sub ecx, edx
mov edx, dword [0x8348f4]
sar edx, 1
shr ax, 1
and edx, eax
sub ecx, edx
jmp 0x4e31b3
mov edx, dword [0x834910]
mov cx, ax
sar edx, 3
shr cx, 3
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x8348f8]
mov di, ax
sar edx, 2
shr di, 2
and edx, edi
sub ecx, edx
mov edx, dword [0x8348f4]
sar edx, 1
shr ax, 1
and edx, eax
sub ecx, edx
jmp 0x4e31b3
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
jmp 0x4e2cb0
mov edx, dword [0x8348f8]
mov cx, ax
sar edx, 2
shr cx, 2
and edx, ecx
mov ecx, eax
jmp 0x4e2cc8
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x834910]
mov di, ax
sar edx, 3
shr di, 3
jmp 0x4e2cc6
mov edx, dword [0x834910]
mov cx, ax
sar edx, 3
shr cx, 3
and edx, ecx
mov ecx, eax
jmp 0x4e2cc8
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
jmp 0x4e2cc8
mov ecx, dword [0x8348f4]
mov dx, ax
sar ecx, 1
shr dx, 1
and ecx, edx
sub eax, ecx
mov ecx, eax
jmp 0x4e31b3
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x834910]
mov di, ax
sar edx, 3
shr di, 3
and edx, edi
jmp 0x4e2dc6
mov edx, dword [0x834910]
mov cx, ax
sar edx, 3
shr cx, 3
jmp 0x4e2dc2
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x8348f8]
sar edx, 2
shr ax, 2
and edx, eax
sub ecx, edx
jmp 0x4e31b3
mov ecx, dword [0x8348f8]
mov dx, ax
sar ecx, 2
shr dx, 2
and ecx, edx
sub eax, ecx
mov ecx, eax
jmp 0x4e31b3
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [0x834910]
sar edx, 3
shr ax, 3
and edx, eax
sub ecx, edx
jmp 0x4e31b3
mov ecx, dword [0x834910]
mov dx, ax
sar ecx, 3
shr dx, 3
and ecx, edx
sub eax, ecx
mov ecx, eax
jmp 0x4e31b3
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
sub eax, ecx
mov ecx, eax
jmp 0x4e31b3
lea ecx, [edi - 0x11]
cmp ecx, 0xf
ja case.default.0x4e2e67
jmp dword [ecx*4 + 0x4e33a4]
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.0x4e2e67
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.0x4e2e67
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
and edx, 0xffff
shr ecx, 3
and edx, ecx
add esi, edx
jmp case.default.0x4e2e67
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.0x4e2e67
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr ecx, 2
and edx, ecx
add esi, edx
jmp case.default.0x4e2e67
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr ecx, 2
and edx, ecx
add esi, edx
jmp case.default.0x4e2e67
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
and edx, edi
add esi, edx
jmp 0x4e2f28
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.0x4e2e67
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
jmp 0x4e30c4
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
jmp 0x4e30c4
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
jmp 0x4e30c0
mov esi, dword [0x8348f8]
mov ecx, eax
and ecx, 0xffff
sar esi, 2
mov edx, ecx
and esi, 0xffff
shr edx, 2
and esi, edx
jmp 0x4e30c4
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
jmp 0x4e30aa
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
mov edi, ecx
and edx, 0xffff
shr edi, 2
and edx, edi
add esi, edx
mov edx, dword [0x8348f4]
sar edx, 1
and edx, 0xffff
shr ecx, 1
and edx, ecx
add esi, edx
jmp case.default.0x4e2e67
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
and edx, edi
mov edi, ecx
add esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr edi, 2
and edx, edi
add esi, edx
mov edx, dword [0x8348f4]
sar edx, 1
and edx, 0xffff
shr ecx, 1
and edx, ecx
add esi, edx
jmp case.default.0x4e2e67
mov esi, eax
and esi, 0xffff
mov edx, dword [0x839f40]
mov edi, dword [0x839f3c]
and eax, 0xffff
mov ecx, eax
and eax, edi
and ecx, edx
mov edx, esi
and edx, edi
add edx, eax
mov eax, dword [0x839f28]
test edx, eax
je 0x4e31b1
test dword [0x839f34], edx
je 0x4e3183
mov edi, dword [0x839f38]
mov eax, dword [0x8348e4]
and edx, edi
or edx, eax
test dword [0x839f4c], edx
je 0x4e319a
mov edi, dword [0x839f44]
mov eax, dword [0x8348fc]
and edx, edi
or edx, eax
test dword [0x839f2c], edx
je 0x4e31b1
mov edi, dword [0x839f30]
mov eax, dword [0x8348f0]
and edx, edi
or edx, eax
or ecx, edx
mov eax, dword [esp + 0x38]
mov word [eax], cx
mov eax, dword [esp + 0x28]
dec eax
test eax, eax
mov dword [esp + 0x28], eax
jle 0x4e327d
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov edi, dword [ecx + 0xc]
add eax, edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
add edx, eax
add ebp, eax
mov al, byte [esp + 0x24]
mov dword [esp + 0x2c], edx
test al, al
mov eax, dword [esp + 0x14]
sete dl
mov byte [esp + 0x24], dl
mov edx, dword [esp + 0x3c]
sub eax, edx
test eax, eax
mov dword [esp + 0x14], eax
jg 0x4e2bc3
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x4e327d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
inc ecx
shr eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x68]
add eax, ebp
dec ecx
test ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x68], ecx
jg 0x4e2baa
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x4e327d
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e327d
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [eax]
inc eax
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x13]
test al, al
sete al
mov ebp, ecx
mov byte [esp + 0x13], al
jmp 0x4e2b07
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x7c]
mov ebx, dword [esp + 0x60]
mov dl, byte [esp + 0x34]
add edi, ebp
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
add ebp, ebx
mov ebx, dword [esp + 0x48]
test dl, dl
sete dl
mov byte [esp + 0x34], dl
mov edx, dword [esp + 0x50]
inc eax
add ebx, 4
dec edx
cmp eax, ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], edx
jl 0x4e2901
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0x18