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

Disassembly:
sub esp, 0xe0
shr edx, 1
mov dword [esp + 0xc8], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0xd0], edx
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx]
push ebx
push ebp
mov dword [esp + 0xdc], edx
mov edx, dword [eax + 4]
cmp edx, dword [eax + 0x24]
mov dword [esp + 0xe0], ecx
lea ecx, [eax + 0x20]
push esi
lea ebp, [eax + 0x40]
push edi
mov esi, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x98], ebp
jle 0x4ed933
mov esi, ecx
mov dword [esp + 0x34], eax
mov ecx, eax
mov eax, dword [ecx + 4]
cmp eax, dword [ebp + 4]
jle 0x4ed94c
mov dword [esp + 0x34], ebp
mov ebp, ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 4]
cmp edx, dword [ecx + 4]
jle 0x4ed95e
mov eax, esi
mov esi, ecx
mov dword [esp + 0x34], eax
mov ecx, eax
mov eax, dword [esi + 4]
lea edx, [eax + 0xffff]
mov eax, dword [ebp + 4]
lea edi, [eax + 0xffff]
sar edx, 0x10
sar edi, 0x10
cmp edx, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0xec], edi
je 0x4eee59
mov ecx, dword [ecx + 4]
add ecx, 0xffff
sar ecx, 0x10
mov dword [esp + 0xc8], ecx
mov ecx, dword [esi + 4]
sub eax, ecx
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0062e060
mov ecx, dword [esi]
mov edi, eax
mov eax, dword [ebp]
mov ebx, edx
push ebx
sub eax, ecx
cdq
push edi
push edx
push eax
mov dword [esp + 0x74], ecx
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 8]
sub eax, dword [esi + 8]
push ebx
cdq
push edi
push edx
push eax
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [esi + 0xc]
push ebx
cdq
push edi
push edx
push eax
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov dword [esp + 0xcc], eax
mov eax, dword [ebp + 0x10]
sub eax, dword [esi + 0x10]
push ebx
cdq
push edi
push edx
push eax
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [esi + 0x14]
push ebx
cdq
push edi
push edx
push eax
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov dword [esp + 0xdc], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [esi + 0x18]
push ebx
cdq
push edi
push edx
push eax
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [esi + 0x1c]
push ebx
cdq
push edi
push edx
push eax
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
sub eax, dword [esi + 4]
cdq
mov ecx, eax
mov eax, dword [esp + 0xd0]
mov edi, edx
push edi
cdq
push ecx
mov ebp, eax
push edx
push ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x6c], edx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx]
cmp ecx, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], ecx
je 0x4eee59
mov eax, dword [esp + 0x10]
shl eax, 0x10
sub eax, dword [esi + 4]
cdq
mov ebx, edx
mov edx, dword [esp + 0x5c]
push ebx
mov edi, eax
push edi
push edx
push ebp
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x64]
push ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc8]
cdq
push edi
mov ebp, eax
mov eax, dword [esi + 8]
push edx
push ebp
mov dword [esp + 0xbc], edx
mov dword [esp + 0x28], eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xcc]
cdq
push ebx
push edi
push edx
push eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x30], ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xd4]
cdq
push ebx
push edi
push edx
push eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x34], ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xdc]
cdq
push ebx
push edi
push edx
push eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0x2c], ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xbc]
cdq
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
push ebx
push edi
push edx
push eax
mov dword [esp + 0x24], ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x14]
mov esi, dword [esi + 0x1c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xc0]
cdq
push ebx
push edi
push edx
push eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0x7c], esi
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0062e060
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x3c]
push edx
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
push ebp
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ebp, edx
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [edx + 8]
cdq
sub eax, ecx
sbb edx, ebp
mov ecx, eax
mov eax, dword [esp + 0x18]
mov ebp, edx
cdq
sub ecx, eax
sbb ebp, edx
mov edx, dword [esp + 0x5c]
push edx
push esi
push ebp
push ecx
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ecx, eax
mov ebp, edx
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0xc]
cdq
sub eax, ecx
sbb edx, ebp
mov ecx, eax
mov eax, dword [esp + 0x20]
mov ebp, edx
cdq
sub ecx, eax
sbb ebp, edx
mov edx, dword [esp + 0x5c]
push edx
push esi
push ebp
push ecx
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ebp, edx
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [edx + 0x10]
cdq
sub eax, ecx
sbb edx, ebp
mov ecx, eax
mov eax, dword [esp + 0x24]
mov ebp, edx
cdq
sub ecx, eax
sbb ebp, edx
mov edx, dword [esp + 0x5c]
push edx
push esi
push ebp
push ecx
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x8c]
push ecx
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ecx, eax
mov ebp, edx
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x14]
cdq
sub eax, ecx
mov ecx, eax
mov eax, dword [esp + 0x1c]
sbb edx, ebp
mov ebp, edx
cdq
sub ecx, eax
sbb ebp, edx
mov edx, dword [esp + 0x5c]
push edx
push esi
push ebp
push ecx
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ebp, edx
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [edx + 0x18]
cdq
sub eax, ecx
sbb edx, ebp
mov ecx, eax
mov eax, dword [esp + 0x14]
mov ebp, edx
cdq
sub ecx, eax
sbb ebp, edx
mov edx, dword [esp + 0x5c]
push edx
push esi
push ebp
push ecx
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0xb4]
push ecx
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ebp, edx
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [edx + 0x1c]
cdq
sub eax, ecx
sbb edx, ebp
mov ecx, eax
mov eax, dword [esp + 0x6c]
mov ebp, edx
cdq
sub ecx, eax
sbb ebp, edx
mov edx, dword [esp + 0x5c]
push edx
push esi
push ebp
push ecx
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x6c], eax
mov eax, ecx
imul eax, dword [esp + 0xd8]
lea eax, [edx + eax*2]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xc8]
sub eax, ecx
mov dword [esp + 0x28], eax
je 0x4ee659
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x3c]
cdq
push ecx
mov ebp, edx
mov edx, dword [esp + 0x3c]
push edx
push 0x10000
push 0
mov esi, eax
call fcn.0062e060
push edx
push eax
push ebp
push esi
call fcn.00630410
mov cl, 0x20
call fcn.00639880
push ebx
mov dword [esp + 0xac], eax
cdq
push edi
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov edx, dword [esp + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
add ecx, dword [esp + 0x64]
cmp edx, eax
jge 0x4ee2b3
cmp dword [esp + 0x28], 0
jle 0x4ee659
mov eax, dword [esp + 0x94]
cdq
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x3c], edx
cdq
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x7c], edx
cdq
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x8c], edx
cdq
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x84], edx
cdq
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], edx
cdq
add ecx, 0xffff
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x58], eax
lea eax, [edx + edx]
add ecx, 0xffff
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x20]
sub dword [esp + 0x28], 1
and ebp, 0xffff0000
mov eax, ebp
sub eax, dword [esp + 0x30]
cdq
mov edi, edx
mov edx, dword [esp + 0x3c]
push edi
mov esi, eax
mov eax, dword [esp + 0x3c]
push esi
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ecx, dword [esp + 0x7c]
add eax, dword [esp + 0x50]
mov edx, dword [esp + 0x78]
push edi
push esi
push ecx
push edx
mov dword [esp + 0x78], eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x88]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
push eax
push ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
push edi
push esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ecx, dword [esp + 0x74]
add eax, dword [esp + 0x54]
mov edx, dword [esp + 0x70]
push edi
push esi
push ecx
push edx
mov dword [esp + 0x2c], eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
push edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
push esi
push eax
push ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ebx, dword [esp + 0x18]
mov ecx, eax
add ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xb0]
mov edx, ebp
sar edx, 0x10
mov dword [esp + 0x2c], ecx
lea eax, [eax + edx*2]
and ebx, 0xffff0000
sub ebx, ebp
sar ebx, 0x10
test ebx, ebx
jle 0x4ee23c
mov edi, edi
mov esi, dword [esp + 0x24]
mov edx, ecx
shr edx, 0x10
imul edx, dword [esp + 0xe0]
shr esi, 0x10
add edx, esi
sub ebx, 1
cmp edx, dword [esp + 0xe4]
jae 0x4ee0de
mov esi, dword [esp + 0xe8]
mov edx, dword [esi + edx*4]
jmp 0x4ee0e0
xor edx, edx
mov edi, edx
shr edi, 0x18
cmp edi, 8
jbe 0x4ee1f2
mov esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x1c]
shr esi, 0x10
imul esi, edi
mov edi, dword [esp + 0x10]
mov ecx, edx
and ecx, 0xff0000
shr edi, 0x10
imul ecx, edi
movzx edi, dl
shr ebp, 0x10
imul edi, ebp
and ecx, 0xff0000ff
and edi, 0xff00
or ecx, edi
mov edi, dword [esp + 0x14]
and edx, 0xff00
shr edi, 0x10
imul edx, edi
movzx edi, word [eax]
and edx, 0xff0000
or ecx, edx
mov edx, edi
and edx, 0xf800
shr esi, 8
shr ecx, 8
shl edx, 5
mov ebp, edi
and ebp, 0x1f
or edx, ebp
mov ebp, ecx
and ecx, 0xff00
imul ecx, esi
and ebp, 0xff00ff
imul ebp, esi
add edx, edx
add edx, edx
and edi, 0x7e0
shr ecx, 8
add edx, edx
or edi, 0x18
and ecx, 0xff00
or edx, 0x70007
shl edi, 5
add ecx, edi
shr ebp, 8
and ebp, 0xff00ff
add edx, ebp
mov esi, edx
shr esi, 0x18
and esi, 1
imul esi, esi, 0xff0000
mov edi, edx
shr edi, 8
and edi, 1
imul edi, edi, 0xff
or esi, edi
or edx, esi
mov esi, ecx
shr esi, 0x10
and esi, 1
imul esi, esi, 0xff00
shr ecx, 5
shr esi, 5
or esi, ecx
mov ecx, edx
shr ecx, 3
and ecx, 0x1f
and esi, 0x7e0
shr edx, 8
or esi, ecx
mov ecx, dword [esp + 0x2c]
and edx, 0xf800
or esi, edx
mov word [eax], si
mov edx, dword [esp + 0x94]
add dword [esp + 0x68], edx
mov edx, dword [esp + 0xa0]
add dword [esp + 0x10], edx
mov edx, dword [esp + 0x9c]
add dword [esp + 0x14], edx
mov edx, dword [esp + 0x90]
add dword [esp + 0x1c], edx
mov edx, dword [esp + 0xa4]
add ecx, dword [esp + 0x6c]
add dword [esp + 0x24], edx
add eax, 2
test ebx, ebx
mov dword [esp + 0x2c], ecx
jg 0x4ee0b0
mov eax, dword [esp + 0xd0]
add dword [esp + 0x30], eax
add dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x64]
add dword [esp + 0x18], eax
add dword [esp + 0xb0], ecx
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd4]
add dword [esp + 0x50], edx
add dword [esp + 0x44], eax
add dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
add dword [esp + 0x54], edx
add dword [esp + 0x48], eax
add dword [esp + 0x40], ecx
cmp dword [esp + 0x28], 0
jg 0x4edfa0
jmp 0x4ee659
jle 0x4ee659
cmp dword [esp + 0x28], 0
jle 0x4ee659
mov eax, dword [esp + 0x94]
cdq
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x3c], edx
cdq
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x7c], edx
cdq
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x8c], edx
cdq
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x84], edx
cdq
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], edx
cdq
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x30]
add edx, 0xffff
add ecx, 0xffff
mov dword [esp + 0x58], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x68], ecx
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
sub dword [esp + 0x28], 1
and ebp, 0xffff0000
mov eax, ebp
sub eax, dword [esp + 0x30]
cdq
mov edi, edx
push edi
mov esi, eax
mov eax, dword [esp + 0x40]
push esi
push eax
push ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
push edi
push esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ecx, dword [esp + 0x8c]
add eax, dword [esp + 0x44]
mov edx, dword [esp + 0x88]
push edi
push esi
push ecx
push edx
mov dword [esp + 0x30], eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x80]
push edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x88]
push esi
push eax
push ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x54]
mov edx, dword [esp + 0x74]
push edi
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ecx, dword [esp + 0x5c]
add eax, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
push edi
push esi
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x10]
mov ecx, eax
add ecx, dword [esp + 0x40]
mov eax, ebp
sar eax, 0x10
mov dword [esp + 0x2c], ecx
lea eax, [edx + eax*2]
and ebx, 0xffff0000
sub ebx, ebp
sar ebx, 0x10
test ebx, ebx
jle 0x4ee5e2
mov esi, dword [esp + 0x14]
mov edx, ecx
shr edx, 0x10
imul edx, dword [esp + 0xe0]
shr esi, 0x10
add edx, esi
sub ebx, 1
cmp edx, dword [esp + 0xe4]
jae 0x4ee484
mov esi, dword [esp + 0xe8]
mov edx, dword [esi + edx*4]
jmp 0x4ee486
xor edx, edx
mov edi, edx
shr edi, 0x18
cmp edi, 8
jbe 0x4ee598
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
shr esi, 0x10
imul esi, edi
mov edi, dword [esp + 0x20]
shr edi, 0x10
mov ecx, edx
and ecx, 0xff0000
imul ecx, edi
movzx edi, dl
shr ebp, 0x10
imul edi, ebp
and ecx, 0xff0000ff
and edi, 0xff00
or ecx, edi
mov edi, dword [esp + 0x24]
and edx, 0xff00
shr edi, 0x10
imul edi, edx
and edi, 0xff0000
or ecx, edi
movzx edi, word [eax]
mov edx, edi
and edx, 0xf800
shr esi, 8
shr ecx, 8
shl edx, 5
mov ebp, edi
and ebp, 0x1f
or edx, ebp
mov ebp, ecx
and ecx, 0xff00
imul ecx, esi
and ebp, 0xff00ff
imul ebp, esi
add edx, edx
add edx, edx
and edi, 0x7e0
shr ecx, 8
add edx, edx
or edi, 0x18
and ecx, 0xff00
or edx, 0x70007
shl edi, 5
add ecx, edi
shr ebp, 8
and ebp, 0xff00ff
add edx, ebp
mov esi, edx
shr esi, 0x18
and esi, 1
imul esi, esi, 0xff0000
mov edi, edx
shr edi, 8
and edi, 1
imul edi, edi, 0xff
or esi, edi
or edx, esi
mov esi, ecx
shr esi, 0x10
and esi, 1
imul esi, esi, 0xff00
shr ecx, 5
shr esi, 5
or esi, ecx
mov ecx, edx
shr ecx, 3
and ecx, 0x1f
and esi, 0x7e0
shr edx, 8
or esi, ecx
mov ecx, dword [esp + 0x2c]
and edx, 0xf800
or esi, edx
mov word [eax], si
mov edx, dword [esp + 0x94]
add dword [esp + 0x18], edx
mov edx, dword [esp + 0xa0]
add dword [esp + 0x20], edx
mov edx, dword [esp + 0x9c]
add dword [esp + 0x24], edx
mov edx, dword [esp + 0x90]
add dword [esp + 0x1c], edx
mov edx, dword [esp + 0xa4]
add ecx, dword [esp + 0x6c]
add dword [esp + 0x14], edx
add eax, 2
test ebx, ebx
mov dword [esp + 0x2c], ecx
jg 0x4ee456
mov eax, dword [esp + 0xd0]
add dword [esp + 0x30], eax
add dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
add dword [esp + 0x68], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xcc]
add dword [esp + 0x50], ecx
add dword [esp + 0x44], edx
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xbc]
add dword [esp + 0x54], ecx
add dword [esp + 0x48], edx
add eax, eax
add dword [esp + 0xb0], eax
mov eax, dword [esp + 0xd4]
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc0]
add dword [esp + 0x40], eax
cmp dword [esp + 0x28], 0
jg 0x4ee345
mov eax, dword [esp + 0xec]
mov ebp, dword [esp + 0xc8]
sub eax, ebp
mov dword [esp + 0x28], eax
je 0x4eee59
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 4]
mov esi, dword [eax]
mov ebx, dword [esp + 0x98]
mov eax, dword [ebx + 4]
sub eax, edi
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0062e060
mov ecx, eax
mov eax, edx
mov dword [esp + 0xec], eax
mov eax, dword [ebx]
sub eax, esi
cdq
push edx
push eax
mov eax, dword [esp + 0xf4]
push eax
push ecx
call fcn.00630410
mov cl, 0x20
call fcn.00639880
mov ecx, eax
mov eax, ebp
shl eax, 0x10
sub eax, edi
imul ecx
mov dword [esp + 0xc8], ecx
mov cl, 0x10
call fcn.00639880
mov ecx, eax
mov eax, dword [esp + 0x60]
add ecx, esi
cmp eax, esi
jge 0x4eeaa1
cmp dword [esp + 0x28], 0
jle 0x4eee59
mov eax, dword [esp + 0x94]
cdq
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x3c], edx
cdq
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x7c], edx
cdq
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x8c], edx
cdq
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x84], edx
cdq
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], edx
cdq
add ecx, 0xffff
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x58], eax
lea eax, [edx + edx]
add ecx, 0xffff
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], ecx
mov ebp, dword [esp + 0x14]
sub dword [esp + 0x28], 1
and ebp, 0xffff0000
mov eax, ebp
sub eax, dword [esp + 0x30]
cdq
mov edi, edx
mov edx, dword [esp + 0x3c]
push edi
mov esi, eax
mov eax, dword [esp + 0x3c]
push esi
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ecx, dword [esp + 0x7c]
add eax, dword [esp + 0x50]
mov edx, dword [esp + 0x78]
push edi
push esi
push ecx
push edx
mov dword [esp + 0x70], eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x88]
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
push esi
push eax
push ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
push edi
push esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x88]
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ecx, dword [esp + 0x74]
add eax, dword [esp + 0x54]
mov edx, dword [esp + 0x70]
push edi
push esi
push ecx
push edx
mov dword [esp + 0x34], eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
push esi
push eax
push ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ebx, dword [esp + 0x10]
mov ecx, eax
add ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xb0]
mov edx, ebp
sar edx, 0x10
mov dword [esp + 0x98], ecx
lea eax, [eax + edx*2]
and ebx, 0xffff0000
sub ebx, ebp
sar ebx, 0x10
test ebx, ebx
jle 0x4eea24
mov esi, dword [esp + 0x1c]
mov edx, ecx
shr edx, 0x10
imul edx, dword [esp + 0xe0]
shr esi, 0x10
add edx, esi
sub ebx, 1
cmp edx, dword [esp + 0xe4]
jae 0x4ee8c0
mov esi, dword [esp + 0xe8]
mov edx, dword [esi + edx*4]
jmp 0x4ee8c2
xor edx, edx
mov edi, edx
shr edi, 0x18
cmp edi, 8
jbe 0x4ee9d7
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x24]
shr esi, 0x10
imul esi, edi
mov edi, dword [esp + 0x18]
shr edi, 0x10
mov ecx, edx
and ecx, 0xff0000
imul ecx, edi
movzx edi, dl
shr ebp, 0x10
imul edi, ebp
and ecx, 0xff0000ff
and edi, 0xff00
or ecx, edi
mov edi, dword [esp + 0x20]
and edx, 0xff00
shr edi, 0x10
imul edi, edx
and edi, 0xff0000
or ecx, edi
movzx edi, word [eax]
mov edx, edi
and edx, 0xf800
shr esi, 8
shr ecx, 8
shl edx, 5
mov ebp, edi
and ebp, 0x1f
or edx, ebp
mov ebp, ecx
and ecx, 0xff00
imul ecx, esi
and ebp, 0xff00ff
imul ebp, esi
add edx, edx
add edx, edx
and edi, 0x7e0
shr ecx, 8
add edx, edx
or edi, 0x18
and ecx, 0xff00
or edx, 0x70007
shl edi, 5
add ecx, edi
shr ebp, 8
and ebp, 0xff00ff
add edx, ebp
mov esi, edx
shr esi, 0x18
and esi, 1
imul esi, esi, 0xff0000
mov edi, edx
shr edi, 8
and edi, 1
imul edi, edi, 0xff
or esi, edi
or edx, esi
mov esi, ecx
shr esi, 0x10
and esi, 1
imul esi, esi, 0xff00
shr ecx, 5
shr esi, 5
or esi, ecx
mov ecx, edx
shr ecx, 3
and ecx, 0x1f
and esi, 0x7e0
shr edx, 8
or esi, ecx
mov ecx, dword [esp + 0x98]
and edx, 0xf800
or esi, edx
mov word [eax], si
mov edx, dword [esp + 0x94]
add dword [esp + 0x60], edx
mov edx, dword [esp + 0xa0]
add dword [esp + 0x18], edx
mov edx, dword [esp + 0x9c]
add dword [esp + 0x20], edx
mov edx, dword [esp + 0x90]
add dword [esp + 0x24], edx
mov edx, dword [esp + 0xa4]
add ecx, dword [esp + 0x6c]
add dword [esp + 0x1c], edx
add eax, 2
test ebx, ebx
mov dword [esp + 0x98], ecx
jg 0x4ee892
mov eax, dword [esp + 0xd0]
add dword [esp + 0x30], eax
add dword [esp + 0x14], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x64]
add dword [esp + 0x10], eax
add dword [esp + 0xb0], ecx
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd4]
add dword [esp + 0x50], edx
add dword [esp + 0x44], eax
add dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
add dword [esp + 0x54], edx
add dword [esp + 0x48], eax
add dword [esp + 0x40], ecx
cmp dword [esp + 0x28], 0
jg 0x4ee781
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret
jle 0x4eee59
cmp dword [esp + 0x28], 0
jle 0x4eee59
mov eax, dword [esp + 0x94]
cdq
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x3c], edx
cdq
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x7c], edx
cdq
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x8c], edx
cdq
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x84], edx
cdq
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], edx
cdq
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x58], eax
lea eax, [edx + edx]
mov edx, dword [esp + 0x30]
add edx, 0xffff
add ecx, 0xffff
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
sub dword [esp + 0x28], 1
and ebp, 0xffff0000
mov eax, ebp
sub eax, dword [esp + 0x30]
cdq
mov edi, edx
push edi
mov esi, eax
mov eax, dword [esp + 0x40]
push esi
push eax
push ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
push edi
push esi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x80]
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ecx, dword [esp + 0x8c]
add eax, dword [esp + 0x44]
mov edx, dword [esp + 0x88]
push edi
push esi
push ecx
push edx
mov dword [esp + 0x28], eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x80]
push edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x88]
push esi
push eax
push ecx
call fcn.00630410
mov cl, 0x10
call fcn.00639880
add eax, dword [esp + 0x54]
mov edx, dword [esp + 0x74]
push edi
push esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x78]
push edx
push eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov ecx, dword [esp + 0x5c]
add eax, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
push edi
push esi
push ecx
push edx
mov dword [esp + 0x2c], eax
call fcn.00630410
mov cl, 0x10
call fcn.00639880
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x14]
mov ecx, eax
add ecx, dword [esp + 0x40]
mov eax, ebp
sar eax, 0x10
mov dword [esp + 0x98], ecx
lea eax, [edx + eax*2]
and ebx, 0xffff0000
sub ebx, ebp
sar ebx, 0x10
test ebx, ebx
jle 0x4eede7
mov esi, dword [esp + 0x1c]
mov edx, ecx
shr edx, 0x10
imul edx, dword [esp + 0xe0]
shr esi, 0x10
add edx, esi
sub ebx, 1
cmp edx, dword [esp + 0xe4]
jae 0x4eec83
mov esi, dword [esp + 0xe8]
mov edx, dword [esi + edx*4]
jmp 0x4eec85
xor edx, edx
mov edi, edx
shr edi, 0x18
cmp edi, 8
jbe 0x4eed9a
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x18]
shr esi, 0x10
imul esi, edi
mov edi, dword [esp + 0x24]
movzx ecx, dl
shr edi, 0x10
imul ecx, edi
mov edi, edx
and edi, 0xff0000
shr ebp, 0x10
imul edi, ebp
and ecx, 0xff00
and edi, 0xff0000ff
or ecx, edi
mov edi, dword [esp + 0x20]
and edx, 0xff00
shr edi, 0x10
imul edx, edi
movzx edi, word [eax]
and edx, 0xff0000
or ecx, edx
mov edx, edi
and edx, 0xf800
shr esi, 8
shr ecx, 8
shl edx, 5
mov ebp, edi
and ebp, 0x1f
or edx, ebp
mov ebp, ecx
and ecx, 0xff00
imul ecx, esi
and ebp, 0xff00ff
imul ebp, esi
add edx, edx
add edx, edx
and edi, 0x7e0
shr ecx, 8
add edx, edx
or edi, 0x18
and ecx, 0xff00
or edx, 0x70007
shl edi, 5
add ecx, edi
shr ebp, 8
and ebp, 0xff00ff
add edx, ebp
mov esi, edx
shr esi, 0x18
and esi, 1
imul esi, esi, 0xff0000
mov edi, edx
shr edi, 8
and edi, 1
imul edi, edi, 0xff
or esi, edi
or edx, esi
mov esi, ecx
shr esi, 0x10
and esi, 1
imul esi, esi, 0xff00
shr ecx, 5
shr esi, 5
or esi, ecx
mov ecx, edx
shr ecx, 3
and ecx, 0x1f
and esi, 0x7e0
shr edx, 8
or esi, ecx
mov ecx, dword [esp + 0x98]
and edx, 0xf800
or esi, edx
mov word [eax], si
mov edx, dword [esp + 0x94]
add dword [esp + 0x60], edx
mov edx, dword [esp + 0xa0]
add dword [esp + 0x18], edx
mov edx, dword [esp + 0x9c]
add dword [esp + 0x20], edx
mov edx, dword [esp + 0x90]
add dword [esp + 0x24], edx
mov edx, dword [esp + 0xa4]
add ecx, dword [esp + 0x6c]
add dword [esp + 0x1c], edx
add eax, 2
test ebx, ebx
mov dword [esp + 0x98], ecx
jg 0x4eec55
mov eax, dword [esp + 0xd0]
add dword [esp + 0x30], eax
add dword [esp + 0x14], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x64]
add dword [esp + 0x10], eax
add dword [esp + 0xb0], ecx
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd4]
add dword [esp + 0x50], edx
add dword [esp + 0x44], eax
add dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
add dword [esp + 0x54], edx
add dword [esp + 0x48], eax
add dword [esp + 0x40], ecx
cmp dword [esp + 0x28], 0
jg 0x4eeb41
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret