Function at 0x44dcde
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor edx, edx
xor eax, eax
mov ax, word [edi]
cmp ax, dx
mov dword [ebp - 4], ecx
mov dword [ebp + 8], edi
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], edx
je 0x44dd2b
mov ecx, eax
mov eax, ecx
call fcn.00426083
test al, al
jne 0x44dd2b
cmp cx, 0x24
jne 0x44dd1c
mov dword [ebp - 8], 1
add dword [ebp + 8], 2
mov eax, dword [ebp + 8]
mov cx, word [eax]
cmp cx, dx
jne 0x44dd04
lea eax, [ebp + 8]
push eax
call fcn.0042609c
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x2d
pop ecx
jne 0x44ddcf
push 5
pop esi
push esi
push ebx
push str._wait
call fcn.00426f2f
add esp, 0xc
test al, al
je 0x44dd65
mov dword [ebp - 0x14], 1
push esi
lea eax, [ebp + 8]
jmp 0x44dd85
push 4
push ebx
push str._exp
call fcn.00426f2f
add esp, 0xc
test al, al
lea eax, [ebp + 8]
je 0x44dd8e
mov dword [ebp - 8], 1
push 4
push eax
call fcn.00429537
pop ecx
jmp 0x44ddbf
push esi
push eax
push str._link
call fcn.0042c7e8
add esp, 0xc
test al, al
jne 0x44ddc0
push esi
push dword [ebp + 8]
push str.__st:
call fcn.00426f79
add esp, 0xc
test al, al
je 0x44ddcd
lea eax, [ebp + 8]
push eax
call fcn.00403b20
pop ecx
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x2d
je 0x44dd45
xor edx, edx
lea eax, [ebp + 8]
push eax
call fcn.0042609c
mov ebx, dword [ebp + 8]
mov ax, word [ebx]
cmp ax, dx
pop ecx
jne 0x44ddee
mov eax, 0x80070057
jmp 0x44df96
cmp dword [ebp - 8], edx
mov dword [ebp - 0x10], edx
je 0x44de3b
mov ecx, dword [ebp - 4]
push 1
push edx
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.00439f58
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0042609c
mov edi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], edi
call fcn.00403b20
mov ebx, dword [ebp + 8]
mov ax, word [ebx]
test ax, ax
pop ecx
pop ecx
jne 0x44de3b
mov esi, 0x80070057
jmp 0x44df8c
and dword [ebp - 8], 0
cmp ax, 0x2d
mov esi, 0x100000
mov dword [ebp - 0xc], esi
mov cl, 0x2a
jne 0x44de51
mov cl, al
movsx ecx, cl
movzx eax, ax
cmp ecx, eax
jne 0x44dea7
movzx eax, word [ebx + 2]
cmp ecx, eax
jne 0x44dea7
push 3
lea eax, [ebx + 4]
push eax
push 0x481798
call fcn.00426f79
add esp, 0xc
test al, al
je 0x44dea7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
add ebx, 0xa
push eax
mov dword [ebp + 8], ebx
call fcn.0042f2aa
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add esi, 0x1fff
adc eax, 0
pop ecx
pop ecx
and esi, 0xffffe000
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], eax
mov edi, 0x4901fc
mov dword [ebp - 0x1c], ecx
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x20]
push eax
push 0x10000
lea eax, [ebp - 0x30]
push eax
push 0x44d9e2
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x44defc
mov dword [ebp - 8], ebx
jmp 0x44df0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x44df09
xor eax, eax
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp + 8], ebx
je 0x44df36
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp + 0xc], 0x270f
cmp dword [ebp - 0x24], ebx
je 0x44df36
push ebx
call esi
dec dword [ebp + 0xc]
jns 0x44df1e
jmp 0x44df31
push 1
call esi
cmp dword [ebp - 0x24], ebx
jne 0x44df2d
push str.__LastTID
push dword [ebp - 0x20]
push dword [ebp - 4]
call fcn.0042cc8f
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 8], ebx
je 0x44df5e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x44df89
cmp dword [ebp + 8], ebx
je 0x44df89
push dword [ebp - 0x20]
lea eax, [ebp - 0x6c]
push 0x4817a4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
call fcn.0041bd23
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.0042602e
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8