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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b02d7
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x5c]
xor ebx, ebx
cmp ecx, ebx
mov byte [edi + 0x94], 1
je 0x1002bbd9
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
call edx
mov ecx, dword [edi + 0x68]
cmp ecx, ebx
je 0x1002bbe7
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
mov esi, dword [edi + 0x54]
cmp esi, ebx
mov dword [esp + 0x54], esi
je 0x1002bbfa
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
cmp esi, ebx
mov dword [esp + 0xf8], ebx
je 0x1002bc1c
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
push 0x4b0
mov ecx, esi
call edx
mov esi, dword [edi + 0x28]
cmp esi, ebx
mov dword [esp + 0x50], esi
je 0x1002bc2f
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
test esi, esi
mov byte [esp + 0xf8], 1
je 0x1002bc46
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
mov ebx, eax
mov ecx, dword [edi + 0x88]
test ecx, ecx
mov dword [esp + 0x4c], ecx
je 0x1002bc5a
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov byte [esp + 0xf8], 2
mov ecx, dword [edi + 0x70]
test ecx, ecx
mov dword [esp + 0x1c], ecx
je 0x1002bc73
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov byte [esp + 0xf8], 3
mov esi, dword [edi + 0x74]
test esi, esi
mov dword [esp + 0x14], esi
je 0x1002bc8e
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
cmp esi, eax
mov byte [esp + 0xf8], 5
je 0x1002bcb7
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea ecx, [esp + 0x2c]
push ecx
push ebx
mov ecx, esi
call edx
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov byte [esp + 0xf8], 6
mov ebx, dword [edi + 0x60]
cmp ebx, eax
mov dword [esp + 0x28], ebx
je 0x1002bce0
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
test ebx, ebx
mov byte [esp + 0xf8], 7
je 0x1002bd69
mov eax, dword [ebx]
mov edx, dword [eax + 0xe0]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
mov dword [esp + 0x10], eax
jbe 0x1002bd1b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
mov dword [esp + 0x20], ecx
jbe 0x1002bd29
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x34]
cmp dword [esp + 0x30], ebx
lea esi, [esp + 0x3c]
jbe 0x1002bd3d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
push ecx
push edx
push esi
push ebx
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x64]
push eax
lea esi, [esp + 0x48]
call fcn.10039220
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop
cmp dword [esp + 0x30], 0
je 0x1002be7b
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
sar eax, 2
cmp ecx, eax
jae 0x1002be7b
mov esi, dword [esp + 0x14]
test esi, esi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ebx, dword [edx + ecx*4]
je 0x1002bdc7
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x68]
push ecx
push ebx
mov ecx, esi
call edx
test al, al
je 0x1002bdc7
mov eax, dword [esi]
mov edx, dword [esp + 0x68]
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x6c]
push ecx
push edx
mov ecx, esi
call eax
cmp dword [esp + 0x1c], 0
je 0x1002be65
lea esi, [edi + 0x80]
test esi, esi
mov dword [esp + 0x20], esi
je 0x1002bded
mov eax, dword [esi]
test eax, eax
je 0x1002bded
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0xf8], 8
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push ebx
lea eax, [esp + 0x28]
push eax
call edx
mov byte [esp + 0xf8], 9
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1002be39
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push ebx
call edx
lea esi, [edi + 0xb4]
lea ebx, [esp + 0x24]
call fcn.10023730
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
test ecx, ecx
mov byte [esp + 0xf8], 8
je 0x1002be4c
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test esi, esi
mov byte [esp + 0xf8], 7
je 0x1002be65
mov eax, dword [esi]
test eax, eax
je 0x1002be65
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add dword [esp + 0x10], 1
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
jmp 0x1002bd70
cmp dword [edi + 0x8c], 0
je 0x1002c0d2
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0x130]
call edx
test al, al
je 0x1002bec5
mov esi, dword [edi + 0x8c]
mov eax, dword [esi + 0x70]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1002c0ce
mov ecx, dword [esi + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1002c0ce
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1002c0d2
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
jne 0x1002c0d2
xor esi, esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov byte [esp + 0xf8], 0xa
xor ebx, ebx
lea ebx, [ebx]
mov ecx, dword [edi + 0xb8]
cmp ecx, esi
je 0x1002c079
mov eax, dword [edi + 0xbc]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x1002c079
cmp ecx, esi
je 0x1002bf34
mov eax, dword [edi + 0xbc]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1002bf3a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 0xb8]
cmp dword [ecx + ebx*4], esi
je 0x1002c071
mov eax, 7
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], esi
mov word [esp + 0x94], si
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], esi
mov word [esp + 0xb0], si
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
cmp ecx, esi
mov byte [esp + 0xf8], 0xd
je 0x1002bfaa
mov eax, dword [edi + 0xbc]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1002bfb0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 0xb8]
mov ecx, dword [edx + ebx*4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
mov ecx, dword [edi + 0xb8]
cmp ecx, esi
mov dword [esp + 0x8c], eax
je 0x1002bfe0
mov eax, dword [edi + 0xbc]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1002bfe6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0xb8]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x54]
lea eax, [esp + 0x70]
push eax
call edx
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x98]
mov byte [esp + 0x100], 0xe
call fcn.10002570
mov byte [esp + 0xf8], 0xd
cmp dword [esp + 0x88], 8
jb 0x1002c031
mov eax, dword [esp + 0x74]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
lea ecx, [esp + 0x8c]
push ecx
lea esi, [esp + 0x5c]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], eax
mov word [esp + 0x78], ax
call fcn.10037850
lea esi, [esp + 0x8c]
mov byte [esp + 0xf8], 0xa
call fcn.1002c290
xor esi, esi
add ebx, 1
jmp 0x1002bf00
mov eax, dword [edi + 0x8c]
push eax
lea esi, [esp + 0x5c]
call fcn.10056060
mov byte [esp + 0xf8], 7
mov esi, dword [esp + 0x5c]
xor eax, eax
cmp esi, eax
je 0x1002c0be
mov ebx, dword [esp + 0x60]
cmp esi, ebx
je 0x1002c0b3
call fcn.1002c290
add esi, 0x54
cmp esi, ebx
jne 0x1002c0a3
mov esi, dword [esp + 0x5c]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push edi
call fcn.1002cc90
mov byte [esp + 0xf8], 0xf
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1002c0f8
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
xor edi, edi
cmp eax, edi
je 0x1002c111
mov edx, dword [eax]
push edi
mov ecx, eax
mov eax, dword [edx + 0x34]
push edi
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x1002c127
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
push edi
call eax
mov ecx, dword [esp + 0x18]
cmp ecx, edi
mov byte [esp + 0xf8], 7
je 0x1002c13a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp ebx, edi
mov byte [esp + 0xf8], 6
je 0x1002c14f
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x1002c160
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
je 0x1002c17d
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp esi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov byte [esp + 0xf8], 3
je 0x1002c19e
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [esp + 0xf8], 2
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x1002c1b5
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf8], 1
mov ecx, dword [esp + 0x4c]
cmp ecx, edi
je 0x1002c1cc
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf8], 0
mov ecx, dword [esp + 0x50]
cmp ecx, edi
je 0x1002c1e3
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xf8], 0xffffffff
mov ecx, dword [esp + 0x54]
cmp ecx, edi
je 0x1002c1fd
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.100a4489
mov esp, ebp
pop ebp
ret