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

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov esi, dword [esp + 0x24]
lea eax, [ecx + 0x389]
push edi
mov edi, dword [esp + 0x40]
lea ebp, [ecx - 0x864]
mov dword [esp + 0x40], eax
lea edx, [ecx - 0x640]
mov eax, dword [esp + 0x3c]
add esi, 0x2da
add eax, 0x8a4
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], eax
add ebx, 0xfffffc0c
lea eax, [ecx - 0x260]
mov dword [esp + 0x18], ebx
add edi, 0x2bb
mov dword [esp + 0x28], ebp
cmp esi, eax
jl 0x10012e91
lea eax, [ebx - 0x1ad]
cmp edx, eax
jge 0x10012e3f
lea eax, [esi - 0x59b]
cmp ebx, eax
je 0x10012dd3
push dword [esp + 0x38]
lea eax, [ebx - 0x31e]
push eax
lea eax, [esi - 0x98f]
mov esi, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x4c]
lea ecx, [edi - 0x7db]
push ecx
add eax, 0xfffff62d
push eax
push ecx
lea eax, [edx + 0xc1e]
push esi
push eax
call fcn.10002ee0
push esi
push 0x3d52
push 0x3c85
push 0x3708
call fcn.1000faf0
mov eax, dword [esi + 4]
add esp, 0x30
imul eax, dword [eax + 0x1c0], 0x413b90b2
cmp dword [esi + 0xa0], eax
jae 0x10012d7e
or dword [esi + 0x114], 0x79c2
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x17c]
xor edx, 0x7d67
mov dword [esi + 0x180], eax
cmp edx, 0x3e56
jb 0x10012f90
mov edi, dword [esi + 0x1a4]
mov ecx, dword [esi + 0x114]
add edi, 0xffffc37b
add edx, 0xffffc1ab
imul ecx, edi
sub edx, 1
jne 0x10012db7
pop edi
mov dword [esi + 0x114], ecx
lea eax, [ebx + 0xcc]
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x1c0]
mov eax, edx
imul eax, ebp
xor eax, ebx
cmp edx, eax
jbe 0x10012f90
mov eax, dword [ecx + 0x158]
and eax, ebx
cmp edi, eax
jbe 0x10012f90
mov eax, dword [ecx + 0x184]
imul eax, dword [ecx + 0x98]
sub ebx, eax
mov eax, dword [ecx + 0x114]
xor eax, edx
xor eax, 0x3c04
push eax
mov eax, dword [ecx + 0x1a4]
sub eax, dword [ecx + 0x18c]
and eax, 0x3d52
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
pop esi
pop ebp
lea eax, [ebx + 0xcc]
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x70]
mov eax, esi
and eax, edx
and eax, 0x41cf
cmp dword [ecx + 0x174], eax
ja 0x10012f90
mov eax, dword [ecx + 0x1a4]
and eax, 0x85
cmp dword [ecx + 0xd0], eax
jae 0x10012f90
or edx, 0x3a26
imul eax, edx, 0x3bbb
pop edi
sub esi, eax
lea eax, [ebx + 0xcc]
mov dword [ecx + 0x70], esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x78]
xor eax, ebp
imul eax, eax, 0x3708
mov dword [esp + 0x3c], edx
cmp edx, eax
jbe 0x10012f90
nop
mov eax, dword [ecx + 0xd8]
mov dword [esp + 0x38], eax
imul eax, esi
imul eax, ebx
cmp edi, eax
ja 0x10012f72
mov eax, dword [ecx + 0x100]
mov ebp, dword [ecx + 0x58]
mov edi, dword [ecx + 0x120]
add ebp, eax
mov esi, dword [ecx + 0x1a4]
xor edi, eax
mov eax, dword [esp + 0x38]
mov ebx, dword [ecx + 0x30]
or eax, 0x3712
add eax, dword [ecx + 0x68]
xor ebx, 0x3e56
or esi, dword [ecx + 0xdc]
mov edx, dword [ecx + 0x184]
mov ecx, dword [ecx + 0x1cc]
add edx, 0x410b
xor ecx, dword [esp + 0x28]
xor edx, 0x3d52
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
imul eax, ecx
mov dword [esp + 0x24], ebp
push eax
lea eax, [ecx + 0x41cf]
push eax
push edx
push esi
push edi
push dword [esp + 0x54]
push ebx
push ebp
call fcn.10011a80
mov ecx, dword [esp + 0x60]
add esp, 0x30
mov edx, dword [esp + 0x3c]
mov edi, eax
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov ecx, dword [ecx + 0x28]
add edx, 3
xor ecx, ebp
mov dword [esp + 0x3c], edx
imul ecx, ecx, 0x3708
cmp edx, ecx
mov ecx, dword [esp + 0x30]
ja 0x10012eb0
pop edi
pop esi
pop ebp
lea eax, [ebx + 0xcc]
pop ebx
add esp, 0xc
ret