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

Disassembly:
push 0xffffffffffffffff
push 0x13061b70
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.12e86b60
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 0x12e85b41
mov esi, dword [eax + edx*4]
cmp esi, ebp
je 0x12e85b41
lea ecx, [esp + 0x7c]
lea edx, [esi + 8]
push ecx
push edx
call fcn.12e5a8a0
add esp, 8
test eax, eax
jne 0x12e85bce
mov esi, dword [esi]
cmp esi, ebp
jne 0x12e85b22
lea eax, [ebx + 0x1c]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.12f560a0
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 0x12e85b8d
mov esi, dword [eax + edx*4]
cmp esi, ebp
je 0x12e85b8d
lea edx, [esp + 0x7c]
lea eax, [esi + 8]
push edx
push eax
call fcn.12e5a8a0
add esp, 8
test eax, eax
jne 0x12e85be5
mov esi, dword [esi]
cmp esi, ebp
jne 0x12e85b72
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 1
call fcn.12f56100
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0
call fcn.12e86bd0
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 0x12e85b41
add esi, 0x10
lea ecx, [esp + 0x2c]
push esi
call fcn.12e86ce0
jmp 0x12e85c0c
cmp esi, ebp
je 0x12e85b8d
add esi, 0x10
lea ecx, [esp + 0x2c]
push esi
call fcn.12e86ce0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x74], 1
call fcn.12f56100
mov eax, dword [esp + 0x5c]
push edi
cmp eax, ebp
je 0x12e85c91
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.12f560a0
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x78], 3
cmp eax, ebp
je 0x12e85c83
mov esi, dword [esp + 0x6c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
push 0x1c7
push 0x13122bdc
push edi
mov ecx, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 2
call fcn.12f567f0
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x78], 4
call fcn.12f88360
test ebp, ebp
mov byte [esp + 0x78], 3
je 0x12e85c81
push edi
mov ecx, esi
call fcn.12f56a70
xor ebp, ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 1
call fcn.12f56100
cmp dword [esp + 0x10], ebp
je 0x12e85e3d
lea ecx, [ebx + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f560a0
mov eax, dword [ebx + 0x3c]
mov byte [esp + 0x78], 5
cmp eax, ebp
je 0x12e85dce
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 0x12e85dce
lea ecx, [esp + 0x80]
lea edx, [esi + 8]
push ecx
push edx
call fcn.12e5a8a0
add esp, 8
test eax, eax
jne 0x12e85d02
mov edi, esi
mov esi, dword [esi]
cmp esi, ebp
jne 0x12e85cdd
jmp 0x12e85dce
mov eax, dword [esi]
mov dword [edi], eax
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.12e86bd0
add edi, 0x40
mov ecx, ebp
dec ebp
test ecx, ecx
jne 0x12e85d09
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 0x12e85d1f
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 0x12e85dcc
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x12e85daa
mov ecx, dword [ebx + 0x40]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x12e85daa
mov edx, dword [ebx + 0x3c]
mov ebp, dword [edx + eax*4]
test ebp, ebp
je 0x12e85d9e
lea esi, [ebp + 0x10]
xor edi, edi
push 0
mov ecx, esi
call fcn.12e86d30
add esi, 0x40
mov eax, edi
dec edi
test eax, eax
jne 0x12e85d69
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 0x12e85d81
mov ebp, dword [ebp]
test ebp, ebp
jne 0x12e85d64
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x12e85d5a
mov eax, dword [ebx + 0x3c]
push eax
call fcn.12f5bf80
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.12f54a00
mov dword [ebx + 0x4c], esi
xor ebp, ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 1
call fcn.12f56100
mov ecx, dword [esp + 0x5c]
cmp ecx, ebp
je 0x12e85dee
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esp + 0x5c], ebp
mov ecx, dword [esp + 0x6c]
cmp ecx, ebp
je 0x12e85e00
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x6c], ebp
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
je 0x12e85e13
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0x68]
cmp eax, ebp
je 0x12e85e28
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x68], ebp
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x12e85e3d
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 0
call fcn.12e86bd0
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