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

Disassembly:
push 0xffffffffffffffff
push 0x13061c40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov ebx, ecx
xor ebp, ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0xc], ebp
call fcn.12e86b70
lea eax, [esp + 0x7c]
mov byte [esp + 0x74], 1
push eax
call fcn.12e5a8c0
xor edx, edx
div dword [ebx + 8]
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x12e85b51
mov esi, dword [eax + edx*4]
cmp esi, ebp
je 0x12e85b51
lea ecx, [esp + 0x7c]
lea edx, [esi + 8]
push ecx
push edx
call fcn.12e5a8a0
add esp, 8
test eax, eax
jne 0x12e85bde
mov esi, dword [esi]
cmp esi, ebp
jne 0x12e85b32
lea eax, [ebx + 0x1c]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.12f56170
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 2
push ecx
call fcn.12e5a8c0
xor edx, edx
div dword [ebx + 0x40]
mov eax, dword [ebx + 0x3c]
cmp eax, ebp
je 0x12e85b9d
mov esi, dword [eax + edx*4]
cmp esi, ebp
je 0x12e85b9d
lea edx, [esp + 0x7c]
lea eax, [esi + 8]
push edx
push eax
call fcn.12e5a8a0
add esp, 8
test eax, eax
jne 0x12e85bf5
mov esi, dword [esi]
cmp esi, ebp
jne 0x12e85b82
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 1
call fcn.12f561d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0
call fcn.12e86be0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.12e5a910
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
cmp esi, ebp
je 0x12e85b51
add esi, 0x10
lea ecx, [esp + 0x2c]
push esi
call fcn.12e86cf0
jmp 0x12e85c1c
cmp esi, ebp
je 0x12e85b9d
add esi, 0x10
lea ecx, [esp + 0x2c]
push esi
call fcn.12e86cf0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x74], 1
call fcn.12f561d0
mov eax, dword [esp + 0x5c]
push edi
cmp eax, ebp
je 0x12e85ca1
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.12f56170
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x78], 3
cmp eax, ebp
je 0x12e85c93
mov esi, dword [esp + 0x6c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
push 0x1c7
push str.G:WorkshopAgentDevelopProjCodePreReleaseHOOKAPI4.84.111.0DetoursProjectCommonShareMemoryMgr.cpp
push edi
mov ecx, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 2
call fcn.12f568c0
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x78], 4
call fcn.12f88430
test ebp, ebp
mov byte [esp + 0x78], 3
je 0x12e85c91
push edi
mov ecx, esi
call fcn.12f56b40
xor ebp, ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 1
call fcn.12f561d0
cmp dword [esp + 0x10], ebp
je 0x12e85e4d
lea ecx, [ebx + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f56170
mov eax, dword [ebx + 0x3c]
mov byte [esp + 0x78], 5
cmp eax, ebp
je 0x12e85dde
lea edx, [esp + 0x80]
push edx
call fcn.12e5a8c0
xor edx, edx
div dword [ebx + 0x40]
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax + edx*4]
cmp esi, ebp
lea edi, [eax + edx*4]
je 0x12e85dde
lea ecx, [esp + 0x80]
lea edx, [esi + 8]
push ecx
push edx
call fcn.12e5a8a0
add esp, 8
test eax, eax
jne 0x12e85d12
mov edi, esi
mov esi, dword [esi]
cmp esi, ebp
jne 0x12e85ced
jmp 0x12e85dde
mov eax, dword [esi]
mov dword [edi], eax
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.12e86be0
add edi, 0x40
mov ecx, ebp
dec ebp
test ecx, ecx
jne 0x12e85d19
lea edi, [esi + 8]
xor ebp, ebp
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx]
add edi, 8
mov eax, ebp
dec ebp
test eax, eax
jne 0x12e85d2f
mov ecx, dword [ebx + 0x48]
mov dword [esi], ecx
mov eax, dword [ebx + 0x44]
dec eax
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], eax
jne 0x12e85ddc
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x12e85dba
mov ecx, dword [ebx + 0x40]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x12e85dba
mov edx, dword [ebx + 0x3c]
mov ebp, dword [edx + eax*4]
test ebp, ebp
je 0x12e85dae
lea esi, [ebp + 0x10]
xor edi, edi
push 0
mov ecx, esi
call fcn.12e86d40
add esi, 0x40
mov eax, edi
dec edi
test eax, eax
jne 0x12e85d79
lea esi, [ebp + 8]
xor edi, edi
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
add esi, 8
mov eax, edi
dec edi
test eax, eax
jne 0x12e85d91
mov ebp, dword [ebp]
test ebp, ebp
jne 0x12e85d74
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x12e85d6a
mov eax, dword [ebx + 0x3c]
push eax
call fcn.12f5c050
mov ecx, dword [ebx + 0x4c]
xor esi, esi
add esp, 4
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], esi
call fcn.12f54ad0
mov dword [ebx + 0x4c], esi
xor ebp, ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 1
call fcn.12f561d0
mov ecx, dword [esp + 0x5c]
cmp ecx, ebp
je 0x12e85dfe
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esp + 0x5c], ebp
mov ecx, dword [esp + 0x6c]
cmp ecx, ebp
je 0x12e85e10
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x6c], ebp
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
je 0x12e85e23
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0x68]
cmp eax, ebp
je 0x12e85e38
push eax
call fcn.12f5c050
add esp, 4
mov dword [esp + 0x68], ebp
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x12e85e4d
push eax
call fcn.12f5c050
add esp, 4
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 0
call fcn.12e86be0
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call fcn.12e5a910
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 8