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

Disassembly:
push 0xffffffffffffffff
push 0x10117368
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa4]
mov eax, dword [esp + 0x9c]
add eax, 0x2e8
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x44], 1
mov dword [esp + 0x94], 0
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jbe 0x10029278
call ebx
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x10029282
call ebx
push edi
push esi
push ebp
push esi
lea eax, [esp + 0x58]
push eax
push esi
call fcn.10031ff0
mov edi, dword [esp + 0x9c]
add edi, 0x309
je 0x100292a5
lea eax, [edi - 9]
jmp 0x100292a7
xor eax, eax
mov eax, dword [eax + 0x10]
push eax
mov ecx, esi
call fcn.10031220
test edi, edi
je 0x100292bb
lea eax, [edi - 9]
jmp 0x100292bd
xor eax, eax
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100292cc
lea ebp, [eax - 0x38]
jmp 0x100292ce
xor ebp, ebp
test edi, edi
mov dword [esp + 0x3c], ebp
je 0x100292db
lea eax, [edi - 9]
jmp 0x100292dd
xor eax, eax
mov eax, dword [eax + 4]
cmp ebp, eax
mov dword [esp + 0x4c], eax
je 0x1002952e
mov ecx, dword [esp + 0xa0]
lea eax, [ecx + 0x14]
mov ebx, eax
sub ebx, ecx
mov dword [esp + 0x1c], ebx
jmp 0x10029304
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x28]
call fcn.10028820
mov esi, dword [eax]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10029338
mov edi, eax
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10029338
test edi, edi
je 0x10029338
push edi
call fcn.100e9600
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp ebx, 0x14
lea edi, [esi + 0x140]
jbe 0x10029349
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0xa0]
lea ecx, [eax + 0x14]
cmp eax, ecx
je 0x10029378
sub edi, eax
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [edi + eax]
jne 0x10029370
add eax, 1
cmp eax, ecx
jne 0x10029360
jmp 0x10029378
cmp eax, ecx
jne 0x100294d4
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov byte [esp + 0x94], 1
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x7c], eax
mov ecx, dword [ebp]
mov dword [esp + 0x5c], ecx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x74], edx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], 1
mov eax, dword [esi + 0x90]
lea ecx, [eax - 1]
cmp dword [ebp], ecx
jne 0x100293ea
mov ecx, dword [esi + 0x94]
add eax, 0xffffffff
imul ecx
mov ecx, dword [esi + 0x88]
mov esi, dword [esi + 0x8c]
sub ecx, eax
sbb esi, edx
mov dword [esp + 0x30], esi
mov esi, ecx
jmp 0x100293f0
mov esi, dword [esi + 0x94]
mov edx, dword [esp + 0x9c]
mov ecx, dword [edx]
lea eax, [ecx + esi - 1]
cdq
idiv ecx
lea esi, [esp + 0x60]
mov edi, eax
mov dword [esp + 0x2c], edi
call fcn.100304d0
xor ebx, ebx
test edi, edi
jle 0x100294a2
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + eax], 0
je 0x10029492
push ebx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x68]
call fcn.10030550
mov esi, eax
cmp dword [esi], 0
je 0x10029446
cmp dword [esi + 4], 0
jne 0x1002944c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ebp, dword [esi + 8]
add eax, 4
cmp edi, dword [eax + 8]
jbe 0x10029462
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, edi
sar eax, 2
shl eax, 5
add ebp, eax
cmp ebp, dword [ecx]
jb 0x1002947b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov edx, 1
shl edx, cl
or dword [eax], edx
add dword [esp + 0x18], 0x28
add ebx, 1
cmp ebx, edi
jl 0x1002941d
mov esi, dword [esp + 0xa4]
lea eax, [esp + 0x5c]
push eax
call fcn.10031360
mov byte [esp + 0x94], 0
mov eax, dword [esp + 0x68]
test eax, eax
mov dword [esp + 0x60], 0
je 0x100294d4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp + 0x40]
test ecx, ecx
lea eax, [ebp + 0x38]
je 0x100294f2
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10029513
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x100294e7
jmp 0x10029513
mov ecx, dword [eax]
and ecx, 0xfffffffe
cmp eax, dword [ecx + 8]
jne 0x1002950c
lea esp, [esp]
mov eax, ecx
mov ecx, dword [ecx]
and ecx, 0xfffffffe
cmp eax, dword [ecx + 8]
je 0x10029500
cmp dword [eax + 8], ecx
je 0x10029513
mov eax, ecx
test eax, eax
je 0x1002951c
add eax, 0xffffffc8
jmp 0x1002951e
xor eax, eax
mov ebp, eax
cmp ebp, dword [esp + 0x4c]
mov dword [esp + 0x3c], ebp
jne 0x10029300
mov ecx, dword [esp + 0x9c]
add ecx, 0x31d
je 0x10029542
lea eax, [ecx - 9]
jmp 0x10029544
xor eax, eax
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x10029553
lea edi, [eax - 0x38]
jmp 0x10029555
xor edi, edi
test ecx, ecx
mov dword [esp + 0x3c], edi
je 0x10029562
lea eax, [ecx - 9]
jmp 0x10029564
xor eax, eax
mov eax, dword [eax + 4]
cmp edi, eax
mov dword [esp + 0x4c], eax
je 0x100297b6
mov ecx, dword [esp + 0xa0]
lea eax, [ecx + 0x14]
sub eax, ecx
mov dword [esp + 0x28], eax
mov ebx, ecx
jmp 0x10029597
mov ebx, dword [esp + 0xa0]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x2c]
call fcn.10028820
mov esi, dword [eax]
mov eax, dword [esp + 0x2c]
xor edx, edx
cmp eax, edx
je 0x100295cf
mov ebp, eax
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100295cf
cmp ebp, edx
je 0x100295cf
push ebp
call fcn.100e9600
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
cmp dword [esp + 0x28], 0x14
lea ebp, [esi + 0x140]
jbe 0x100295e4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
xor edx, edx
lea ecx, [ebx + 0x14]
cmp ebx, ecx
mov eax, ebx
je 0x10029608
sub ebp, ebx
nop
mov bl, byte [eax]
cmp bl, byte [eax + ebp]
jne 0x10029600
add eax, 1
cmp eax, ecx
jne 0x100295f0
jmp 0x10029608
cmp eax, ecx
jne 0x1002975c
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov byte [esp + 0x94], 2
mov eax, dword [edi + 0x20]
mov dword [esp + 0x7c], eax
mov ecx, dword [edi]
mov dword [esp + 0x5c], ecx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x74], eax
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x80], edx
mov dword [esp + 0x78], ecx
mov eax, dword [esi + 0x90]
lea edx, [eax - 1]
cmp dword [edi], edx
jne 0x10029672
mov ecx, dword [esi + 0x94]
add eax, 0xffffffff
imul ecx
mov ecx, dword [esi + 0x88]
mov esi, dword [esi + 0x8c]
sub ecx, eax
sbb esi, edx
mov dword [esp + 0x20], esi
mov esi, ecx
jmp 0x10029678
mov esi, dword [esi + 0x94]
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
lea eax, [esi + ecx - 1]
cdq
idiv ecx
lea esi, [esp + 0x60]
mov edi, eax
mov dword [esp + 0x1c], edi
call fcn.100304d0
xor ebx, ebx
cmp edi, ebx
jle 0x1002972a
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x18]
cmp dword [eax + edx], 0
je 0x1002971a
push ebx
lea ecx, [esp + 0x54]
push ecx
lea eax, [esp + 0x68]
call fcn.10030550
mov esi, eax
cmp dword [esi], 0
je 0x100296d2
cmp dword [esi + 4], 0
jne 0x100296d8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ebp, dword [esi + 8]
add eax, 4
cmp edi, dword [eax + 8]
jbe 0x100296ee
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 4]
mov eax, dword [esi]
sub edx, edi
sar edx, 2
shl edx, 5
add ebp, edx
cmp ebp, dword [eax]
jb 0x10029707
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
or dword [eax], edx
add dword [esp + 0x18], 0x28
add ebx, 1
cmp ebx, edi
jl 0x100296a5
mov esi, dword [esp + 0xa4]
lea eax, [esp + 0x5c]
push eax
call fcn.10031360
mov byte [esp + 0x94], 0
mov eax, dword [esp + 0x68]
test eax, eax
mov dword [esp + 0x60], 0
je 0x1002975c
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x40]
add eax, 0x38
test ecx, ecx
je 0x1002977e
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1002979b
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x10029773
jmp 0x1002979b
mov ecx, dword [eax]
and ecx, 0xfffffffe
cmp eax, dword [ecx + 8]
jne 0x10029794
mov eax, ecx
mov ecx, dword [ecx]
and ecx, 0xfffffffe
cmp eax, dword [ecx + 8]
je 0x10029788
cmp dword [eax + 8], ecx
je 0x1002979b
mov eax, ecx
test eax, eax
je 0x100297a4
add eax, 0xffffffc8
jmp 0x100297a6
xor eax, eax
mov edi, eax
cmp edi, dword [esp + 0x4c]
mov dword [esp + 0x3c], edi
jne 0x10029590
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0xc