Function at 0x41fe20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dab5d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x50bd24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
call fcn.004210d0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x5c], 0x50
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edx, dword [ebp - 0x60]
mov ecx, edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
lea eax, [ecx + 2]
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x68], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fec0
sub ecx, dword [ebp - 0x68]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0041a580
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00420d30
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x41ff33
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ff29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4200da
push edx
push ecx
call fcn.004b4077
add esp, 8
mov edx, dword [ebp - 0x60]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x5c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ff40
sub ecx, dword [ebp - 0x5c]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x6c]
call fcn.0041a580
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x41ff82
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ff66
mov eax, dword [ebp - 0x64]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x54]
call fcn.0041a580
lea ecx, [esi + 0x84]
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x41ffa0
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0041a580
lea ecx, [esi + 0x9c]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x41ffbe
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0041a580
mov eax, dword [ebp + 0x1c]
lea ecx, [esi + 0xcc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x38], eax
cmp ecx, ebx
je 0x41ffe7
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x41ffde
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.00407780
lea ecx, [esi + 0xb4]
cmp ecx, edi
je 0x420004
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x41fffb
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.00407780
lea eax, [ebp - 0x6c]
mov dword [esi + 0xe4], 1
push eax
push 0
push esi
push 0x420780
push 0
push 0
mov dword [ebp - 0x6c], 0
call fcn.004c2a0f
add esp, 0x18
mov dword [esi + 0x30], eax
test eax, eax
jne 0x42004c
push eax
push 1
push 0x65a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 1
jmp 0x42004e
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x420084
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42007a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4200df
push edx
push ecx
call fcn.004b4077
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4200ba
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4200b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4200df
push edx
push ecx
call fcn.004b4077
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b42e4
mov esp, ebp
pop ebp
ret 0x18
call fcn.004b905f
call fcn.004b905f
int3