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

Disassembly:
mov eax, dword [esp + 0x24]
sub esp, 0xa0
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
jne 0x42ef85
mov eax, dword [esp + 0xc0]
add eax, 0xc
mov dword [esp + 0xd4], eax
mov esi, dword [esp + 0xd0]
mov ebp, dword [esp + 0xdc]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0xa4], ecx
mov edx, ecx
mov ecx, 1
mov eax, edi
cmp ebp, ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
jle 0x42f02b
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, edi
jge 0x42efd6
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, ecx
mov dword [esp + 0xa4], edx
jmp 0x42f018
jne 0x42eff3
mov ebp, dword [eax]
cmp ebp, dword [esp + 0xa4]
jge 0x42eff3
mov edi, dword [eax + 4]
mov edx, ebp
mov ebx, ecx
mov dword [esp + 0xa4], edx
jmp 0x42f018
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jl 0x42f007
jne 0x42f018
mov edx, dword [esp + 0x68]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x42f018
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x68], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov ebp, dword [esp + 0xdc]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x42efbf
mov dword [esp + 0x54], ebx
lea edi, [ebx - 1]
lea edx, [ebx + 1]
test ebx, ebx
mov dword [esp + 0x14], edi
jne 0x42f040
lea edi, [ebp - 1]
mov dword [esp + 0x14], edi
lea eax, [ebp - 1]
cmp ebx, eax
mov dword [esp + 0x2c], eax
jne 0x42f04d
xor edx, edx
xor eax, eax
mov ecx, dword [esi + ebx*8 + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [esi + edx*8 + 4]
mov edi, dword [esi + edi*8]
mov dword [esp + 0x18], eax
lea eax, [esi + ebx*8 + 4]
mov edx, dword [esi + edx*8]
mov dword [esp + 0x50], eax
mov eax, dword [esi + ebx*8]
sub ebp, ecx
sub edi, eax
imul ebp, edi
mov edi, dword [esp + 0x14]
sub edx, eax
mov dword [esp + 0x1c], ebx
mov edi, dword [esi + edi*8 + 4]
sub edi, ecx
imul edi, edx
sub ebp, edi
test ebp, ebp
jle 0x42f2a2
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x42f0be
mov edi, dword [esp + 0xdc]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edi*8 - 4]
jne 0x42f0e1
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
jmp 0x42f0e5
mov edx, dword [esi + ebp*8 + 4]
mov eax, dword [esi + ebp*8 - 4]
cmp edx, eax
jne 0x42f0da
mov edi, dword [esp + 0xdc]
lea edx, [ebp - 1]
mov dword [esp + 0x18], edx
jmp 0x42f0e5
mov edi, dword [esp + 0xdc]
mov edx, dword [esp + 0x18]
cmp ebx, edx
mov eax, ebx
je 0x42f103
mov ebp, dword [esp + 0x28]
inc eax
cmp eax, edi
jne 0x42f0f6
xor eax, eax
inc ebp
cmp eax, edx
jne 0x42f0ef
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
test ebx, ebx
jne 0x42f11e
mov eax, dword [esi + 4]
mov ecx, dword [esi + edi*8 - 4]
cmp eax, ecx
jne 0x42f12d
mov eax, edx
mov dword [esp + 0x1c], eax
jmp 0x42f131
cmp ecx, dword [esi + ebx*8 - 4]
jne 0x42f12d
lea eax, [ebx - 1]
mov dword [esp + 0x1c], eax
jmp 0x42f131
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x42f14a
mov ecx, dword [esp + 0x20]
dec eax
cmp eax, 0xffffffff
jne 0x42f141
mov eax, edx
inc ecx
cmp eax, ebp
jne 0x42f139
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
lea ebp, [ecx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
mov edx, dword [esp + 0x24]
mov edi, eax
mov dword [esp + 0x4c], edi
lea eax, [edx + 1]
shl eax, 4
push eax
mov dword [esp + 0x54], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x4c], eax
call fcn.0054a1d0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
push eax
call fcn.0054a1d0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp ebx, eax
mov eax, dword [esp + 0xcc]
mov edx, ebx
je 0x42f21b
mov ebx, dword [esp + 0x34]
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x14], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0xdc]
mov ebx, edx
inc edx
cmp edx, edi
jne 0x42f1c7
xor edx, edx
mov edi, dword [esi + ebx*8]
add ecx, 0x10
mov dword [ebp], edi
mov edi, dword [esi + ebx*8 + 4]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [edi + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [edi + ecx - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov ebp, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebp, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x18]
cmp edx, edi
mov dword [esp + 0x14], ebp
jne 0x42f1b7
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x42f483
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov ebp, edi
mov dword [esp + 0x14], edi
sub ebp, ebx
lea ecx, [ebx + 8]
mov dword [esp + 0x24], ebp
mov ebx, edx
dec edx
cmp edx, 0xffffffff
jne 0x42f24e
mov edx, dword [esp + 0x2c]
mov ebp, dword [esi + ebx*8]
add ecx, 0x10
mov dword [edi], ebp
mov ebp, dword [esi + ebx*8 + 4]
mov dword [edi + 4], ebp
mov edi, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [edi + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [edi + ecx - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
mov ebx, dword [esp + 0x10]
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x14]
add edi, 0x10
cmp edx, ebx
mov dword [esp + 0x14], edi
jne 0x42f242
jmp 0x42f47f
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jne 0x42f2b7
cmp ecx, dword [esi + 4]
jne 0x42f2c6
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x42f2ca
cmp ecx, dword [esi + ebx*8 + 0xc]
jne 0x42f2c6
lea eax, [ebx + 1]
mov dword [esp + 0x1c], eax
jmp 0x42f2ca
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x42f2ed
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xdc]
inc eax
cmp eax, edi
jne 0x42f2e4
xor eax, eax
inc edx
cmp eax, ecx
jne 0x42f2dd
mov dword [esp + 0x20], edx
cmp ecx, ebp
jne 0x42f304
mov ecx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x42f319
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x42f31d
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + ecx*8 + 0xc]
cmp edx, eax
jne 0x42f319
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
jmp 0x42f31d
mov eax, dword [esp + 0x18]
cmp ebx, eax
je 0x42f336
mov ecx, dword [esp + 0x28]
dec ebx
cmp ebx, 0xffffffff
jne 0x42f32d
mov ebx, ebp
inc ecx
cmp ebx, eax
jne 0x42f325
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
lea ebx, [eax + 1]
shl ebx, 4
push ebx
call fcn.0054a1d0
mov ecx, dword [esp + 0x24]
mov edi, eax
mov dword [esp + 0x4c], edi
lea ebp, [ecx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
push ebx
mov dword [esp + 0x4c], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x44], eax
call fcn.0054a1d0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xcc]
je 0x42f404
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
mov ebx, edi
mov dword [esp + 0x14], edi
sub ebx, ebp
lea ecx, [ebp + 8]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0xdc]
mov ebx, edx
inc edx
cmp edx, ebp
jne 0x42f3b1
xor edx, edx
mov ebp, dword [esi + ebx*8]
add ecx, 0x10
mov dword [edi], ebp
mov ebp, dword [esi + ebx*8 + 4]
mov dword [edi + 4], ebp
mov edi, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [ecx + edi - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ecx + edi - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
mov ebx, dword [esp + 0x10]
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x14]
add edi, 0x10
cmp edx, ebx
mov dword [esp + 0x14], edi
jne 0x42f3a1
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
je 0x42f483
mov ebx, dword [esp + 0x34]
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x14], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x24], edi
mov ebx, edx
dec edx
cmp edx, 0xffffffff
jne 0x42f42f
mov edx, dword [esp + 0x2c]
mov edi, dword [esi + ebx*8]
add ecx, 0x10
mov dword [ebp], edi
mov edi, dword [esi + ebx*8 + 4]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [ecx + edi - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ecx + edi - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov ebp, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebp, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x18]
cmp edx, edi
mov dword [esp + 0x14], ebp
jne 0x42f423
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
shl eax, 4
xor ebp, ebp
lea ecx, [eax + edx]
lea edx, [ecx - 0x10]
mov ebx, dword [ecx - 0x10]
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [edx + 8]
mov dword [ecx + 8], ebx
mov bl, byte [esp + 0xd8]
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x38]
add eax, ecx
lea edx, [eax - 0x10]
mov ecx, dword [eax - 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x28]
shl eax, 4
lea ecx, [eax + edi - 0x10]
mov edx, dword [eax + edi - 0x10]
mov dword [eax + edi], edx
mov edx, dword [ecx + 4]
mov dword [eax + edi + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + edi + 8], edx
mov edx, dword [esp + 0x34]
mov ecx, dword [ecx + 0xc]
mov dword [eax + edi + 0xc], ecx
add eax, edx
lea ecx, [eax - 0x10]
mov edx, dword [eax - 0x10]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xc0]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x64], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x14], edx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xd4]
test bl, bl
setne cl
test eax, eax
mov dword [esp + 0x18], ecx
jne 0x42f574
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + eax*8 + 4]
mov dword [esp + 0x24], ecx
jmp 0x42f7b7
mov ecx, dword [eax]
mov ebx, dword [esp + 0x10]
shl ecx, 0x14
add ecx, 0x80000
mov esi, dword [esi + ebx*8 + 4]
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
shl ecx, 0x14
sub ecx, 0x80000
dec eax
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x44], eax
mov ecx, dword [ecx]
cmp eax, ecx
jl 0x42fc7c
cmp esi, ebx
jl 0x42fc7c
cmp ebx, ecx
jg 0x42f5d3
mov dword [esp + 0x1c], ecx
jmp 0x42f7ab
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
mov eax, 1
dec ebx
cmp ecx, eax
mov dword [esp + 0x30], eax
jle 0x42f601
add edi, 0xc
cmp dword [edi - 8], ebx
jg 0x42f5f5
cmp ebx, dword [edi]
jl 0x42f5fd
inc eax
add edi, 0x10
cmp eax, ecx
jl 0x42f5ec
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x20]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x3c], ecx
jle 0x42f62e
mov eax, dword [esp + 0x40]
add eax, 0xc
cmp dword [eax - 8], ebx
jg 0x42f622
cmp ebx, dword [eax]
jl 0x42f62a
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x42f619
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
shl ecx, 4
mov edx, dword [ecx + eax - 0xc]
mov edi, dword [ecx + eax - 4]
mov ebp, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebp
mov dword [esp + 0x4c], edx
shl eax, 0x14
sub edi, edx
cdq
idiv edi
mov edx, dword [esp + 0x34]
shl ebp, 0x14
mov esi, dword [ecx + edx - 0x10]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
add edi, eax
mov eax, dword [ecx + edx - 8]
sub eax, esi
mov dword [esp + 0x24], edi
shl eax, 0x14
cdq
idiv edi
shl esi, 0x14
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x34]
mov edx, eax
mov edi, dword [ecx + eax - 0xc]
mov eax, dword [ecx + edx - 4]
mov ecx, dword [esp + 0x4c]
sub eax, edi
shl eax, 0x14
cdq
idiv dword [esp + 0x24]
shl edi, 0x14
mov dword [esp + 0x7c], eax
mov eax, ebx
sub eax, ecx
mov ecx, eax
imul ecx, dword [esp + 0x88]
lea edx, [ecx + ebp + 0x80000]
mov ecx, eax
imul ecx, dword [esp + 0x74]
imul eax, dword [esp + 0x7c]
mov dword [esp + 0x20], edx
lea edx, [ecx + esi + 0x80000]
mov ecx, dword [esp + 0x3c]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
shl ecx, 4
mov dword [esp + 0x10], edx
mov edx, dword [ecx + eax - 0xc]
mov esi, dword [ecx + eax - 4]
mov edi, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, edi
mov dword [esp + 0x4c], edx
shl eax, 0x14
sub esi, edx
cdq
idiv esi
mov edx, dword [esp + 0x18]
add esi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
mov ebp, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebp
shl eax, 0x14
cdq
idiv esi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
mov esi, dword [ecx + eax - 0xc]
mov eax, dword [ecx + eax - 4]
sub eax, esi
shl eax, 0x14
cdq
idiv dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
sub ebx, ecx
mov ecx, dword [esp + 0x80]
imul ecx, ebx
shl edi, 0x14
shl ebp, 0x14
lea edx, [ecx + edi + 0x80000]
mov ecx, dword [esp + 0x78]
imul ecx, ebx
mov dword [esp + 0x94], eax
imul eax, ebx
mov edi, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
shl esi, 0x14
lea edx, [ecx + ebp + 0x80000]
mov ebp, dword [esp + 0x3c]
lea eax, [eax + esi + 0x80000]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x24], esi
jle 0x42f7b7
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc0]
mov eax, ecx
imul eax, dword [esp + 0x14]
add eax, dword [esi + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
cmp ecx, eax
jg 0x42fc7c
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
shl ebp, 4
mov eax, ebp
shl edx, 4
lea ebp, [eax + ecx]
lea eax, [eax + esi - 0xc]
mov ebx, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], ebp
lea edx, [ebx + edi]
add ebp, 0xfffffff0
lea ebx, [ebx + eax - 0xc]
sub eax, edi
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], ebx
lea esi, [edx - 0x10]
mov dword [esp + 0xa4], eax
jmp 0x42f83c
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x1c]
mov edi, dword [edx + 4]
mov ecx, dword [esp + 0x10]
cmp edi, eax
je 0x42f892
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x20]
add eax, edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x74]
add eax, edx
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0xa0]
sar eax, 0x14
imul eax, dword [esp + 0x64]
add ecx, edi
add edx, eax
mov dword [esp + 0x10], ecx
sar ecx, 0x14
lea ecx, [ecx + ecx*2]
add ecx, edx
jmp 0x42f936
mov edx, dword [esi + 0x10]
add esi, 0x10
mov eax, edx
mov edi, dword [ebx + 0x10]
mov ecx, dword [esi + 0xc]
add ebx, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
sub ecx, eax
lea eax, [esi + 0x10]
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 8]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xac]
mov ebp, dword [esi + edx]
mov dword [esp + 0x88], eax
mov eax, ebp
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x10], eax
mov eax, edi
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
add ecx, eax
mov eax, dword [ebx + 4]
sub eax, ebp
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 8]
sub eax, edi
imul edi, dword [esp + 0x64]
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xa0]
lea ecx, [ebp + ebp*2]
mov ebp, dword [esp + 0x54]
add edx, edi
add ecx, edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
cmp dword [eax + 4], edx
je 0x42f978
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x70]
add edx, eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
add edi, edx
mov edx, dword [esp + 0x58]
add edx, eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x58], edx
jmp 0x42fa1b
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0x10]
add ebp, 0x10
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, edx
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x54], ebp
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 4]
sub edi, eax
lea eax, [ebp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
sub eax, edx
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0xa4]
mov edx, dword [edx + ebp]
mov dword [esp + 0x80], eax
mov eax, edx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
add edi, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
sub eax, edx
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 8]
sub eax, dword [esp + 0x44]
shl eax, 0x14
cdq
idiv edi
mov dword [esp + 0x94], eax
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
sar edx, 0x14
sar edi, 0x14
mov eax, edx
mov dword [esp + 0x44], edx
sub eax, edi
mov dword [esp + 0x30], edi
je 0x42fa8c
mov edx, dword [esp + 0x18]
lea edi, [eax + edx]
mov eax, dword [esp + 0x10]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x70]
and eax, 0xfff00000
sub eax, edx
cdq
idiv edi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x60]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x58]
and eax, 0xfff00000
sub eax, edx
cdq
idiv edi
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x8c], eax
xor eax, eax
jmp 0x42fa9c
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x50], eax
xor eax, eax
cmp dword [esp + 0xd4], eax
mov dword [esp + 0x68], ecx
jne 0x42fab8
mov dword [esp + 0x30], edi
jmp 0x42fb56
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x20]
cmp edx, edi
jl 0x42fc55
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x2c]
cmp edi, edx
jl 0x42fc55
cmp edx, dword [esp + 0x20]
jg 0x42faee
mov edx, dword [esp + 0x30]
mov dword [esp + 0x30], edx
jmp 0x42fb36
mov eax, dword [esp + 0xd4]
mov edi, dword [esp + 0x20]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x90]
sub edx, edi
sar edx, 0x14
mov eax, edx
imul edx, dword [esp + 0x8c]
imul eax, dword [esp + 0x84]
mov dword [esp + 0x50], edx
mov edi, eax
sar edx, 0x14
imul edx, dword [esp + 0x64]
sar edi, 0x14
lea ecx, [ecx + edi*2]
add edi, ecx
lea ecx, [edi + edx]
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x2c]
cmp edi, edx
jg 0x42fb4b
mov edx, dword [esp + 0x44]
jmp 0x42fb56
mov edx, dword [esp + 0xd4]
mov edx, dword [edx + 8]
dec edx
cmp dword [esp + 0x30], edx
jg 0x42fc45
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
sub edx, ebp
inc edx
lea edi, [edi + ebp*4 + 2]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0xc4]
mov ebp, dword [ecx]
xor edx, ebp
test edx, 0xffffff
je 0x42fbfb
mov ebx, dword [esp + 0xc8]
xor edx, edx
mov dl, byte [ebx + 0xa3ed04]
xor ebx, ebx
mov bl, byte [ecx]
mov ebp, edx
mov dl, byte [edi - 2]
and edx, 0xff
shl ebp, 9
sub ebx, edx
mov dl, byte [ebx + ebp + 0x60ef03]
mov bl, byte [edi - 2]
add dl, bl
xor ebx, ebx
mov byte [edi - 2], dl
mov dl, byte [edi - 1]
mov bl, byte [ecx + 1]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + ebp + 0x60ef03]
mov bl, byte [edi - 1]
add dl, bl
xor ebx, ebx
mov byte [edi - 1], dl
mov dl, byte [edi]
mov bl, byte [ecx + 2]
mov ecx, edx
and ecx, 0xff
sub ebx, ecx
mov cl, byte [ebx + ebp + 0x60ef03]
mov ebx, dword [esp + 0x4c]
add cl, dl
mov byte [edi + 1], 0xff
mov byte [edi], cl
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x84]
add ecx, edx
mov edx, ecx
add eax, ebp
sar edx, 0x14
imul edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x50], ecx
mov ecx, eax
add ebp, edx
mov edx, dword [esp + 0x44]
add edi, 4
sar ecx, 0x14
lea ecx, [ecx + ecx*2]
add ecx, ebp
dec edx
mov dword [esp + 0x44], edx
jne 0x42fb73
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0x42fc63
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x42f835
mov edi, dword [esp + 0x48]
push edi
call fcn.0054a2d0
mov edx, dword [esp + 0x44]
push edx
call fcn.0054a2d0
mov eax, dword [esp + 0x3c]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0054a2d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret