Function at 0x51c6f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x634b28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
push edx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x20]
push ecx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], eax
push 1
mov dword [ebp - 0x5c], 0
call fcn.00525bd0
add esp, 0xc
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x51c983
mov eax, dword [ebp - 0x58]
push 0x40
push fcn.005807d8
mov dword [eax + 0x258], 0xf4240
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x25c], 0xf4240
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x260], 0
mov eax, dword [ebp - 0x58]
push eax
call fcn.00526170
push 0
push eax
call fcn.005807f0
add esp, 0x14
test eax, eax
je 0x51c79a
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x6c]
push dword [ebp - 0x64]
push eax
call fcn.00525df0
push dword [ebp - 0x70]
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push eax
call fcn.00526150
mov edi, dword [ebp - 0x60]
add esp, 0x20
test edi, edi
je 0x51c805
xor esi, esi
lea ebx, [ebx]
push 0
call fcn.0051c260
add esp, 4
lea ecx, [eax + esi]
mov al, byte [edi + esi]
cmp al, byte [ecx]
je 0x51c7f1
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x60]
or dword [eax + 0x70], 0x20000
push 0
call fcn.0051c260
add esp, 4
mov al, byte [eax + esi]
inc esi
test al, al
jne 0x51c7d0
jmp 0x51c80f
mov eax, dword [ebp - 0x58]
or dword [eax + 0x70], 0x20000
mov eax, dword [ebp - 0x58]
test dword [eax + 0x70], 0x20000
je 0x51c88a
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x51c883
push 0
call fcn.0051c260
mov cl, byte [esi]
add esp, 4
cmp cl, byte [eax]
jne 0x51c856
cmp cl, 0x31
jne 0x51c84b
push 0
call fcn.0051c260
add esp, 4
lea ecx, [eax + 2]
mov al, byte [esi + 2]
cmp al, byte [ecx]
jne 0x51c856
cmp byte [esi], 0x30
jne 0x51c88a
cmp byte [esi + 2], 0x39
jge 0x51c88a
test esi, esi
je 0x51c883
push 0
call fcn.0051c260
push eax
push esi
push 0x5f1890
lea eax, [ebp - 0x54]
push 0x50
push eax
call fcn.0051b1b0
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.00526190
add esp, 0x20
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0
jne 0x51c8ce
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xb4], 0x2000
mov eax, dword [ebp - 0x58]
push dword [eax + 0xb4]
mov eax, dword [ebp - 0x58]
push eax
call fcn.00525db0
mov ecx, dword [ebp - 0x58]
add esp, 8
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0xb0], 0
jne 0x51c8ce
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x98], 0x51c670
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x9c], fcn.0051c6c0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], 0
mov dword [eax + 0xa0], ecx
jne 0x51c952
mov eax, dword [ebp - 0x58]
push 0x38
add eax, 0x78
push 0x5ccfdc
push eax
call fcn.0046d770
add eax, 6
add esp, 0xc
cmp eax, 6
ja case.0x51c918.5
jmp dword [eax*4 + 0x51c9dc]
push 0x5f18cc
jmp 0x51c939
push 0x5f18e0
jmp 0x51c939
push 0x5f18f4
jmp 0x51c939
push 0x5f1908
mov eax, dword [ebp - 0x58]
push eax
call fcn.00526190
mov dword [ebp - 0x5c], 1
add esp, 8
cmp dword [ebp - 0x5c], 0
je 0x51c995
mov eax, dword [ebp - 0x58]
push dword [eax + 0xb0]
mov eax, dword [ebp - 0x58]
push eax
call fcn.00525ce0
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
mov dword [eax + 0xb0], 0
mov eax, dword [ebp - 0x58]
push eax
call fcn.00525c80
add esp, 0x14
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b6ac
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
push 0
push 0
mov eax, dword [eax + 0xb0]
mov dword [ecx + 0x84], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax + 0xb4]
mov dword [ecx + 0x88], eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.00521c50
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
pop esi
call fcn.0057b6ac
mov esp, ebp
pop ebp
ret