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

Disassembly:
sub esp, 0x8c
shr edx, 2
mov dword [esp + 0x68], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x74], edx
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx]
push ebx
push ebp
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 0x24]
lea ebp, [eax + 0x20]
mov dword [esp + 0x80], edx
lea edx, [eax + 0x40]
push edi
mov ebx, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x6c], edx
jle 0x4ab34a
mov ebx, ebp
mov dword [esp + 0x28], eax
mov ebp, eax
mov eax, dword [ebp + 4]
cmp eax, dword [edx + 4]
jle 0x4ab360
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x28], edx
mov ebp, edx
mov edx, dword [esp + 0x6c]
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebp + 4]
jle 0x4ab372
mov eax, ebx
mov ebx, ebp
mov dword [esp + 0x28], eax
mov ebp, eax
mov eax, dword [ebx + 4]
lea ecx, [eax + 0xffff]
mov eax, dword [edx + 4]
lea edx, [eax + 0xffff]
sar ecx, 0x10
sar edx, 0x10
cmp ecx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x8c], edx
je 0x4abf8c
mov ecx, dword [ebp + 4]
add ecx, 0xffff
sar ecx, 0x10
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 4]
sub eax, ecx
cdq
push edx
push eax
push 0x10000
push 0
call fcn.006372b0
mov edi, eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov ecx, edx
mov edx, dword [ebx]
push ecx
sub eax, edx
mov dword [esp + 0x40], edx
cdq
push edi
push edx
push eax
mov dword [esp + 0x2c], ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x18]
sub eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x1c]
push ecx
cdq
push edi
push edx
push eax
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x1c]
sub eax, dword [ebx + 0x1c]
push ecx
cdq
push edi
push edx
push eax
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 4]
sub eax, dword [ebx + 4]
cdq
mov ecx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], edx
cdq
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push edx
push edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x6c], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x3c]
mov ecx, dword [ebp]
cmp ecx, eax
mov dword [esp + 0x38], eax
je 0x4abf8c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
shl eax, 0x10
sub eax, dword [ebx + 4]
cdq
push edx
push eax
push ecx
push edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x78]
add edi, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x34]
cdq
push ecx
push edx
push eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov ebx, dword [ebx + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
cdq
push ecx
push edx
push eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x54], ebx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, ebx
mov dword [esp + 0x24], eax
mov eax, dword [ebp]
sub eax, dword [esp + 0x38]
cdq
push edx
push eax
push 0x10000
push 0
call fcn.006372b0
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, eax
mov eax, dword [ebp + 0x18]
mov ebx, edx
cdq
sub eax, ecx
sbb edx, ebx
mov ecx, eax
mov eax, dword [esp + 0xc]
mov ebx, edx
cdq
sub ecx, eax
mov eax, dword [esp + 0x60]
sbb ebx, edx
mov edx, dword [esp + 0x64]
push edx
push eax
push ebx
push ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
push edx
push eax
push ecx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, eax
mov eax, dword [ebp + 0x1c]
mov ebx, edx
cdq
sub eax, ecx
sbb edx, ebx
mov ecx, eax
mov eax, dword [esp + 0x44]
mov ebx, edx
cdq
sub ecx, eax
mov eax, dword [esp + 0x60]
sbb ebx, edx
mov edx, dword [esp + 0x64]
push edx
push eax
push ebx
push ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [esp + 0x10]
mov edx, ecx
imul edx, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x9c]
lea edx, [eax + edx*4]
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x14], eax
je 0x4abab4
mov eax, dword [ebp]
sub eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
cdq
mov ebx, eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push 0x10000
push 0
mov ebp, edx
call fcn.006372b0
push edx
push eax
push ebp
push ebx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
cdq
push ecx
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [edx]
mov edx, dword [esp + 0x38]
add ecx, dword [esp + 0x3c]
cmp edx, eax
jge 0x4ab891
cmp dword [esp + 0x14], 0
jle 0x4abab0
mov eax, dword [esp + 0x4c]
cdq
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x34], edx
cdq
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], edx
lea edx, [eax*4]
add ecx, 0xffff
lea eax, [edi + 0xffff]
mov dword [esp + 0x3c], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
sub dword [esp + 0x14], 1
and ebx, 0xffff0000
mov eax, ebx
sub eax, edi
cdq
push edx
mov ebp, eax
push ebp
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x38]
push ecx
push edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x94]
push eax
push ebp
push ecx
push edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov edx, dword [esp + 0x50]
mov ecx, eax
add ecx, dword [esp + 0x24]
mov eax, ebx
sar eax, 0x10
lea ebp, [edx + eax*4]
mov eax, dword [esp + 0xc]
and eax, 0xffff0000
sub eax, ebx
sar eax, 0x10
test eax, eax
mov dword [esp + 0x40], ecx
jle 0x4ab853
jmp 0x4ab744
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
shr ecx, 0x10
imul ecx, dword [esp + 0x80]
shr edx, 0x10
add ecx, edx
sub eax, 1
cmp ecx, dword [esp + 0x84]
jae 0x4ab770
mov edx, dword [esp + 0x88]
mov edx, dword [edx + ecx*4]
jmp 0x4ab772
xor edx, edx
mov edi, dword [esi]
mov ecx, edx
imul edi, edi, 0xff
movzx ebx, dl
imul ebx, dword [esi + 0xc]
and ecx, 0xff0000
imul ecx, dword [esi + 4]
and edx, 0xff00
imul edx, dword [esi + 8]
and ecx, 0xff0000ff
and edx, 0xff0000
and ebx, 0xff00
or ecx, ebx
or ecx, edx
mov ebx, dword [ebp]
shr ecx, 8
mov edx, ecx
and edx, 0xff00ff
and ecx, 0xff00
shr edi, 8
imul edx, edi
imul ecx, edi
shr edx, 8
and edx, 0xff00ff
shr ecx, 8
and ecx, 0xff00
mov edi, ebx
and edi, 0xff00ff
add edi, edx
and ebx, 0xff00
add ebx, ecx
mov ecx, edi
shr ecx, 8
and ecx, 1
imul ecx, ecx, 0xff
mov edx, edi
shr edx, 0x18
and edx, 1
imul edx, edx, 0xffff0000
or ecx, edx
mov edx, ebx
shr edx, 0x10
and edx, 1
neg edx
shl edx, 8
or ecx, edi
or edx, ebx
and ecx, 0xffff00ff
and edx, 0xff00
or ecx, edx
mov edx, dword [esp + 0x60]
add dword [esp + 0x40], edx
or ecx, 0xff000000
mov dword [ebp], ecx
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x44], ecx
add ebp, 4
test eax, eax
jg 0x4ab740
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x7c]
add dword [esp + 0x10], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x78]
add dword [esp + 0x50], ecx
add dword [esp + 0x20], edx
add edi, eax
mov eax, dword [esp + 0x58]
add dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
add dword [esp + 0x24], eax
cmp dword [esp + 0x14], 0
mov dword [esp + 0x48], edi
jg 0x4ab6ac
jmp 0x4abab0
jle 0x4abab0
cmp dword [esp + 0x14], 0
jle 0x4abab0
mov eax, dword [esp + 0x4c]
cdq
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x34], edx
cdq
mov dword [esp + 0x1c], edx
lea edx, [edi + 0xffff]
add ecx, 0xffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub dword [esp + 0x14], 1
and ebx, 0xffff0000
mov eax, ebx
sub eax, edi
cdq
push edx
mov ebp, eax
mov eax, dword [esp + 0x38]
push ebp
push eax
push ecx
mov dword [esp + 0xa4], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x20]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x18]
push edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
push ebp
push eax
push ecx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, eax
mov eax, dword [esp + 0x50]
add ecx, dword [esp + 0x24]
mov edx, ebx
sar edx, 0x10
lea ebp, [eax + edx*4]
mov eax, dword [esp + 0x40]
and eax, 0xffff0000
sub eax, ebx
sar eax, 0x10
test eax, eax
mov dword [esp + 0x10], ecx
jle 0x4aba73
jmp 0x4ab964
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
shr ecx, 0x10
imul ecx, dword [esp + 0x80]
shr edx, 0x10
add ecx, edx
sub eax, 1
cmp ecx, dword [esp + 0x84]
jae 0x4ab990
mov edx, dword [esp + 0x88]
mov edx, dword [edx + ecx*4]
jmp 0x4ab992
xor edx, edx
mov edi, dword [esi]
mov ecx, edx
imul edi, edi, 0xff
movzx ebx, dl
imul ebx, dword [esi + 0xc]
and ecx, 0xff0000
imul ecx, dword [esi + 4]
and edx, 0xff00
imul edx, dword [esi + 8]
and ecx, 0xff0000ff
and edx, 0xff0000
and ebx, 0xff00
or ecx, ebx
or ecx, edx
mov ebx, dword [ebp]
shr ecx, 8
mov edx, ecx
and edx, 0xff00ff
and ecx, 0xff00
shr edi, 8
imul edx, edi
imul ecx, edi
shr edx, 8
and edx, 0xff00ff
shr ecx, 8
and ecx, 0xff00
mov edi, ebx
and edi, 0xff00ff
add edi, edx
and ebx, 0xff00
add ebx, ecx
mov ecx, edi
shr ecx, 8
and ecx, 1
imul ecx, ecx, 0xff
mov edx, edi
shr edx, 0x18
and edx, 1
imul edx, edx, 0xffff0000
or ecx, edx
mov edx, ebx
shr edx, 0x10
and edx, 1
neg edx
shl edx, 8
or ecx, edi
or edx, ebx
and ecx, 0xffff00ff
and edx, 0xff00
or ecx, edx
mov edx, dword [esp + 0x60]
add dword [esp + 0x10], edx
or ecx, 0xff000000
mov dword [ebp], ecx
mov ecx, dword [esp + 0x4c]
add dword [esp + 0xc], ecx
add ebp, 4
test eax, eax
jg 0x4ab960
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x7c]
add dword [esp + 0x40], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
add dword [esp + 0x20], ecx
add dword [esp + 0x24], edx
add edi, eax
mov eax, dword [esp + 0x58]
add dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
add eax, eax
add eax, eax
add dword [esp + 0x50], eax
cmp dword [esp + 0x14], 0
mov dword [esp + 0x48], edi
jg 0x4ab8d0
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
je 0x4abf8c
mov ecx, dword [ebp + 4]
mov ebx, dword [esp + 0x6c]
mov eax, dword [ebx + 4]
mov ebp, dword [ebp]
sub eax, ecx
cdq
push edx
push eax
push 0x10000
push 0
mov dword [esp + 0x1c], ecx
call fcn.006372b0
mov ecx, eax
mov eax, edx
mov dword [esp + 0x8c], eax
mov eax, dword [ebx]
sub eax, ebp
cdq
push edx
push eax
mov eax, dword [esp + 0x94]
push eax
push ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, eax
mov eax, dword [esp + 0x2c]
shl eax, 0x10
sub eax, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
imul ecx
mov cl, 0x10
call fcn.00643e20
mov ecx, eax
mov eax, dword [esp + 0x38]
add ecx, ebp
cmp eax, ebp
jge 0x4abd66
cmp dword [esp + 0x14], 0
jle 0x4abf8c
mov eax, dword [esp + 0x4c]
cdq
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x34], edx
cdq
add ecx, 0xffff
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
lea eax, [edx*4]
lea ecx, [edi + 0xffff]
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
sub dword [esp + 0x14], 1
and ebx, 0xffff0000
mov eax, ebx
sub eax, edi
cdq
mov ebp, eax
mov eax, dword [esp + 0x34]
push eax
push ecx
push edx
push ebp
mov dword [esp + 0xa4], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x94]
push edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push ebp
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, eax
mov eax, dword [esp + 0x50]
add ecx, dword [esp + 0x24]
mov edx, ebx
sar edx, 0x10
lea ebp, [eax + edx*4]
mov eax, dword [esp + 0x10]
and eax, 0xffff0000
sub eax, ebx
sar eax, 0x10
test eax, eax
mov dword [esp + 0x2c], ecx
jle 0x4abd23
jmp 0x4abc14
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
shr ecx, 0x10
imul ecx, dword [esp + 0x80]
shr edx, 0x10
add ecx, edx
sub eax, 1
cmp ecx, dword [esp + 0x84]
jae 0x4abc40
mov edx, dword [esp + 0x88]
mov edx, dword [edx + ecx*4]
jmp 0x4abc42
xor edx, edx
mov edi, dword [esi]
mov ecx, edx
imul edi, edi, 0xff
movzx ebx, dl
imul ebx, dword [esi + 0xc]
and ecx, 0xff0000
imul ecx, dword [esi + 4]
and edx, 0xff00
imul edx, dword [esi + 8]
and ecx, 0xff0000ff
and edx, 0xff0000
and ebx, 0xff00
or ecx, ebx
or ecx, edx
mov ebx, dword [ebp]
shr ecx, 8
mov edx, ecx
and edx, 0xff00ff
and ecx, 0xff00
shr edi, 8
imul edx, edi
imul ecx, edi
shr edx, 8
and edx, 0xff00ff
shr ecx, 8
and ecx, 0xff00
mov edi, ebx
and edi, 0xff00ff
add edi, edx
and ebx, 0xff00
add ebx, ecx
mov ecx, edi
shr ecx, 8
and ecx, 1
imul ecx, ecx, 0xff
mov edx, edi
shr edx, 0x18
and edx, 1
imul edx, edx, 0xffff0000
or ecx, edx
mov edx, ebx
shr edx, 0x10
and edx, 1
neg edx
shl edx, 8
or ecx, edi
or edx, ebx
and ecx, 0xffff00ff
and edx, 0xff00
or ecx, edx
mov edx, dword [esp + 0x60]
add dword [esp + 0x2c], edx
or ecx, 0xff000000
mov dword [ebp], ecx
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x38], ecx
add ebp, 4
test eax, eax
jg 0x4abc10
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x7c]
add dword [esp + 0xc], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x78]
add dword [esp + 0x50], ecx
add dword [esp + 0x20], edx
add edi, eax
mov eax, dword [esp + 0x58]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
add dword [esp + 0x24], eax
cmp dword [esp + 0x14], 0
mov dword [esp + 0x48], edi
jg 0x4abb84
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
jle 0x4abf8c
cmp dword [esp + 0x14], 0
jle 0x4abf8c
mov eax, dword [esp + 0x4c]
cdq
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x34], edx
cdq
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
lea eax, [edx*4]
lea edx, [edi + 0xffff]
add ecx, 0xffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
sub dword [esp + 0x14], 1
and ebx, 0xffff0000
mov eax, ebx
sub eax, edi
cdq
mov ebp, eax
mov eax, dword [esp + 0x34]
push eax
push ecx
push edx
push ebp
mov dword [esp + 0xa4], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x94]
push edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push ebp
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, eax
mov eax, dword [esp + 0x50]
add ecx, dword [esp + 0x24]
mov edx, ebx
sar edx, 0x10
lea ebp, [eax + edx*4]
mov eax, dword [esp + 0xc]
and eax, 0xffff0000
sub eax, ebx
sar eax, 0x10
test eax, eax
mov dword [esp + 0x2c], ecx
jle 0x4abf53
jmp 0x4abe44
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
shr ecx, 0x10
imul ecx, dword [esp + 0x80]
shr edx, 0x10
add ecx, edx
sub eax, 1
cmp ecx, dword [esp + 0x84]
jae 0x4abe70
mov edx, dword [esp + 0x88]
mov edx, dword [edx + ecx*4]
jmp 0x4abe72
xor edx, edx
mov edi, dword [esi]
mov ecx, edx
imul edi, edi, 0xff
movzx ebx, dl
imul ebx, dword [esi + 0xc]
and ecx, 0xff0000
imul ecx, dword [esi + 4]
and edx, 0xff00
imul edx, dword [esi + 8]
and ecx, 0xff0000ff
and edx, 0xff0000
and ebx, 0xff00
or ecx, ebx
or ecx, edx
mov ebx, dword [ebp]
shr ecx, 8
mov edx, ecx
and edx, 0xff00ff
and ecx, 0xff00
shr edi, 8
imul edx, edi
imul ecx, edi
shr edx, 8
and edx, 0xff00ff
shr ecx, 8
and ecx, 0xff00
mov edi, ebx
and edi, 0xff00ff
add edi, edx
and ebx, 0xff00
add ebx, ecx
mov ecx, edi
shr ecx, 8
and ecx, 1
imul ecx, ecx, 0xff
mov edx, edi
shr edx, 0x18
and edx, 1
imul edx, edx, 0xffff0000
or ecx, edx
mov edx, ebx
shr edx, 0x10
and edx, 1
neg edx
shl edx, 8
or ecx, edi
or edx, ebx
and ecx, 0xffff00ff
and edx, 0xff00
or ecx, edx
mov edx, dword [esp + 0x60]
add dword [esp + 0x2c], edx
or ecx, 0xff000000
mov dword [ebp], ecx
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x38], ecx
add ebp, 4
test eax, eax
jg 0x4abe40
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x7c]
add dword [esp + 0xc], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x78]
add dword [esp + 0x50], ecx
add dword [esp + 0x20], edx
add edi, eax
mov eax, dword [esp + 0x58]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
add dword [esp + 0x24], eax
cmp dword [esp + 0x14], 0
mov dword [esp + 0x48], edi
jg 0x4abdb4
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret