Function at 0x56758e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x44]
xor ecx, ecx
mov dword [ebp - 0x14], eax
inc eax
mov dword [edi + 0x44], eax
mov dx, word [ebx + 2]
xor eax, eax
cmp dword [ebp + 0xc], ecx
mov dword [ebp - 4], ecx
sete al
mov dword [ebp - 0x28], eax
mov eax, 0x800
mov esi, eax
and dx, si
cmp dx, ax
jne 0x5675ce
mov esi, dword [ebx + 0x10]
jmp 0x5675d0
xor esi, esi
cmp dword [edi + 0x40], ecx
jne 0x5677cc
mov eax, esi
call fcn.00544c9e
test eax, eax
je 0x5677cc
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
movsx eax, word [eax + 0x1c]
mov dword [ebp - 0xc], eax
call fcn.00550c2e
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 8]
mov ebx, dword [eax + 0x14]
mov esi, dword [ebx + 0x44]
mov dword [ebp - 0x10], ebx
call fcn.00545baa
mov esi, eax
mov eax, edi
mov dword [ebp - 0x20], esi
call fcn.00564d6f
push dword [ebx]
mov ebx, dword [ebx + 0x14]
push 0
push esi
mov eax, edi
call fcn.0054c2f1
add esp, 0xc
cmp dword [ebp - 0xc], 0
jge 0x567696
inc dword [edi + 0x48]
mov esi, dword [edi + 0x48]
mov ecx, dword [ebp - 8]
push esi
push 0x1a
pop eax
call fcn.0054a6ed
mov ecx, dword [ebp - 8]
push esi
push 1
mov ebx, eax
push 7
pop eax
call fcn.0054a6fe
mov esi, dword [ebp - 0x10]
push 0x26
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push edi
call fcn.00554019
mov ecx, dword [ebp - 8]
add esp, 0x1c
mov eax, ebx
mov dword [ebp - 4], 1
call fcn.00543eaf
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
mov ecx, edi
call fcn.005566cc
mov esi, ebx
mov dword [ebp - 0x24], eax
call fcn.0054b506
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
imul ecx, ecx, 0x18
mov esi, dword [edx + 0xc]
mov dword [ebp - 0x30], ecx
cmp byte [ecx + esi + 0x16], al
je 0x5676cf
cmp al, 0x62
je 0x5676cf
and dword [ebp - 0x18], 0
jmp 0x5676d6
mov dword [ebp - 0x18], 1
mov esi, dword [edx + 0x10]
test esi, esi
je 0x5677c9
cmp dword [ebp - 4], 0
jne 0x567685
cmp dword [ebp - 0x18], 0
je 0x5677c9
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0xc]
cmp dword [eax], ecx
jne 0x5677b5
mov eax, dword [esi + 0x2c]
push 0
push dword [eax]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0xc]
movzx ecx, byte [ecx + 0x4d]
push ecx
call fcn.0054fedb
add esp, 0xc
cmp eax, dword [ebp - 0x24]
jne 0x5677b5
cmp dword [ebp - 0x28], 0
je 0x56773b
cmp dword [esi + 4], 1
jne 0x5677b5
cmp byte [esi + 0x18], 0
je 0x5677b5
inc dword [edi + 0x48]
mov ebx, dword [edi + 0x48]
push esi
push edi
call fcn.0055736d
mov ecx, dword [ebp - 8]
push ebx
mov dword [ebp - 4], eax
push 0x1a
pop eax
call fcn.0054a6ed
mov ecx, dword [ebp - 8]
push ebx
push 1
mov dword [ebp - 0x2c], eax
push 7
pop eax
call fcn.0054a6fe
push 0xfffffffffffffff0
push dword [ebp - 4]
push dword [ebp - 0x20]
push dword [esi + 0x14]
push dword [ebp - 0x14]
push dword [ebp - 8]
push 0x26
pop eax
call fcn.0054eede
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
add esp, 0x2c
mov dword [ebp - 4], 3
call fcn.00543eaf
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5677b5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x30]
cmp byte [edx + eax + 0x14], 0
jne 0x5677b5
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x5676e1
cmp dword [ebp - 4], esi
jne 0x567685
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
fld qword [edi + 0x1c0]
xor eax, eax
fstp qword [ebp - 0x34]
mov dword [ebp - 4], 2
cmp ecx, eax
je 0x5677ef
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
jmp 0x567812
fld1
fstp qword [edi + 0x1c0]
mov ecx, dword [ebx + 8]
cmp word [ecx + 0x1c], ax
jge 0x567812
mov ecx, 0x800
test word [ebx + 2], cx
jne 0x567812
mov dword [ebp - 4], 1
xor ecx, ecx
cmp dword [ebp - 4], 1
sete cl
push ecx
push eax
push ebx
mov eax, edi
call fcn.00556759
fld qword [ebp - 0x34]
fstp qword [edi + 0x1c0]
add esp, 0xc
jmp 0x56768e