Function at 0x408350
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52dcd8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
call edx
lea eax, [esi + 0x3c]
mov eax, dword [eax]
xor esi, esi
push esi
push esi
push 0x1004
push eax
call dword [0x531444]
test eax, eax
je 0x408be8
lea edi, [esp + 0x18]
call fcn.0045e680
mov dword [esp + 0x80], esi
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 0xc]
cmp ecx, esi
jle 0x4083e6
lea eax, [ecx - 1]
cmp eax, esi
jl 0x4086b2
cmp eax, ecx
jg 0x4086b2
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x4083e6
push 0x5c
call fcn.004118c0
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
mov ebx, str.selectcity.dat
mov byte [esp + 0x88], 1
call fcn.004036c0
mov ecx, dword [eax]
add esp, 8
mov eax, 1
lea esi, [esp + 0x4c]
call fcn.00465ab0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40843d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x5759e8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5759e8
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x80], 2
mov edx, dword [0x5759e8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5759e8
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x80], 3
mov edx, dword [0x5759e8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5759e8
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
xor ebp, ebp
push ebp
push ebp
add eax, 0x3c
mov byte [esp + 0x88], 4
mov ecx, dword [eax]
push 0x1004
push ecx
call dword [0x531444]
test eax, eax
jle 0x408624
jmp 0x4084c0
mov eax, dword [esp + 0x1c]
add eax, 0x3c
push ebp
push eax
lea eax, [esp + 0x1c]
call fcn.0040d630
test eax, eax
je 0x4085ff
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x4085ff
mov eax, edx
push 0x2d
push eax
call fcn.00500984
add esp, 8
test eax, eax
je 0x4085ff
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x4085ff
lea ecx, [esp + 0x34]
lea edx, [esp + 0x14]
call fcn.00401d40
mov ebx, eax
mov byte [esp + 0x80], 5
call fcn.0040d970
mov edi, eax
call fcn.0040d9f0
lea edi, [esp + 0x28]
call fcn.00401dd0
mov byte [esp + 0x80], 4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408563
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 1]
lea esi, [esp + 0x30]
lea edx, [esp + 0x14]
call fcn.0040d210
mov ebx, eax
mov byte [esp + 0x80], 6
call fcn.0040d970
mov edi, eax
call fcn.0040d9f0
lea edi, [esp + 0x24]
call fcn.00401dd0
mov byte [esp + 0x80], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4085ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004071e0
mov esi, eax
test esi, esi
je 0x4085ff
cmp dword [esp + 0x20], 0
jne 0x4085e9
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
push ecx
call fcn.00405b20
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
xor ecx, ecx
call fcn.0044a040
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x3c]
push 0
push 0
add eax, 0x3c
push 0x1004
push edx
add ebp, 1
call dword [0x531444]
cmp ebp, eax
jl 0x4084c0
xor ebp, ebp
cmp dword [esp + 0x20], ebp
jne 0x40863f
mov eax, dword [esp + 0x4c]
cmp eax, ebp
je 0x40863f
push eax
call dword [0x531378]
mov dword [esp + 0x4c], ebp
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ebx, str.unselectdict.dat
call fcn.004036c0
mov eax, dword [eax]
add esp, 8
push eax
push ebp
push str.unselectdict
call dword [0x531348]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408685
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x78]
cmp eax, ebp
mov dword [esp + 0x34], ebp
je 0x4086bc
mov edx, dword [ecx + 0x8c]
cmp eax, edx
je 0x4086bc
mov ecx, eax
mov eax, dword [eax + 0x24]
cmp eax, edx
je 0x4086be
mov ecx, eax
mov eax, dword [ecx + 0x24]
cmp eax, edx
jne 0x4086a7
jmp 0x4086be
push 0x80070057
call fcn.004026a0
xor ecx, ecx
cmp ecx, ebp
mov dword [esp + 0x2c], ecx
je 0x408a78
lea ebx, [ebx]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x40872a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x28]
mov ecx, dword [ecx + 0x8c]
cmp edx, ecx
je 0x40870f
test edx, edx
je 0x408705
mov eax, dword [edx + 0x24]
cmp eax, ecx
je 0x408707
mov edx, eax
mov eax, dword [edx + 0x24]
cmp eax, ecx
jne 0x4086f4
mov eax, edx
mov dword [esp + 0x20], edx
jmp 0x408730
xor edx, edx
mov eax, edx
mov dword [esp + 0x20], edx
jmp 0x408730
mov eax, dword [esi + 0x2c]
cmp eax, ecx
mov edx, esi
je 0x40872a
cmp edx, dword [eax + 0x28]
jne 0x408726
mov edx, eax
mov eax, dword [eax + 0x2c]
cmp eax, ecx
jne 0x408718
cmp eax, ecx
jne 0x40872c
xor eax, eax
mov dword [esp + 0x20], eax
test esi, esi
mov dword [esp + 0x2c], eax
je 0x4089c4
cmp dword [esi + 0x1c], 0
je 0x40881d
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 8]
mov esi, dword [esi + 4]
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x38], 1
call fcn.00448530
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x84], 7
call fcn.0044af60
add esp, 4
test eax, eax
jne 0x408798
mov byte [esp + 0x80], 4
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4087ce
push edi
push ebx
mov ecx, esi
lea edx, [esp + 0x5c]
call fcn.004485f0
lea ecx, [esp + 0x54]
push ecx
call fcn.0044b5a0
mov byte [esp + 0x84], 4
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4087da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4087fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x54]
call fcn.0044bf00
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4089c4
push eax
call fcn.004ff948
add esp, 4
jmp 0x4089c4
mov edx, dword [0x5759e8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5759e8
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
push ebp
push str.unselect_u
lea edi, [esp + 0x38]
mov byte [esp + 0x88], 8
call fcn.00401f20
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x54]
push edx
mov ebx, str.unselectdict.dat
call fcn.004036c0
mov edi, eax
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ebx, 0x5358d4
mov byte [esp + 0x98], 9
call fcn.004036c0
lea edx, [esi + 0xc]
push edx
lea ecx, [esp + 0x5c]
push ecx
mov ebx, eax
mov byte [esp + 0xa0], 0xa
call fcn.0040d230
push eax
lea edx, [esp + 0x60]
push edx
mov ebx, 0x5358d4
mov byte [esp + 0xa8], 0xb
call fcn.004036c0
add esi, 4
lea ecx, [esp + 0x60]
push esi
push ecx
mov ebx, eax
mov byte [esp + 0xb0], 0xc
call fcn.0040d230
mov edi, dword [edi]
mov eax, dword [eax]
mov esi, dword [esp + 0x60]
add esp, 0x30
push edi
push eax
push esi
push str.unselectdict
call dword [0x531344]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4088fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 0xb
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408925
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40894d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 9
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408975
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40899d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
add ebp, 1
mov byte [esp + 0x80], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4089c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x20], 0
jne 0x4086d0
test ebp, ebp
jbe 0x408a78
mov edx, dword [0x5759e8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5759e8
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
push ebp
push 0x5358d8
lea edi, [esp + 0x38]
mov byte [esp + 0x88], 0xd
call fcn.00401f20
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x54]
push edx
mov ebx, str.unselectdict.dat
call fcn.004036c0
mov eax, dword [eax]
mov esi, dword [esp + 0x40]
add esp, 0x10
push eax
push esi
push str.unselectcount
push str.unselectdict
call dword [0x531344]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x80], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x5759e8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5759e8
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push 3
push 1
push str._Mode___d__UpdateDictType___d_
lea edi, [esp + 0x2c]
mov byte [esp + 0x8c], 0xe
call fcn.00401f20
add esp, 0xc
cmp dword [esp + 0x34], 0
jne 0x408ac2
push 0x14
push str._UpdateCityDict__1_
mov ecx, edi
push ecx
call fcn.00411670
lea edx, [esp + 0x48]
push 0x578bc4
push edx
mov ebx, str.QQPYLiveup.exe
call fcn.004036c0
mov esi, dword [esp + 0x28]
mov eax, dword [eax]
add esp, 8
push 0
push 0
push esi
push eax
push str.open
push 0
call dword [0x5313ac]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x80], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408bae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x408bbd
push eax
call dword [0x531378]
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408be8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret