Function at 0x422fb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0f0f
mov eax, dword fs:[0]
push eax
mov eax, 0x22c4
call fcn.00497d20
mov eax, dword [0x4cc99c]
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
mov esi, edx
push esi
push 0x4ab4fc
push 0x4b1e9c
push 0xb7c
push str.CMainViewWnd::DoProcessHttpCmd
mov ebx, ecx
push str.sourceMainView.cpp
push 2
mov dword [ebp - 0x229c], ebx
call fcn.0047d210
add esp, 0x1c
xor eax, eax
push 0xffe
push eax
lea ecx, [ebp - 0x1256]
push ecx
mov word [ebp - 0x1258], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea edx, [ebp - 0x1258]
push 0x800
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
xor eax, eax
push 0xc6
push eax
lea ecx, [ebp - 0x256]
push ecx
mov word [ebp - 0x258], ax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 0xc
lea edx, [ebp - 0x1258]
push 0x4b1ef4
push edx
call edi
add esp, 8
test eax, eax
je 0x423232
lea esi, [eax + 6]
push 0x4b1be0
push esi
call edi
add esp, 8
test eax, eax
je 0x4230aa
sub eax, esi
sar eax, 1
push eax
push esi
lea eax, [ebp - 0x258]
push 0x64
push eax
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
jmp 0x4230e5
push 0x4b1c24
push esi
call edi
add esp, 8
test eax, eax
je 0x4230d0
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x258]
push 0x64
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
jmp 0x4230e5
push esi
push 0x4ab4fc
lea edx, [ebp - 0x258]
push 0x64
push edx
call dword [sym.imp.MSVCR100.dll_swprintf_s]
add esp, 0x10
mov ecx, str.opengamelib
lea eax, [ebp - 0x258]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423119
test dx, dx
je 0x423115
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423119
add eax, 4
add ecx, 4
test dx, dx
jne 0x4230f3
xor eax, eax
jmp 0x42311e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x423135
push 1
mov ecx, ebx
call fcn.00434c30
mov eax, 1
jmp 0x423564
mov ecx, str.opendir
lea eax, [ebp - 0x258]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423166
test dx, dx
je 0x423162
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423166
add eax, 4
add ecx, 4
test dx, dx
jne 0x423140
xor eax, eax
jmp 0x42316b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4239b9
push 0x7e
push eax
lea ecx, [ebp - 0x18e]
push ecx
mov word [ebp - 0x190], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x1258]
push 0x4b1f24
push edx
call edi
add esp, 8
test eax, eax
je 0x423562
lea esi, [eax + 6]
push 0x4b1be0
push esi
call edi
add esp, 8
test eax, eax
je 0x4231ce
sub eax, esi
sar eax, 1
push eax
push esi
lea eax, [ebp - 0x190]
push 0x40
push eax
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
jmp 0x423209
push 0x4b1c24
push esi
call edi
add esp, 8
test eax, eax
je 0x4231f4
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x190]
push 0x40
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
jmp 0x423209
push esi
push 0x4ab4fc
lea edx, [ebp - 0x190]
push 0x40
push edx
call dword [sym.imp.MSVCR100.dll_swprintf_s]
add esp, 0x10
sub esp, 0x1c
lea eax, [ebp - 0x190]
mov ecx, esp
mov dword [ebp - 0x2298], esp
push eax
call fcn.00402480
call fcn.004292b0
mov eax, 1
jmp 0x423564
lea ecx, [ebp - 0x1258]
push str.openurl:
push ecx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x4232a9
xor edx, edx
push 0xffe
push edx
lea eax, [ebp - 0x2256]
push eax
mov word [ebp - 0x2258], dx
call sub.MSVCR100.dll_memset
lea eax, [esi + 0x10]
add esp, 0xc
sub esi, eax
sar esi, 1
push esi
push eax
lea ecx, [ebp - 0x2258]
push 0x800
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
add esp, 0x10
push 1
push 0
push 0
lea edx, [ebp - 0x2258]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
jmp 0x423564
xor eax, eax
push 0x7e
push eax
lea ecx, [ebp - 0x8e]
push ecx
mov word [ebp - 0x90], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x1258]
push 0x4b1f24
push edx
call edi
add esp, 8
test eax, eax
je 0x423562
lea ebx, [eax + 6]
push 0x4b1be0
push ebx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x423309
sub eax, ebx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x90]
push 0x40
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
add esp, 0x10
xor edx, edx
push 0x7e
push edx
lea eax, [ebp - 0x10e]
push eax
mov word [ebp - 0x110], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
push str.category:
push esi
call edi
add esp, 8
test eax, eax
je 0x423562
lea esi, [eax + 0x12]
push 0x4b0e3c
push esi
call edi
add esp, 8
test eax, eax
je 0x423360
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x110]
push 0x40
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
jmp 0x42339b
push 0x4b1c24
push esi
call edi
add esp, 8
test eax, eax
je 0x423386
sub eax, esi
sar eax, 1
push eax
push esi
lea edx, [ebp - 0x110]
push 0x40
push edx
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
jmp 0x42339b
push esi
push 0x4ab4fc
lea eax, [ebp - 0x110]
push 0x40
push eax
call dword [sym.imp.MSVCR100.dll_swprintf_s]
add esp, 0x10
lea ecx, [ebp - 0x90]
push str.installstate
push ecx
call fcn.00467230
mov esi, eax
push esi
lea edx, [ebp - 0x90]
push edx
push str.docid:_s__installstate:_d
push 0x4b1f94
push 0xc02
push str.CMainViewWnd::DoProcessHttpCmd
push str.sourceMainView.cpp
push 2
mov dword [ebp - 0x2298], esi
call fcn.0047d210
add esp, 0x28
cmp esi, 2
jne 0x4238c4
push esi
lea eax, [ebp - 0x90]
push eax
push str.docid:_s__installstate:_d
push 0x4b1fac
push 0xc06
push str.CMainViewWnd::DoProcessHttpCmd
push str.sourceMainView.cpp
push esi
call fcn.0047d210
mov ebx, dword [ebp - 0x229c]
mov edi, dword [ebx + 0x23a8]
mov esi, dword [edi]
add esp, 0x20
cmp esi, edi
je 0x42347a
jmp 0x423430
mov ecx, dword [esi + 8]
mov dword [ebp - 0x2294], ecx
add ecx, 0x100
lea eax, [ebp - 0x90]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42346b
test dx, dx
je 0x423467
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42346b
add eax, 4
add ecx, 4
test dx, dx
jne 0x423445
xor eax, eax
jmp 0x423470
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4234f1
mov esi, dword [esi]
cmp esi, edi
jne 0x423430
mov ecx, ebx
call fcn.00435f80
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x90]
push eax
push str.id:_s__category:_s
push 0x4b2054
push 0xc5e
push str.CMainViewWnd::DoProcessHttpCmd
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x20
push 0
push 1
sub esp, 0x1c
lea edx, [ebp - 0x110]
mov ecx, esp
mov dword [ebp - 0x2298], esp
push edx
call fcn.00402480
sub esp, 0x1c
mov dword [ebp - 4], 9
lea eax, [ebp - 0x90]
mov ecx, esp
mov dword [ebp - 0x22a0], esp
push eax
call fcn.00402480
push ebx
jmp 0x4239ad
mov edi, ebx
call fcn.00426f60
mov ebx, dword [ebp - 0x2294]
mov esi, dword [sym.imp.MSVCR100.dll__wtoi]
add ebx, 0x180
push ebx
call esi
add esp, 4
cmp eax, 2
je 0x4237e0
push ebx
call esi
add esp, 4
cmp eax, 1
je 0x4237e0
mov esi, dword [ebp - 0x2294]
add esi, 0x3200
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423540
sub eax, edx
sar eax, 1
jne 0x423580
push 0
push 0
push 0x4b1fd8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
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.00497792
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x2274]
call fcn.00402480
push 1
push 0xffffffffffffffff
push 0x4adfcc
lea ecx, [ebp - 0x2274]
mov dword [ebp - 4], 2
call fcn.00408640
cmp eax, 0xffffffff
jne 0x4235b9
lea ecx, [ebp - 0x2274]
call fcn.004024d0
jmp 0x423562
push eax
push 0
lea ecx, [ebp - 0x2290]
push ecx
lea ecx, [ebp - 0x2274]
call fcn.00408400
push eax
lea ecx, [ebp - 0x2274]
mov byte [ebp - 4], 3
call fcn.004085c0
lea ecx, [ebp - 0x2290]
mov byte [ebp - 4], 2
call fcn.004024d0
cmp dword [ebp - 0x2260], 8
mov eax, dword [ebp - 0x2274]
jae 0x423602
lea eax, [ebp - 0x2274]
push 5
push eax
push 0x4ab248
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea edx, [ebp - 0x22a1]
push edx
lea eax, [ebp - 0x22a1]
push eax
lea ecx, [ebp - 0x22d0]
call fcn.0043de00
push 0x4b1b60
lea ecx, [ebp - 0x2290]
mov byte [ebp - 4], 4
call fcn.00402480
mov edi, dword [ebp - 0x2294]
add edi, 0x100
push edi
lea ecx, [ebp - 0x2290]
push ecx
lea ecx, [ebp - 0x22d0]
mov byte [ebp - 4], 5
call fcn.0043d6b0
mov ecx, eax
call fcn.00403830
lea ecx, [ebp - 0x2290]
mov byte [ebp - 4], 4
call fcn.004024d0
mov esi, dword [ebp - 0x2294]
add esi, 0x200
je 0x4236c9
push 0x4b1b68
lea ecx, [ebp - 0x2290]
call fcn.00402480
push esi
lea edx, [ebp - 0x2290]
push edx
lea ecx, [ebp - 0x22d0]
mov byte [ebp - 4], 6
call fcn.0043d6b0
mov ecx, eax
call fcn.00403830
lea ecx, [ebp - 0x2290]
mov byte [ebp - 4], 4
call fcn.004024d0
test ebx, ebx
je 0x42370a
push 0x4b1b9c
lea ecx, [ebp - 0x2290]
call fcn.00402480
push ebx
lea eax, [ebp - 0x2290]
push eax
lea ecx, [ebp - 0x22d0]
mov byte [ebp - 4], 7
call fcn.0043d6b0
mov ecx, eax
call fcn.00403830
lea ecx, [ebp - 0x2290]
mov byte [ebp - 4], 4
call fcn.004024d0
push str.play_game
lea ecx, [ebp - 0x2290]
call fcn.00402480
push 0
lea ecx, [ebp - 0x22d0]
push ecx
lea edx, [ebp - 0x2290]
push edx
mov byte [ebp - 4], 8
call fcn.004807b0
add esp, 0xc
lea ecx, [ebp - 0x2290]
mov byte [ebp - 4], 4
call fcn.004024d0
test esi, esi
je 0x42376e
push esi
push edi
push str.id:_s__title:_s
push str.play_game
push 0xc4d
push str.CMainViewWnd::DoProcessHttpCmd
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x20
push 0xe958
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x42378b
mov ecx, eax
call fcn.004035d0
mov esi, eax
jmp 0x42378d
xor esi, esi
mov eax, dword [ebp - 0x2294]
push 0xe958
push eax
push esi
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0x229c]
add esp, 0xc
mov ecx, 1
mov ebx, esi
mov dword [esi + 0xd8a4], 0
call fcn.00429e90
lea ecx, [ebp - 0x22d0]
call fcn.00421740
lea ecx, [ebp - 0x2274]
mov dword [ebp - 4], 0xffffffff
call fcn.004024d0
jmp 0x4238a4
mov eax, 0xe958
call fcn.00497d20
mov esi, dword [ebp - 0x2294]
mov edi, esp
mov ecx, 0x3a56
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x2274]
call fcn.004349f0
lea ecx, [ebp - 0x90]
push ecx
push str.docid:_s
push 0x4b1fcc
push 0xc2e
push str.CMainViewWnd::DoProcessHttpCmd
push str.sourceMainView.cpp
push 2
mov dword [ebp - 4], 0
call fcn.0047d210
mov edi, dword [ebp - 0x2274]
mov esi, 8
add esp, 0x1c
cmp dword [ebp - 0x2260], esi
jae 0x42384e
lea edi, [ebp - 0x2274]
lea edx, [ebp - 0x22a0]
push edx
call fcn.0040fce0
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x423868
mov eax, dword [eax]
jmp 0x42386a
xor eax, eax
mov ecx, dword [ebp - 0x229c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00423b90
lea edi, [ebp - 0x22a0]
call fcn.0040fd80
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2260], esi
jb 0x4238a4
mov eax, dword [ebp - 0x2274]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x2294]
push 0
push str.startgame
push ecx
call fcn.00477930
add esp, 0xc
mov eax, 1
jmp 0x423564
mov edi, dword [ebp - 0x229c]
mov ecx, edi
call fcn.00435f80
mov eax, dword [edi + 0x23a8]
mov esi, dword [eax]
mov dword [ebp - 0x22a0], eax
cmp esi, eax
je 0x423942
jmp 0x4238f0
mov ebx, dword [esi + 8]
mov dword [ebp - 0x2294], ebx
lea ecx, [ebx + 0x100]
lea eax, [ebp - 0x90]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42392b
test dx, dx
je 0x423927
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42392b
add eax, 4
add ecx, 4
test dx, dx
jne 0x423905
xor eax, eax
jmp 0x423930
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4239c3
mov esi, dword [esi]
cmp esi, dword [ebp - 0x22a0]
jne 0x4238f0
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x90]
push ecx
push str.id:_s__type:_s
push 0x4b20d4
push 0xc97
push str.CMainViewWnd::DoProcessHttpCmd
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x20
push 0
push 1
sub esp, 0x1c
lea edx, [ebp - 0x110]
mov ecx, esp
mov dword [ebp - 0x2298], esp
push edx
call fcn.00402480
sub esp, 0x1c
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x90]
mov ecx, esp
mov dword [ebp - 0x22a0], esp
push eax
call fcn.00402480
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.00420fc0
mov eax, 1
jmp 0x423564
mov esi, dword [sym.imp.MSVCR100.dll__wtoi]
lea edi, [ebx + 0x180]
push edi
call esi
add esp, 4
cmp eax, 4
je 0x4239e5
push edi
call esi
add esp, 4
cmp eax, 5
jne 0x4239b9
cmp dword [ebp - 0x2298], 1
jne 0x423aea
mov esi, dword [ebp - 0x2294]
lea ecx, [esi + 0x200]
push ecx
lea ebx, [esi + 0x100]
push ebx
push str.id:_s__title:_s
push 0x4b2074
push 0xc7b
push str.CMainViewWnd::DoProcessHttpCmd
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 4
add esi, 0xb820
mov ecx, esp
mov dword [ebp - 0x2298], esp
push esi
call fcn.00402480
call fcn.00468cf0
add esp, 0x1c
xor esi, esi
mov dword [ebp - 0x2298], eax
test eax, eax
jle 0x423ac3
mov edx, dword [0x4cc964]
mov eax, dword [edx + 0xc]
mov ecx, 0x4cc964
call eax
add eax, 0x10
mov dword [ebp - 0x22a0], eax
inc esi
push esi
push str.process_d
lea edi, [ebp - 0x22a0]
mov dword [ebp - 4], 0xa
call fcn.00403000
mov edi, dword [ebp - 0x22a0]
push 0x4b07fc
push edi
push ebx
call fcn.00460bc0
lea eax, [edi - 0x10]
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423abb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, dword [ebp - 0x2298]
jl 0x423a51
mov eax, 0xe958
call fcn.00497d20
mov esi, dword [ebp - 0x2294]
mov edi, esp
mov ecx, 0x3a56
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x229c]
push ecx
call fcn.004225e0
jmp 0x423b5b
lea esi, [ebx + 0x100]
add ebx, 0x200
push ebx
push esi
push str.id:_s__title:_s
push 0x4b209c
push 0xc8c
push str.CMainViewWnd::DoProcessHttpCmd
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x20
push 0
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2298], esp
push edi
call fcn.00402480
sub esp, 0x1c
mov dword [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x22a0], esp
push esi
call fcn.00402480
mov edx, dword [ebp - 0x229c]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.00420fc0
mov eax, dword [ebp - 0x229c]
movzx ecx, byte [eax + 0x2694]
mov edx, dword [ebp - 0x2294]
push ecx
push str.installgame
push edx
call fcn.00477930
add esp, 0xc
mov eax, 1
jmp 0x423564