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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x100a2bb4]
xor eax, esp
mov dword [esp + 0x38], eax
test byte [0x100a4750], 4
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], 0xffffffff
jne 0x10042b18
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x10042b43
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx], 0
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], edi
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], eax
test eax, eax
je 0x1002eca9
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.msvcrt.dll_time]
mov eax, dword [esi + 0x50]
add esp, 4
cmp eax, dword [esp + 0x20]
jle 0x1002ec97
mov eax, dword [esi + 0x54]
mov dword [edi + 0x68], eax
cmp dword [esi + 0x58], 0
je 0x1002ec64
lea edi, [esi + 0x78]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x1002ec5d
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esi + 0x54]
test byte [0x100a4750], 2
jne 0x10042b95
test byte [0x100a4750], 4
jne 0x10042bc9
mov eax, edi
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10037870
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, esi
call fcn.1002e1e3
push dword [esp + 0x18]
mov ecx, esi
call fcn.1002e3c0
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x1002ecb3
mov byte [eax], 0
mov ecx, esi
call fcn.1002e191
test byte [0x100a4750], 2
mov ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
jne 0x10042c01
mov edi, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov edi, dword [edi + 0xc]
mov ecx, edi
push eax
call dword [0x100a663c]
call edi
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
lock dec dword [eax + 0xc]
test ecx, ecx
jns 0x10042c3f
mov edi, dword [ebp + 0x18]
mov dword [edi + 0x80], 0
test byte [0x100a4750], 2
jne 0x10042e5a
mov eax, dword [esp + 0x3c]
cmp eax, 5
jne 0x10042e96
mov eax, dword [esp + 0x40]
mov ecx, esi
push 1
push dword [ebp + 0xc]
mov dword [ebx], eax
push eax
push edi
call fcn.1002e2af
mov eax, dword [ebx]
mov ecx, dword [esp + 0xc]
mov byte [eax + 0x114], 1
cmp ecx, 0x80040e4d
je 0x1002ed6a
mov dword [edi + 0x68], ecx
cmp dword [esi + 0x4c], 0
je 0x1002ed8b
mov dword [esi + 0x54], ecx
mov ecx, esi
call fcn.1002e23b
mov ecx, dword [esp + 0xc]
test byte [0x100a4750], 2
jne 0x10042ed8
test byte [0x100a4750], 4
jne 0x10042f13
mov eax, ecx
jmp 0x1002ec83
push 0
mov ecx, esi
call fcn.1002e3c0
mov ecx, dword [esp + 0xc]
jmp 0x1002ed5c
cmp dword [0x100aa740], 0
je 0x1002ebc0
call fcn.10084c3c
push eax
mov eax, dword [0x100aa740]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10056692
add esp, 0xc
jmp 0x1002ebc0
test byte [0x100a4750], 2
je 0x10042b8b
push 0x197
mov edx, 0x100150e8
mov ecx, 0x80004003
call fcn.10051341
add esp, 4
test byte [0x100a4750], 2
je 0x10042b8b
mov ecx, dword [0x100aa140]
mov edx, 0x65c09
push 0x80004003
push 0x10015130
call fcn.1005682f
jmp 0x1002ec83
mov eax, 0x80004003
jmp 0x1002ec83
cmp dword [0x100aa4e8], 0
je 0x1002ec74
push edi
mov ecx, esi
call fcn.10084c3c
push eax
mov eax, dword [0x100aa4e8]
push eax
mov eax, dword [0x100aa140]
push 0xa0800
push eax
call fcn.10056748
add esp, 0x14
jmp 0x1002ec74
cmp dword [esp + 0x14], 0xffffffff
je 0x1002ec81
mov eax, dword [0x100a2bc4]
cmp eax, 0xffffffff
je 0x1002ec81
mov esi, dword [0x100a2024]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push eax
mov ecx, esi
call dword [0x100a663c]
call esi
jmp 0x1002ec81
cmp dword [0x100aa978], 0
je 0x1002ecd3
push eax
push dword [ecx + 0xc]
push dword [ecx + 8]
mov ecx, esi
call fcn.10084c3c
push eax
mov eax, dword [0x100aa978]
push eax
mov eax, dword [0x100aa140]
push 0x74800
push eax
call fcn.1005688c
mov eax, dword [esp + 0x2c]
add esp, 0x1c
jmp 0x1002ecd3
cmp byte [esp + 0x38], 0
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
lea eax, [edi + 0xc]
jne 0x10042d9a
mov ecx, dword [eax + 0x114]
test ecx, ecx
je 0x10042c68
cmp dword [ecx + 0x490], 1
je 0x10042cab
mov ecx, eax
call fcn.10093854
test al, al
je 0x10042c98
mov edi, dword [ebp + 0x18]
mov ecx, dword [edi + 0x40]
cmp byte [ecx + 0x429], 0
jne 0x10042c8b
cmp byte [ecx + 0x428], 0
je 0x10042cb6
push dword [esp + 0x10]
mov ecx, esi
call fcn.10084b12
jmp 0x10042cb6
mov eax, dword [edi + 0x120]
test eax, eax
je 0x10042cbe
cmp dword [eax + 0x490], 1
jne 0x10042cbe
push edi
mov ecx, esi
call fcn.10084b12
mov edi, dword [ebp + 0x18]
test al, al
jne 0x10042d06
mov edi, dword [esp + 0x10]
mov byte [edi + 0x114], 1
test byte [0x100a4750], 2
je 0x10042cf9
cmp dword [0x100aa4f4], 0
je 0x10042cf9
push edi
mov ecx, esi
call fcn.10084c3c
push eax
mov eax, dword [0x100aa4f4]
push eax
mov eax, dword [0x100aa140]
push 0x82000
push eax
call fcn.10056748
add esp, 0x14
push edi
mov ecx, esi
call fcn.10084348
jmp 0x1002ecb3
mov dword [edi + 0x80], 2
mov eax, 1
lock xadd dword [esi + 0x3c], eax
inc eax
test dword [0x100a4750], 0x1000
je 0x10042d4b
cmp dword [0x100aa974], 0
je 0x10042d4b
push eax
mov eax, dword [0x100aa974]
push esi
push eax
mov eax, dword [0x100aa140]
push 0x85000
push eax
call fcn.1005688c
add esp, 0x14
or eax, 0xffffffff
lock xadd dword [esi + 0x40], eax
dec eax
test dword [0x100a4750], 0x1000
je 0x10042d84
cmp dword [0x100aa970], 0
je 0x10042d84
push eax
mov eax, dword [0x100aa970]
push esi
push eax
mov eax, dword [0x100aa140]
push 0x85400
push eax
call fcn.1005688c
add esp, 0x14
push 0
push dword [ebp + 0xc]
mov ecx, esi
push dword [esp + 0x18]
push edi
call fcn.1002e2af
jmp 0x10042e3e
push 1
push dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, dword [ebp + 0x18]
push edi
call fcn.1002e2af
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x10042db5
mov byte [eax], 1
lock inc dword [0x100a3d78]
lock inc dword [esi + 0x44]
mov eax, 1
lock xadd dword [esi + 0x3c], eax
inc eax
test dword [0x100a4750], 0x1000
je 0x10042dfb
cmp dword [0x100aa96c], 0
je 0x10042dfb
push eax
mov eax, dword [0x100aa96c]
push esi
push eax
mov eax, dword [0x100aa140]
push 0x8a400
push eax
call fcn.1005688c
add esp, 0x14
or eax, 0xffffffff
lock xadd dword [esi + 0x40], eax
dec eax
test dword [0x100a4750], 0x1000
je 0x10042e34
cmp dword [0x100aa968], 0
je 0x10042e34
push eax
mov eax, dword [0x100aa968]
push esi
push eax
mov eax, dword [0x100aa140]
push 0x8a800
push eax
call fcn.1005688c
add esp, 0x14
mov dword [edi + 0x80], 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x1e8], ecx
mov dword [ebx], eax
mov dword [esi + 0x4c], 0
jmp 0x1002ed66
cmp dword [0x100aa4f0], 0
je 0x1002ed1d
push dword [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.10084c3c
push eax
mov eax, dword [0x100aa4f0]
push eax
mov eax, dword [0x100aa140]
push 0x90800
push eax
call fcn.10056748
mov ecx, dword [esp + 0x24]
add esp, 0x18
jmp 0x1002ed1d
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x10042ea2
jmp dword [eax*4 + 0x10042f50]
mov eax, dword [esp + 0x40]
mov ecx, esi
push 1
push dword [ebp + 0xc]
mov dword [ebx], eax
mov byte [eax + 0x114], 1
push dword [ebx]
push edi
call fcn.1002e2af
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x1002ed66
mov byte [eax], 1
jmp 0x1002ed66
cmp dword [0x100aa4ec], 0
je 0x1002ed77
push dword [ebx]
push esi
push ecx
mov ecx, esi
call fcn.10084c3c
push eax
mov eax, dword [0x100aa4ec]
push eax
mov eax, dword [0x100aa140]
push 0x9fc00
push eax
call fcn.10056748
mov ecx, dword [esp + 0x28]
add esp, 0x1c
jmp 0x1002ed77
cmp dword [esp + 0x14], 0xffffffff
je 0x1002ed84
mov eax, dword [0x100a2bc4]
cmp eax, 0xffffffff
je 0x1002ed84
mov esi, dword [0x100a2024]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push eax
mov ecx, esi
call dword [0x100a663c]
call esi
mov ecx, dword [esp + 0xc]
jmp 0x1002ed84