Function at 0x403990
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x43b310
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44e5f0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00414d67
call fcn.0041725a
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x60]
lea ecx, [edi + 0x4dc]
test edx, edx
jne 0x4039d7
xor eax, eax
jmp 0x4039ef
mov eax, edx
lea ebx, [eax + 2]
lea esp, [esp]
mov si, word [eax]
add eax, 2
test si, si
jne 0x4039e0
sub eax, ebx
sar eax, 1
push eax
push edx
call fcn.00401750
mov eax, dword [edi + 0x74]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [edi + 0x20]
push 1
push 0x80
push eax
call ebp
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x20]
push eax
push 0
push 0x80
push ecx
call ebp
mov edx, dword [0x4529cc]
mov eax, dword [edx + 0xa8]
sub eax, 0x10
push eax
call fcn.00402980
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
push 0x4439f0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x38], 0
call fcn.00404d10
add esp, 0x10
mov byte [esp + 0x28], 1
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.00411f84
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403a8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
mov ecx, edi
call fcn.00415b99
mov edx, dword [edi + 0x46c]
mov eax, dword [edx + 0x13c]
lea esi, [edi + 0x46c]
push 0
push edi
mov ecx, esi
call eax
mov ecx, dword [edi + 0x48c]
push 0
push 1
push 0x401
push ecx
call ebp
push 0
push 0
push 0x4439fc
push 3
mov ecx, edi
call fcn.00411e9a
push eax
mov ecx, esi
call fcn.00415670
push 0
push 0
push 0x443a04
push 2
mov ecx, edi
call fcn.00411e9a
push eax
mov ecx, esi
call fcn.00415670
push 0
push 0
push 0x443a0c
push 0x3f3
mov ecx, edi
call fcn.00411e9a
push eax
mov ecx, esi
call fcn.00415670
push 0
push 0
push 0x443a14
push 1
mov ecx, edi
call fcn.00411e9a
push eax
mov ecx, esi
call fcn.00415670
push 0x443a24
push 0x20
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x15
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, 0x44fa84
call fcn.00417dcd
push 0x3f1
mov ecx, edi
call fcn.00411e9a
mov edx, dword [0x44fa88]
mov eax, dword [eax + 0x20]
push 1
push edx
push 0x30
push eax
call ebp
push edi
push 1
lea ecx, [edi + 0x78]
call fcn.004181dd
push edi
push 2
lea ecx, [edi + 0xec]
call fcn.004181dd
push edi
push 3
lea ecx, [edi + 0x160]
call fcn.004181dd
push 0x96
lea esi, [edi + 0x394]
push esi
call fcn.004072a0
test eax, eax
je 0x403bbd
call fcn.004071b0
push 0x99
lea esi, [edi + 0x2bc]
push esi
call fcn.004072a0
test eax, eax
je 0x403bd7
call fcn.004071b0
mov ecx, dword [edi + 0x53c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x13c]
push 0
push 0x9e
call eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push edi
push 0x4043c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebx - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403c29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret