Function at 0x46f420
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0
mov dword [0x566c20], esi
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 8
push eax
mov dword [ebp - 0x274], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push esi
push 0
mov ecx, 0x567248
call fcn.0046cdf0
push 0x30
lea eax, [ebp - 0x300]
push 0
push eax
call fcn.004c1860
mov ecx, edi
mov dword [ebp - 0x308], 0
add esp, 0xc
mov dword [ebp - 0x304], 7
xor eax, eax
mov word [ebp - 0x318], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f4c0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x318]
call fcn.0042b3e0
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x300]
call fcn.00490720
mov edx, dword [ebp - 0x304]
cmp edx, 8
jb 0x46f52e
mov ecx, dword [ebp - 0x318]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46f524
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46fbb7
push edx
push ecx
call fcn.0049fef8
add esp, 8
push 0x11
xor eax, eax
mov dword [ebp - 0x308], 0
push str.__enable_high_dpi
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x304], 7
mov word [ebp - 0x318], ax
call fcn.0042b3e0
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x300]
call fcn.00490e30
mov edx, dword [ebp - 0x304]
mov esi, eax
cmp edx, 8
jb 0x46f5b1
mov ecx, dword [ebp - 0x318]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46f5a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46fbbc
push edx
push ecx
call fcn.0049fef8
add esp, 8
test esi, esi
je 0x46f5bf
push 0xfffffffffffffffc
call fcn.00471ab0
add esp, 4
mov ecx, dword [0x566c14]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ecx, ecx
jne 0x46f625
push 0x55ed18
call ebx
cmp dword [0x566c14], 0
jne 0x46f618
push 4
call fcn.0049f760
mov esi, eax
add esp, 4
test esi, esi
je 0x46f605
mov ecx, esi
mov dword [esi], 0
call fcn.00491c40
jmp 0x46f607
xor esi, esi
xor ecx, ecx
lea eax, [ebp - 0x274]
lock or dword [eax], ecx
mov dword [0x566c14], esi
push 0x55ed18
call edi
mov ecx, dword [0x566c14]
push 1
call fcn.00495690
lea ecx, [ebp - 0x319]
call fcn.0046e3b0
push 0
push 0
push str.EdgeWeb
call fcn.0046cf70
mov ecx, dword [0x566c14]
add esp, 0xc
test ecx, ecx
jne 0x46f6a1
push 0x55ed18
call ebx
cmp dword [0x566c14], 0
jne 0x46f694
push 4
call fcn.0049f760
mov esi, eax
add esp, 4
test esi, esi
je 0x46f681
mov ecx, esi
mov dword [esi], 0
call fcn.00491c40
jmp 0x46f683
xor esi, esi
xor ecx, ecx
lea eax, [ebp - 0x274]
lock or dword [eax], ecx
mov dword [0x566c14], esi
push 0x55ed18
call edi
mov ecx, dword [0x566c14]
push 0
lea eax, [ebp - 0x290]
push eax
call fcn.00492b30
cmp dword [ebp - 0x280], 0
je 0x46f70f
push 0x208
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.004c1860
add esp, 0xc
lea eax, [ebp - 0x290]
cmp dword [ebp - 0x27c], 8
cmovae eax, dword [ebp - 0x290]
push str.logEdgeWeb.log
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x5215c8
push 0x6400000
push 0
push 0
lea eax, [ebp - 0x270]
push eax
call fcn.0047d540
xorps xmm0, xmm0
mov dword [ebp - 0x2b0], 0
lea ecx, [ebp - 0x2d0]
movups xmmword [ebp - 0x2d0], xmm0
movups xmmword [ebp - 0x2c0], xmm0
call fcn.00466af0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00467950
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x2ac]
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x294], 0
push 0
push eax
movups xmmword [ebp - 0x2ac], xmm0
movq qword [ebp - 0x29c], xmm0
call esi
test eax, eax
je 0x46f7bb
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax + eax]
lea eax, [ebp - 0x2ac]
push eax
call edi
lea eax, [ebp - 0x2ac]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x2ac]
push eax
call esi
test eax, eax
jne 0x46f790
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0047cdb0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x46fa66
push 0x4f
push str.d:jenkins.jenkinsworkspacelib_commonwebview2webview2_srcwebview2main.cc
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x304], 0xf
mov byte [ebp - 0x318], al
call fcn.0042b2e0
push 3
push 0x5215cc
lea ecx, [ebp - 0x34c]
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0xf
mov byte [ebp - 0x34c], 0
call fcn.0042b2e0
push 1
push 2
lea ecx, [ebp - 0x100]
call fcn.00428510
push 0xffffffffffffffff
push 0x4fa46c
lea ecx, [ebp - 0x318]
call fcn.0042bd30
push 0xffffffffffffffff
push 0x4fa470
lea ecx, [ebp - 0x318]
mov edi, eax
call fcn.0042bd30
push 0x64
mov esi, eax
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.004c1860
add esp, 0xc
cmp esi, 0xffffffff
je 0x46f961
lea eax, [esi - 1]
cmp edi, eax
jae 0x46f961
mov eax, dword [ebp - 0x308]
lea edx, [edi + 1]
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0xf
mov byte [ebp - 0x334], 0
cmp eax, edx
jb 0x46fbc1
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x304], 0x10
lea eax, [ebp - 0x318]
cmovae eax, dword [ebp - 0x318]
push ecx
add eax, edx
lea ecx, [ebp - 0x334]
push eax
call fcn.0042b2e0
cmp dword [ebp - 0x320], 0x10
lea eax, [ebp - 0x334]
cmovae eax, dword [ebp - 0x334]
push eax
push 0x4b
lea eax, [ebp - 0x68]
push str.__4d___s_
push eax
call fcn.00428320
mov edx, dword [ebp - 0x320]
add esp, 0x10
cmp edx, 0x10
jb 0x46f944
mov ecx, dword [ebp - 0x334]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f93a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46fbc6
push edx
push ecx
call fcn.0049fef8
add esp, 8
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0xf
mov byte [ebp - 0x334], 0
jmp 0x46f974
push 0x4b
lea eax, [ebp - 0x68]
push str.__4d_
push eax
call fcn.00428320
add esp, 0xc
cmp dword [ebp - 0x338], 0x10
lea eax, [ebp - 0x34c]
cmovae eax, dword [ebp - 0x34c]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00429750
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00429750
lea eax, [ebp - 0x100]
push str.quit_process
push eax
call fcn.00429750
add esp, 0x18
call fcn.0047cdb0
lea ecx, [ebp - 0x100]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.004299d0
mov edx, dword [ebp - 0x338]
cmp edx, 0x10
jb 0x46fa11
mov ecx, dword [ebp - 0x34c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46fa07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46fbcb
push edx
push ecx
call fcn.0049fef8
add esp, 8
mov edx, dword [ebp - 0x304]
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0xf
mov byte [ebp - 0x34c], 0
cmp edx, 0x10
jb 0x46fa66
mov ecx, dword [ebp - 0x318]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46fa5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46fbcb
push edx
push ecx
call fcn.0049fef8
add esp, 8
call fcn.0047df10
mov edi, dword [0x566a60]
add edi, 0x10
push edi
call ebx
mov esi, dword [0x567280]
pop ebx
test esi, esi
je 0x46faca
cmp dword [esi + 4], 0
jle 0x46fa98
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x567280]
test esi, esi
je 0x46faca
mov eax, dword [esi]
test eax, eax
je 0x46fab1
push eax
call fcn.004c4deb
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0049fef8
add esp, 8
push edi
mov dword [0x567280], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x56727c]
test esi, esi
je 0x46fb23
mov eax, dword [esi]
test eax, eax
je 0x46fafa
push eax
call fcn.004c4deb
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46fb11
push eax
call fcn.004c4deb
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.0049fef8
add esp, 8
mov ecx, 0x567248
call fcn.0046e610
lea ecx, [ebp - 0x2d0]
call fcn.00466c40
mov edx, dword [ebp - 0x27c]
pop edi
pop esi
cmp edx, 8
jb 0x46fb76
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46fb6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46fbd0
push edx
push ecx
call fcn.0049fef8
add esp, 8
xor eax, eax
mov dword [ebp - 0x280], 0
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.004907d0
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 0x10
call fcn.004c4d9a
call fcn.004c4d9a
call fcn.0042aec0
call fcn.004c4d9a
call fcn.004c4d9a
call fcn.004c4d9a
int3