Function at 0x5342b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1384
call fcn.0056af00
mov eax, dword [0x5c4008]
xor eax, esp
mov dword [esp + 0x1380], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
mov ecx, 0x70ac9b
mov eax, dword [ebp + 0xc]
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], eax
call fcn.0056b0a5
mov eax, dword [ebx + 0x510]
xor edx, edx
mov esi, dword [ebx + 0x508]
mov ebx, dword [ebx + 0x504]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], ebx
lea eax, [ebx*4]
mov dword [esp + 0x44], eax
test ebx, ebx
jle 0x534397
mov ecx, eax
lea edi, [esp + 0x378]
shr ecx, 2
mov eax, 0xffffff38
rep stosd dword es:[edi], eax
lea eax, [ebx*4]
test ebx, ebx
jle 0x534397
mov ecx, eax
lea edi, [esp + 0x480]
shr ecx, 2
mov eax, 0xffffff38
rep stosd dword es:[edi], eax
xor eax, eax
lea ecx, [ebx*4]
shr ecx, 2
lea edi, [esp + 0x168]
rep stosd dword es:[edi], eax
lea ecx, [ebx*4]
mov eax, 1
shr ecx, 2
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
lea ecx, [ebx*4]
or eax, 0xffffffff
shr ecx, 2
lea edi, [esp + 0x270]
rep stosd dword es:[edi], eax
test ebx, ebx
jne 0x5343bc
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x588]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push edi
push esi
push eax
push esi
push 0
call fcn.00533c10
add esp, 0x14
jmp 0x534420
lea eax, [ebx - 1]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
jle 0x53491a
lea edi, [esp + 0x588]
xor ebx, ebx
nop word [eax + eax]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push edi
push dword [eax + esi*4 + 4]
push dword [eax + esi*4]
call fcn.00533c10
inc esi
add esp, 0x14
add ebx, eax
add edi, 0x38
cmp esi, dword [esp + 0x10]
jl 0x5343e0
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x534918
push edi
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffff38
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0xffffff38
lea edx, [ebx - 1]
push eax
lea ecx, [esp + 0x594]
call fcn.00533db0
mov eax, dword [esp + 0x24]
mov esi, 2
mov edi, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x378], eax
mov dword [esp + 0x480], eax
mov dword [esp + 0x484], edi
mov dword [esp + 0x37c], edi
cmp ebx, esi
jle 0x534729
mov edx, dword [esp + 0x28]
lea eax, [edx + 0x210]
mov dword [esp + 0x14], eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + eax*4 + 0x168]
mov eax, dword [esp + eax*4 + 0x60]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], eax
cmp dword [esp + ecx*4 + 0x270], eax
je 0x534705
mov edi, dword [edx + ecx*4 + 0x208]
mov edx, dword [edx + eax*4 + 0x208]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], edi
lea edi, [esp + 0x480]
mov dword [esp + ecx*4 + 0x270], eax
mov ebx, dword [edx + ecx*4 + 0x344]
mov edx, dword [edx + eax*4 + 0x344]
mov dword [esp + 0x10], edx
mov edx, dword [esp + ecx*4 + 0x378]
lea ecx, [edi + ecx*4]
mov edi, dword [ecx]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], ecx
test edx, edx
js 0x534524
test edi, edi
jns 0x534520
mov edi, edx
jmp 0x534524
add edi, edx
sar edi, 1
mov ebx, dword [esp + eax*4 + 0x480]
lea ecx, [esp + 0x378]
lea ecx, [ecx + eax*4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ecx]
test ecx, ecx
js 0x53454b
test ebx, ebx
jns 0x534547
mov ebx, ecx
jmp 0x53454b
add ebx, ecx
sar ebx, 1
cmp edi, 0xffffffff
je 0x534931
cmp ebx, 0xffffffff
je 0x534931
push dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push dword [esp + 0x44]
push ebx
push edi
call fcn.00534090
add esp, 0x14
test eax, eax
je 0x5346e7
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x50], 0xffffff38
push eax
lea eax, [ecx*8]
mov dword [esp + 0x40], 0xffffff38
sub eax, ecx
mov dword [esp + 0x2c], 0xffffff38
sub edx, ecx
mov dword [esp + 0x3c], 0xffffff38
lea ecx, [esp + 0x594]
lea ecx, [ecx + eax*8]
call fcn.00533db0
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
sub edx, eax
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x594]
lea ecx, [eax + ecx*8]
call fcn.00533db0
add esp, 0xc
mov edx, eax
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
je 0x534622
mov ecx, eax
jmp 0x53462a
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], ecx
test edx, edx
je 0x534638
mov dword [esp + 0x20], ecx
jmp 0x53463c
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x10], 0
je 0x53464b
test edx, edx
jne 0x5346e7
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
test edx, edx
mov dword [eax], edi
mov eax, dword [esp + 0x378]
cmove eax, edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x378], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + esi*4 + 0x378], ecx
mov ecx, dword [esp + 0x40]
cmp ecx, 1
mov dword [esp + esi*4 + 0x480], edi
mov dword [eax], ebx
mov eax, dword [esp + 0x484]
cmove eax, ebx
cmp dword [esp + 0x34], 0
mov dword [esp + 0x484], eax
jge 0x5346a3
test edi, edi
js 0x5346fd
mov ebx, dword [esp + 0x18]
lea eax, [ebx - 1]
test eax, eax
js 0x5346bf
nop
cmp dword [esp + eax*4 + 0x60], ecx
jne 0x5346bf
mov dword [esp + eax*4 + 0x60], esi
sub eax, 1
jns 0x5346b0
lea eax, [ebx + 1]
mov ebx, dword [esp + 0x2c]
cmp eax, ebx
jge 0x534701
nop word [eax + eax]
cmp dword [esp + eax*4 + 0x168], edx
jne 0x534701
mov dword [esp + eax*4 + 0x168], esi
inc eax
cmp eax, ebx
jl 0x5346d0
jmp 0x534701
mov dword [esp + esi*4 + 0x480], 0xffffff38
mov dword [esp + esi*4 + 0x378], 0xffffff38
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
inc esi
add eax, 4
mov dword [esp + 0x14], eax
cmp esi, ebx
jl 0x5344a0
mov edi, dword [esp + 0x37c]
mov esi, dword [esp + 0x480]
jmp 0x53472d
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
add ecx, 7
and ecx, 0xfffffff8
mov edx, dword [eax + 0x48]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
lea eax, [edx + ecx]
cmp eax, dword [ebx + 0x4c]
mov ebx, dword [esp + 0x2c]
jle 0x5347a3
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x44], 0
je 0x534786
push 8
call fcn.00555564
mov edx, dword [esp + 0x28]
add esp, 4
mov ecx, dword [edx + 0x48]
add dword [edx + 0x50], ecx
mov ecx, dword [edx + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 0x54], eax
push ecx
mov dword [edx + 0x4c], ecx
call fcn.00555564
mov ecx, dword [esp + 0x28]
add esp, 4
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [ecx + 0x44], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x44]
add edx, eax
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x18], edx
cmp dword [esp + 0x378], 0
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x48], eax
jl 0x5347dd
test esi, esi
jns 0x5347d4
mov esi, dword [esp + 0x378]
jmp 0x5347dd
add esi, dword [esp + 0x378]
sar esi, 1
mov dword [edx], esi
test edi, edi
jns 0x5347ec
mov edi, dword [esp + 0x484]
jmp 0x5347ff
cmp dword [esp + 0x484], 0
jl 0x5347ff
add edi, dword [esp + 0x484]
sar edi, 1
mov dword [edx + 4], edi
mov dword [esp + 0x14], 2
cmp ebx, 2
jle 0x53491a
mov esi, dword [esp + 0x28]
mov eax, 0xfffffcfc
mov ebx, dword [esp + 0x1c]
sub eax, esi
mov dword [esp + 0x40], eax
lea edx, [esi + 0x30c]
lea ecx, [ebx + 0x34c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], ecx
nop word [eax + eax]
mov eax, dword [edx + 0xfc]
mov esi, dword [edx]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx]
mov edi, dword [ebx + eax*4 + 0x344]
sub ecx, edi
mov eax, dword [edx + eax*4]
mov ebx, dword [edx + esi*4]
and eax, 0x7fff
mov dword [esp + 0x44], eax
and ebx, 0x7fff
sub ebx, eax
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + esi*4 + 0x344]
sub ecx, edi
cdq
idiv ecx
mov edx, dword [esp + 0x44]
lea ecx, [eax + edx]
sub edx, eax
test ebx, ebx
mov ebx, dword [esp + 0x14]
cmovns edx, ecx
mov ecx, dword [esp + ebx*4 + 0x378]
mov eax, dword [esp + ebx*4 + 0x480]
test ecx, ecx
js 0x5348b8
test eax, eax
jns 0x5348b4
mov eax, ecx
jmp 0x5348b8
add eax, ecx
sar eax, 1
test eax, eax
js 0x5348c0
cmp edx, eax
jne 0x5348c7
mov eax, edx
or eax, 0x8000
mov edx, dword [esp + 0x10]
inc ebx
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
add ecx, edx
add edx, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [ecx + esi], eax
mov ecx, dword [esp + 0x30]
add ecx, 4
cmp ebx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
jl 0x534840
mov edx, dword [esp + 0x18]
mov eax, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1380]
xor ecx, esp
call fcn.00551170
mov esp, ebp
pop ebp
ret
xor edx, edx
mov ecx, dword [esp + 0x138c]
mov eax, edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00551170
mov esp, ebp
pop ebp
ret
push 1
call fcn.00555423
int3