Function at 0x422680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x472203
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x49b7f0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x49b7f0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040cc60
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x422986
push 0x44
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.00455660
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x370]
lea ecx, [esp + 0xac]
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
call fcn.00401cb0
mov dword [esp + 0x100], ebx
mov eax, dword [esp + 0xb8]
cmp eax, ebx
jbe 0x422762
lea esi, [eax - 1]
cmp eax, esi
ja 0x422730
call fcn.0046e43d
cmp dword [esp + 0xbc], 8
mov eax, dword [esp + 0xa8]
jae 0x422748
lea eax, [esp + 0xa8]
cmp word [eax + esi*2], 0x5c
je 0x422762
push 1
push 0x4838c4
lea ecx, [esp + 0xac]
call fcn.00413a90
push 4
push str.bin_
lea ecx, [esp + 0xac]
call fcn.00413a90
lea ecx, [edi + 0xbc0]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x422780
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0xac]
call fcn.00413a90
push 4
push str..exe
lea ecx, [esp + 0xac]
call fcn.00413a90
xor eax, eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], 0x76
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 1
call fcn.0045208d
lea edx, [esp + 0x1c]
add esp, 4
push edx
call fcn.00453af5
mov ecx, dword [esp + 0x40]
add esp, 4
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
push ecx
call fcn.00453801
fstp qword [esp + 0x54]
add esp, 0x10
call fcn.00442206
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42283e
push 0x80004005
call fcn.00402710
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
cmp dword [ebp + 8], ebx
mov byte [esp + 0x100], 1
mov eax, str.Install
je 0x422865
mov eax, str.Update
fld qword [esp + 0x44]
sub esp, 8
fstp qword [esp]
push str._installerTimeStamp
push eax
push str._installer
lea ecx, [esp + 0x28]
push str.__s__s__s__f
push ecx
call fcn.0040a810
mov esi, dword [esp + 0x30]
mov eax, esi
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x422895
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0xac]
call fcn.00413a90
mov eax, dword [esp + 0xa8]
mov edi, 8
cmp dword [esp + 0xbc], edi
jae 0x4228ce
lea eax, [esp + 0xa8]
push eax
push str.About_to_launch_Poker_SDL:__s
push ebx
push 0xace
push str.CWebInstallerDlg::runSDL
call fcn.00430530
mov eax, dword [esp + 0xbc]
add esp, 0x14
cmp dword [esp + 0xbc], edi
jae 0x4228fe
lea eax, [esp + 0xa8]
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x60]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42294a
cmp dword [esp + 0xbc], edi
mov eax, dword [esp + 0xa8]
jae 0x422931
lea eax, [esp + 0xa8]
push eax
push str.Unable_to_launch_Poker_:__s
push ebx
push 0xad2
push str.CWebInstallerDlg::runSDL
call fcn.00430530
add esp, 0x14
lea eax, [esi - 0x10]
mov byte [esp + 0x100], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42296d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xbc], edi
jb 0x422986
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.004344c6
add esp, 4
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00451053
mov esp, ebp
pop ebp
ret 4