Function at 0x4cac70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60dd6a
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
push str.Wow64DisableWow64FsRedirection
xor esi, esi
push 0x6d6af8
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4cacd2
lea ecx, [esp + 0x44]
push ecx
call eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], esi
mov eax, dword [ebx + 0xf0]
mov esi, dword [ebx + 0xdc]
mov eax, dword [eax]
mov dword [esp + 0x3c], esi
mov edi, dword [ebx + 0xf0]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0xdc]
test esi, esi
je 0x4cad00
cmp esi, eax
je 0x4cad05
call fcn.005c475a
cmp dword [esp + 0x40], edi
je 0x4cb24d
cmp dword [ebp + 0x10], 0
je 0x4cad29
mov edx, dword [ebp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4cb2a2
cmp dword [ebp + 0x14], 0
je 0x4cad3b
mov eax, dword [ebp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
jne 0x4caf4b
call fcn.005c475a
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x14]
jne 0x4cad58
call fcn.005c475a
mov edi, dword [esp + 0x40]
mov edx, dword [edi + 8]
add edi, 8
cmp dword [edx - 0xc], 0
je 0x4cb1cc
lea eax, [esp + 0x4c]
push eax
call fcn.00443eb0
mov byte [esp + 0x70], 1
test esi, esi
jne 0x4caf52
call fcn.005c475a
xor eax, eax
mov ebx, dword [esp + 0x40]
cmp ebx, dword [eax + 0x14]
jne 0x4cad98
call fcn.005c475a
push 1
push edi
lea ecx, [esp + 0x54]
call fcn.004cc930
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
add esp, 8
sar eax, 2
test eax, eax
je 0x4cb18e
mov dword [esp + 0x18], 0
jbe 0x4cb1b5
mov edx, dword [0x728f58]
mov eax, dword [edx + 0xc]
mov ecx, 0x728f58
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x70], 3
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x58]
sar ecx, 2
cmp dword [esp + 0x18], ecx
jb 0x4cadfa
call fcn.005c475a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edx*4]
lea edx, [esp + 0x10]
push edx
call fcn.004c0c60
add esp, 4
mov bl, 4
mov byte [esp + 0x70], bl
lea edi, [esp + 0x10]
call fcn.004ccca0
cmp eax, 3
jb 0x4cafa4
mov eax, dword [esp + 0x10]
push 0x2e
push eax
call fcn.005c6653
add esp, 8
test eax, eax
je 0x4cae6d
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x4cae6d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov edx, edi
call fcn.00442dc0
mov byte [esp + 0x70], 5
call fcn.0040ddb0
mov byte [esp + 0x70], bl
lea ecx, [esp + 0x1c]
call fcn.0040ba40
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], 0x15
jle 0x4caeb4
lea eax, [esp + 0x20]
push eax
mov ecx, 0x15
lea edx, [esp + 0x14]
call fcn.00442dc0
mov byte [esp + 0x70], 6
lea edi, [esp + 0x10]
call fcn.0040ddb0
mov byte [esp + 0x70], bl
lea ecx, [esp + 0x20]
call fcn.0040ba40
push 3
push 0x6da040
mov ecx, edi
push ecx
call fcn.004122f0
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4caf59
call fcn.005c475a
xor eax, eax
mov edx, dword [esp + 0x40]
cmp edx, dword [eax + 0x14]
jne 0x4caed5
call fcn.005c475a
mov eax, dword [esp + 0x40]
add eax, 0xc
push eax
lea eax, [esp + 0x2c]
push eax
mov ebx, 0x6d0bfc
call fcn.0041e2b0
mov byte [esp + 0x78], 7
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
mov ebx, eax
call fcn.004247e0
add esp, 0x10
mov byte [esp + 0x70], 8
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x4caf71
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4caf60
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4caf60
call fcn.0040fb70
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4caf42
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [esp + 0x14], esi
jmp 0x4caf71
mov eax, dword [esi]
jmp 0x4cad4a
mov eax, dword [esi]
jmp 0x4cad8a
mov eax, dword [eax]
jmp 0x4caec7
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.0040fac0
mov esi, dword [esp + 0x14]
mov byte [esp + 0x70], 7
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4caf96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x28]
jmp 0x4cb0e2
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4cb06c
call fcn.005c475a
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x14]
jne 0x4cafc5
call fcn.005c475a
mov ebx, dword [esp + 0x40]
lea edx, [esp + 0x34]
push edx
add ebx, 8
push ebx
call fcn.004c6e50
mov edi, eax
mov byte [esp + 0x70], 0xb
cmp dword [esp + 0x3c], 0
jne 0x4cb073
call fcn.005c475a
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x14]
jne 0x4caffe
call fcn.005c475a
add ebx, 4
push ebx
lea edx, [esp + 0x34]
push edx
mov ebx, 0x6d0bfc
call fcn.0041e2b0
mov byte [esp + 0x78], 0xc
lea ecx, [esp + 0x34]
push edi
push ecx
mov ebx, eax
call fcn.004247e0
add esp, 0x10
mov byte [esp + 0x70], 0xd
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x4cb08f
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4cb07e
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4cb07e
call fcn.0040fb70
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4cb063
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [esp + 0x14], esi
jmp 0x4cb08f
mov eax, dword [eax]
jmp 0x4cafb7
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
jmp 0x4caff0
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.0040fac0
mov esi, dword [esp + 0x14]
mov byte [esp + 0x70], 0xc
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb0b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0xb
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb0d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb0fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x18]
sar ecx, 2
cmp edi, ecx
jb 0x4cb116
call fcn.005c475a
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x58]
mov eax, dword [edx + edi*4]
push ecx
push esi
push eax
call dword [ebp + 8]
test al, al
je 0x4cb1f8
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cb153
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 1
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x58]
inc edi
sar ecx, 2
mov dword [esp + 0x18], edi
cmp edi, ecx
jb 0x4cadc8
jmp 0x4cb1b5
test esi, esi
jne 0x4cb1f0
call fcn.005c475a
cmp ebx, dword [esi + 0x14]
jne 0x4cb1a1
call fcn.005c475a
mov edx, dword [ebp + 0xc]
mov eax, dword [edi]
push edx
push 0
push eax
call dword [ebp + 8]
test al, al
je 0x4cb293
mov byte [esp + 0x70], 0
lea eax, [esp + 0x4c]
push eax
call fcn.00424990
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
test esi, esi
jne 0x4cb1f4
call fcn.005c475a
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x14]
jne 0x4cb1e5
call fcn.005c475a
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
jmp 0x4cace8
mov esi, dword [esi]
jmp 0x4cb197
mov eax, dword [esi]
jmp 0x4cb1d7
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cb21d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 1
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb23e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x4c]
push ecx
call fcn.00424990
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 0
je 0x4cb27e
push str.Wow64RevertWow64FsRedirection
push 0x6d6af8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4cb27e
mov edx, dword [esp + 0x44]
push edx
call eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov byte [esp + 0x70], 0
lea eax, [esp + 0x4c]
push eax
call fcn.00424990
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 0
je 0x4cb27e
push str.Wow64RevertWow64FsRedirection
push 0x6d6af8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4cb27e
mov ecx, dword [esp + 0x44]
push ecx
jmp 0x4cb27c