Function at 0x41505c
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1048
call fcn.00416600
mov eax, dword [0x43565c]
xor eax, esp
mov dword [esp + 0x1044], eax
push ebx
push esi
mov esi, dword [esp + 0x1058]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x1058]
mov dword [esp + 0x10], edi
cmp word [esi], bx
je 0x4152de
push esi
call fcn.0041b233
pop ecx
cmp eax, 0x7f6
jae 0x4152de
push ebp
push 0x3c
pop ebp
push ebp
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00417690
mov dl, byte [esp + 0x1074]
add esp, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0x1c0
test dl, dl
je 0x4150d8
mov dword [esp + 0x1c], 0x5c0
movzx eax, word [esi]
mov ecx, eax
mov dword [esp + 0x10], ecx
push 0x22
pop ecx
cmp ax, cx
mov ecx, ebx
jne 0x4150f4
lea ebp, [esi + 2]
mov dword [esp + 0x28], ebp
jmp 0x4150ff
mov ebp, esi
mov dword [esp + 0x28], ebp
test ax, ax
je 0x41515a
mov eax, dword [esp + 0x10]
movzx edi, ax
push 0x22
pop eax
cmp di, ax
jne 0x41512d
jmp 0x415118
push 0x22
pop eax
cmp di, ax
je 0x415126
inc ecx
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
jne 0x415110
jmp 0x41512d
push 0x20
pop eax
mov word [esi + ecx*2], ax
push 0x20
pop edi
lea eax, [esi + 2]
lea eax, [eax + ecx*2]
cmp word [esi + ecx*2], di
je 0x4152b3
cmp word [eax], 0x2f
je 0x4152b9
inc ecx
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
jne 0x415106
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x415167
cmp word [eax], bx
jne 0x41517c
test dl, dl
jne 0x41517c
cmp word [0x45ad9a], bx
je 0x41517c
mov dword [esp + 0x2c], 0x45ad9a
mov eax, dword [esp + 0x1064]
push ebp
mov dword [esp + 0x38], eax
call fcn.00403b56
mov esi, eax
pop ebp
test esi, esi
je 0x4151ab
push str..inf
push esi
call fcn.0040854c
test eax, eax
jne 0x4151ab
mov dword [esp + 0x20], str.Install
push dword [esp + 0x24]
call fcn.00402b04
test al, al
je 0x4151d3
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.00403871
lea eax, [esp + 0x50]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4152de
cmp byte [0x458d90], bl
jne 0x4151ff
cmp byte [esp + 0x1064], bl
jne 0x4151ff
cmp byte [0x46823c], bl
je 0x41526e
test edi, edi
je 0x415218
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x415218
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov bl, 1
push 0x7d0
push dword [esp + 0x50]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x4c]
call fcn.00415540
cmp byte [0x46823c], 0
je 0x41526e
cmp byte [esp + 0x1064], 0
jne 0x41526e
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41526e
mov eax, dword [esp + 0xc]
cmp eax, dword [0x468240]
jbe 0x415267
mov dword [0x468240], eax
mov byte [0x46823d], 1
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41528b
push str..exe
push esi
call fcn.0040854c
test eax, eax
je 0x4152c6
cmp byte [0x458d90], 0
mov al, byte [esp + 0x1064]
je 0x4152cd
test al, al
jne 0x4152cd
cmp byte [0x46823c], al
jne 0x4152cd
mov dword [0x468244], 0x1b58
jmp 0x4152cd
xor edi, edi
mov word [esi + ecx*2], di
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
jmp 0x41515e
mov al, byte [esp + 0x1064]
test bl, bl
je 0x4152de
test al, al
je 0x4152de
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x1050]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00416559
add esp, 0x1048
ret 0x10