Function at 0x404b40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e88c
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4901fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
xor ebx, ebx
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd8], ebx
push eax
mov dword [ebp - 0x78], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
xor esi, esi
mov dword [ebp - 0xd8], edi
cmp dword [ebp - 0xd4], ebx
jle 0x404c96
nop dword [eax]
nop word [eax + eax]
mov edx, dword [edi + esi*4]
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], ax
cmp word [edx], ax
je 0x404bfb
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404be6
sub eax, edi
mov edi, dword [ebp - 0xd8]
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xa0]
call fcn.00404290
push 0x14
push 0
push 0x47354c
lea ecx, [ebp - 0xa0]
call fcn.004046d0
test eax, eax
jne 0x404c44
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x88]
call fcn.00404170
push 0x14
push 0
lea ecx, [ebp - 0x88]
call fcn.00404620
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x404c89
mov ecx, dword [ebp - 0xa0]
inc eax
cmp eax, 0x7fffffff
ja 0x404cc0
add eax, eax
cmp eax, 0x1000
jb 0x404c80
test cl, 0x1f
jne 0x404cc0
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x404cc0
sub ecx, eax
cmp ecx, 4
jb 0x404cc0
cmp ecx, 0x23
ja 0x404cc0
mov ecx, eax
push ecx
call fcn.004394c5
add esp, 4
inc esi
cmp esi, dword [ebp - 0xd4]
jl 0x404bc0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x78], ebx
je 0x404d8d
lea eax, [ebp - 0x88]
push eax
call fcn.004025c0
add esp, 4
test al, al
jne 0x404cc5
xor edi, edi
jmp 0x405286
call fcn.00454ea3
push 8
call fcn.00439492
mov esi, eax
add esp, 4
test esi, esi
je 0x404d3f
push 0xa
xor eax, eax
mov dword [ebp - 0x14], 7
push str.BASProcess
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.00404290
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401230
push eax
lea eax, [ebp - 0xd4]
push 0x402d90
push eax
call fcn.004015d0
push eax
push esi
call fcn.004014e0
mov eax, dword [ebp - 0xd4]
add esp, 0x20
mov ebx, 3
test eax, eax
je 0x404d3f
push eax
lea ecx, [ebp - 0xd4]
call fcn.00401c20
test bl, 2
je 0x404d70
mov eax, dword [ebp - 0x2c]
and ebx, 0xfffffffd
cmp eax, 8
jb 0x404d5c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004044c0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
test bl, 1
je 0x404d8d
mov eax, dword [ebp - 0x14]
and ebx, 0xfffffffe
cmp eax, 8
jb 0x404d8d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004044c0
call fcn.004126e0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe0], 0
push 0x1c
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xe4], 0x47335c
mov dword [ebp - 0xe0], eax
call fcn.00439492
mov esi, eax
add esp, 4
test esi, esi
je 0x404e4d
mov dword [esi + 4], 0x4734d0
or ebx, 4
mov dword [esi + 0xc], 0x4734d8
mov dword [esi + 0x18], vtable.CefBaseRefCounted.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.CefApp.0
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], vtable.CefApp.1.0
mov eax, dword [esi + 0xc]
mov dword [esi + 8], vtable.CefRenderProcessHandler.0
mov eax, dword [eax + 4]
mov dword [eax + esi + 0xc], vtable.CefRenderProcessHandler.1.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.AppRender.0
mov dword [esi + 8], vtable.AppRender.1.0
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], vtable.AppRender.2.0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x14]
mov dword [ecx + esi], eax
mov dword [esi + 0x10], 0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
jmp 0x404e4f
xor esi, esi
push 0
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x404e69
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0xe4]
push eax
call fcn.004126f0
mov edi, eax
add esp, 0xc
test edi, edi
jns 0x405261
push 0xec
lea eax, [ebp - 0x1d4]
mov dword [ebp - method.CefStructBase_struct_CefSettingsTraits_.virtual_0], vtable.CefStructBase_struct_CefSettingsTraits_.0
push 0
push eax
call fcn.00452260
add esp, 0xc
mov dword [ebp - 0xe8], 0
xor eax, eax
mov dword [ebp - 0x1d4], 0xec
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x174], 1
push 0xc
push str.cache_helper
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404290
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004077a0
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 8
jb 0x404f12
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004044c0
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x180]
push 1
push ecx
push dword [ebp - 0x60]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call sub.libcef.dll_cef_string_utf16_set
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x198]
push 1
push ecx
push dword [ebp - 0x60]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call sub.libcef.dll_cef_string_utf16_set
push 0x38
mov dword [ebp - 0x1d0], 1
call fcn.00439492
add esp, 0x24
test eax, eax
je 0x404f84
push 1
mov ecx, eax
call fcn.00405380
mov edi, eax
test edi, edi
je 0x404f86
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
add ecx, 4
add ecx, edi
mov edx, dword [ecx]
call dword [edx]
jmp 0x404f86
xor edi, edi
mov ecx, dword [0x492a30]
mov dword [0x492a30], edi
test ecx, ecx
je 0x404fa6
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
test bl, 8
je 0x404fb6
lea ecx, [ebp - 0x288]
call fcn.004105b0
mov ecx, dword [0x492a30]
lea eax, [ebp - 0x88]
add ecx, 0x14
cmp ecx, eax
je 0x404fd3
push 0xffffffffffffffff
push 0
push eax
call fcn.00404170
push 0
push ecx
mov ecx, dword [0x492a30]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x404ff3
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.004127d0
add esp, 0x10
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
push 9
push str.helperipc
call fcn.00404290
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004077a0
push eax
call fcn.00401e20
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp eax, 8
jb 0x405057
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004044c0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x405080
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004044c0
push str..txt
lea ecx, [ebp - 0xd0]
call fcn.00401750
push eax
lea eax, [ebp - 0x88]
push eax
push str.helperipc_bas_to_helper.
lea ecx, [ebp - 0x28]
call fcn.00401750
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401230
add esp, 0xc
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004011c0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp eax, 8
jb 0x4050d4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004044c0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4050fd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004044c0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x40512f
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.004044c0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004077a0
add esp, 8
mov edi, eax
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x40517d
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x405160
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004044c0
xor eax, eax
mov dword [ebp - 0x44], 7
push edi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004034f0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x4051a2
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.004044c0
xor eax, eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov ecx, 0x492a34
lea eax, [ebp - 0x58]
mov dword [ebp - 0xa8], 0
push eax
call fcn.0040ab80
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4051e2
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004044c0
push 0x402dd0
xor eax, eax
mov dword [ebp - 0x44], 7
push 0x64
push eax
push eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.004128d0
push 0
push 0
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.004128e0
mov eax, dword [ebp - 0x5c]
xor edi, edi
cmp eax, 8
jb 0x405230
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004044c0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], edi
mov word [ebp - 0x70], ax
mov dword [ebp - method.CefStructBase_struct_CefSettingsTraits_.virtual_0], vtable.CefStructBase_struct_CefSettingsTraits_.0
cmp dword [ebp - 0xe8], eax
jne 0x405261
lea eax, [ebp - 0x1d4]
push eax
call fcn.004043c0
add esp, 4
mov dword [ebp - 4], 1
test esi, esi
je 0x40527c
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0xe4], vtable.CefStructBase_struct_CefMainArgsTraits_.0
mov ecx, dword [ebp - 0x74]
cmp ecx, 8
jb 0x4052a1
inc ecx
push ecx
push dword [ebp - 0x88]
lea ecx, [ebp - 0x88]
call fcn.004044c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439740
mov esp, ebp
pop ebp
ret 0x10