Function at 0x4ec160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x530af8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov esi, ecx
push eax
call fcn.004ebb20
add esp, 4
push esi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.004de6b0
mov ecx, dword [esp + 0x10]
or ebx, 0xffffffff
test ecx, ecx
mov dword [esp + 0x20], ebx
je 0x4ec1b2
call fcn.0040d580
lea ecx, [esp + 0x10]
push ecx
call fcn.004ebbc0
add esp, 4
lea edx, [esi + 4]
lea ecx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x28], 1
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
mov dword [esp + 0x20], ebx
je 0x4ec200
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4ec200
test edi, edi
je 0x4ec200
push 1
mov ecx, edi
call fcn.00429ee0
lea eax, [esp + 0x10]
push eax
call fcn.004ebc60
add esp, 4
lea ecx, [esi + 8]
mov dword [esp + 0x20], 2
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4ec248
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4ec248
test edi, edi
je 0x4ec248
push 1
mov ecx, edi
call fcn.00429ee0
lea edx, [esp + 0x10]
push edx
call fcn.004ebd00
add esp, 4
lea ecx, [esi + 0xc]
mov dword [esp + 0x20], 3
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4ec290
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4ec290
test edi, edi
je 0x4ec290
push 1
mov ecx, edi
call fcn.00429ee0
lea edx, [esp + 0x10]
push edx
call fcn.004ebda0
add esp, 4
lea ecx, [esi + 0x10]
mov dword [esp + 0x20], 4
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4ec2d8
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4ec2d8
test edi, edi
je 0x4ec2d8
push 1
mov ecx, edi
call fcn.00429ee0
lea edx, [esp + 0x10]
push edx
call fcn.004ebe40
add esp, 4
lea ecx, [esi + 0x14]
mov dword [esp + 0x20], 5
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4ec320
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4ec320
test edi, edi
je 0x4ec320
push 1
mov ecx, edi
call fcn.00429ee0
lea edx, [esp + 0x10]
push edx
call fcn.004ebee0
add esp, 4
lea ecx, [esi + 0x18]
mov dword [esp + 0x20], 6
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4ec368
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4ec368
test edi, edi
je 0x4ec368
push 1
mov ecx, edi
call fcn.00429ee0
lea edx, [esp + 0x10]
push edx
call fcn.004ebf80
add esp, 4
lea ecx, [esi + 0x1c]
mov dword [esp + 0x20], 7
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4ec3b0
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4ec3b0
test edi, edi
je 0x4ec3b0
push 1
mov ecx, edi
call fcn.00429ee0
lea edx, [esp + 0x14]
push edx
call fcn.004ec020
add esp, 4
add esi, 0x20
lea ecx, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x28], 8
call fcn.004de6b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4ec3f8
mov esi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4ec3f8
test esi, esi
je 0x4ec3f8
push 1
mov ecx, esi
call fcn.00429ee0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4