Function at 0x42b080
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x56b8eb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c96a4]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004434f5
mov eax, dword [edi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004549f7
mov ebx, eax
test ebx, ebx
je 0x42b17b
call fcn.00441f5f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42b0f8
push 0x80004005
call fcn.00403c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x65
mov dword [esp + 0x230], 0
call fcn.0044ce06
test eax, eax
je 0x42b12e
push 0x65
push eax
lea ecx, [esp + 0x1c]
call fcn.00405e60
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
je 0x42b154
mov ecx, dword [ebx + 4]
mov ebp, dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
push ecx
call ebp
mov edx, dword [ebx + 4]
push esi
push 0x10
push 0
push edx
call ebp
lea eax, [esi - 0x10]
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b17b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5a1a20
push 0x5e0788
push 0x59acec
push 0x103
lea ecx, [esp + 0x28]
push 0x104
push ecx
call fcn.005403d0
add esp, 0x18
push 0x50
push 0
push 0
push 1
lea edx, [esp + 0x28]
push edx
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [edi + 0x1ec0], eax
test eax, eax
jne 0x42b1f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Load_Icon_err_x
call dword [0x5e1244]
add esp, 8
call fcn.004548a7
call fcn.004548a7
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [edi + 0x1ec0], eax
mov eax, dword [edi + 0x1ec0]
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push ecx
call esi
mov edx, dword [edi + 0x1ec0]
mov eax, dword [edi + 0x20]
push edx
push 0
push 0x80
push eax
call esi
cmp dword [0x5dbb38], 0
mov ebp, 0x10
mov dword [0x5cb7a4], 0x43ace0
mov dword [0x5cb79c], ebp
mov dword [0x5cb78c], 0x43ace0
mov dword [0x5cb784], ebp
je 0x42b265
mov dword [0x5cb774], fcn.0043ace0
mov dword [0x5cb76c], ebp
call fcn.0043ae50
push 0x5e0788
push str._sskins__folder_dn2.png
push 0x103
lea ecx, [esp + 0x24]
push 0x104
push ecx
mov dword [edi + 0x1e70], 0
call fcn.005403d0
add esp, 0x14
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b2a9
mov dword [edi + 0x1e70], 1
cmp dword [0x5dbb2c], 0
je 0x42b2d4
cmp dword [0x5dbb40], 0
je 0x42b2d4
cmp dword [0x5dbb44], 0
je 0x42b2d4
push 0
push 0
push str.DpiOsp_and_ShowLED_cant_be_true_together
mov ecx, edi
call fcn.00446e31
mov eax, dword [edi + 0x20]
lea ebx, [edi + 0x1e8c]
mov esi, ebx
call fcn.00440eb0
call fcn.00440ad0
mov esi, eax
test esi, esi
je 0x42b377
mov eax, dword [0x5e1a14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push eax
call fcn.0040a200
add esp, 4
add eax, ebp
push edi
mov dword [ebx], eax
call fcn.00421c50
add esp, 8
cmp eax, 1
jne 0x42b363
call fcn.00441150
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x5e0788
push str._supdate__bootloader.exe
push 0x103
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.005403d0
add esp, 0x14
push 1
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [edi + 0x20]
push 0
push 0
push ebp
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x42b4e6
mov ecx, ebx
call fcn.00440b70
mov ebp, eax
call fcn.0042bdf0
push 0x5dbb64
mov ecx, edi
call fcn.0044b7f3
mov eax, dword [edi + 0x20]
push eax
mov esi, edi
call fcn.0042cc10
mov eax, 1
cmp ax, word [0x5dbbe4]
jne 0x42b3c0
mov ecx, dword [edi + 0x20]
push 0
push 0x514
push 0xc9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
cmp ebp, 1
je 0x42b3f1
cmp dword [0x5dbb5c], 0
jne 0x42b3f1
push edi
mov ecx, 0x5e19f0
call fcn.00421920
mov edx, dword [edi + 0x20]
add esp, 4
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x42b4e6
push edi
push ebx
call fcn.00403d00
mov ax, word [0x5dbbe2]
mov ecx, 1
add esp, 8
cmp cx, ax
je 0x42b415
mov edx, 3
cmp dx, ax
jne 0x42b41c
mov esi, edi
call fcn.0042cf70
cmp dword [edi + 0x1e60], 0
je 0x42b42e
mov ecx, edi
call fcn.0042b520
jmp 0x42b434
push edi
call fcn.0042b5e0
cmp dword [edi + 0x1e7c], 0
je 0x42b476
mov eax, dword [0x5cb10c]
test eax, eax
jl 0x42b44a
mov esi, eax
jmp 0x42b453
mov ecx, dword [0x5e1290]
mov esi, dword [ecx + 4]
push esi
push eax
push str.OnInitDialog:_g_nCurDpiLevel0x_x__nLevel0x_x
call dword [0x5e1244]
mov edx, dword [edi + 0x1e7c]
add esp, 0xc
push esi
push edx
call fcn.00402040
mov dword [0x5cb10c], esi
mov eax, dword [edi + 0x1e78]
test eax, eax
je 0x42b490
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00448211
mov ecx, dword [0x5cb110]
cmp ecx, 0xffffffff
je 0x42b4ab
mov eax, dword [edi + 0x1e80]
test eax, eax
je 0x42b4ab
push eax
call fcn.0043e3d0
cmp dword [0x5dfdf8], 0
je 0x42b4e6
push str.OnInitDialog:_SetOnce1
call dword [0x5e1244]
add esp, 4
cmp dword [edi + 0x1eb4], 0
je 0x42b4e6
mov ecx, dword [0x5e1228]
push 0
push 1
push ecx
mov dword [0x5e1230], 2
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov eax, 1
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0053fb0e
add esp, 0x21c
ret