Function at 0x41be56
Capabilities:
Create thread

Disassembly:
push 0x20
mov eax, 0x4a42da
call fcn.00481d3a
mov edi, ecx
xor ebx, ebx
mov eax, edi
mov dword [ebp - 0x20], ebx
call fcn.00415a7f
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 0x18], ecx
jne 0x41be80
xor eax, eax
jmp 0x41c232
mov eax, dword [ebp + 8]
sub eax, ebx
je 0x41c1d3
sub eax, 4
je 0x41c0f8
dec eax
jne 0x41be79
push ebx
call fcn.00423b4b
push dword [edi + 0x258]
mov esi, 0x4ef184
push 0x59
push esi
call fcn.0042a517
add esp, 0xc
cmp dword [edi + 0x288], ebx
lea eax, [edi + 0x12c]
je 0x41bec9
push dword [edi + 0x260]
jmp 0x41becf
push dword [edi + 0x264]
call fcn.00421a64
mov ecx, dword [ebp - 0x18]
push 1
call fcn.00423b4b
cmp dword [edi + 0x288], ebx
jne 0x41bef0
call fcn.0041c23a
jmp 0x41c22f
cmp dword [0x4eef64], ebx
mov edx, 0x4efdd8
jne 0x41bf05
cmp dword [0x4eef68], ebx
je 0x41bf78
mov eax, edx
call fcn.00405a25
test eax, eax
je 0x41bf78
cmp dword [0x4efe80], ebx
je 0x41bf20
cmp dword [0x4ee060], ebx
jne 0x41bf78
call fcn.0045db7e
push eax
lea ecx, [ebp + 8]
call fcn.0040161b
push 0x2b
push esi
mov dword [ebp - 4], 3
call fcn.0042a4c4
lea eax, [ebp + 8]
push eax
call fcn.004125a4
pop ecx
lea eax, [ebp + 8]
push eax
push esi
call fcn.0042a460
mov eax, edi
call fcn.00415a7f
push ebx
push ebx
push 0x41f
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401325
jmp 0x41c22f
cmp dword [0x4ef86c], ebx
jne 0x41c0c3
mov eax, edx
call fcn.00405a25
test eax, eax
jne 0x41c0e3
lea eax, [ebp - 0x24]
push eax
push str.AutoUpdateSolution
push 4
xor eax, eax
xor ecx, ecx
call fcn.00435ddd
cmp dword [0x4eef64], ebx
je 0x41c06f
cmp eax, 1
jne 0x41c06f
push ebx
mov eax, edi
call fcn.00415a7f
mov ecx, eax
call fcn.00468936
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x10]
call fcn.0040161b
push 0x52
mov dword [ebp - 4], 4
mov eax, dword [0x4ee7f4]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0xc]
push 0x27
push 1
push 4
lea ecx, [ebp - 0x10]
call fcn.0042a68d
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41c051
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x14]
call fcn.0040161b
push 0x8004
mov byte [ebp - 4], 5
mov eax, dword [0x4ee7f4]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0xc]
push 4
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [ebp - 0x24], eax
call fcn.00401325
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x41c095
cmp eax, 1
je 0x41c095
cmp eax, 7
je 0x41c095
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401325
push edi
call fcn.0041cab5
test eax, eax
je 0x41c226
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push 0x420d0e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x41c1bc
push 0x514
push esi
call fcn.0042a4c4
mov ecx, dword [ebp - 0x18]
push ebx
mov dword [0x4efc7c], 1
call fcn.00424149
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401325
jmp 0x41be79
call fcn.0041cd0a
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push 0x420d0e
push ebx
push ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x41c226
push ebx
push ebx
push 0xc04
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x41c226
call fcn.00428e38
mov esi, 0x4ed5e8
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401640
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.0042e810
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401325
call fcn.00428e69
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401640
push str.index.dat
push eax
xor esi, esi
lea eax, [ebp - 0x28]
inc esi
push eax
mov dword [ebp - 4], esi
call fcn.00402dca
add esp, 0xc
push eax
lea ecx, [edi + 0x258]
mov byte [ebp - 4], 2
call fcn.004015ba
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401325
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401325
push str.42FFA15F_82D1_4c4d_B042_E4BBAFFDE9FC
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
call esi
push str.771E5C27_5B57_4575_8AEC_28EBCD488CE0
push 1
push 1
mov dword [edi + 0x4d8], eax
push ebx
mov dword [0x4efe2c], eax
call esi
mov dword [edi + 0x4dc], eax
mov dword [0x4efe94], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push 0x41e3d5
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x28c], eax
cmp dword [0x4eef64], ebx
je 0x41c226
cmp eax, ebx
je 0x41c226
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
jmp 0x41c226
cmp dword [edi + 0x26c], ebx
jg 0x41c1ec
push dword [edi + 0x25c]
lea eax, [edi + 0x12c]
call fcn.00421a64
lea esi, [edi + 0x1d4]
push ebx
mov dword [esi + 0x5c], 0x64
mov dword [esi + 0x60], ebx
call fcn.00418a42
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x170
push dword [edi + 0xf8]
call esi
push ebx
push ebx
push 0x170
push dword [edi + 0x14c]
call esi
mov eax, dword [ebp + 8]
mov dword [edi + 0x254], eax
xor eax, eax
inc eax
call fcn.00481e12
ret 4