Function at 0x455b5f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov ax, word [esi]
push edi
xor edi, edi
cmp ax, di
mov dword [ebp - 4], ecx
mov dword [ebp + 8], esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
je 0x455bac
mov ecx, eax
mov eax, ecx
call fcn.0040ac1b
test al, al
jne 0x455bac
cmp cx, 0x24
jne 0x455b9d
mov dword [ebp - 8], 1
add dword [ebp + 8], 2
mov eax, dword [ebp + 8]
mov cx, word [eax]
cmp cx, di
jne 0x455b85
lea eax, [ebp + 8]
push eax
call fcn.00428a5b
jmp 0x455c14
push 5
push eax
push 0x48c188
call fcn.0042fca2
add esp, 0xc
test al, al
je 0x455bd4
mov dword [ebp - 0x14], 1
jmp 0x455c15
push 4
lea eax, [ebp + 8]
push eax
push 0x48c180
call fcn.0042fca2
add esp, 0xc
test al, al
je 0x455bf4
mov dword [ebp - 8], 1
jmp 0x455c15
push 5
lea eax, [ebp + 8]
push eax
push str._link
call fcn.0042fc5f
add esp, 0xc
test al, al
jne 0x455c15
lea eax, [ebp + 8]
push eax
call fcn.00404037
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
lea eax, [ebp + 8]
je 0x455bb7
push eax
call fcn.00428a5b
mov ebx, dword [ebp + 8]
mov ax, word [ebx]
cmp ax, di
pop ecx
jne 0x455c3d
mov eax, 0x80070057
jmp 0x455de5
cmp dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
je 0x455c8a
mov ecx, dword [ebp - 4]
push 1
push edi
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00436312
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00428a5b
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], esi
call fcn.00404037
mov ebx, dword [ebp + 8]
mov ax, word [ebx]
cmp ax, di
pop ecx
pop ecx
jne 0x455c8a
mov esi, 0x80070057
jmp 0x455ddb
and dword [ebp - 8], 0
cmp ax, 0x2d
mov edi, 0x100000
mov dword [ebp - 0xc], edi
mov cl, 0x2a
jne 0x455ca0
mov cl, al
movsx ecx, cl
movzx eax, ax
cmp ecx, eax
jne 0x455cf6
movzx eax, word [ebx + 2]
cmp ecx, eax
jne 0x455cf6
push 3
lea eax, [ebx + 4]
push eax
push 0x48c17c
call fcn.0042996a
add esp, 0xc
test al, al
je 0x455cf6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
add ebx, 0xa
push eax
mov dword [ebp + 8], ebx
call fcn.00432f9a
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add edi, 0x1fff
adc eax, 0
pop ecx
pop ecx
and edi, 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], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], eax
mov esi, 0x49b5dc
mov dword [ebp - 0x1c], ecx
push esi
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 0x45584b
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x455d4b
mov dword [ebp - 8], ebx
jmp 0x455d5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x455d58
xor eax, eax
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp + 8], ebx
je 0x455d85
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp + 0xc], 0x270f
cmp dword [ebp - 0x24], ebx
je 0x455d85
push ebx
call edi
dec dword [ebp + 0xc]
jns 0x455d6d
jmp 0x455d80
push 1
call edi
cmp dword [ebp - 0x24], ebx
jne 0x455d7c
push str.__LastTID
push dword [ebp - 0x20]
push dword [ebp - 4]
call fcn.004300d6
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 8], ebx
je 0x455dad
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x455dd8
cmp dword [ebp + 8], ebx
je 0x455dd8
push dword [ebp - 0x20]
lea eax, [ebp - 0x6c]
push str.__ncd__d
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.00420432
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.00428a48
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8