Function at 0x414b10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4df1f5
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x518caa
call fcn.004dd464
cmp dword [edi + 0x78c], 0
jg 0x414b59
jl 0x414ce8
cmp dword [edi + 0x788], 0x128c5680
jbe 0x414ce8
push 0x18
call fcn.004b052b
add esp, 4
mov ebx, eax
mov dword [ebp - 4], 2
call fcn.00402970
mov ecx, eax
test ecx, ecx
je 0x414d75
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 1
mov dword [ebx + 0x14], 1
lea esi, [eax - 0x10]
mov edx, dword [edi + 0x780]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x414bf8
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x414bec
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x414bec
call fcn.00406660
mov dword [ebp - 0x18], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414be4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx + 4], eax
jmp 0x414bf8
push dword [ecx + 4]
lea ecx, [ebx + 4]
push edx
call fcn.00406740
mov ecx, edi
call fcn.0046b41b
mov dword [ebx], eax
mov ecx, dword [edi + 0x7d4]
call fcn.00467675
lea ecx, [ebx + 0xc]
test al, al
je 0x414c1a
mov eax, 1
jmp 0x414c1c
xor eax, eax
mov dword [ecx], eax
mov ecx, dword [edi + 0x7d8]
call fcn.00467675
lea esi, [ebx + 0x10]
mov ecx, esi
test al, al
je 0x414c39
mov eax, 1
jmp 0x414c3b
xor eax, eax
mov dword [ecx], eax
mov ecx, dword [edi + 0x7dc]
call fcn.00467675
xor ecx, ecx
test al, al
setne cl
mov dword [ebx + 0x14], ecx
cmp byte [edi + 0x772], 0
je 0x414c7f
movzx eax, byte [edi + 0x773]
mov dword [ebx + 0xc], eax
mov eax, ecx
xor ecx, ecx
cmp byte [edi + 0x774], cl
cmovne eax, ecx
mov dword [ebx + 0x14], eax
cmp byte [edi + 0x775], cl
je 0x414c7f
mov dword [esi], ecx
mov esi, dword [edi + 0x76c]
push 8
call fcn.004b052b
mov dword [ebp - 0x18], eax
mov dword [eax], ebx
mov dword [eax + 4], esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 3
push ecx
push 0
push eax
push 0x40c5c0
push 0
push 0
call fcn.004bd8d8
add esp, 0x1c
mov dword [ebp - 0x14], eax
test eax, eax
je 0x414d84
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 4
call fcn.00409b50
cmp dword [ebp - 0x10], 0
jne 0x414d7f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0x76c]
call fcn.00416070
sub esp, 0x18
mov esi, eax
mov ecx, esp
push 0x506a1c
call fcn.004024b0
mov ecx, esi
call fcn.0040a800
lea ecx, [ebp - 0x10]
call fcn.00406420
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x780]
push eax
call fcn.00405a70
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push 0x506a20
push eax
call fcn.00406a20
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00403110
lea ecx, [ebp - 0x10]
call fcn.00406480
mov ecx, edi
mov esi, eax
call fcn.0046b41b
push 0x40
push 0x506a74
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call fcn.004beb0b
push 0x80004005
call fcn.004027e0
call fcn.004bd969
push 6
mov dword [ebp - 0x10], 0
call fcn.004b1cef
int3