Function at 0x10001e90
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.10002720
mov eax, dword [edi + 0x228]
xor ecx, ecx
cmp eax, ecx
mov dword [edi + 0x234], ecx
mov dword [edi + 0x23c], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x18], ecx
jbe 0x10002551
cmp eax, 0x1f4
ja 0x10002551
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x10001f1d
mov ebp, dword [sym.imp.MSVCRT.dll__beginthreadex]
lea eax, [esp + 0x14]
push eax
push 0
push edi
push 0x10002560
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x10001f23
mov eax, dword [edi + 0xc]
lea ecx, [edi + 4]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
jmp 0x10001f23
mov ebp, dword [sym.imp.MSVCRT.dll__beginthreadex]
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x10001f5f
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x10002580
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x10001f5f
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x14]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0xf0]
test eax, eax
je 0x10001f9b
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x100025a0
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x10001f9b
mov eax, dword [edi + 0x3c]
lea ecx, [edi + 0x34]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x10001fd7
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x100025c0
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x10001fd7
mov eax, dword [edi + 0x4c]
lea ecx, [edi + 0x44]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0xec]
test eax, eax
je 0x10002013
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x100025e0
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x10002013
mov eax, dword [edi + 0x2c]
lea ecx, [edi + 0x24]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x1000204f
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x10002600
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1000204f
mov eax, dword [edi + 0x5c]
lea ecx, [edi + 0x54]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0x108]
test eax, eax
je 0x1000208b
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x10002620
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1000208b
mov eax, dword [edi + 0x6c]
lea ecx, [edi + 0x64]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x100020c7
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x10002640
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x100020c7
mov eax, dword [edi + 0x7c]
lea ecx, [edi + 0x74]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0x110]
test eax, eax
je 0x10002109
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x10002660
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x10002109
mov eax, dword [edi + 0x8c]
lea ecx, [edi + 0x84]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0x104]
test eax, eax
je 0x1000214b
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x10002660
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1000214b
mov eax, dword [edi + 0x8c]
lea ecx, [edi + 0x84]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x1000218d
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x100026e0
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1000218d
mov eax, dword [edi + 0xcc]
lea ecx, [edi + 0xc4]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0x100]
test eax, eax
je 0x100021cf
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x10002700
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x100021cf
mov eax, dword [edi + 0xdc]
lea ecx, [edi + 0xd4]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0x114]
test eax, eax
je 0x10002211
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x10002680
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x10002211
mov eax, dword [edi + 0x9c]
lea ecx, [edi + 0x94]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.10005f90
mov eax, dword [edi + 0x118]
test eax, eax
je 0x100023a3
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0x100026a0
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x100023a3
mov ebx, dword [edi + 0xbc]
mov edx, dword [edi + 0xc0]
lea esi, [edi + 0xb4]
sub edx, ebx
sar edx, 2
cmp edx, 1
jae 0x10002313
mov ecx, esi
call fcn.10005e30
cmp eax, 1
jbe 0x10002279
mov ecx, esi
call fcn.10005e30
mov ebp, eax
jmp 0x1000227e
mov ebp, 1
mov ecx, esi
call fcn.10005e30
add eax, ebp
mov dword [esp + 0x20], eax
jns 0x1000228f
xor eax, eax
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esi + 4]
add esp, 4
mov ebp, eax
push ebp
push ebx
push ecx
mov ecx, esi
call fcn.100061a0
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.100061d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
add eax, 4
push eax
push ecx
push ebx
mov ecx, esi
call fcn.100061a0
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.10005e90
mov ecx, dword [esi + 4]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, esi
lea eax, [ebp + edx*4]
mov dword [esi + 0xc], eax
call fcn.10005e30
lea ecx, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov ebp, dword [sym.imp.MSVCRT.dll__beginthreadex]
mov dword [esi + 8], ecx
jmp 0x100023a3
mov eax, ebx
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x10002361
lea edx, [ebx + 4]
mov ecx, esi
push edx
push ebx
push ebx
call fcn.100061a0
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
sub edx, ebx
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.100061d0
mov eax, dword [esi + 8]
cmp ebx, eax
je 0x1000239f
mov edx, dword [esp + 0x10]
mov dword [ebx], edx
add ebx, 4
cmp ebx, eax
jne 0x10002352
jmp 0x1000239f
lea eax, [ebx - 4]
push ebx
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.100061a0
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp ebx, eax
je 0x1000238b
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, ebx
mov dword [ecx], edx
jne 0x1000237c
lea eax, [ebx + 4]
cmp ebx, eax
je 0x1000239f
mov ecx, dword [esp + 0x10]
mov dword [ebx], ecx
add ebx, 4
cmp ebx, eax
jne 0x10002392
add dword [esi + 8], 4
mov eax, dword [edi + 0x11c]
test eax, eax
je 0x1000253a
lea edx, [esp + 0x14]
push edx
push 0
push edi
push 0x100026c0
push 0
push 0
call ebp
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1000253a
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xb0]
lea esi, [edi + 0xa4]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
mov ebx, eax
jae 0x100024aa
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10002412
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x10002412
mov ecx, esi
call fcn.10005e30
mov ebp, eax
jmp 0x10002417
mov ebp, 1
mov ecx, esi
call fcn.10005e30
add eax, ebp
mov dword [esp + 0x1c], eax
jns 0x10002428
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push ebx
push eax
call fcn.100061a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.100061d0
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 8]
add edx, 4
mov ecx, esi
push edx
push eax
push ebx
call fcn.100061a0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.10005e90
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x20]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.10005e30
lea eax, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov dword [esi + 8], eax
jmp 0x1000253a
mov ecx, eax
sub ecx, ebx
sar ecx, 2
cmp ecx, 1
jae 0x100024f8
lea ecx, [ebx + 4]
push ecx
push eax
push ebx
mov ecx, esi
call fcn.100061a0
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
sub ecx, ebx
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.100061d0
mov eax, dword [esi + 8]
cmp ebx, eax
je 0x10002536
mov ecx, dword [esp + 0x10]
mov dword [ebx], ecx
add ebx, 4
cmp ebx, eax
jne 0x100024e9
jmp 0x10002536
lea ecx, [eax - 4]
push eax
push eax
mov dword [esp + 0x28], ecx
push ecx
mov ecx, esi
call fcn.100061a0
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp ebx, eax
je 0x10002522
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, ebx
mov dword [ecx], edx
jne 0x10002513
lea eax, [ebx + 4]
cmp ebx, eax
je 0x10002536
mov ecx, dword [esp + 0x10]
mov dword [ebx], ecx
add ebx, 4
cmp ebx, eax
jne 0x10002529
add dword [esi + 8], 4
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x228]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jb 0x10001ece
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret