Function at 0x43d860
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [0x541ad4]
test ebx, ebx
jne 0x43da71
push 0x28
call fcn.004e8c26
add esp, 4
mov esi, eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [eax + 8], 0
push 0xc
call fcn.004e8c26
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x43db2f
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x541ad4], esi
call fcn.00451fe0
test al, al
jne 0x43d909
call fcn.00451ff0
test al, al
je 0x43da2f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test eax, eax
je 0x43d920
push esi
call fcn.00500f04
add esp, 4
jmp 0x43d922
xor eax, eax
mov ecx, dword [0x541ad4]
push eax
push esi
call fcn.0043db50
mov eax, dword [0x541ad4]
cmp dword [eax + 0x20], 0
jne 0x43da71
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0xffffffff
mov byte [ebp - 0x24], 0
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x34]
push ecx
push 0
push eax
push 2
push str.OverrideCommandLineArgs
push str.SoftwareMicrosoftEdge
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x43da71
cmp dword [ebp - 0x34], 1
jne 0x43da71
mov esi, dword [ebp - 0x28]
xor edi, edi
cmp esi, 2
jb 0x43d9c6
and esi, 0xfffffffe
push esi
call fcn.004e8c26
add esp, 4
mov edi, eax
xor eax, eax
nop dword [eax]
mov ecx, edi
add ecx, eax
je 0x43db2f
mov word [ecx], 0
add eax, 2
cmp esi, eax
jne 0x43d9b0
lea eax, [ebp - 0x28]
push eax
push edi
lea eax, [ebp - 0x34]
push eax
push 2
push str.OverrideCommandLineArgs
push str.SoftwareMicrosoftEdge
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x43d9f9
lea ecx, [ebp - 0x20]
push edi
call fcn.00414f88
mov byte [ebp - 0x24], 1
test edi, edi
je 0x43da06
push edi
call fcn.004e8c56
add esp, 4
test esi, esi
jne 0x43da71
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
movzx eax, byte [ebp - 0x15]
test al, al
jns 0x43da8a
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
jmp 0x43da8d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test eax, eax
je 0x43da48
push esi
call fcn.00500f04
add esp, 4
mov edi, eax
jmp 0x43da4a
xor edi, edi
push 0
push 0xf
push 0x5246bc
push edi
push esi
call fcn.004531c0
add esp, 0x14
cmp eax, 0xffffffff
mov ecx, dword [0x541ad4]
setne byte [ecx + 8]
push edi
push esi
call fcn.0043db50
test ebx, ebx
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e96e3
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [ebp - 0x20]
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x28]
push 1
push 1
push 1
push 0x5246b8
push eax
push ecx
push esi
call fcn.00452490
add esp, 0x1c
mov ecx, esi
push 0x520be2
push dword [ebp - 0x34]
push edi
call fcn.0043dd00
mov ecx, dword [0x541ad4]
push esi
call fcn.0043e060
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x43db0b
mov eax, dword [ebp - 0x30]
mov ecx, esi
cmp eax, esi
jne 0x43dae6
jmp 0x43daff
mov eax, edi
cmp edi, esi
je 0x43dafc
lea edi, [eax - 0xc]
cmp byte [eax - 1], 0
jns 0x43dae0
push dword [eax - 0xc]
call fcn.004e8c56
add esp, 4
jmp 0x43dae0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], esi
push ecx
call fcn.004e8c56
add esp, 4
cmp byte [ebp - 0x24], 0
je 0x43da71
cmp byte [ebp - 0x15], 0
jns 0x43da71
push dword [ebp - 0x20]
call fcn.004e8c56
add esp, 4
jmp 0x43da71
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.0041a308
int3