Function at 0x4218b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x470b63
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4997f0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x4997f0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
call fcn.0040c970
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x421bc7
push 0x44
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.00454000
lea edx, [edi + 0x3518]
mov eax, edx
add esp, 0xc
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421936
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0xac]
call fcn.00401690
mov dword [esp + 0x100], ebx
mov eax, dword [esp + 0xb8]
cmp eax, ebx
jbe 0x4219a3
lea esi, [eax - 1]
cmp eax, esi
ja 0x421971
call fcn.0046cdcd
cmp dword [esp + 0xbc], 8
mov eax, dword [esp + 0xa8]
jae 0x421989
lea eax, [esp + 0xa8]
cmp word [eax + esi*2], 0x5c
je 0x4219a3
push 1
push 0x4818c4
lea ecx, [esp + 0xac]
call fcn.004135e0
push 4
push str.bin_
lea ecx, [esp + 0xac]
call fcn.004135e0
lea ecx, [edi + 0xbc0]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4219c1
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0xac]
call fcn.004135e0
push 4
push str..exe
lea ecx, [esp + 0xac]
call fcn.004135e0
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.00450a30
lea edx, [esp + 0x1c]
add esp, 4
push edx
call fcn.00452495
mov ecx, dword [esp + 0x40]
add esp, 4
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
push ecx
call fcn.004521a1
fstp qword [esp + 0x54]
add esp, 0x10
call fcn.00440b9e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x421a7f
push 0x80004005
call fcn.00402680
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 0x421aa6
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.0040a780
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 0x421ad6
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0xac]
call fcn.004135e0
mov eax, dword [esp + 0xa8]
mov edi, 8
cmp dword [esp + 0xbc], edi
jae 0x421b0f
lea eax, [esp + 0xa8]
push eax
push str.About_to_launch_Poker_SDL:__s
push ebx
push 0xaa3
push str.CWebInstallerDlg::runSDL
call fcn.0042eef0
mov eax, dword [esp + 0xbc]
add esp, 0x14
cmp dword [esp + 0xbc], edi
jae 0x421b3f
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 0x421b8b
cmp dword [esp + 0xbc], edi
mov eax, dword [esp + 0xa8]
jae 0x421b72
lea eax, [esp + 0xa8]
push eax
push str.Unable_to_launch_Poker_:__s
push ebx
push 0xaa7
push str.CWebInstallerDlg::runSDL
call fcn.0042eef0
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 0x421bae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xbc], edi
jb 0x421bc7
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00432e81
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.0044f9f6
mov esp, ebp
pop ebp
ret 4