Function at 0x402e70
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x45c891
mov eax, dword fs:[0]
push eax
sub esp, 0x7e4
mov eax, dword [0x4773f0]
xor eax, esp
mov dword [esp + 0x7e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4773f0]
xor eax, esp
push eax
lea eax, [esp + 0x7f8]
mov dword fs:[0], eax
push str.E55BEE14_68F1_4da0_8549_5CD11B60DB0F
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
je 0x402ef6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402ef6
push 0x469428
push 0x469370
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp esi, ebx
je 0x402eef
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
xor eax, eax
jmp 0x403211
mov dword [esp + 0x2c], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x800], ebx
mov edi, dword [0x4a2070]
lea eax, [esp + 0x2c]
add edi, 0x10
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x4a13ac]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], eax
call fcn.00404f90
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00408760
mov eax, 0xa
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00416920
push 0x46c340
mov byte [esp + 0x804], 1
mov ecx, dword [0x4a05a4]
push 0x6f
push ecx
lea edx, [esp + 0x134]
mov esi, 0x14c
push edx
mov dword [esp + 0x1ec], 2
lea edi, [esi - 0x5c]
call fcn.00433600
mov eax, dword [0x4a05a4]
push 0x46c340
push 0x6d
push eax
lea ecx, [esp + 0x138]
push ecx
mov dword [esp + 0x280], 0x12
mov dword [esp + 0x268], esi
mov dword [esp + 0x26c], edi
call fcn.00433600
mov edx, dword [esp + 0x13c]
add esp, 0x20
push 0x24
push 0x1a
push 0x29
push 0x1a
push ebx
push edx
lea ecx, [esp + 0x7c]
call fcn.004307b0
mov eax, dword [0x4a05a4]
push 0x46c340
push 0x69
push eax
lea ecx, [esp + 0x12c]
mov esi, 0x28b
push ecx
lea edi, [esi + 0x10]
mov ebp, 0x10
call fcn.00433600
add esp, 0x10
mov dword [esp + 0x218], esi
mov dword [esp + 0x21c], ebp
mov dword [esp + 0x220], edi
mov eax, 0x21
mov edx, 0x21
lea ecx, [esi - 1]
mov dword [esp + 0x224], eax
mov dword [esp + 0x22c], edx
mov edx, dword [0x4788a4]
mov eax, 0x28
mov esi, 0x1bd
mov dword [esp + 0x228], eax
mov dword [esp + 0x230], ecx
mov dword [esp + 0x234], esi
mov dword [esp + 0x14], edx
mov byte [esp + 0x800], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x186a0
div ecx
lea ecx, [esp + 0x14]
push edx
push str.http:__hd.360.cn_fudai_lottery2.2.html_v4.0r_d
call fcn.004021e0
mov ebp, dword [esp + 0x1c]
add esp, 8
cmp ebp, ebx
je 0x4030c6
push ebp
lea ecx, [esp + 0x1c0]
call fcn.00402610
mov edx, dword [0x4a05a4]
push 0x46c340
push 0x78
push edx
lea eax, [esp + 0x130]
mov esi, 0xd4
push eax
lea edi, [esi - 0x18]
call fcn.00433600
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, 1
mov dword [esp + 0x268], eax
mov dword [esp + 0x1d0], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x84], eax
add esp, 0xc
mov eax, esp
mov dword [esp + 0x254], esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x258], edi
mov dword [esp + 0x7c], ecx
mov dword [eax], ebx
push ecx
mov eax, esp
lea edx, [esp + 0x20]
lea esi, [esp + 0x6c]
mov dword [eax], edx
call fcn.00404510
cmp eax, ebx
je 0x403239
mov ecx, esi
call fcn.00430590
mov ecx, dword [esp + 0x68]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xffffff7f
or ecx, 0x40000
cmp eax, ecx
je 0x403182
mov edx, dword [esp + 0x68]
push ecx
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x68]
push 0x469428
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x68]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esp + 0x2c]
call fcn.00404ef0
mov edi, eax
call fcn.00404da0
lea edx, [ebp - 0xc]
cmp edx, dword [0x4788a0]
je 0x4031d1
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4031d1
push esi
call fcn.00443685
add esp, 4
lea ecx, [esp + 0x64]
mov byte [esp + 0x800], bl
call fcn.00416b10
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4031f6
push eax
call fcn.0044332a
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp eax, ebx
je 0x40320f
push eax
call fcn.0044332a
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x7f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7e0]
xor ecx, esp
call fcn.0044331b
add esp, 0x7f0
ret
lea eax, [ebp - 0xc]
cmp eax, dword [0x4788a0]
je 0x40325b
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40325b
push esi
call fcn.00443685
add esp, 4
lea ecx, [esp + 0x64]
mov byte [esp + 0x800], bl
call fcn.00416b10
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x403280
push eax
call fcn.0044332a
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp eax, ebx
je 0x403299
push eax
call fcn.0044332a
add esp, 4
xor eax, eax
jmp 0x403211