Function at 0x422060
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x471933
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x49a7f0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x49a7f0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040cbe0
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x422366
push 0x44
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.00454dc0
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.00401c20
mov dword [esp + 0x100], ebx
mov eax, dword [esp + 0xb8]
cmp eax, ebx
jbe 0x422142
lea esi, [eax - 1]
cmp eax, esi
ja 0x422110
call fcn.0046db9d
cmp dword [esp + 0xbc], 8
mov eax, dword [esp + 0xa8]
jae 0x422128
lea eax, [esp + 0xa8]
cmp word [eax + esi*2], 0x5c
je 0x422142
push 1
push 0x4828c4
lea ecx, [esp + 0xac]
call fcn.00413970
push 4
push str.bin_
lea ecx, [esp + 0xac]
call fcn.00413970
lea ecx, [edi + 0xbc0]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x422160
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0xac]
call fcn.00413970
push 4
push str..exe
lea ecx, [esp + 0xac]
call fcn.00413970
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.004517f1
lea edx, [esp + 0x1c]
add esp, 4
push edx
call fcn.00453255
mov ecx, dword [esp + 0x40]
add esp, 4
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
push ecx
call fcn.00452f61
fstp qword [esp + 0x54]
add esp, 0x10
call fcn.0044197c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42221e
push 0x80004005
call fcn.00402690
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 0x422245
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.0040a790
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 0x422275
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0xac]
call fcn.00413970
mov eax, dword [esp + 0xa8]
mov edi, 8
cmp dword [esp + 0xbc], edi
jae 0x4222ae
lea eax, [esp + 0xa8]
push eax
push str.About_to_launch_Poker_SDL:__s
push ebx
push 0xa8d
push str.CWebInstallerDlg::runSDL
call fcn.0042fc90
mov eax, dword [esp + 0xbc]
add esp, 0x14
cmp dword [esp + 0xbc], edi
jae 0x4222de
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 0x42232a
cmp dword [esp + 0xbc], edi
mov eax, dword [esp + 0xa8]
jae 0x422311
lea eax, [esp + 0xa8]
push eax
push str.Unable_to_launch_Poker_:__s
push ebx
push 0xa91
push str.CWebInstallerDlg::runSDL
call fcn.0042fc90
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 0x42234d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xbc], edi
jb 0x422366
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00433c26
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.004507b7
mov esp, ebp
pop ebp
ret 4