Function at 0x47ff50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x6009e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x34], edx
mov ebx, ecx
mov dword [ebp - 8], eax
call fcn.004b4150
mov dword [ebp - 0x48], eax
mov eax, 0x1f68
mov dword [ebp - 0x44], edx
call fcn.005851e0
mov esi, esp
test esi, esi
je 0x4801e4
push 0x1f64
push 0
push esi
call fcn.005869c0
mov dword [esi], 0x1f40
lea edx, [esi + 0x10]
mov dword [esi + 4], 4
add esp, 0xc
mov eax, dword [0x61c4d0]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 1
cmp dword [edx - 0xc], 0
jbe 0x47ffc9
mov ecx, dword [edx - 0x10]
add ecx, edx
jmp 0x47ffce
mov ecx, 0xfffffff0
mov dword [ecx], 4
mov dword [ecx + 4], 0
mov eax, dword [0x61c4d8]
mov dword [ecx + 8], eax
lea eax, [edx + 4]
mov dword [ecx + 0xc], 2
mov ecx, edx
mov dword [edx], eax
call fcn.004afcc0
mov edi, eax
test edi, edi
je 0x480003
mov dword [edi + 4], 1
mov edx, dword [ebp - 0x34]
mov ecx, ebx
call fcn.00414800
push 0x60e308
or edx, 0xffffffff
mov ecx, ebx
call fcn.0040f5e0
add esp, 4
or edx, 0xffffffff
mov ecx, ebx
push 0x60e31c
call fcn.0040f5e0
mov eax, dword [ebx + 0x44]
add esp, 4
mov ecx, dword [ebx + 0x40]
sub eax, ecx
sar eax, 3
lea edx, [eax - 1]
cmp edx, eax
jae 0x48004a
lea eax, [ecx + edx*8]
test eax, eax
jne 0x48004f
mov eax, 0x5ed574
mov ecx, 0xfff8
cmp word [eax + 6], cx
jae 0x480063
mov dword [ebp - 0x3c], 0
jmp 0x480068
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov ecx, ebx
call fcn.00414d90
push 0x60e330
or edx, 0xffffffff
mov ecx, ebx
call fcn.0040f5e0
add esp, 4
lea eax, [ebp - 0x34]
or edx, 0xffffffff
mov ecx, ebx
push eax
push 0x6234b1
push 0x60e338
call fcn.0046f9f0
add esp, 0xc
mov ecx, ebx
mov esi, eax
call fcn.00414d90
push dword [ebp - 0x34]
mov edx, esi
mov ecx, edi
call fcn.004c5d80
add esp, 4
mov edx, 0x60e348
mov ecx, edi
push 0
push 5
call fcn.004affa0
add esp, 8
test eax, eax
jne 0x4800d2
xor esi, esi
mov dword [ebp - 0x38], esi
jmp 0x4800db
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x38], eax
push 0
push 5
mov edx, 0x60e350
mov ecx, edi
call fcn.004affa0
add esp, 8
test eax, eax
jne 0x4800fa
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], eax
jmp 0x480106
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], eax
push 0
push 6
mov edx, 0x60e358
mov ecx, edi
call fcn.004affa0
add esp, 8
test eax, eax
je 0x4801ce
mov ebx, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
test ebx, ebx
je 0x4801ce
test esi, esi
je 0x4801ce
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x38], eax
jne 0x4801ce
push eax
push dword [ebp - 8]
push esi
call fcn.0058b9b0
add esp, 0xc
test eax, eax
jne 0x4801ce
cmp edi, 0x10
jne 0x4801ce
xor esi, esi
mov edi, ebx
nop dword [eax]
mov ecx, edi
call fcn.004acb90
mov byte [ebp + esi - 0xc], al
add edi, 2
inc esi
cmp esi, 8
jl 0x480160
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x44]
jg 0x480186
jl 0x4801ce
cmp eax, dword [ebp - 0x48]
jb 0x4801ce
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x3c]
push 0x10
push ebx
push ecx
push eax
call fcn.00475420
add esp, 0x14
cmp dword [ebp - 0x40], 0x20
jne 0x4801b5
push 0x20
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
call fcn.0058b9b0
add esp, 0xc
test eax, eax
jne 0x4801ce
mov eax, 1
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584a28
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584a28
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x46d
mov edx, 0x61c474
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x46d
push 0x61c490
push 0x61c4ac
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3