Function at 0x402a00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1dc
mov eax, dword [0x4e54c0]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xorps xmm0, xmm0
mov dword [esp + 0x48], 0
movq qword [esp + 0x40], xmm0
mov dword [esp + 0x44], 0
push 0x2c
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], vtable.CefMainArgs.0
mov dword [esp + 0x48], ebx
call fcn.00490738
mov esi, eax
add esp, 4
test esi, esi
je 0x402a90
push 0x2c
push 0
push esi
call fcn.00491b10
add esp, 8
mov ecx, esi
call fcn.00436e80
mov edi, eax
test edi, edi
je 0x402a92
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
add ecx, 4
add ecx, edi
mov edx, dword [ecx]
call dword [edx]
jmp 0x402a92
xor edi, edi
push 0
push ecx
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x402aac
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax]
lea eax, [esp + 0x48]
push eax
call fcn.004403d0
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x402ffc
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x402ffa
cmp dword [esp + 0x4c], 2
jne 0x402ffa
push dword [eax + 4]
mov ecx, 0x4e6a9c
call fcn.00403270
push 0x4d1498
lea ecx, [esp + 0x54]
call fcn.00403840
push 2
push ecx
push 0x4d14ac
mov ecx, 0x4e6a9c
call fcn.004021e0
cmp eax, 0xffffffff
je 0x402b28
push str.LoginPro_en
lea ecx, [esp + 0x54]
call fcn.00403270
cmp dword [esp + 0x64], 8
lea ecx, [esp + 0x50]
cmovae ecx, dword [esp + 0x50]
call fcn.0042ef20
push 0x4c
lea eax, [esp + 0x194]
push 0
push eax
call fcn.00491b10
add esp, 0xc
lea ecx, [esp + 0xc]
push str.E73D653C_C493_4BA6_9B4D_F47004591262
call fcn.00403840
lea eax, [esp + 0xc]
push eax
push ebx
lea ecx, [esp + 0x198]
call fcn.004347f0
cmp dword [esp + 0x20], 8
jb 0x402b82
push dword [esp + 0xc]
call fcn.0048fa72
add esp, 4
lea ecx, [esp + 0x190]
call fcn.00434a10
test al, al
jne 0x402bc7
push 0x4d1498
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x402bc0
push 0
push 0xf120
push 0x112
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, 1
jmp 0x402fc2
xor esi, esi
jmp 0x402fc2
push 0x4d1520
mov dword [0x4e6a98], 0x10
call dword [sym.imp.VMProtectSDK32.dll_VMProtectBegin]
lea ecx, [esp + 0x98]
call fcn.0042f3b0
cmp dword [esp + 0xac], 8
lea ecx, [esp + 0x98]
cmovae ecx, dword [esp + 0x98]
push ecx
call fcn.00428410
add esp, 4
lea ecx, [esp + 0x28]
call fcn.0042f310
xor ecx, ecx
mov dword [esp + 0x94], 7
push 0xffffffffffffffff
push ecx
mov word [esp + 0x88], cx
lea ecx, [esp + 0x88]
push eax
mov dword [esp + 0x9c], 0
call fcn.004033d0
lea ecx, [esp + 0x28]
call fcn.004032f0
push str.LoginPro_start
push 0x10
call fcn.00427e30
push 0xac
lea eax, [esp + 0xec]
push 0
push eax
call fcn.00491b10
add esp, 0x14
mov dword [esp + 0xe0], vtable.CefStructBase_struct_CefSettingsTraits_.0
lea eax, [esp + 0xe4]
push 0xa4
push 0
push eax
call fcn.00491b10
xor eax, eax
mov dword [esp + 0x194], 0
add esp, 0xc
mov dword [esp + 0xe4], 0xa4
lea edx, [esp + 0x68]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
lea ecx, [eax + 5]
mov word [esp + 0x68], ax
call fcn.0040bef0
lea eax, [esp + 0xf0]
mov dword [esp + 0xc], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xc]
lea eax, [esp + 0x68]
mov byte [esp + 0x14], 0
push eax
call fcn.00403090
lea ecx, [esp + 0xc]
call fcn.00403230
push str.cef.log
lea ecx, [esp + 0x10]
call fcn.00403840
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x30]
call fcn.0042f310
mov ecx, eax
call fcn.0040a820
lea ecx, [esp + 0x28]
call fcn.004032f0
lea ecx, [esp + 0xc]
call fcn.004032f0
lea eax, [esp + 0x13c]
mov dword [esp + 0xc], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xc]
lea eax, [esp + 0xb0]
mov byte [esp + 0x14], 0
push eax
call fcn.00403090
lea ecx, [esp + 0xc]
call fcn.00403230
push str.miNative_1.0
lea ecx, [esp + 0x2c]
call fcn.00403840
lea eax, [esp + 0x118]
mov dword [esp + 0xc], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xc]
lea eax, [esp + 0x28]
mov byte [esp + 0x14], 0
push eax
call fcn.00403090
lea ecx, [esp + 0xc]
call fcn.00403230
lea ecx, [esp + 0x28]
call fcn.004032f0
lea ecx, [esp + 0xc8]
mov dword [esp + 0x148], 3
mov dword [esp + 0xe8], 0
call fcn.0042f640
lea eax, [esp + 0x108]
mov dword [esp + 0xc], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xc]
lea eax, [esp + 0xc8]
mov byte [esp + 0x14], 0
push eax
call fcn.00403090
lea ecx, [esp + 0xc]
call fcn.00403230
push 0
push ecx
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x402e1a
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax]
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004404b0
add esp, 0x10
lea ecx, [esp + 0x28]
push 0x4d1498
call fcn.00403840
push ecx
call fcn.0042cdf0
mov ecx, eax
call fcn.0042cf10
lea ecx, [esp + 0x28]
call fcn.004032f0
call fcn.0042fd20
mov ecx, eax
call fcn.0042ffb0
lea ecx, [esp + 0x28]
call fcn.0042f640
mov dl, 1
mov ecx, eax
call fcn.0040d0d0
lea ecx, [esp + 0x28]
call fcn.004032f0
call fcn.00434d80
push 0x4b8
mov dword [eax], 1
call fcn.00490738
mov esi, eax
add esp, 4
test esi, esi
je 0x402eb3
push 0x4b8
push 0
push esi
call fcn.00491b10
add esp, 0xc
mov ecx, esi
call fcn.004038d0
mov esi, eax
jmp 0x402eb5
xor esi, esi
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0
push 0x96ca0000
push 0x4d1498
push 0
mov ecx, esi
call fcn.00460614
mov ecx, esi
call fcn.004604b3
push 1
push 1
mov ecx, esi
call fcn.004609f4
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
call sub.libcef.dll_cef_run_message_loop
push str.miflash_unlock_exit
push 0x10
call fcn.00427e30
add esp, 8
test esi, esi
je 0x402f1b
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x14]
call sub.libcef.dll_cef_shutdown
call fcn.0042fd20
mov esi, eax
mov ecx, dword [esi + 0x18]
push dword [ecx + 4]
lea ecx, [esi + 0x18]
call fcn.0042d880
mov ecx, dword [esi + 0x18]
mov dword [ecx + 4], ecx
mov eax, dword [esi + 0x18]
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
mov dword [esi + 0x1c], 0
call fcn.0042cdf0
mov esi, eax
mov ecx, dword [esi]
push dword [ecx + 4]
mov ecx, esi
call fcn.0042d880
mov ecx, dword [esi]
mov dword [ecx + 4], ecx
mov ecx, dword [esi]
mov dword [ecx], ecx
mov eax, dword [esi]
mov dword [eax + 8], eax
mov dword [esi + 4], 0
call dword [sym.imp.VMProtectSDK32.dll_VMProtectEnd]
lea ecx, [esp + 0xc8]
xor esi, esi
call fcn.004032f0
lea ecx, [esp + 0xb0]
call fcn.004032f0
lea ecx, [esp + 0x68]
call fcn.004032f0
lea ecx, [esp + 0xe0]
call fcn.00403110
lea ecx, [esp + 0x80]
call fcn.004032f0
lea ecx, [esp + 0x98]
call fcn.004032f0
lea ecx, [esp + 0x190]
call fcn.00434930
cmp dword [esp + 0x64], 8
jb 0x402fe1
push dword [esp + 0x50]
call fcn.0048fa72
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jmp 0x402ffc
xor esi, esi
test edi, edi
je 0x403010
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
add ecx, 4
add ecx, edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x1e4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004906bc
mov esp, ebp
pop ebp
ret 0x10