Function at 0x429740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fa3b
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x49b024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b0], ecx
xor ebx, ebx
lea ecx, [ebp - 0x194]
mov esi, edx
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], ebx
call fcn.004086c0
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp byte [0x4a2734], bl
jne 0x4297ba
push ebx
mov byte [0x4a2734], 1
call fcn.00430a6d
push eax
call fcn.00430aec
add esp, 8
lea ecx, [esi + 0xadc]
mov dword [ebp - 0x1a4], ecx
call fcn.0040ce00
test al, al
jne 0x429a67
lea edi, [esi + 0x9a4]
mov ecx, edi
mov dword [ebp - 0x1b4], edi
call fcn.0040ce00
test al, al
jne 0x429a67
cmp dword [esi + 0x988], ebx
jne 0x429802
cmp dword [esi + 0x98c], ebx
je 0x429a67
call fcn.00426a20
mov ecx, edi
call fcn.00409a50
mov edx, dword [esi + 0x99c]
mov ecx, dword [esi + 0x994]
push edx
mov edx, dword [esi + 0x998]
push ecx
push edx
mov ebx, str.1001
mov edi, eax
call fcn.004295b0
lea edi, [esi + 0x942]
call fcn.00429630
push str.EVENT_FINISHUPDATE
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
lea eax, [ebp - 0x78]
push str._d__s
push eax
call fcn.0042ed57
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateEventA]
add esp, 0x10
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push 0
call ebx
movzx edx, word [edi]
push str.EVENT_STOPSERVER
push edx
mov dword [esi + 0xe68], eax
lea eax, [ebp - 0x78]
push str._d__s
push eax
call fcn.0042ed57
add esp, 0x10
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push 0
call ebx
mov edi, dword [ebp - 0x1a4]
mov ecx, edi
mov dword [esi + 0xe70], eax
call fcn.0040ce00
test al, al
je 0x4298d9
push 0x3df
push 0x4911bc
call fcn.0042de30
add esp, 8
push 0x49704c
lea edx, [ebp - 0x1ac]
push edx
mov dword [ebp - 0x1ac], 2
call fcn.00435ff8
mov ecx, edi
call fcn.00414ae0
mov ecx, edi
mov ebx, eax
call fcn.00409a50
push ebx
push eax
push 0
call fcn.00426d60
mov edi, dword [ebp - 0x1b4]
mov ecx, edi
mov dword [esi + 0xaf8], eax
call fcn.00414ae0
mov ecx, edi
mov ebx, eax
call fcn.00409a50
push ebx
push eax
push 0
call fcn.00426d60
mov ecx, edi
mov dword [esi + 0x9c0], eax
call fcn.00409a50
mov ecx, dword [esi + 0x99c]
mov edx, dword [esi + 0x994]
push eax
mov eax, dword [esi + 0x988]
push eax
mov eax, dword [esi + 0x998]
push ecx
push edx
push eax
push 0x3e7
push str._CloudUpdate_...__d__d._d._d__ds__s
call fcn.0042de30
add esp, 0x1c
push 0
push 0
push esi
push 0x42cc40
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [esi + 0xe68]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edx, dword [esi + 0xe68]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esi + 0xd1c], 0
je 0x429a39
cmp dword [esi + 0xeb0], 0
je 0x429a1e
mov eax, dword [esi + 0x990]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov edx, dword [esi + 0x990]
push edx
call fcn.0042ecc3
mov ecx, dword [ebp - 0x19c]
mov dword [ecx], eax
mov edx, dword [esi + 0x990]
mov ecx, dword [esi + 0xeb0]
push edx
push ecx
push eax
call fcn.0043a470
push 0x3f8
push 0x491428
mov dword [ebp - 0x198], 1
call fcn.0042de30
add esp, 0x18
lea ecx, [ebp - 0x194]
call fcn.00408830
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret 4
push 0x49704c
lea edx, [ebp - 0x1a8]
push edx
mov dword [ebp - 0x1a8], 3
call fcn.00435ff8
cmp dword [esi + 0x93c], 0
je 0x4299ef
add esi, 0xafc
push esi
push 0x404
push 0x49147c
call fcn.0042de30
add esp, 0xc
mov dword [ebp - 0x198], 1
jmp 0x4299ef
push 0x3d0
push 0x4911bc
call fcn.0042de30
add esp, 8
push 0x3d1
push 0x1f48
lea eax, [ebp - 0x78]
push str._d:_d
push eax
call fcn.0042ed57
add esp, 0x10
lea ecx, [esi + 0x9a4]
call fcn.00409a50
mov ebx, dword [esi + 0x99c]
push 0xff
lea ecx, [ebp - 0x177]
push 0
push ecx
mov edi, eax
mov byte [ebp - 0x178], 0
call fcn.00437410
mov eax, dword [esi + 0x994]
lea edx, [ebp - 0x78]
push edx
push str.CloudUpdateV1.0.0.9
push edi
push ebx
push eax
mov eax, dword [esi + 0x998]
push eax
push str.cid_dbid_dkid_dhash_splugver_saction_s
lea eax, [ebp - 0x178]
push pe_nt_image_headers32
push eax
call fcn.0042eddb
mov edx, dword [esi + 0xebc]
lea ecx, [ebp - 0x178]
push ecx
push str.plug_cloudupdate_business
call edx
add esp, 0x38
push 0x49704c
lea eax, [ebp - 0x1a0]
push eax
mov dword [ebp - 0x1a0], 1
call fcn.00435ff8
mov ecx, dword [ebp - 0x1b8]
push ecx
push 0x40d
push str._CloudUpdate_...__d_GetModuleByP2P_except__exception_code___d
call fcn.0042de30
add esp, 0xc
mov eax, 0x429b41
ret