Function at 0x64f214
Capabilities:
Terminate process

Disassembly:
sub esp, 0x254
push ebx
push ebp
push esi
push edi
push 0
lea eax, [esp + 0x48]
push 0x200
push eax
mov byte [esp + 0x1f], 0
mov dword [esp + 0x24], 0
call fcn.006523f4
mov ebp, dword [esp + 0x27c]
mov eax, dword [ebp]
mov ebx, dword [esp + 0x280]
add esp, 0xc
cmp eax, 2
jl 0x64f2dc
mov ecx, dword [ebx]
mov esi, dword [ecx + 4]
mov edi, 0x432d98
mov ecx, 0xe
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x64f2dc
lea eax, [eax*4 + 0x24]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00652454
add esp, 8
test eax, eax
je 0x64f4cc
mov ecx, dword [ebx]
mov ecx, dword [ecx]
lea edx, [eax + 0x20]
mov dword [edx], ecx
mov esi, dword [ebp]
mov ecx, 2
cmp esi, ecx
jbe 0x64f2b5
lea esp, [esp]
mov esi, dword [ebx]
mov esi, dword [esi + ecx*4]
mov dword [edx + ecx*4 - 4], esi
mov esi, dword [ebp]
inc ecx
cmp ecx, esi
jb 0x64f2a4
mov dword [edx + ecx*4 - 4], 0
dec dword [ebp]
mov edi, eax
mov dword [ebx], edx
mov ecx, 8
lea esi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x254
ret
lea edx, [esp + 0x14]
push edx
mov edx, dword [ebx]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
call fcn.0064e734
mov esi, dword [esp + 0x2c]
add esp, 0x10
test esi, esi
je 0x64f308
push 0x3d
push esi
call fcn.0066d844
add esp, 8
inc eax
mov esi, eax
mov edi, dword [esp + 0x14]
test edi, edi
je 0x64f321
push 0x3d
push edi
call fcn.0066d844
add esp, 8
inc eax
mov dword [0x537f60], eax
xor eax, eax
test esi, esi
setne al
xor ecx, ecx
test edi, edi
setne cl
mov dword [esp + 0x38], 0x432d8c
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x26c]
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
je 0x64f363
mov edx, dword [eax + 4]
add eax, 4
inc ecx
test edx, edx
jne 0x64f354
mov dword [esp + 0x34], ecx
mov edx, dword [ebp]
push 0x20
push edx
lea eax, [esp + 0x28]
push 4
push eax
call fcn.00652904
add esp, 0x10
test al, al
jne 0x64f4cc
test esi, esi
je 0x64f3d2
push 0
lea ecx, [esp + 0x38]
push ecx
push esi
push 0x431225
push 0x431225
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0064ea64
add esp, 0x1c
test eax, eax
mov dword [esp + 0x18], eax
jl 0x64f4cc
jle 0x64f4a6
push esi
push 0x432d60
push 0x515340
call fcn.0066d1a0
add esp, 0xc
jmp 0x64f4cc
mov ebx, dword [esp + 0x268]
push ebx
call fcn.00651de4
add esp, 4
test eax, eax
je 0x64f40f
push 0
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x28]
push edx
lea edi, [esp + 0x40]
call fcn.0064f1c4
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
jl 0x64f4cc
jmp 0x64f49f
push 0x200
lea eax, [esp + 0x68]
push eax
call dword [0x431050]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x28]
push eax
lea edi, [esp + 0x40]
call fcn.0064f1c4
add esp, 0xc
test eax, eax
jne 0x64f4cc
mov eax, dword [0x43d858]
test eax, eax
mov esi, 0x43d858
je 0x64f49f
lea esp, [esp]
mov eax, dword [esi]
cmp byte [eax], 0
je 0x64f46f
mov ebx, dword [esp + 0x268]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x28]
push edx
jmp 0x64f485
mov ebx, dword [0x537f60]
test ebx, ebx
je 0x64f495
push 0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edi, [esp + 0x40]
call fcn.0064f1c4
add esp, 0xc
test eax, eax
jl 0x64f4cc
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x64f454
mov ebx, dword [esp + 0x274]
mov eax, dword [esp + 0x24]
mov edx, dword [ebp]
add edx, eax
lea eax, [edx*4 + 0x24]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00652454
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x64f4e5
push 0x432d2c
push 0x515340
call fcn.0066d1a0
add esp, 8
push 1
call fcn.0066d76e
lea edx, [eax + 0x20]
mov eax, dword [ebx]
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea edi, [edx + 4]
rep movsd dword es:[edi], dword [esi]
sub dword [ebp], eax
mov esi, dword [ebx]
shl eax, 2
add esi, eax
mov dword [ebx], esi
cmp dword [ebp], 2
mov eax, esi
jl 0x64f539
mov esi, dword [eax + 4]
mov edi, 0x432d18
mov ecx, 0x11
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x64f539
mov eax, dword [ebp]
dec eax
mov dword [ebp], eax
mov eax, dword [ebx]
add eax, 4
mov byte [esp + 0x13], 1
mov dword [ebx], eax
mov eax, dword [ebp]
test eax, eax
je 0x64f562
mov esi, dword [ebx]
lea ecx, [eax*4 - 4]
mov eax, dword [esp + 0x24]
lea edi, [edx + eax*4 + 4]
mov eax, ecx
shr ecx, 2
add esi, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
add ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov dword [edx + ecx*4], 0
mov esi, dword [ebp]
mov eax, dword [esp + 0x24]
add esi, eax
mov dword [ebp], esi
mov dword [ebx], edx
mov ecx, 8
lea esi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.006529c4
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x64f5f3
mov edx, dword [ebx]
mov eax, dword [edx]
push eax
push 0x432cdc
call fcn.0066d35f
mov eax, dword [ebp]
mov esi, 1
add esp, 8
cmp eax, esi
jle 0x64f5df
lea esp, [esp]
mov ecx, dword [ebx]
mov edx, dword [ecx + esi*4]
push edx
push 0x432cd8
call fcn.0066d35f
mov eax, dword [ebp]
add esp, 8
inc esi
cmp esi, eax
jl 0x64f5c4
push 0x431225
call fcn.0066d3c5
add esp, 4
push 0
call fcn.0066d76e
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret