Function at 0x483ee0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4e74c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
mov ebp, dword [esp + 0xb0]
xor eax, eax
mov ax, word [ebp]
mov dword [esp + 0x10], ecx
xor ebx, ebx
test ax, ax
push esi
mov ecx, ebp
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ebx
je 0x483f4e
cmp ax, 9
jb 0x483f2d
cmp ax, 0xd
jbe 0x483f4a
cmp ax, 0x20
je 0x483f4a
cmp ax, 0x24
jne 0x483f3e
mov ebx, 1
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x483f21
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x10]
push eax
call fcn.0043f2e0
mov esi, dword [esp + 0x14]
add esp, 4
cmp word [esi], 0x2d
jne 0x484103
lea esp, [esp]
mov eax, esi
mov ecx, str._wait
mov edx, 4
lea esp, [esp]
movzx edi, word [eax]
movsx ebp, byte [ecx]
or edi, 0x20
or ebp, 0x20
add eax, 2
inc ecx
cmp ebp, edi
jne 0x48401b
dec edx
jns 0x483f80
mov ax, word [eax]
cmp ax, 9
jb 0x483faa
cmp ax, 0xd
jbe 0x483fb5
cmp ax, 0x20
je 0x483fb5
test ax, ax
jne 0x48401b
mov edx, esi
mov ecx, 0x200020
mov dword [edx], ecx
mov dword [edx + 4], ecx
add esi, 0xa
mov word [edx + 8], cx
mov dword [esp + 0x10], esi
je 0x48400e
mov edi, edi
mov ax, word [esi]
cmp ax, 9
jb 0x483fdf
cmp ax, 0xd
jbe 0x483fe5
cmp ax, 0x20
jne 0x483fea
add esi, 2
jmp 0x483fd0
mov dword [esp + 0x10], esi
mov edi, edi
mov ax, word [esi]
cmp ax, 9
jb 0x483fff
cmp ax, 0xd
jbe 0x484005
cmp ax, 0x20
jne 0x48400a
add esi, 2
jmp 0x483ff0
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 1
jmp 0x4840f2
push 4
push esi
push str._exp
call fcn.004403f0
add esp, 0xc
test al, al
je 0x484087
mov ecx, esi
mov eax, 0x200020
mov dword [ecx], eax
add esi, 8
mov dword [ecx + 4], eax
mov dword [esp + 0x10], esi
je 0x484080
mov ax, word [esi]
cmp ax, 9
jb 0x484053
cmp ax, 0xd
jbe 0x484059
cmp ax, 0x20
jne 0x48405e
add esi, 2
jmp 0x484044
mov dword [esp + 0x10], esi
mov ax, word [esi]
cmp ax, 9
jb 0x484071
cmp ax, 0xd
jbe 0x484077
cmp ax, 0x20
jne 0x48407c
add esi, 2
jmp 0x484062
mov dword [esp + 0x10], esi
mov ebx, 1
jmp 0x4840f2
push 5
push esi
push str._link
call fcn.004403f0
add esp, 0xc
test al, al
je 0x4840b1
lea edx, [esp + 0x10]
add esi, 0xa
push edx
mov dword [esp + 0x14], esi
call fcn.0043f2e0
add esp, 4
jmp 0x4840ee
mov eax, str.__st:
mov ecx, 4
jmp 0x4840c0
movzx edx, word [esi]
movsx edi, byte [eax]
or edx, 0x20
or edi, 0x20
add esi, 2
inc eax
cmp edi, edx
jne 0x4840d7
dec ecx
jns 0x4840c0
lea eax, [esp + 0x10]
push eax
call fcn.0041676d
lea ecx, [esp + 0x14]
push ecx
call fcn.0043f2e0
add esp, 8
mov esi, dword [esp + 0x10]
cmp word [esi], 0x2d
je 0x483f70
mov ebp, dword [esp + 0xb8]
lea edx, [esp + 0x10]
push edx
call fcn.0043f2e0
mov edi, dword [esp + 0x14]
mov ax, word [edi]
xor esi, esi
add esp, 4
cmp ax, si
je 0x4841a7
mov dword [esp + 0x14], esi
cmp ebx, esi
mov dword [esp + 0xb0], esi
je 0x4841b1
mov ecx, dword [esp + 0x18]
push 1
push esi
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.00451c30
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xb8]
push edx
mov dword [esp + 0xbc], ecx
call fcn.0043f2e0
mov ebp, dword [esp + 0xbc]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], ebp
call fcn.0041676d
lea ecx, [esp + 0x18]
push ecx
call fcn.0043f2e0
mov edi, dword [esp + 0x1c]
mov ax, word [edi]
add esp, 0xc
cmp ax, si
jne 0x4841b1
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4841a7
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x80070057
jmp 0x484369
xor ebx, ebx
cmp ax, 0x2d
mov esi, 0x100000
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov cl, 0x2a
jne 0x4841ca
mov cl, al
movsx ecx, cl
movzx eax, ax
cmp ecx, eax
jne 0x484226
movzx edx, word [edi + 2]
cmp ecx, edx
jne 0x484226
push 3
lea eax, [edi + 4]
push eax
push 0x4f686c
call fcn.00440450
add esp, 0xc
test al, al
je 0x484226
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
add edi, 0xa
push edx
mov dword [esp + 0x18], edi
call fcn.0044d230
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esp, 8
add esi, 0x1fff
adc eax, ebx
and esi, 0xffffe000
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
push 0x5194c4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x14], 0x5194c4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x38]
push eax
push 0x10000
lea ecx, [esp + 0x30]
push ecx
push 0x4839d0
push esi
push ebx
mov byte [esp + 0xc8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
jne 0x4842a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x48429d
mov eax, 1
mov ebx, eax
jmp 0x4842d3
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, 0x270f
lea esp, [esp]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4842d3
push 0
call esi
dec ebp
jns 0x4842b0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4842d3
push 1
call esi
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4842c7
mov edx, dword [esp + 0x38]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push edx
lea eax, [esp + 0x48]
push 0x4f4acc
push eax
call esi
mov ebp, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
push str.__LastTID
mov ecx, ebp
call fcn.00444550
push 0x5194c4
mov byte [esp + 0xb4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x484320
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48434c
test edi, edi
je 0x48434c
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x48]
push str.__ncd__d
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebp
call fcn.00433298
mov eax, dword [esp + 0x14]
test eax, eax
je 0x484367
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret 8