Function at 0x40d719
Capabilities:
Check if file exists
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd20
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xc8c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x8007
mov dword [ebp - 0xc98], ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x40d6d6
mov dword [0x5d0fd4], esi
mov dword [0x5d0fcc], esi
call fcn.00523768
lea eax, [ebp - 0xca8]
mov dword [ebp - 0xca8], edi
push eax
push str.debug_modle
push str.Software360360se6chromehuabao
push 0x80000001
call fcn.00437ddf
xor ecx, ecx
add esp, 0x14
inc ecx
test eax, eax
je 0x40d7b2
cmp dword [ebp - 0xca8], ecx
jne 0x40d7b2
mov dword [0x5d0fd8], ecx
mov ecx, dword [0x5e6548]
call fcn.0040b856
jmp 0x40d7b8
mov dword [0x5d0fd8], edi
push fcn.0043bf37
push esi
call fcn.0043c4ab
pop ecx
pop ecx
call fcn.00432618
mov ecx, eax
call fcn.004330d1
xor eax, eax
mov ecx, 0x5d0fdc
push eax
push esi
push eax
call fcn.0040b751
call fcn.0043c78c
push fcn.0043814f
push esi
call fcn.0043c4ab
lea eax, [ebp - 0xcac]
xor edi, edi
push eax
push str.enable
push str.Software360360se6chromehuabao
push 0x80000001
mov dword [ebp - 0xcac], edi
call fcn.00437ddf
add esp, 0x18
call fcn.00423dfe
mov esi, str.__type
test eax, eax
je 0x40d840
xor eax, eax
inc eax
cmp dword [ebp - 0xcac], eax
je 0x40d840
push esi
push ebx
call fcn.00521250
pop ecx
pop ecx
test eax, eax
je 0x40e4c0
call fcn.00423dfe
test eax, eax
jne 0x40d87b
call fcn.0040ba9b
test al, al
je 0x40d87b
push esi
push ebx
call fcn.00521250
pop ecx
pop ecx
test eax, eax
jne 0x40d87b
push 0x17d
push str.WinMain
push str.__s__d___360ScreenSaver_exist
call fcn.00402cc1
add esp, 0xc
jmp 0x40e4c0
call fcn.0040b337
test eax, eax
jne 0x40d89c
push 0x40
push 0x558b34
push 0x558ab8
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40e4c0
test ebx, ebx
je 0x40d8b2
push ebx
call fcn.00524dd0
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x40d8b6
mov eax, edi
jmp 0x40d8ca
lea eax, [esi + esi]
call fcn.0051dc40
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040b178
push edi
push str._crash:
push eax
call fcn.004374b9
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40d97d
push 0x20a
xor esi, esi
lea eax, [ebp - 0x418]
push esi
push eax
call fcn.00520800
add esp, 0xc
test ebx, ebx
je 0x40d910
push ebx
call fcn.00524dd0
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x40d916
xor ebx, ebx
mov eax, ebx
jmp 0x40d92c
lea eax, [esi + esi]
call fcn.0051dc40
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040b178
xor ebx, ebx
push 0x104
lea ecx, [ebp - 0x418]
push ecx
push str._crashcfg:
push eax
call fcn.00437434
add esp, 0x10
test eax, eax
je 0x40e4c0
push ebx
lea eax, [ebp - 0x418]
mov ecx, 0x5d4b28
push eax
push edi
call fcn.0041c898
cmp dword [0x5e6c64], 0
jne 0x40e4c0
mov ecx, 0x5d4898
call fcn.00419f1c
jmp 0x40e4c0
push ebx
lea ecx, [ebp - 0xc48]
call fcn.00401b1b
lea eax, [ebp - 0xc48]
push eax
call fcn.00430a74
pop ecx
lea ecx, [ebp - 0xc48]
call fcn.004036ba
call fcn.00429306
push 0x558fb8
call fcn.0042931d
xor eax, eax
inc eax
mov byte [ebp - 0xc79], al
pop ecx
test ebx, ebx
jne 0x40d9c9
xor esi, esi
mov edi, 0x3fffffff
mov eax, esi
jmp 0x40d9f8
push ebx
call fcn.00524dd0
mov edi, 0x3fffffff
pop ecx
lea esi, [eax + 1]
cmp esi, edi
jle 0x40d9e2
xor esi, esi
mov eax, esi
jmp 0x40d9f8
lea eax, [esi + esi]
call fcn.0051dc40
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040b178
xor esi, esi
push eax
lea ecx, [ebp - 0xc30]
call fcn.00401b4a
lea eax, [ebp - 0xc9c]
mov dword [ebp - 0xc9c], esi
push eax
push str.multienable
push str.Software360360se6chromehuabao
push 0x80000001
call fcn.00437ddf
xor ecx, ecx
xor eax, eax
inc ecx
movzx eax, al
cmp dword [ebp - 0xc9c], ecx
cmove eax, ecx
mov byte [ebp - 0xc88], al
push dword [ebp - 0xc88]
call fcn.0040caa9
add esp, 0x14
test eax, eax
jne 0x40da6e
mov byte [ebp - 0xc79], al
call fcn.0040cb62
test eax, eax
je 0x40da85
push 0x1a8
push str.WinMain
push str.__s__d___set_high_dpi_ok__r_n
jmp 0x40da7d
push 0x1ad
push str.WinMain
push str.__s__d___set_SetMytProcessDpiAwareness_ok__r_n
call fcn.00402cc1
add esp, 0xc
test ebx, ebx
je 0x40da97
push ebx
call fcn.00524dd0
pop ecx
lea esi, [eax + 1]
cmp esi, edi
jle 0x40da9b
xor eax, eax
jmp 0x40daaf
lea eax, [esi + esi]
call fcn.0051dc40
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040b178
push 0x559074
push eax
call fcn.005214b3
pop ecx
pop ecx
test eax, eax
je 0x40daca
call fcn.0040b911
jmp 0x40dc52
push str.__type
push ebx
call fcn.00521250
pop ecx
pop ecx
test eax, eax
je 0x40dc62
xor eax, eax
push 0x208
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00520800
push 8
pop edi
cmp dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0x418]
push 0x103
push ecx
lea eax, [ebp - 0xc30]
cmovae eax, dword [ebp - 0xc30]
push str.__main_ver
push eax
call fcn.00437434
add esp, 0x1c
mov ebx, str.chrome_child.dll
sub esp, 0x18
mov ecx, esp
push ebx
test eax, eax
je 0x40dbc3
call fcn.00401b4a
sub esp, 0x18
lea eax, [ebp - 0x418]
mov ecx, esp
push eax
call fcn.00401b4a
lea eax, [ebp - 0xc48]
push eax
call fcn.0042121a
add esp, 0x34
cmp dword [eax + 0x14], edi
jb 0x40db62
mov eax, dword [eax]
push eax
call fcn.0043bf37
pop ecx
lea ecx, [ebp - 0xc48]
mov esi, eax
call fcn.004036e0
test esi, esi
je 0x40dc52
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00401b4a
sub esp, 0x18
lea eax, [ebp - 0x418]
mov ecx, esp
push eax
call fcn.00401b4a
lea eax, [ebp - 0xc48]
push eax
call fcn.0042121a
add esp, 0x34
cmp dword [eax + 0x14], edi
jb 0x40dbb0
mov eax, dword [eax]
push edi
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea ecx, [ebp - 0xc48]
jmp 0x40dc28
call fcn.00401b4a
lea eax, [ebp - 0xc48]
push eax
call fcn.00420f54
add esp, 0x1c
cmp dword [eax + 0x14], edi
jb 0x40dbde
mov eax, dword [eax]
push eax
call fcn.0043bf37
pop ecx
lea ecx, [ebp - 0xc48]
mov esi, eax
call fcn.004036e0
test esi, esi
je 0x40dc52
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00401b4a
lea eax, [ebp - 0xc60]
push eax
call fcn.00420f54
add esp, 0x1c
cmp dword [eax + 0x14], edi
jb 0x40dc17
mov eax, dword [eax]
push edi
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea ecx, [ebp - 0xc60]
mov esi, eax
call fcn.004036e0
test esi, esi
je 0x40dc52
push str.ChromeShell
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40dc52
push 0x5d10a0
push dword [0x5d0fd4]
call eax
pop ecx
pop ecx
lea ecx, [ebp - 0xc30]
call fcn.004036e0
jmp 0x40e4e7
test ebx, ebx
je 0x40dc74
push ebx
call fcn.00524dd0
pop ecx
lea esi, [eax + 1]
cmp esi, edi
jle 0x40dc78
xor eax, eax
jmp 0x40dc8c
lea eax, [esi + esi]
call fcn.0051dc40
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040b178
push 0x557f40
push eax
call fcn.005214b3
push 8
pop edi
cmp dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0xc30]
mov esi, eax
cmovae ecx, dword [ebp - 0xc30]
xor eax, eax
push eax
push 0x5590b8
push ecx
call fcn.004374b9
cmp dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0xc30]
mov dword [ebp - 0xc88], eax
cmovae ecx, dword [ebp - 0xc30]
xor eax, eax
push eax
push 0x5590c0
push ecx
call fcn.004374b9
add esp, 0x20
mov dword [ebp - 0xca0], eax
test esi, esi
je 0x40dedf
xor eax, eax
push eax
mov dword [ebp - 0xc54], eax
mov dword [ebp - 0xc50], eax
mov dword [ebp - 0xc4c], eax
lea eax, [ebp - 0xc54]
push eax
call fcn.0040b63a
mov ecx, eax
call fcn.004364e1
mov eax, dword [ebp - 0xc50]
sub eax, dword [ebp - 0xc54]
push 0x6c
pop ecx
cdq
idiv ecx
push dword [ebp - 0xc9c]
mov esi, eax
call fcn.00437b8c
push eax
push esi
push 0x1e4
push str.WinMain
push str.__s__d___screens_size___d__osversion___d_multienable___d__r_n
call fcn.00402cc1
mov eax, dword [ebp - 0xc50]
add esp, 0x18
sub eax, dword [ebp - 0xc54]
cdq
push 0x6c
pop ecx
idiv ecx
cmp eax, 1
jbe 0x40df02
call fcn.00437b8c
cmp eax, 5
je 0x40df02
xor eax, eax
inc eax
cmp dword [ebp - 0xc9c], eax
jne 0x40df02
call fcn.00423dfe
test eax, eax
jne 0x40df02
mov eax, dword [ebp - 0xc54]
mov dword [ebp - 0xc84], eax
cmp eax, dword [ebp - 0xc50]
je 0x40ded4
mov ebx, dword [ebp - 0xc50]
mov esi, eax
lea edi, [ebp - 0xd20]
push 0x1b
pop ecx
xor eax, eax
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0xcfc], 1
push 0x802
setne al
inc eax
mov dword [ebp - 0xc94], eax
xor eax, eax
push eax
lea eax, [ebp - 0xa10]
push eax
call fcn.00520800
mov edi, dword [ebp - 0xd14]
add esp, 0xc
mov eax, dword [ebp - 0xd10]
sub eax, dword [ebp - 0xd18]
sub edi, dword [ebp - 0xd1c]
cmp byte [ebp - 0xc79], 0
mov dword [ebp - 0xc90], eax
je 0x40de1e
mov ecx, dword [ebp - 0xcb8]
jmp 0x40de4e
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0xca4], eax
xor eax, eax
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0xc90]
mov ecx, dword [ebp - 0xca4]
push dword [ebp - 0xca0]
push dword [ebp - 0xc88]
push ecx
push eax
push edi
push dword [ebp - 0xd18]
lea eax, [ebp - 0xa10]
push dword [ebp - 0xd1c]
push dword [ebp - 0xc94]
push str._m:_d__x:_d__y:_d__w:_d__h:_d__d:_d__v:_d__f:_d
push 0x801
push eax
call fcn.00403b24
add esp, 0x2c
lea eax, [ebp - 0xa10]
lea ecx, [ebp - 0xc48]
push eax
call fcn.00401b4a
lea eax, [ebp - 0xc48]
push eax
call fcn.00424701
pop ecx
lea ecx, [ebp - 0xc48]
call fcn.004036e0
mov eax, dword [ebp - 0xc84]
push 0x6c
pop ecx
add eax, ecx
mov dword [ebp - 0xc84], eax
cmp eax, ebx
jne 0x40ddb8
mov ebx, dword [ebp - 0xc98]
push 8
pop edi
lea ecx, [ebp - 0xc54]
call fcn.0040d68b
test ebx, ebx
je 0x40def9
push ebx
call fcn.00524dd0
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x40e0ad
xor ebx, ebx
mov eax, ebx
jmp 0x40e0c3
push str.611264CE_A4A2_4614_BE47_6B92329E4304
lea ecx, [ebp - 0xc48]
call fcn.00401b4a
call fcn.00423dfe
test eax, eax
je 0x40df34
mov esi, str.E7D189C4_BE02_4AA7_9D8B_A8D7C72BECD3
push esi
call fcn.00524c40
pop ecx
push eax
push esi
lea ecx, [ebp - 0xc48]
call fcn.0040389c
cmp dword [ebp - 0xc34], edi
lea eax, [ebp - 0xc48]
cmovae eax, dword [ebp - 0xc48]
push eax
xor eax, eax
inc eax
push eax
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0xc84], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40e05f
xor eax, eax
inc eax
mov byte [0x5d0fd0], al
call fcn.00423dfe
test eax, eax
jne 0x40e030
call fcn.00422de9
test eax, eax
jne 0x40e030
call fcn.00422c26
test eax, eax
jne 0x40dfca
lea eax, [ebp - 0xc78]
push eax
call fcn.00421971
pop ecx
cmp dword [eax + 0x14], edi
jb 0x40dfb1
mov eax, dword [eax]
xor ebx, ebx
push eax
inc ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40dfd0
inc eax
mov byte [ebp - 0xc79], al
mov ebx, eax
jmp 0x40dfd9
mov ebx, dword [ebp - 0xc8c]
xor eax, eax
mov byte [ebp - 0xc79], al
inc eax
test al, bl
je 0x40dfe8
lea ecx, [ebp - 0xc78]
call fcn.004036e0
cmp byte [ebp - 0xc79], 0
je 0x40e013
xor ecx, ecx
lea eax, [ebp - 0xc98]
push eax
push ecx
push ecx
push 0x40b510
push ecx
push ecx
mov dword [ebp - 0xc98], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
jmp 0x40e02a
push 0x21d
push str.WinMain
push str.__s__d___Is360SafeRegExist_is_true
call fcn.00402cc1
add esp, 0xc
mov ebx, dword [ebp - 0xc84]
xor edx, edx
xor ecx, ecx
inc edx
movzx eax, cl
cmp dword [ebp - 0xca0], edx
push ecx
cmove eax, edx
mov byte [ebp - 0xc94], al
push dword [ebp - 0xc94]
push dword [ebp - 0xc88]
push ecx
call fcn.0040cbce
add esp, 0x10
jmp 0x40e076
push 0x227
push str.WinMain
push str.__s__d___360pic.exe_EXISTS__r_n
call fcn.00402cc1
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
test esi, esi
je 0x40e092
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
lea ecx, [ebp - 0xc48]
call fcn.004036e0
lea ecx, [ebp - 0xc54]
call fcn.0040d68b
jmp 0x40e4b5
lea eax, [esi + esi]
call fcn.0051dc40
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040b178
xor ebx, ebx
mov esi, 0x55922c
push esi
push eax
call fcn.005214b3
pop ecx
pop ecx
test eax, eax
je 0x40e38a
cmp dword [ebp - 0xc1c], edi
lea eax, [ebp - 0xc30]
push ebx
cmovae eax, dword [ebp - 0xc30]
push esi
push eax
call fcn.004374b9
cmp dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0xc30]
mov ebx, eax
cmovae ecx, dword [ebp - 0xc30]
xor eax, eax
push eax
push 0x559234
push ecx
mov dword [ebp - 0xc88], ebx
call fcn.004374b9
cmp dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0xc30]
mov dword [ebp - 0xc80], eax
cmovae ecx, dword [ebp - 0xc30]
xor eax, eax
push eax
push 0x55923c
push ecx
call fcn.004374b9
cmp dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0xc30]
mov dword [ebp - 0xcb4], eax
cmovae ecx, dword [ebp - 0xc30]
xor eax, eax
push eax
push 0x559244
push ecx
call fcn.004374b9
cmp dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0xc30]
mov dword [ebp - 0xcb0], eax
cmovae ecx, dword [ebp - 0xc30]
xor eax, eax
push eax
push 0x55924c
push ecx
call fcn.004374b9
cmp dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0xc30]
mov dword [ebp - 0xc84], eax
cmovae ecx, dword [ebp - 0xc30]
xor eax, eax
push eax
push 0x559254
push ecx
call fcn.004374b9
add esp, 0x48
mov dword [ebp - 0xc90], eax
cmp dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0xc30]
cmovae ecx, dword [ebp - 0xc30]
xor eax, eax
push eax
push 0x5590b8
push ecx
call fcn.004374b9
add esp, 0xc
mov dword [ebp - 0xca4], eax
lea ecx, [ebp - 0xc48]
push 0x556c1c
call fcn.00401b4a
xor ecx, ecx
mov eax, str.54FB661F_9BFB_43CA_A865_9C7B26F168E1
inc ecx
mov esi, str.29E906C9_5160_4872_BFD0_53BD7D55FDED
cmp ebx, ecx
cmovne esi, eax
push esi
call fcn.00524c40
pop ecx
push eax
push esi
lea ecx, [ebp - 0xc48]
call fcn.0040389c
xor eax, eax
mov esi, eax
inc eax
cmp ebx, eax
jne 0x40e2c3
call fcn.00422c26
test eax, eax
jne 0x40e25d
lea eax, [ebp - 0xc78]
push eax
call fcn.00421971
pop ecx
cmp dword [eax + 0x14], edi
jb 0x40e24c
mov eax, dword [eax]
push 2
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e263
inc eax
jmp 0x40e265
mov ebx, dword [ebp - 0xc8c]
xor eax, eax
mov byte [ebp - 0xc79], al
test bl, 2
je 0x40e27b
lea ecx, [ebp - 0xc78]
call fcn.004036e0
cmp byte [ebp - 0xc79], 0
je 0x40e2a6
xor ecx, ecx
lea eax, [ebp - 0xc98]
push eax
push ecx
push ecx
push 0x40b510
push ecx
push ecx
mov dword [ebp - 0xc98], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
jmp 0x40e2bd
push 0x24e
push str.WinMain
push str.__s__d___Is360SafeRegExist_is_true
call fcn.00402cc1
add esp, 0xc
mov ebx, dword [ebp - 0xc88]
cmp dword [ebp - 0xc34], edi
lea eax, [ebp - 0xc48]
cmovae eax, dword [ebp - 0xc48]
push eax
xor eax, eax
inc eax
push eax
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40e347
xor edx, edx
xor eax, eax
inc edx
movzx ecx, al
cmp dword [ebp - 0xca0], edx
push eax
cmove ecx, edx
mov byte [0x5d0fd0], dl
mov byte [ebp - 0xc94], cl
push dword [ebp - 0xc94]
push dword [ebp - 0xca4]
push dword [ebp - 0xc90]
push ebx
push dword [ebp - 0xc84]
push dword [ebp - 0xcb0]
push dword [ebp - 0xcb4]
push dword [ebp - 0xc80]
push eax
call fcn.0040cd70
add esp, 0x28
jmp 0x40e35e
push 0x25c
push str.WinMain
push str.__s__d___360pic.exe_EXISTS__r_n
call fcn.00402cc1
add esp, 0xc
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test esi, esi
je 0x40e37a
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
lea ecx, [ebp - 0xc48]
call fcn.004036e0
jmp 0x40e4b5
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
push ebx
push eax
call fcn.00520800
cmp dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0x20c]
push 0x103
push ecx
lea eax, [ebp - 0xc30]
cmovae eax, dword [ebp - 0xc30]
push 0x5592fc
push eax
call fcn.00437434
add esp, 0x1c
test eax, eax
je 0x40e422
lea eax, [ebp - 0xc8c]
mov dword [ebp - 0xc8c], ebx
push eax
lea eax, [ebp - 0x20c]
push str.0x_x
push eax
call fcn.0040e5a8
add esp, 0xc
xor eax, eax
inc eax
push str.E93AC4CB_6A97_4AD9_AEC7_AECD8EF446CC
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40e4ae
push dword [ebp - 0xc8c]
call fcn.0040cf29
jmp 0x40e4ad
push esi
lea eax, [ebp - 0xc18]
push ebx
push eax
call fcn.00520800
cmp dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0xc18]
push 0x103
push ecx
lea eax, [ebp - 0xc30]
cmovae eax, dword [ebp - 0xc30]
push 0x55935c
push eax
call fcn.00437434
add esp, 0x1c
test eax, eax
je 0x40e4b5
lea eax, [ebp - 0xc80]
mov dword [ebp - 0xc80], ebx
push eax
lea eax, [ebp - 0x20c]
push str.0x_x
push eax
call fcn.0040e5a8
add esp, 0xc
xor eax, eax
inc eax
push str.BAB768D0_BA0B_4253_ACE2_F11CCF71D7BF
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40e4ae
lea eax, [ebp - 0xc30]
push eax
call fcn.0040b4d4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xc30]
call fcn.004036e0
push 0x299
push str.WinMain
push str.__s__d___exit__r_n
call fcn.00402cc1
add esp, 0xc
mov ecx, 0x5d0fdc
call fcn.0040d108
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
lea esp, [ebp - 0xd2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d360
leave
ret 0x10