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

Disassembly:
mov eax, dword [esp + 0x24]
sub esp, 0xa8
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
jne 0x429175
mov eax, dword [esp + 0xc8]
add eax, 0xc
mov dword [esp + 0xdc], eax
mov esi, dword [esp + 0xd8]
mov ebp, dword [esp + 0xe4]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0xa8], ecx
mov edx, ecx
mov ecx, 1
mov eax, edi
cmp ebp, ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
jle 0x42921b
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, edi
jge 0x4291c6
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, ecx
mov dword [esp + 0xa8], edx
jmp 0x429208
jne 0x4291e3
mov ebp, dword [eax]
cmp ebp, dword [esp + 0xa8]
jge 0x4291e3
mov edi, dword [eax + 4]
mov edx, ebp
mov ebx, ecx
mov dword [esp + 0xa8], edx
jmp 0x429208
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jl 0x4291f7
jne 0x429208
mov edx, dword [esp + 0x68]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x429208
mov edx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x68], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov ebp, dword [esp + 0xe4]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x4291af
mov dword [esp + 0x48], ebx
lea edi, [ebx - 1]
lea edx, [ebx + 1]
test ebx, ebx
mov dword [esp + 0x18], edi
jne 0x429230
lea edi, [ebp - 1]
mov dword [esp + 0x18], edi
lea eax, [ebp - 1]
cmp ebx, eax
mov dword [esp + 0x2c], eax
jne 0x42923d
xor edx, edx
xor eax, eax
mov ecx, dword [esi + ebx*8 + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + edi*8 + 4]
mov ebp, dword [esi + edx*8]
mov dword [esp + 0x14], eax
lea eax, [esi + ebx*8 + 4]
mov edx, dword [esi + edx*8 + 4]
mov dword [esp + 0x50], eax
mov eax, dword [esi + ebx*8]
sub edi, ecx
sub ebp, eax
imul edi, ebp
mov ebp, dword [esp + 0x18]
sub edx, ecx
mov dword [esp + 0x28], ebx
mov ebp, dword [esi + ebp*8]
sub ebp, eax
imul edx, ebp
sub edx, edi
test edx, edx
jle 0x429481
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x4292ae
mov edx, dword [esp + 0xe4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edx*8 - 4]
jne 0x4292c3
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
jmp 0x4292c7
mov eax, dword [esi + ebp*8 + 4]
mov edx, dword [esi + ebp*8 - 4]
cmp eax, edx
jne 0x4292c3
lea edx, [ebp - 1]
mov dword [esp + 0x14], edx
jmp 0x4292c7
mov edx, dword [esp + 0x14]
cmp ebx, edx
mov eax, ebx
je 0x4292e6
mov edi, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0xe4]
jne 0x4292dd
xor eax, eax
inc edi
cmp eax, edx
jne 0x4292d1
mov dword [esp + 0x10], edi
test ebx, ebx
jne 0x429304
mov edx, dword [esp + 0xe4]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + edx*8 - 4]
jne 0x429313
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
jmp 0x429317
cmp ecx, dword [esi + ebx*8 - 4]
jne 0x429313
lea eax, [ebx - 1]
mov dword [esp + 0x28], eax
jmp 0x429317
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x429334
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
dec eax
cmp eax, 0xffffffff
jne 0x42932b
mov eax, edx
inc ecx
cmp eax, ebp
jne 0x429323
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x10]
lea edi, [eax + 1]
shl edi, 4
push edi
call fcn.0054a1d0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
lea ebp, [ecx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
push edi
mov dword [esp + 0x40], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x40], eax
call fcn.0054a1d0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp ebx, eax
mov eax, dword [esp + 0xd4]
mov edx, ebx
je 0x4293fa
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov ebp, ebx
mov dword [esp + 0x18], ebx
sub ebp, edi
lea ecx, [edi + 8]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0xe4]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x4293ab
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 + 0x14]
cmp edx, edi
mov dword [esp + 0x18], ebx
jne 0x42939b
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
cmp edx, ecx
je 0x42965d
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
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 0x42942d
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 + 0x1c]
cmp edx, edi
mov dword [esp + 0x18], ebx
jne 0x429421
jmp 0x42965d
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jne 0x429496
cmp ecx, dword [esi + 4]
jne 0x4294a5
xor eax, eax
mov dword [esp + 0x28], eax
jmp 0x4294a9
cmp ecx, dword [esi + ebx*8 + 0xc]
jne 0x4294a5
lea eax, [ebx + 1]
mov dword [esp + 0x28], eax
jmp 0x4294a9
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
je 0x4294cc
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xe4]
inc eax
cmp eax, edi
jne 0x4294c3
xor eax, eax
inc edx
cmp eax, ecx
jne 0x4294bc
mov dword [esp + 0x20], edx
cmp ecx, ebp
jne 0x4294e3
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp edx, eax
jne 0x4294f6
xor ecx, ecx
mov dword [esp + 0x14], ecx
jmp 0x4294fa
mov eax, dword [esi + ecx*8 + 4]
mov edx, dword [esi + ecx*8 + 0xc]
cmp eax, edx
jne 0x4294f6
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x4294fa
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
mov eax, ebx
je 0x429515
mov edx, dword [esp + 0x10]
dec eax
cmp eax, 0xffffffff
jne 0x42950c
mov eax, ebp
inc edx
cmp eax, ecx
jne 0x429504
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 1]
shl edi, 4
push edi
call fcn.0054a1d0
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
lea ebp, [edx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
push edi
mov dword [esp + 0x40], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x40], eax
call fcn.0054a1d0
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xd4]
je 0x4295e1
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
mov ebx, edi
sub edi, ebp
mov dword [esp + 0x18], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x24], edi
mov ebp, dword [esp + 0xe4]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x42958e
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 + 0x1c]
cmp edx, edi
mov dword [esp + 0x18], ebx
jne 0x42957e
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov edx, ebx
cmp ebx, ecx
je 0x42965d
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x30]
mov ebx, edi
sub edi, ebp
mov dword [esp + 0x18], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x24], edi
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x42960e
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 + 0x14]
cmp edx, edi
mov dword [esp + 0x18], ebx
jne 0x429602
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
shl eax, 4
add ecx, eax
lea edx, [ecx - 0x10]
mov edi, dword [ecx - 0x10]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov edi, dword [esp + 0x10]
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x40]
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 ecx, dword [esp + 0x3c]
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, edi
shl eax, 4
add ecx, eax
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
xor ebx, ebx
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x30]
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 + 0xc0]
mov edx, dword [esp + 0xc8]
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xa0], edx
mov dl, byte [esp + 0xe0]
xor ecx, ecx
xor eax, eax
test dl, dl
setne al
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xdc]
test eax, eax
jne 0x429757
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov edx, dword [edx]
mov eax, dword [esi + eax*8 + 4]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
jmp 0x4299ae
mov edx, dword [eax]
mov ebp, dword [esp + 0x1c]
shl edx, 0x14
add edx, 0x80000
mov esi, dword [esi + ebp*8 + 4]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 8]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 0xc]
shl edx, 0x14
sub edx, 0x80000
dec eax
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], eax
mov edx, dword [edx]
cmp eax, edx
jl 0x429ed5
cmp esi, ebp
jl 0x429ed5
cmp ebp, edx
jg 0x4297be
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], edx
jmp 0x42999e
mov dword [esp + 0x14], ebp
mov ecx, 1
dec ebp
cmp edi, ecx
mov dword [esp + 0x10], ecx
jle 0x4297ec
mov eax, dword [esp + 0x3c]
add eax, 0xc
cmp dword [eax - 8], ebp
jg 0x4297e0
cmp ebp, dword [eax]
jl 0x4297e8
inc ecx
add eax, 0x10
cmp ecx, edi
jl 0x4297d7
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x20]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x38], ecx
jle 0x429819
mov eax, dword [esp + 0x34]
add eax, 0xc
cmp dword [eax - 8], ebp
jg 0x42980d
cmp ebp, dword [eax]
jl 0x429815
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x429804
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
shl ecx, 4
mov edx, dword [ecx + eax - 0xc]
mov edi, dword [ecx + eax - 4]
mov ebx, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebx
mov dword [esp + 0x4c], edx
shl eax, 0x14
sub edi, edx
cdq
idiv edi
mov edx, dword [esp + 0x30]
shl ebx, 0x14
mov esi, dword [ecx + edx - 0x10]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x54]
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 + 0x78], 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 + 0x4c]
sub eax, edi
shl eax, 0x14
cdq
idiv dword [esp + 0x24]
shl edi, 0x14
mov dword [esp + 0x8c], eax
mov eax, ebp
sub eax, ecx
mov ecx, eax
imul ecx, dword [esp + 0x84]
lea edx, [ecx + ebx + 0x80000]
mov ecx, eax
imul ecx, dword [esp + 0x78]
imul eax, dword [esp + 0x8c]
mov dword [esp + 0x2c], edx
lea edx, [ecx + esi + 0x80000]
mov ecx, dword [esp + 0x38]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
shl ecx, 4
mov dword [esp + 0x70], 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 + 0x54]
add esi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov ebx, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebx
shl eax, 0x14
cdq
idiv esi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
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 ebp, ecx
mov ecx, dword [esp + 0x80]
imul ecx, ebp
shl edi, 0x14
shl ebx, 0x14
lea edx, [ecx + edi + 0x80000]
mov ecx, dword [esp + 0x7c]
imul ecx, ebp
mov dword [esp + 0x98], eax
imul eax, ebp
shl esi, 0x14
mov dword [esp + 0x1c], edx
lea edx, [ecx + ebx + 0x80000]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
lea eax, [eax + esi + 0x80000]
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov esi, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x60]
cmp ebp, eax
mov dword [esp + 0x24], ebp
jle 0x4299ae
mov dword [esp + 0x24], eax
mov eax, edx
mov ebp, dword [esp + 0xc8]
imul eax, dword [esp + 0x18]
add eax, dword [ebp + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
jg 0x429eb0
mov edx, dword [esp + 0x3c]
shl ebx, 4
mov eax, ebx
shl ecx, 4
lea ebp, [eax + edx]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x9c], ebp
add ebp, 0xfffffff0
lea ebx, [ecx + edx]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xa4], ebx
add ebx, 0xfffffff0
lea ecx, [ecx + edx - 0xc]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x30]
lea eax, [eax + ecx - 0xc]
mov dword [esp + 0x58], eax
mov eax, ecx
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xb0], eax
mov eax, edx
sub eax, ecx
mov dword [esp + 0xb4], eax
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x14]
cmp dword [edx + 4], ecx
je 0x429a93
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
add edx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x8c]
add eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x70], eax
add ecx, edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x64], ecx
sar ecx, 0x14
imul ecx, dword [esp + 0x5c]
sar eax, 0x14
add edx, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x10], eax
jmp 0x429b4a
mov edx, dword [ebp + 0x10]
add ebp, 0x10
mov eax, edx
mov ecx, dword [esp + 0x58]
mov esi, dword [ebp + 0xc]
add ecx, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x58], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 4]
sub esi, eax
lea eax, [ebp + 0x10]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 8]
sub eax, edx
mov ecx, dword [ecx]
shl eax, 0x14
cdq
idiv esi
mov edx, dword [esp + 0xb0]
mov edi, dword [edx + ebp]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x84], eax
mov eax, edi
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x70], eax
mov eax, ecx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
add esi, eax
mov eax, dword [edx + 4]
sub eax, edi
shl eax, 0x14
cdq
idiv esi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 8]
sub eax, ecx
imul ecx, dword [esp + 0x5c]
shl eax, 0x14
cdq
idiv esi
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0x20]
add edx, ecx
mov dword [esp + 0x8c], eax
lea eax, [edx + edi*2]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x14]
cmp dword [edx + 4], ecx
je 0x429b87
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
add edx, eax
mov eax, dword [esp + 0x98]
add esi, ecx
add edi, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], edi
jmp 0x429c2b
mov edx, dword [ebx + 0x10]
add ebx, 0x10
mov eax, edx
mov edi, dword [esp + 0x74]
mov ecx, dword [ebx + 0xc]
add edi, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x74], edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
sub ecx, eax
lea eax, [ebx + 0x10]
mov dword [esp + 0xa4], eax
mov eax, dword [ebx + 8]
sub eax, edx
mov edi, dword [edi]
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x44], edi
shl edi, 0x14
mov edx, dword [ebx + edx]
add edi, 0x80000
mov esi, edx
mov dword [esp + 0x4c], ebx
shl esi, 0x14
add esi, 0x80000
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
mov eax, dword [edx + 8]
sub eax, dword [esp + 0x44]
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
sar eax, 0x14
sar ecx, 0x14
mov dword [esp + 0x44], eax
sub eax, ecx
mov dword [esp + 0x60], ecx
je 0x429c86
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x70]
add ecx, eax
mov eax, esi
sar edx, 0x14
shl edx, 0x14
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x64]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, edi
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x50], eax
jmp 0x429c93
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xdc]
cmp eax, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x90], ecx
jne 0x429cc0
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x44]
jmp 0x429d4e
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x94]
cmp eax, edx
jl 0x429e8d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xa8]
cmp edx, eax
jl 0x429e8d
mov edi, dword [esp + 0x2c]
cmp eax, edi
jg 0x429cf4
mov esi, dword [esp + 0x60]
jmp 0x429d34
mov ecx, dword [esp + 0xdc]
sub eax, edi
sar eax, 0x14
mov esi, dword [ecx]
mov ecx, eax
imul eax, dword [esp + 0x50]
imul ecx, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov edi, ecx
sar eax, 0x14
imul eax, dword [esp + 0x5c]
sar edi, 0x14
add eax, dword [esp + 0x10]
mov dword [esp + 0x90], ecx
lea eax, [eax + edi*2]
mov dword [esp + 0x10], eax
cmp edx, dword [esp + 0x94]
jg 0x429d43
mov eax, dword [esp + 0x44]
jmp 0x429d4e
mov edx, dword [esp + 0xdc]
mov eax, dword [edx + 8]
dec eax
cmp esi, eax
jg 0x429e75
mov edx, dword [esp + 0x38]
sub eax, esi
inc eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
lea edi, [edx + esi*4]
mov ax, word [eax]
cmp ax, word [esp + 0xcc]
je 0x429e2b
mov ecx, dword [esp + 0xd0]
xor edx, edx
mov dl, ah
xor ebx, ebx
movzx si, byte [ecx + 0xa3ed04]
mov cx, word [edi]
and esi, 0xffff
and edx, 0xf8
mov bl, ch
and ebx, 0xf8
mov dl, byte [edx + esi + 0xa2ee04]
add dl, byte [ebx + esi + 0x5f6e04]
shr eax, 3
shr ecx, 3
and eax, 0xfc
and ecx, 0xfc
and dl, 0xf8
mov al, byte [eax + esi + 0xa2ee04]
mov bl, byte [ecx + esi + 0x5f6e04]
movzx dx, dl
add al, bl
xor cx, cx
and al, 0xfc
shl edx, 5
mov cl, al
mov al, byte [edi]
or edx, ecx
mov ecx, dword [esp + 0x10]
shl al, 3
mov cl, byte [ecx]
and eax, 0xff
shl cl, 3
mov al, byte [eax + esi + 0x5f6e04]
and ecx, 0xff
shl edx, 3
mov bl, byte [ecx + esi + 0xa2ee04]
xor cx, cx
add al, bl
mov ebx, dword [esp + 0x4c]
shr al, 3
mov cl, al
or edx, ecx
mov ecx, dword [esp + 0x90]
mov word [edi], dx
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x50]
add ecx, eax
mov eax, dword [esp + 0x48]
add eax, esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x48], eax
mov edx, ecx
sar eax, 0x14
imul eax, dword [esp + 0x5c]
sar edx, 0x14
add esi, eax
add edi, 4
mov dword [esp + 0x90], ecx
lea eax, [esi + edx*2]
mov edx, dword [esp + 0x44]
dec edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], edx
jne 0x429d68
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x38], ecx
jmp 0x429e9b
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x429a33
mov edx, dword [esp + 0x3c]
push edx
call fcn.0054a2d0
mov eax, dword [esp + 0x38]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0054a2d0
mov edx, dword [esp + 0x4c]
push edx
jmp 0x429ef8
mov eax, dword [esp + 0x3c]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0054a2d0
mov edx, dword [esp + 0x38]
push edx
call fcn.0054a2d0
mov eax, dword [esp + 0x4c]
push eax
call fcn.0054a2d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret