Function at 0x4319b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a5ec
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x5c5b9c]
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 edi, edi
push edi
push edi
mov esi, ecx
mov eax, dword [esi + 0xc8]
push 0x188
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x431dc6
push 0xffffffffffffffff
push edi
cmp dword [esi + 0x130], eax
jne 0x431b06
mov edx, dword [esi + 0x120]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*4]
xor ecx, ecx
mov word [ebp - 0x238], cx
push eax
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], edi
call fcn.004025d0
push 6
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x3c
lea edx, [ebp - 0x2ac]
push edi
push edx
call fcn.00531b10
mov esi, 8
add esp, 0xc
mov dword [ebp - 0x2ac], 0x3c
mov dword [ebp - 0x2a8], 0x4540
mov dword [ebp - 0x2a0], str.open
cmp dword [ebp - 0x224], esi
jb 0x431a9c
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x29c], eax
jmp 0x431aa8
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x29c], ecx
lea edx, [ebp - 0x2ac]
push edx
mov dword [ebp - 0x290], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x431ad2
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x431ae8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CReadmeDlg::OnReadme_ShellExecuteEx_return_FALSE__GetLastError___1_d___n
push 4
call fcn.00411380
add esp, 0xc
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x224], esi
jb 0x431dc6
mov ecx, dword [ebp - 0x238]
push ecx
jmp 0x431dbe
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x120]
xor ecx, ecx
lea eax, [eax + edx*4]
mov word [ebp - 0x254], cx
push eax
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], edi
call fcn.004025d0
mov dword [ebp - 4], 1
call fcn.0043d2a1
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x431b5e
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 2
call fcn.0043d2a1
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x431b8e
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x25c], edi
call fcn.00445a97
mov esi, dword [eax + 4]
call fcn.00445a97
mov ebx, dword [eax + 4]
lea ecx, [esi + 0xb8]
call fcn.00404500
push eax
lea ecx, [ebx + 0xb8]
call fcn.004048c0
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.00401950
add esp, 0xc
cmp dword [ebp - 0x240], 8
jb 0x431bf8
mov edx, dword [ebp - 0x254]
cmp edx, edi
jne 0x431bfe
xor eax, eax
jmp 0x431c12
lea edx, [ebp - 0x254]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x431c03
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x258]
call fcn.00401600
push 1
push 0x561b1c
lea ecx, [ebp - 0x258]
call fcn.00405ed0
mov ebx, dword [ebp - 0x260]
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [ebp - 0x258]
call fcn.00405ed0
push 0x44
lea edx, [ebp - 0x2f0]
push edi
push edx
call fcn.00531b10
push 0x20a
lea eax, [ebp - 0x21c]
push edi
push eax
mov dword [ebp - 0x2f0], 0x44
call fcn.00531b10
mov edi, dword [ebp - 0x258]
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
add esp, 0x18
or ecx, eax
jge 0x431c9d
push 0
lea ecx, [ebp - 0x258]
call fcn.004012e0
mov edi, dword [ebp - 0x258]
push edi
lea ecx, [ebp - 0x21c]
push 0x105
push ecx
call fcn.00531d3f
lea edx, [ebp - 0x21c]
push edx
push str.CReadmeDlg::OnReadme__szCmdLine____1_s____n
push 5
call fcn.00411380
add esp, 0x18
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x2f0]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x431d5f
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x270]
push 0x64
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
call fcn.004039c0
cmp esi, 0x102
je 0x431d00
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x25c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x25c]
push ecx
push str.CReadmeDlg::OnReadme__nExitCode___1_d__n
push 4
call fcn.00411380
mov edx, dword [ebp - 0x270]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x431d6e
push str.CReadmeDlg::OnReadme_CreateProcess_return_FALSE._n
push 4
call fcn.00411380
add esp, 8
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x431d8e
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431dae
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
cmp dword [ebp - 0x240], 8
jb 0x431dc6
mov eax, dword [ebp - 0x254]
push eax
call fcn.0043c798
add esp, 4
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.00530f8d
mov esp, ebp
pop ebp
ret