Function at 0x4139c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449adb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x5b9718], 0x40
jl 0x413a1d
push 0x5b971c
call fcn.00429990
mov edi, dword [0x5b9714]
add esp, 4
test edi, edi
je 0x413a0f
mov eax, dword [edi]
mov dword [0x5b9714], eax
mov dword [0x5b971c], 1
test edi, edi
jne 0x413a38
push 0x40
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x413c5b
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.CRefObject.0
mov dword [edi + 4], 1
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
mov dword [edi], vtable.CVolEventObjectPointer.0
call esi
mov byte [ebp - 4], 2
lea eax, [edi + 0x24]
push eax
call esi
mov byte [ebp - 4], 3
mov dword [edi + 8], 0
mov dword [edi + 0x3c], ebx
mov dword [ebp - 4], 0xffffffff
lea esi, [ebx + 0x24]
push esi
mov dword [ebx + 0x1414], edi
mov dword [ebx + 0x10], 0x1f4
call fcn.00429990
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 4], 0x412760
mov dword [esi + 0xc], 0
cmp edx, edi
jne 0x413aba
mov dword [esi], 1
jmp 0x413ad5
mov ecx, edi
mov dword [esi + 8], edi
call fcn.00423730
mov dword [esi], 1
test edx, edx
je 0x413ad5
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov edi, dword [ebx + 0x1414]
lea esi, [ebx + 0x784]
push esi
call fcn.00429990
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test edi, edi
jne 0x413b00
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x413b1d
mov dword [esi + 4], 0x412780
cmp edx, edi
jne 0x413b13
mov dword [esi], 1
jmp 0x413b2e
mov ecx, edi
mov dword [esi + 8], edi
call fcn.00423730
mov dword [esi], 1
test edx, edx
je 0x413b2e
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov edi, dword [ebx + 0x1414]
lea esi, [ebx + 0xcd4]
push esi
call fcn.00429990
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test edi, edi
jne 0x413b59
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x413b76
mov dword [esi + 4], 0x412780
cmp edx, edi
jne 0x413b6c
mov dword [esi], 1
jmp 0x413b87
mov ecx, edi
mov dword [esi + 8], edi
call fcn.00423730
mov dword [esi], 1
test edx, edx
je 0x413b87
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov edi, dword [ebx + 0x1414]
lea esi, [ebx + 0xf74]
push esi
call fcn.00429990
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test edi, edi
jne 0x413bb2
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x413bcf
mov dword [esi + 4], 0x412780
cmp edx, edi
jne 0x413bc5
mov dword [esi], 1
jmp 0x413be0
mov ecx, edi
mov dword [esi + 8], edi
call fcn.00423730
mov dword [esi], 1
test edx, edx
je 0x413be0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov edi, dword [ebx + 0x1414]
lea esi, [ebx + 0x10c4]
push esi
call fcn.00429990
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test edi, edi
jne 0x413c0b
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x413c38
mov dword [esi + 4], 0x412780
cmp edx, edi
jne 0x413c2e
mov dword [esi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
mov dword [esi + 8], edi
call fcn.00423730
mov dword [esi], 1
test edx, edx
je 0x413c49
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00433263
int3