Function at 0x416e30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c9a0
mov eax, dword fs:[0]
push eax
sub esp, 0x6ec
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push 0x53b0c4
mov dword [ebp - 0x640], eax
mov dword [ebp - 0x638], esi
call fcn.0042a0f0
add esp, 4
push esi
call fcn.00414c20
mov ecx, eax
call fcn.0040e5e0
call fcn.00434ec0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x416fb8
push 0x3e
push str.d:jenkins.jenkinsworkspacemgame_aichat_alchattraymain.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040c1a0
push 3
push 0x53a170
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040c1a0
call fcn.00434ec0
mov edi, eax
lea ecx, [ebp - 0x6f8]
push 0x19
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00407ba0
mov esi, eax
push str.cmd:
push esi
call fcn.00406e80
mov eax, dword [ebp - 0x638]
mov ecx, 0x539c58
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.00406e80
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x6f8]
call fcn.00408e00
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x416f6c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416f62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418120
push edx
push ecx
call fcn.004bdb0a
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x416fb2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416fa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418125
push edx
push ecx
call fcn.004bdb0a
add esp, 8
mov esi, dword [ebp - 0x638]
call fcn.004066f0
mov ecx, eax
test ecx, ecx
je 0x41812a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
lea ecx, [ebp - 0x644]
push str.http:__s.52toolbox.com_chat_pidpidtypetypeactionactionappappappverappvermidmidmid2mid2modvermodver
mov dword [ebp - 0x644], eax
call fcn.00406300
test al, al
jne 0x416ffb
push str.http:__s.52toolbox.com_chat_pidpidtypetypeactionactionappappappverappvermidmidmid2mid2modvermodver
lea ecx, [ebp - 0x644]
call fcn.00405e30
push ecx
lea eax, [ebp - 0x644]
mov dword [ebp - 0x50], 0
mov ecx, esp
push eax
call fcn.00413d40
lea eax, [ebp - 0x50]
push eax
call fcn.004207c0
add esp, 8
push dword [ebp - 0x50]
push str.operate
push 0
call fcn.00412000
mov ecx, eax
call fcn.00435c50
push str.GlobalB67FC5DB_BB19_4751_98BC_145F5EDDEC0E
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x648], edi
test edi, edi
je 0x4172f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4172f8
push 0
push 0
push 0x53a740
push str.pkg_b_mutex_exist
call fcn.0042ac30
mov ecx, esi
mov dword [ebp - 0x18], 0
add esp, 0x10
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417092
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040c2a0
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
lea eax, [ebp - 0x6e0]
cmovae edi, dword [ebp - 0x28]
mov dword [ebp - 0x6e4], eax
test edi, edi
jne 0x4170d3
xor edx, edx
mov dword [ebp - 0x6e4], edx
jmp 0x4171b9
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4170e0
sub ecx, edx
sar ecx, 1
push 0x80
lea eax, [ecx + 1]
lea esi, [eax*4]
mov dword [ebp - 0x640], eax
lea eax, [ebp - 0x6e0]
push eax
lea eax, [ebp - 0x6e4]
push esi
push eax
call fcn.00413ca0
add esp, 0x10
push 0
push 0
push esi
push dword [ebp - 0x6e4]
mov esi, dword [ebp - 0x640]
push esi
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x48], ecx
test eax, eax
jne 0x4171ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4171a8
push 0
push 0
push 0
push 0
push esi
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea eax, [ebp - 0x6e0]
push 0x80
push eax
lea eax, [ebp - 0x6e4]
push esi
push eax
call fcn.00413ca0
add esp, 0x10
push 0
push 0
push esi
push dword [ebp - 0x6e4]
push dword [ebp - 0x640]
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x4171ab
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x418134
mov edx, dword [ebp - 0x6e4]
mov ecx, edx
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4171e0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xc0]
call fcn.0040c1a0
mov eax, dword [ebp - 0x6e4]
lea ecx, [ebp - 0x6e0]
cmp eax, ecx
je 0x41720f
push eax
call fcn.005048e6
add esp, 4
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x68]
push str.downloadWeb:
push eax
call fcn.00413ad0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0xc0]
cmp eax, esi
je 0x417262
mov ecx, eax
call fcn.00408670
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x68]
call fcn.00408670
mov eax, dword [ebp - 0x638]
push eax
call fcn.00414c20
mov ecx, eax
call fcn.0040e5e0
push 7
xor eax, eax
mov dword [ebp - 0x30], 0
push str.autorun
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0040c2a0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00414c20
mov ecx, eax
call fcn.0040e1b0
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.004086c0
test esi, esi
jne 0x4172cf
lea eax, [ebp - 0xc0]
push eax
call fcn.004134d0
add esp, 4
push dword [ebp - 0x648]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xc0]
call fcn.00408670
lea ecx, [ebp - 0x28]
call fcn.004086c0
mov esi, 1
jmp 0x4180c9
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x4173cb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00434ec0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4173b5
push 0x3e
push str.d:jenkins.jenkinsworkspacemgame_aichat_alchattraymain.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040c1a0
push 3
push 0x53a170
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c1a0
call fcn.00434ec0
mov edi, eax
lea ecx, [ebp - 0x6f8]
push 0x34
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00407ba0
mov esi, eax
push str.will_adjust_privilege
push esi
call fcn.00406e80
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x6f8]
call fcn.00408e00
lea ecx, [ebp - 0x28]
call fcn.00408670
lea ecx, [ebp - 0x40]
call fcn.00408670
mov eax, dword [ebp - 0x638]
push eax
call fcn.00428ee0
add esp, 4
xor esi, esi
jmp 0x4180c9
call fcn.00434ec0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x417473
push 0x3e
push str.d:jenkins.jenkinsworkspacemgame_aichat_alchattraymain.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040c1a0
push 3
push 0x53a170
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c1a0
call fcn.00434ec0
mov edi, eax
lea ecx, [ebp - 0x6f8]
push 0x3a
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00407ba0
mov esi, eax
push str.run_in_admin
push esi
call fcn.00406e80
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x6f8]
call fcn.00408e00
lea ecx, [ebp - 0x28]
call fcn.00408670
lea ecx, [ebp - 0x40]
call fcn.00408670
push 0
push str.chattray
lea ecx, [ebp - 0x41]
call fcn.0040f8f0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 8
push eax
mov dword [ebp - 0x48], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [ebp - 0x640]
mov ecx, 0x583cd0
push 0
call fcn.00414df0
push 4
call fcn.004bddf4
mov esi, eax
add esp, 4
test esi, esi
je 0x4174dc
mov dword [esi], 0x4110d0
jmp 0x4174de
xor esi, esi
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
call fcn.00413dd0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x3c], 0x53b458
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], esi
call fcn.00416cc0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41751c
push 4
push eax
call fcn.004bdb0a
add esp, 8
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
push esi
mov dword [ebp - 4], 0
call fcn.0042cfd1
add esp, 4
test eax, eax
je 0x41753f
push eax
call fcn.0042d3ec
add esp, 4
push esi
call fcn.0042cf15
push edi
call fcn.0042d23c
push dword [ebp - 0x640]
mov dword [ebp - 4], 0xffffffff
call fcn.00454ae0
push 0x84
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.00501330
lea eax, [ebp - 0x148]
push eax
call fcn.00450560
add esp, 0x1c
lea ecx, [ebp - 0x148]
push str.skin
call fcn.0044d4c0
lea ecx, [ebp - 0x148]
call fcn.00419000
push eax
call fcn.00454d60
push 1
push str.chattray.zip
call fcn.00454e20
add esp, 0xc
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x28]
mov word [ebp - 0x40], ax
mov dword [ebp - 0x18], eax
push 4
push 0x53b378
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040c2a0
mov ecx, dword [0x583d0c]
test ecx, ecx
jne 0x417644
push 0x57d118
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x583d0c], 0
jne 0x417633
push 0x34
call fcn.004bddf4
mov esi, eax
add esp, 4
test esi, esi
je 0x417624
push 0x34
push 0
push esi
call fcn.00501330
add esp, 0xc
mov ecx, esi
call fcn.0040de20
jmp 0x417626
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x48]
lock or dword [ecx], edx
mov dword [0x583d0c], eax
push 0x57d118
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x583d0c]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040e1a0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41768b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417681
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418153
push edx
push ecx
call fcn.004bdb0a
add esp, 8
mov edi, dword [ebp - 0x2c]
lea esi, [ebp - 0x40]
mov eax, dword [ebp - 0x40]
cmp edi, 8
mov ecx, dword [ebp - 0x30]
cmovae esi, eax
cmp ecx, 4
jne 0x4176c9
mov edx, ecx
mov ecx, str.task
sub esi, ecx
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4176c3
add ecx, 2
sub edx, 1
jne 0x4176b0
jmp 0x41770c
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmp edi, 8
lea esi, [ebp - 0x40]
cmovae esi, eax
cmp ecx, 3
jne 0x4176f3
mov edx, ecx
mov ecx, 0x53b390
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4176f3
add ecx, 2
sub edx, 1
jne 0x4176e0
jmp 0x41770c
lea eax, [ebp - 0x40]
push 0x53b398
push eax
call fcn.00413a70
add esp, 8
test al, al
je 0x41785f
mov ecx, dword [0x583ca0]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ecx, ecx
jne 0x417769
push 0x57d09c
call edi
cmp dword [0x583ca0], 0
jne 0x417758
push 4
call fcn.004bddf4
add esp, 4
test eax, eax
je 0x417749
mov ecx, eax
mov dword [eax], 0
call fcn.0040e990
jmp 0x41774b
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x48]
lock or dword [ecx], edx
mov dword [0x583ca0], eax
push 0x57d09c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x583ca0]
call fcn.0040ea80
test eax, eax
jne 0x417865
call fcn.00434ec0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x417830
push 0x3e
push str.d:jenkins.jenkinsworkspacemgame_aichat_alchattraymain.cpp
lea ecx, [ebp - 0x660]
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x64c], 0xf
mov byte [ebp - 0x660], al
call fcn.0040c1a0
push 3
push 0x53a170
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c1a0
call fcn.00434ec0
mov edi, eax
lea ecx, [ebp - 0x6f8]
push 0x60
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00407ba0
mov esi, eax
push str.user_do_not_autorun__exit
push esi
call fcn.00406e80
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x6f8]
call fcn.00408e00
lea ecx, [ebp - 0x28]
call fcn.00408670
lea ecx, [ebp - 0x660]
call fcn.00408670
push 0
push str.autoitem
push 1
push 0
push str.autooff
call fcn.00412000
mov ecx, eax
call fcn.00435c70
lea ecx, [ebp - 0x40]
call fcn.004086c0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x417fa7
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x638]
push eax
call fcn.004299d0
add esp, 4
test eax, eax
jne 0x417949
call fcn.00434ec0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x417936
push 0x3e
push str.d:jenkins.jenkinsworkspacemgame_aichat_alchattraymain.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040c1a0
push 3
push 0x53a170
lea ecx, [ebp - 0x660]
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x64c], 0xf
mov byte [ebp - 0x660], 0
call fcn.0040c1a0
call fcn.00434ec0
mov edi, eax
lea ecx, [ebp - 0x6f8]
push 0x67
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x660]
push eax
call fcn.00407ba0
mov esi, eax
push str.CheckEnableAutoRun_False__exit
push esi
call fcn.00406e80
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x6f8]
call fcn.00408e00
lea ecx, [ebp - 0x660]
call fcn.00408670
lea ecx, [ebp - 0x28]
call fcn.00408670
lea ecx, [ebp - 0x40]
call fcn.004086c0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x417fa7
call fcn.00414cd0
mov ecx, eax
call fcn.00427aa0
test eax, eax
je 0x417c1f
xor eax, eax
mov dword [ebp - 0x58], 0
push 4
push 0x53b378
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040c2a0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00414c20
mov ecx, eax
call fcn.0040e1a0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4179dc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4179d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418158
push edx
push ecx
call fcn.004bdb0a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x660]
push eax
mov dword [ebp - 0x14], 7
call fcn.00414c20
mov ecx, eax
call fcn.0040e180
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x417a0d
mov esi, dword [esi]
call fcn.004066f0
mov ecx, eax
test ecx, ecx
je 0x41815d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
lea ecx, [ebp - 0x638]
push esi
mov dword [ebp - 0x638], eax
call fcn.00406300
test al, al
jne 0x417a48
push esi
lea ecx, [ebp - 0x638]
call fcn.00405e30
mov edx, dword [ebp - 0x64c]
cmp edx, 8
jb 0x417a88
mov ecx, dword [ebp - 0x660]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417a7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418167
push edx
push ecx
call fcn.004bdb0a
add esp, 8
mov esi, dword [ebp - 0x638]
xor eax, eax
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x64c], 7
mov word [ebp - 0x660], ax
cmp dword [esi - 4], 1
jle 0x417ac5
push dword [esi - 0xc]
lea ecx, [ebp - 0x638]
call fcn.00406570
mov esi, dword [ebp - 0x638]
push esi
call fcn.00414cd0
mov ecx, eax
call fcn.00428140
call fcn.00414cd0
mov ecx, eax
call fcn.00427d00
test eax, eax
setne byte [ebp - 0x639]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417aff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x417b39
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417b2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41816c
push edx
push ecx
call fcn.004bdb0a
add esp, 8
cmp byte [ebp - 0x639], 0
je 0x417c1f
call fcn.00434ec0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x417c00
push 0x3e
push str.d:jenkins.jenkinsworkspacemgame_aichat_alchattraymain.cpp
lea ecx, [ebp - 0x660]
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x64c], 0xf
mov byte [ebp - 0x660], al
call fcn.0040c1a0
push 3
push 0x53a170
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.0040c1a0
call fcn.00434ec0
mov edi, eax
lea ecx, [ebp - 0x6f8]
push 0x6d
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00407ba0
mov esi, eax
push str.update__exit
push esi
call fcn.00406e80
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x6f8]
call fcn.00408e00
lea ecx, [ebp - 0x68]
call fcn.00408670
lea ecx, [ebp - 0x660]
call fcn.00408670
push dword [ebp - 0x648]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.004086c0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x417fa7
mov eax, dword [0x5835f4]
xorps xmm0, xmm0
add eax, 0x10
movlpd qword [ebp - 0x8c], xmm0
push eax
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0xa8], 0x53b0bc
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x48], eax
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x583d04]
xor edx, edx
push 4
mov edi, eax
mov ecx, dword [esi + 8]
add ecx, 1
setb dl
neg edx
or edx, ecx
push edx
push dword [esi]
call fcn.005081d3
add esp, 0xc
test eax, eax
je 0x417ce9
mov dword [esi], eax
xor ecx, ecx
mov eax, dword [esi + 8]
add eax, 1
push 4
setb cl
neg ecx
or ecx, eax
push ecx
push dword [esi + 4]
call fcn.005081d3
add esp, 0xc
test eax, eax
je 0x417ce9
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x417cda
mov dword [ecx], edi
mov eax, dword [esi + 4]
add eax, edx
je 0x417ce6
lea ecx, [ebp - 0xa8]
mov dword [eax], ecx
inc dword [esi + 8]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x4ec
lea eax, [ebp - 0x634]
push 0
push eax
call fcn.00501330
add esp, 0xc
lea ecx, [ebp - 0x634]
call fcn.00421210
lea ecx, [ebp - 0x634]
call fcn.00421c60
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edx, 1
mov dword [ebp - 0x638], edx
xor esi, esi
test edx, edx
je 0x417d67
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
call edi
test eax, eax
jne 0x417d67
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa8]
push esi
mov eax, dword [eax + 4]
call eax
inc esi
test eax, eax
jne 0x417d35
mov dword [ebp - 0x638], eax
push 0
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov edx, dword [ebp - 0x638]
cmp eax, 0xffffffff
je 0x417d31
test eax, eax
je 0x417e15
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa8]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x417dc2
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x88]
cmp eax, 0x118
ja 0x417ddd
je 0x417dff
cmp eax, 0xf
je 0x417dff
cmp eax, 0xa0
jmp 0x417de2
cmp eax, 0x200
je 0x417dff
mov ecx, 1
xor eax, eax
test ecx, ecx
mov edx, ecx
mov dword [ebp - 0x638], edx
cmove eax, esi
mov esi, eax
jmp 0x417d31
mov edx, dword [ebp - 0x638]
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x417d31
mov eax, dword [0x5835f4]
add eax, 0x10
push eax
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [0x583d04]
xor esi, esi
mov ecx, eax
mov edx, dword [edi + 8]
test edx, edx
jle 0x417ef5
mov eax, dword [edi]
cmp dword [eax], ecx
je 0x417e55
inc esi
add eax, 4
cmp esi, edx
jl 0x417e44
jmp 0x417ef5
cmp esi, 0xffffffff
je 0x417ef5
test esi, esi
js 0x417ef5
cmp esi, edx
jge 0x417ef5
lea eax, [edx - 1]
cmp esi, eax
je 0x417eb1
mov eax, dword [edi]
sub edx, esi
shl edx, 2
lea ecx, [eax + esi*4]
lea eax, [edx - 4]
push eax
lea eax, [ecx + 4]
push eax
push edx
push ecx
call fcn.00416db0
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
sub edx, esi
shl edx, 2
lea ecx, [eax + esi*4]
lea eax, [edx - 4]
push eax
lea eax, [ecx + 4]
push eax
push edx
push ecx
call fcn.00416db0
mov edx, dword [edi + 8]
add esp, 0x20
push 4
lea eax, [edx - 1]
push eax
push dword [edi]
call fcn.005081d3
mov ecx, eax
add esp, 0xc
mov eax, dword [edi + 8]
test ecx, ecx
jne 0x417ecf
cmp eax, 1
jne 0x417ed1
mov dword [edi], ecx
push 4
dec eax
push eax
push dword [edi + 4]
call fcn.005081d3
mov ecx, eax
add esp, 0xc
mov eax, dword [edi + 8]
test ecx, ecx
jne 0x417eee
cmp eax, 1
jne 0x417ef1
mov dword [edi + 4], ecx
dec eax
mov dword [edi + 8], eax
push dword [ebp - 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call edi
lea ecx, [ebp - 0x634]
call fcn.00421650
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x417f28
push eax
call fcn.005048e6
add esp, 4
mov dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
test eax, eax
je 0x417f59
push eax
call fcn.005048e6
add esp, 4
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
cmp edx, 8
jb 0x417fa7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417f9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418171
push edx
push ecx
call fcn.004bdb0a
add esp, 8
cmp dword [0x583d0c], 0
je 0x417fdc
push 0x57d118
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x583d0c]
test ecx, ecx
je 0x417fd5
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x583d0c], 0
push 0x57d118
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x583c9c]
test ecx, ecx
jne 0x41803c
push 0x57d064
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x583c9c], 0
jne 0x41802f
push 4
call fcn.004bddf4
add esp, 4
test eax, eax
je 0x41801d
mov ecx, eax
mov dword [eax], 0
call fcn.00435b60
jmp 0x41801f
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0xc4]
lock or dword [ecx], edx
mov dword [0x583c9c], eax
push 0x57d064
call edi
mov ecx, dword [0x583c9c]
call fcn.00435c40
test eax, eax
jle 0x41804b
push 0x64
call esi
jmp 0x417fe2
cmp dword [ebp - 0x6c], 0
je 0x418059
lea ecx, [ebp - 0x70]
call fcn.00416d20
call fcn.00412000
cmp dword [0x583c9c], 0
je 0x41809f
push 0x57d064
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x583c9c]
test esi, esi
je 0x418098
mov ecx, esi
call fcn.00435be0
push 4
push esi
call fcn.004bdb0a
add esp, 8
mov dword [0x583c9c], 0
push 0x57d064
call edi
push dword [ebp - 0x648]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x148]
xor esi, esi
call fcn.0041dc30
cmp dword [ebp - 0x6c], esi
jne 0x418176
lea ecx, [ebp - 0x41]
call fcn.00406dc0
mov edx, dword [ebp - 0x50]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4180e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x644]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x418101
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret 0x10
call fcn.00504809
call fcn.00504809
push 0x80004005
call fcn.004062e0
push 0x80
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x6e4]
call fcn.00413d20
add esp, 0xc
call fcn.004148c0
call fcn.00504809
call fcn.00504809
push 0x80004005
call fcn.004062e0
call fcn.00504809
call fcn.00504809
call fcn.00504809
call fcn.00507b72
int3