Function at 0x100029d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1003a180]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x10002a2b
xor ecx, ecx
jmp 0x10002a42
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002a30
sub ecx, ebx
mov ebx, dword [ebp - 0x5c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10002d00
cmp word [esi], 0
jne 0x10002a56
xor ecx, ecx
jmp 0x10002a6f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x10002a60
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002a60
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10002d00
cmp word [edi], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
jne 0x10002a92
xor ecx, ecx
jmp 0x10002aa6
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002a97
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.10002d00
push 0x1003ebb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1003ec0c], 0
jne 0x10002b03
mov edi, dword [0x1003ec08]
lea eax, [ebp - 0x58]
push eax
push dword [edi + 4]
push edi
call fcn.100032f0
mov edx, dword [0x1003ec0c]
mov ecx, 0x2c8590a
sub ecx, edx
mov esi, eax
cmp ecx, 1
jb 0x10002c55
inc edx
mov dword [0x1003ec0c], edx
mov dword [edi + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
jmp 0x10002bb6
mov edx, dword [0x1003ec08]
mov edi, dword [edx]
mov esi, edi
cmp esi, edx
je 0x10002b2a
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jne 0x10002b22
cmp eax, 2
je 0x10002b50
cmp eax, ecx
jg 0x10002b2a
mov esi, dword [esi]
cmp esi, edx
jne 0x10002b14
lea eax, [ebp - 0x58]
push eax
push dword [esi + 4]
push esi
call fcn.100032f0
mov edx, dword [0x1003ec0c]
mov ecx, 0x2c8590a
sub ecx, edx
mov edi, eax
cmp ecx, 1
jae 0x10002ba7
jmp 0x10002c5f
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [0x1003ec0c]
call fcn.10002c80
push edi
call fcn.100125a6
mov eax, dword [0x1003ec08]
add esp, 4
mov edi, dword [eax]
lea eax, [ebp - 0x58]
push eax
push dword [edi + 4]
push edi
call fcn.100032f0
mov edx, dword [0x1003ec0c]
mov ecx, 0x2c8590a
sub ecx, edx
mov esi, eax
cmp ecx, 1
jae 0x10002aef
jmp 0x10002c69
inc edx
mov dword [0x1003ec0c], edx
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
push 0x1003ebb0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x1003ec1c], 0
pop edi
pop esi
pop ebx
jne 0x10002be7
push 0
push 0
push 0
push 0x10002810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1003ec1c], eax
cmp dword [ebp - 0x14], 8
jb 0x10002bf8
push dword [ebp - 0x28]
call fcn.100125a6
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x10002c1d
push dword [ebp - 0x40]
call fcn.100125a6
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x10002c42
push dword [ebp - 0x58]
call fcn.100125a6
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10011984
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.100113cf
push str.list_T__too_long
call fcn.100113cf
push str.list_T__too_long
call fcn.100113cf
int3