Function at 0x439ca0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x136c
call fcn.0045dd50
mov eax, dword [0x507040]
xor eax, esp
mov dword [esp + 0x1368], eax
mov eax, edx
mov dword [esp + 0xc], ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 0x504]
mov edx, dword [eax + 0x510]
mov ecx, dword [eax + 0x508]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
mov dword [esp + 0x20], esi
push edi
test esi, esi
jle 0x439e98
lea edx, [esi*4]
mov eax, 0xffffff38
mov ecx, edx
lea edi, [esp + 0x48]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [esp + 0x150]
shr ecx, 2
rep stosd dword es:[edi], eax
shr edx, 2
lea edi, [esp + 0x360]
xor eax, eax
mov ecx, edx
mov edx, dword [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, 1
lea edi, [esp + 0x258]
mov ecx, esi
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [esp + 0x468]
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
lea eax, [esi - 1]
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
jle 0x43a258
lea ebx, [esp + 0x570]
xor esi, esi
nop
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x40]
push ebx
push dword [eax + edi*4 + 4]
push dword [eax + edi*4]
call fcn.00439530
mov ecx, dword [esp + 0x20]
inc edi
mov edx, dword [esp + 0x28]
add esp, 0x14
add esi, eax
add ebx, 0x38
cmp edi, dword [esp + 0x10]
jl 0x439d70
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43a258
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push ecx
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xffffff38
lea edx, [esi - 1]
mov dword [esp + 0x24], 0xffffff38
push eax
lea ecx, [esp + 0x57c]
call fcn.00439730
mov edi, dword [esp + 0x18]
mov esi, 2
mov ebx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], edi
mov dword [esp + 0x150], edi
mov dword [esp + 0x154], ebx
mov dword [esp + 0x4c], ebx
cmp ecx, esi
jle 0x43a0b1
mov ebx, dword [esp + 0x20]
lea eax, [ebx + 0x210]
mov dword [esp + 0xc], eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [eax]
mov ecx, dword [esp + eax*4 + 0x360]
mov eax, dword [esp + eax*4 + 0x258]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
cmp dword [esp + ecx*4 + 0x468], eax
je 0x43a08e
mov edx, dword [ebx + ecx*4 + 0x208]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + eax*4 + 0x208]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x14]
mov dword [esp + ecx*4 + 0x468], eax
mov ebx, dword [edx + ecx*4 + 0x344]
mov edx, dword [esp + ecx*4 + 0x48]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + ecx*4 + 0x150]
test edx, edx
js 0x439ec1
test ebx, ebx
jns 0x439ebd
mov ebx, edx
jmp 0x439ec1
jne 0x439d55
push edx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x574]
push ecx
push eax
push ecx
push 0
mov ecx, ebx
call fcn.00439530
add esp, 0x14
jmp 0x439dad
add ebx, edx
sar ebx, 1
mov ecx, dword [esp + eax*4 + 0x48]
mov edi, dword [esp + eax*4 + 0x150]
test ecx, ecx
js 0x439edc
test edi, edi
jns 0x439ed8
mov edi, ecx
jmp 0x439edc
add edi, ecx
sar edi, 1
cmp ebx, 0xffffffff
je 0x43a271
cmp edi, 0xffffffff
je 0x43a271
mov ecx, dword [esp + 0x14]
push ecx
push dword [ebp + 8]
push dword [esp + 0x40]
mov edx, dword [ecx + eax*4 + 0x344]
mov ecx, dword [esp + 0x1c]
push edi
push ebx
call fcn.00439a40
add esp, 0x14
test eax, eax
je 0x43a077
push dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0xffffff38
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], 0xffffff38
mov dword [esp + 0x28], 0xffffff38
mov dword [esp + 0x38], 0xffffff38
mov edx, dword [eax]
lea eax, [ecx*8]
sub eax, ecx
sub edx, ecx
lea ecx, [esp + 0x57c]
lea ecx, [ecx + eax*8]
call fcn.00439730
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x10], eax
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
sub edx, eax
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x57c]
lea ecx, [eax + ecx*8]
call fcn.00439730
add esp, 0xc
mov edx, eax
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
je 0x439fba
mov ecx, eax
jmp 0x439fc2
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x28], ecx
test edx, edx
je 0x439fd0
mov dword [esp + 0x1c], ecx
jmp 0x439fd4
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x10], 0
je 0x439fe3
test edx, edx
jne 0x43a077
mov edx, dword [esp + 0x34]
test edx, edx
mov eax, dword [esp + 0x48]
cmove eax, ebx
mov dword [esp + 0x48], eax
mov dword [esp + edx*4 + 0x150], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + esi*4 + 0x48], ecx
mov ecx, dword [esp + 0x30]
cmp ecx, 1
mov dword [esp + esi*4 + 0x150], ebx
mov eax, dword [esp + 0x154]
cmove eax, edi
cmp dword [esp + 0x28], 0
mov dword [esp + ecx*4 + 0x48], edi
mov dword [esp + 0x154], eax
jge 0x43a031
test ebx, ebx
js 0x43a08a
mov eax, dword [esp + 0xc]
mov ebx, dword [eax]
lea eax, [ebx - 1]
test eax, eax
js 0x43a055
nop
cmp dword [esp + eax*4 + 0x258], ecx
jne 0x43a055
mov dword [esp + eax*4 + 0x258], esi
sub eax, 1
jns 0x43a040
mov ecx, dword [esp + 0x24]
lea eax, [ebx + 1]
cmp eax, ecx
jge 0x43a08a
cmp dword [esp + eax*4 + 0x360], edx
jne 0x43a08a
mov dword [esp + eax*4 + 0x360], esi
inc eax
cmp eax, ecx
jl 0x43a060
jmp 0x43a08a
mov dword [esp + esi*4 + 0x150], 0xffffff38
mov dword [esp + esi*4 + 0x48], 0xffffff38
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
inc esi
mov ecx, dword [esp + 0x24]
add eax, 4
mov dword [esp + 0xc], eax
cmp esi, ecx
jl 0x439e30
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x150]
mov edx, dword [esp + 0x18]
lea esi, [ecx*4 + 0xf]
and esi, 0xfffffff0
mov eax, dword [edx + 0x48]
mov dword [esp + 0x30], eax
add eax, esi
cmp eax, dword [edx + 0x4c]
jle 0x43a114
cmp dword [edx + 0x44], 0
je 0x43a0f7
push 0x10
push 8
call fcn.0044b179
mov edx, dword [esp + 0x20]
add esp, 8
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 dword [edx + 0x54], eax
push 0x10
push esi
mov dword [edx + 0x4c], esi
call fcn.0044b179
mov edx, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x24]
mov dword [edx + 0x44], eax
xor eax, eax
jmp 0x43a118
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0x44]
add edx, eax
add eax, esi
cmp dword [esp + 0x48], 0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x34], edx
mov dword [esi + 0x48], eax
jl 0x43a141
test edi, edi
jns 0x43a13b
mov edi, dword [esp + 0x48]
jmp 0x43a141
add edi, dword [esp + 0x48]
sar edi, 1
mov dword [edx], edi
test ebx, ebx
jns 0x43a150
mov ebx, dword [esp + 0x154]
jmp 0x43a163
cmp dword [esp + 0x154], 0
jl 0x43a163
add ebx, dword [esp + 0x154]
sar ebx, 1
mov dword [edx + 4], ebx
mov dword [esp + 0x10], 2
cmp ecx, 2
jle 0x43a25a
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
add ebx, 0x30c
mov dword [esp + 0x2c], ebx
lea ecx, [edi + 0x34c]
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 0xfc]
mov esi, dword [ebx]
mov ecx, dword [ecx]
mov edi, dword [edi + eax*4 + 0x344]
sub ecx, edi
mov eax, dword [edx + eax*4]
mov ebx, dword [edx + esi*4]
and eax, 0x7fff
mov dword [esp + 0x30], eax
and ebx, 0x7fff
sub ebx, eax
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + esi*4 + 0x344]
sub ecx, edi
cdq
idiv ecx
mov edx, dword [esp + 0x30]
lea ecx, [eax + edx]
sub edx, eax
test ebx, ebx
cmovns edx, ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + ecx*4 + 0x48]
mov eax, dword [esp + ecx*4 + 0x150]
test esi, esi
js 0x43a204
test eax, eax
jns 0x43a200
mov eax, esi
jmp 0x43a208
add eax, esi
sar eax, 1
test eax, eax
js 0x43a20c
cmp edx, eax
jne 0x43a213
mov eax, edx
or eax, 0x8000
mov edx, dword [esp + 0x34]
add dword [esp + 0x18], 4
mov edi, dword [esp + 0x14]
mov dword [edx + ecx*4], eax
inc ecx
mov ebx, dword [esp + 0x2c]
add ebx, 4
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ebx
jl 0x43a193
mov eax, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1368]
xor ecx, esp
call fcn.0043d9c9
mov esp, ebp
pop ebp
ret
xor edx, edx
mov ecx, dword [esp + 0x1374]
mov eax, edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043d9c9
mov esp, ebp
pop ebp
ret
push 1
call fcn.00448449
int3