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

Disassembly:
mov eax, dword [esp + 0x24]
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
jne 0x42c795
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 + 0x4c], edi
mov dword [esp + 0x10], edi
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xa4], ecx
mov edx, ecx
mov ecx, 1
mov eax, ebx
cmp ebp, ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
jle 0x42c83b
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, ebx
jge 0x42c7e6
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov edi, ecx
mov dword [esp + 0xa4], edx
jmp 0x42c828
jne 0x42c803
mov ebp, dword [eax]
cmp ebp, dword [esp + 0xa4]
jge 0x42c803
mov ebx, dword [eax + 4]
mov edx, ebp
mov edi, ecx
mov dword [esp + 0xa4], edx
jmp 0x42c828
mov ebp, dword [esp + 0x68]
cmp ebp, edx
jl 0x42c817
jne 0x42c828
mov edx, dword [esp + 0x64]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x42c828
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x64], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov ebp, dword [esp + 0xdc]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x42c7cf
mov dword [esp + 0x4c], edi
lea ebx, [edi - 1]
lea edx, [edi + 1]
test edi, edi
mov dword [esp + 0x18], ebx
jne 0x42c850
lea ebx, [ebp - 1]
mov dword [esp + 0x18], ebx
lea eax, [ebp - 1]
cmp edi, eax
mov dword [esp + 0x2c], eax
jne 0x42c85d
xor edx, edx
xor eax, eax
mov ecx, dword [esi + edi*8 + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [esi + edx*8 + 4]
mov ebx, dword [esi + ebx*8]
mov dword [esp + 0x1c], eax
lea eax, [esi + edi*8 + 4]
mov edx, dword [esi + edx*8]
mov dword [esp + 0x50], eax
mov eax, dword [esi + edi*8]
sub ebp, ecx
sub ebx, eax
imul ebp, ebx
mov ebx, dword [esp + 0x18]
sub edx, eax
mov dword [esp + 0x20], edi
mov ebx, dword [esi + ebx*8 + 4]
sub ebx, ecx
imul ebx, edx
sub ebp, ebx
test ebp, ebp
jle 0x42cbac
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x42c8ce
mov ebp, dword [esp + 0xdc]
mov eax, dword [esi + 4]
cmp eax, dword [esi + ebp*8 - 4]
jne 0x42c8f7
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
jmp 0x42c8fb
mov edx, dword [esi + ebx*8 + 4]
mov eax, dword [esi + ebx*8 - 4]
cmp edx, eax
jne 0x42c8ea
mov ebp, dword [esp + 0xdc]
lea edx, [ebx - 1]
mov dword [esp + 0x1c], edx
jmp 0x42c8fb
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xdc]
jmp 0x42c8fb
mov edx, dword [esp + 0x1c]
cmp edi, edx
mov eax, edi
je 0x42c934
mov ebx, dword [esp + 0x14]
inc eax
cmp eax, ebp
jne 0x42c90c
xor eax, eax
inc ebx
cmp eax, edx
jne 0x42c905
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
test edi, edi
jne 0x42c93a
mov eax, dword [esi + 4]
mov ecx, dword [esi + ebp*8 - 4]
cmp eax, ecx
jne 0x42c949
mov eax, edx
mov dword [esp + 0x20], eax
jmp 0x42c94d
mov edx, dword [esp + 0x2c]
jmp 0x42c91d
cmp ecx, dword [esi + edi*8 - 4]
jne 0x42c949
lea eax, [edi - 1]
mov dword [esp + 0x20], eax
jmp 0x42c94d
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x42c966
mov ecx, dword [esp + 0x28]
dec eax
cmp eax, 0xffffffff
jne 0x42c95d
mov eax, edx
inc ecx
cmp eax, ebx
jne 0x42c955
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
lea ebx, [ecx + 1]
shl ebx, 4
push ebx
call fcn.0054a1d0
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x44], ebp
lea eax, [edx + 1]
shl eax, 4
push eax
mov dword [esp + 0x4c], eax
call fcn.0054a1d0
push ebx
mov dword [esp + 0x48], eax
call fcn.0054a1d0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
push eax
call fcn.0054a1d0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp edi, eax
mov eax, dword [esp + 0xcc]
mov edx, edi
je 0x42ca36
mov edi, dword [esp + 0x30]
mov ebx, ebp
sub ebp, edi
mov dword [esp + 0x18], ebx
lea ecx, [edi + 8]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0xdc]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x42c9e3
xor edx, edx
mov ebp, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebx], ebp
mov ebp, dword [esi + edi*8 + 4]
mov dword [ebx + 4], ebp
mov ebx, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [ebx + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ebx + ecx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*8 + 4]
mov ebx, dword [esp + 0x18]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebx, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x1c]
cmp edx, edi
mov dword [esp + 0x18], ebx
jne 0x42c9d3
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x42cab8
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov ebp, ebx
mov dword [esp + 0x18], ebx
sub ebp, edi
lea ecx, [edi + 8]
mov dword [esp + 0x24], ebp
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x42ca65
mov edx, dword [esp + 0x2c]
mov ebp, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebx], ebp
mov ebp, dword [esi + edi*8 + 4]
mov dword [ebx + 4], ebp
mov ebx, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [ebx + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ebx + ecx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*8 + 4]
mov ebx, dword [esp + 0x18]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebx, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x10]
cmp edx, edi
mov dword [esp + 0x18], ebx
jne 0x42ca59
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
shl eax, 4
add edx, eax
lea edi, [edx - 0x10]
mov ebx, dword [edx - 0x10]
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov ebx, dword [edi + 8]
mov dword [edx + 8], ebx
mov bl, byte [esp + 0xd8]
mov edi, dword [edi + 0xc]
mov dword [edx + 0xc], edi
mov edx, dword [esp + 0x34]
add eax, edx
lea edx, [eax - 0x10]
mov edi, dword [eax - 0x10]
mov dword [eax], edi
mov edi, dword [edx + 4]
mov dword [eax + 4], edi
mov edi, dword [edx + 8]
mov dword [eax + 8], edi
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x14]
shl eax, 4
lea edx, [eax + ebp - 0x10]
mov edi, dword [eax + ebp - 0x10]
mov dword [eax + ebp], edi
mov edi, dword [edx + 4]
mov dword [eax + ebp + 4], edi
mov edi, dword [edx + 8]
mov dword [eax + ebp + 8], edi
mov edx, dword [edx + 0xc]
mov dword [eax + ebp + 0xc], edx
mov edx, dword [esp + 0x30]
add eax, edx
lea edx, [eax - 0x10]
mov edi, dword [eax - 0x10]
mov dword [eax], edi
mov edi, dword [edx + 4]
mov dword [eax + 4], edi
mov edi, dword [edx + 8]
mov dword [eax + 8], edi
xor edi, edi
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xb8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xa0], eax
xor eax, eax
mov edx, dword [edx + 8]
mov dword [esp + 0x18], edx
xor edx, edx
test bl, bl
setne dl
test ecx, ecx
mov dword [esp + 0x1c], edx
jne 0x42cd96
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [esi + ecx*8 + 4]
mov dword [esp + 0x24], edx
jmp 0x42cfdc
mov ebp, dword [esp + 0x2c]
cmp edi, ebp
jne 0x42cbc1
cmp ecx, dword [esi + 4]
jne 0x42cbd0
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x42cbd4
cmp ecx, dword [esi + edi*8 + 0xc]
jne 0x42cbd0
lea eax, [edi + 1]
mov dword [esp + 0x20], eax
jmp 0x42cbd4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x42cbf7
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0xdc]
inc eax
cmp eax, ebx
jne 0x42cbee
xor eax, eax
inc edx
cmp eax, ecx
jne 0x42cbe7
mov dword [esp + 0x28], edx
cmp ecx, ebp
jne 0x42cc0e
mov ecx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x42cc21
xor ecx, ecx
mov dword [esp + 0x1c], ecx
jmp 0x42cc25
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + ecx*8 + 0xc]
cmp edx, eax
jne 0x42cc21
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x42cc25
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp edi, ecx
je 0x42cc3e
dec edi
cmp edi, 0xffffffff
jne 0x42cc35
mov edi, ebp
inc eax
cmp edi, ecx
jne 0x42cc2d
mov dword [esp + 0x14], eax
lea edi, [eax + 1]
shl edi, 4
push edi
call fcn.0054a1d0
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], ebp
lea ebx, [eax + 1]
shl ebx, 4
push ebx
call fcn.0054a1d0
push edi
mov dword [esp + 0x48], eax
call fcn.0054a1d0
push ebx
mov dword [esp + 0x40], eax
call fcn.0054a1d0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xcc]
je 0x42cd08
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ebx, edi
sub edi, ebp
mov dword [esp + 0x18], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x24], edi
mov ebp, dword [esp + 0xdc]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x42ccb5
xor edx, edx
mov ebp, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebx], ebp
mov ebp, dword [esi + edi*8 + 4]
mov dword [ebx + 4], ebp
mov ebx, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [ecx + ebx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ecx + ebx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*8 + 4]
mov ebx, dword [esp + 0x18]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebx, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x10]
cmp edx, edi
mov dword [esp + 0x18], ebx
jne 0x42cca5
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
cmp edx, ecx
je 0x42cab8
mov edi, dword [esp + 0x30]
mov ebx, ebp
sub ebp, edi
mov dword [esp + 0x18], ebx
lea ecx, [edi + 8]
mov dword [esp + 0x24], ebp
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x42cd37
mov edx, dword [esp + 0x2c]
mov ebp, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebx], ebp
mov ebp, dword [esi + edi*8 + 4]
mov dword [ebx + 4], ebp
mov ebx, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [ecx + ebx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ecx + ebx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*8 + 4]
mov ebx, dword [esp + 0x18]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebx, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x1c]
cmp edx, edi
mov dword [esp + 0x18], ebx
jne 0x42cd2b
mov ecx, dword [esp + 0xd4]
mov ebp, dword [esp + 0x40]
jmp 0x42cabf
mov edx, dword [ecx]
mov ebx, dword [esp + 0x10]
shl edx, 0x14
add edx, 0x80000
mov esi, dword [esi + ebx*8 + 4]
mov dword [esp + 0x90], edx
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
shl edx, 0x14
sub edx, 0x80000
dec ecx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x38], ecx
mov edx, dword [edx]
cmp ecx, edx
jl 0x42d486
cmp esi, ebx
jl 0x42d486
cmp ebx, edx
jg 0x42cdf5
mov dword [esp + 0x20], edx
jmp 0x42cfd0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov eax, 1
dec ebx
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x42ce24
add ebp, 0xc
cmp dword [ebp - 8], ebx
jg 0x42ce18
cmp ebx, dword [ebp]
jl 0x42ce20
inc eax
add ebp, 0x10
cmp eax, ecx
jl 0x42ce0e
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x28]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x14], ecx
jle 0x42ce51
mov eax, dword [esp + 0x3c]
add eax, 0xc
cmp dword [eax - 8], ebx
jg 0x42ce45
cmp ebx, dword [eax]
jl 0x42ce4d
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x42ce3c
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
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 + 0x44], edx
shl eax, 0x14
sub edi, edx
cdq
idiv edi
mov edx, dword [esp + 0x30]
shl ebp, 0x14
mov esi, dword [ecx + edx - 0x10]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c]
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 + 0x30]
mov edx, eax
mov edi, dword [ecx + eax - 0xc]
mov eax, dword [ecx + edx - 4]
mov ecx, dword [esp + 0x44]
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 + 0x28], edx
lea edx, [ecx + esi + 0x80000]
mov ecx, dword [esp + 0x14]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
shl ecx, 4
mov dword [esp + 0x60], 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 + 0x44], edx
shl eax, 0x14
sub esi, edx
cdq
idiv esi
mov edx, dword [esp + 0x1c]
add esi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
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 + 0x34]
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 + 0x44]
mov edx, dword [esp + 0x80]
sub ebx, ecx
mov ecx, ebx
imul edx, ecx
shl edi, 0x14
shl ebp, 0x14
lea edx, [edx + edi + 0x80000]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
imul edx, ecx
mov dword [esp + 0x94], eax
imul eax, ecx
mov ecx, dword [esp + 0x38]
lea edx, [edx + ebp + 0x80000]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x54], edx
shl esi, 0x14
lea eax, [eax + esi + 0x80000]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
cmp esi, ecx
mov dword [esp + 0x24], esi
jle 0x42cfdc
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0xc0]
mov ecx, edx
imul ecx, dword [esp + 0x18]
add ecx, dword [esi + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jg 0x42d486
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
shl edi, 4
shl eax, 4
mov ebx, edi
lea edi, [eax + edx]
lea eax, [eax + esi - 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
lea ecx, [ebx + ebp]
mov dword [esp + 0x5c], edi
lea ebx, [ebx + eax - 0xc]
sub eax, ebp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x34]
add edi, 0xfffffff0
sub eax, edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x44], ebx
lea esi, [ecx - 0x10]
mov dword [esp + 0xa4], eax
jmp 0x42d05f
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
cmp eax, edx
je 0x42d0b3
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x7c]
add ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x70]
add ecx, edx
mov eax, dword [esp + 0x60]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x70], ecx
sar ecx, 0x14
imul ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xa0]
add eax, ebp
mov dword [esp + 0x60], eax
sar eax, 0x14
add edx, ecx
lea ebp, [edx + eax*4]
jmp 0x42d153
mov ecx, dword [esi + 0x10]
add esi, 0x10
mov eax, ecx
add ebx, 0x10
shl eax, 0x14
add eax, 0x80000
mov edi, dword [esi + 0xc]
mov dword [esp + 0x28], eax
mov ebp, dword [esi + 4]
lea eax, [esi + 0x10]
sub edi, ebp
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 8]
sub eax, ecx
mov ecx, dword [esp + 0xac]
shl eax, 0x14
cdq
idiv edi
mov ebp, dword [esi + ecx]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x44], ebx
add edi, edx
mov dword [esp + 0x88], eax
mov eax, ebp
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x60], eax
mov eax, ecx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 4]
sub eax, ebp
shl eax, 0x14
cdq
idiv edi
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 8]
sub eax, ecx
imul ecx, dword [esp + 0x58]
shl eax, 0x14
cdq
idiv edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa0]
add eax, ecx
lea ebp, [eax + ebp*4]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
cmp dword [edx + 4], ecx
je 0x42d195
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x78]
add edx, ecx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x94]
add eax, edx
mov dword [esp + 0x6c], eax
jmp 0x42d237
mov edx, dword [esp + 0x14]
add edi, 0x10
add edx, 0x10
mov dword [esp + 0x4c], edi
mov dword [esp + 0x14], edx
mov edx, dword [edi]
mov ecx, dword [edi + 0xc]
mov eax, edx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
sub ecx, eax
lea eax, [edi + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 8]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xa4]
mov edx, dword [edi + edx]
mov dword [esp + 0x80], eax
mov eax, edx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 8]
sub eax, dword [esp + 0x38]
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
sar eax, 0x14
sar edx, 0x14
mov ecx, eax
mov dword [esp + 0x38], eax
sub ecx, edx
mov dword [esp + 0x48], edx
je 0x42d2a1
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
add ecx, eax
mov eax, dword [esp + 0x54]
sar edx, 0x14
shl edx, 0x14
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x70]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x6c]
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
xor edx, edx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
jmp 0x42d2b1
xor edx, edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x64], ebp
cmp ecx, edx
mov dword [esp + 0x50], edx
jne 0x42d2d1
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], ecx
jmp 0x42d36c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x98]
cmp ecx, eax
jl 0x42d45f
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jl 0x42d45f
cmp eax, dword [esp + 0x28]
jg 0x42d307
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], ecx
jmp 0x42d34c
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0x90]
mov eax, dword [edx]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
sub ecx, eax
sar ecx, 0x14
mov edx, ecx
imul ecx, dword [esp + 0x8c]
imul edx, dword [esp + 0x84]
mov dword [esp + 0x50], ecx
mov eax, edx
sar ecx, 0x14
imul ecx, dword [esp + 0x58]
sar eax, 0x14
add ecx, ebp
lea ebp, [ecx + eax*4]
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jg 0x42d361
mov eax, dword [esp + 0x38]
jmp 0x42d36c
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 8]
dec eax
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jg 0x42d453
mov edi, dword [esp + 0x10]
lea ecx, [edi + ecx*4 + 1]
mov edi, dword [esp + 0x48]
sub eax, edi
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp]
mov edi, dword [esp + 0xc4]
cmp eax, edi
je 0x42d40c
mov edi, dword [esp + 0xc8]
xor eax, eax
xor ebx, ebx
mov al, byte [edi + 0xa3ed04]
mov bl, byte [ebp + 2]
mov edi, eax
mov al, byte [ecx + 1]
and eax, 0xff
shl edi, 9
sub ebx, eax
mov al, byte [ebx + edi + 0x60ef03]
mov bl, byte [ecx + 1]
add al, bl
xor ebx, ebx
mov byte [ecx + 1], al
mov al, byte [ecx]
mov bl, byte [ebp + 1]
and eax, 0xff
sub ebx, eax
mov al, byte [ebx + edi + 0x60ef03]
mov bl, byte [ecx]
add al, bl
xor ebx, ebx
mov byte [ecx], al
mov al, byte [ecx - 1]
mov bl, byte [ebp]
and eax, 0xff
sub ebx, eax
mov al, byte [ebx + edi + 0x60ef03]
mov bl, byte [ecx - 1]
add al, bl
mov ebx, dword [esp + 0x44]
mov byte [ecx - 1], al
mov byte [ecx + 2], 0xff
mov eax, dword [esp + 0x84]
mov ebp, dword [esp + 0x8c]
add edx, eax
mov eax, dword [esp + 0x50]
add eax, ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x50], eax
mov edi, edx
sar eax, 0x14
imul eax, dword [esp + 0x58]
add ebp, eax
mov eax, dword [esp + 0x38]
sar edi, 0x14
add ecx, 4
dec eax
lea ebp, [ebp + edi*4]
mov dword [esp + 0x38], eax
jne 0x42d38b
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add eax, ecx
jmp 0x42d469
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x42d058
mov ebp, dword [esp + 0x40]
push ebp
call fcn.0054a2d0
mov eax, dword [esp + 0x40]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0054a2d0
mov edx, dword [esp + 0x40]
push edx
call fcn.0054a2d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret