Function at 0x47e680
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x6019e4]
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.004b48f0
mov dword [ebp - 0x48], eax
mov eax, 0x1f68
mov dword [ebp - 0x44], edx
call fcn.00585a60
mov esi, esp
test esi, esi
je 0x47e914
push 0x1f64
push 0
push esi
call fcn.00587250
mov dword [esi], 0x1f40
lea edx, [esi + 0x10]
mov dword [esi + 4], 4
add esp, 0xc
mov eax, dword [0x624130]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 1
cmp dword [edx - 0xc], 0
jbe 0x47e6f9
mov ecx, dword [edx - 0x10]
add ecx, edx
jmp 0x47e6fe
mov ecx, 0xfffffff0
mov dword [ecx], 4
mov dword [ecx + 4], 0
mov eax, dword [0x624138]
mov dword [ecx + 8], eax
lea eax, [edx + 4]
mov dword [ecx + 0xc], 2
mov ecx, edx
mov dword [edx], eax
call fcn.004b0430
mov edi, eax
test edi, edi
je 0x47e733
mov dword [edi + 4], 1
mov edx, dword [ebp - 0x34]
mov ecx, ebx
call fcn.00415060
push 0x60ee60
or edx, 0xffffffff
mov ecx, ebx
call fcn.0040fe40
add esp, 4
or edx, 0xffffffff
mov ecx, ebx
push 0x60ee74
call fcn.0040fe40
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 0x47e77a
lea eax, [ecx + edx*8]
test eax, eax
jne 0x47e77f
mov eax, 0x5ee574
mov ecx, 0xfff8
cmp word [eax + 6], cx
jae 0x47e793
mov dword [ebp - 0x3c], 0
jmp 0x47e798
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov ecx, ebx
call fcn.004155f0
push 0x60ee88
or edx, 0xffffffff
mov ecx, ebx
call fcn.0040fe40
add esp, 4
lea eax, [ebp - 0x34]
or edx, 0xffffffff
mov ecx, ebx
push eax
push 0x62b131
push 0x60ee90
call fcn.00470870
add esp, 0xc
mov ecx, ebx
mov esi, eax
call fcn.004155f0
push dword [ebp - 0x34]
mov edx, esi
mov ecx, edi
call fcn.004c6620
add esp, 4
mov edx, 0x60eea0
mov ecx, edi
push 0
push 5
call fcn.004b0710
add esp, 8
test eax, eax
jne 0x47e802
xor esi, esi
mov dword [ebp - 0x38], esi
jmp 0x47e80b
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x38], eax
push 0
push 5
mov edx, 0x60eea8
mov ecx, edi
call fcn.004b0710
add esp, 8
test eax, eax
jne 0x47e82a
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], eax
jmp 0x47e836
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, 0x60eeb0
mov ecx, edi
call fcn.004b0710
add esp, 8
test eax, eax
je 0x47e8fe
mov ebx, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
test ebx, ebx
je 0x47e8fe
test esi, esi
je 0x47e8fe
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x38], eax
jne 0x47e8fe
push eax
push dword [ebp - 8]
push esi
call fcn.0058c240
add esp, 0xc
test eax, eax
jne 0x47e8fe
cmp edi, 0x10
jne 0x47e8fe
xor esi, esi
mov edi, ebx
nop dword [eax]
mov ecx, edi
call fcn.004ad300
mov byte [ebp + esi - 0xc], al
add edi, 2
inc esi
cmp esi, 8
jl 0x47e890
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x44]
jg 0x47e8b6
jl 0x47e8fe
cmp eax, dword [ebp - 0x48]
jb 0x47e8fe
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x3c]
push 0x10
push ebx
push ecx
push eax
call fcn.00473490
add esp, 0x14
cmp dword [ebp - 0x40], 0x20
jne 0x47e8e5
push 0x20
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
call fcn.0058c240
add esp, 0xc
test eax, eax
jne 0x47e8fe
mov eax, 1
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005852a8
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.005852a8
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x46d
mov edx, 0x6240d4
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x46d
push 0x6240f0
push 0x62410c
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3