Function at 0x422780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x472373
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 0x422a86
push 0x44
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.004557d0
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 0x422862
lea esi, [eax - 1]
cmp eax, esi
ja 0x422830
call fcn.0046e5ad
cmp dword [esp + 0xbc], 8
mov eax, dword [esp + 0xa8]
jae 0x422848
lea eax, [esp + 0xa8]
cmp word [eax + esi*2], 0x5c
je 0x422862
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 0x422880
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.004521fd
lea edx, [esp + 0x1c]
add esp, 4
push edx
call fcn.00453c65
mov ecx, dword [esp + 0x40]
add esp, 4
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
push ecx
call fcn.00453971
fstp qword [esp + 0x54]
add esp, 0x10
call fcn.00442376
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42293e
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 0x422965
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 0x422995
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 0x4229ce
lea eax, [esp + 0xa8]
push eax
push str.About_to_launch_Poker_SDL:__s
push ebx
push 0xada
push str.CWebInstallerDlg::runSDL
call fcn.004306a0
mov eax, dword [esp + 0xbc]
add esp, 0x14
cmp dword [esp + 0xbc], edi
jae 0x4229fe
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 0x422a4a
cmp dword [esp + 0xbc], edi
mov eax, dword [esp + 0xa8]
jae 0x422a31
lea eax, [esp + 0xa8]
push eax
push str.Unable_to_launch_Poker_:__s
push ebx
push 0xade
push str.CWebInstallerDlg::runSDL
call fcn.004306a0
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 0x422a6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xbc], edi
jb 0x422a86
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00434636
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.004511c3
mov esp, ebp
pop ebp
ret 4