Function at 0x403a70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x476d67
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4c40a0]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [0x4c40a0]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov edi, ecx
lea ebx, [edi + 0x170]
mov edx, ebx
call fcn.00406520
test eax, eax
jne 0x403b23
push 8
push 0x497bec
push edi
lea eax, [esp + 0x90]
push eax
mov ecx, 0x497bd8
call fcn.0040c3d0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x18c], 0
call sym.SH7zInstaller.exe_public:_struct_tagRECT___thiscall_shui::CSHFrame::CenterParent_void_
push 1
lea ecx, [esp + 0x88]
call sym.SH7zInstaller.exe_public:_enum_shui::FxDlgResult___thiscall_shui::CSHFrame::ShowModal_int_
lea esi, [esp + 0x84]
mov dword [esp + 0x188], 0xffffffff
call fcn.0040cb10
jmp 0x403ccf
push 0
push 0
push edi
push fcn.0040cb80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, edi
mov dword [edi + 0x14c], eax
call fcn.004062f0
mov ecx, dword [edi + 0xc0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push 0
call eax
push edi
mov dword [edi + 0x248], 1
call fcn.00406d30
mov ecx, edi
call fcn.00408400
push ebx
mov ebx, str._sohu.cfg
lea esi, [esp + 0x6c]
call fcn.0040ad70
add esp, 4
mov dword [esp + 0x188], 1
xor ecx, ecx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], cx
add edi, 0x1a8
mov bl, 2
lea esi, [esp + 0x14]
mov eax, edi
mov byte [esp + 0x188], bl
call fcn.0040bce0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0x190], 3
call fcn.0040a0f0
mov byte [esp + 0x188], bl
mov ebx, 8
cmp dword [esp + 0x2c], ebx
jb 0x403bec
mov edx, dword [esp + 0x18]
push edx
call fcn.0046190e
add esp, 4
cmp dword [esp + 0x60], 0
jbe 0x403c24
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x80], ebx
jae 0x403c04
lea ecx, [esp + 0x6c]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], ebx
jae 0x403c12
lea eax, [esp + 0x50]
push ecx
push eax
push str.referID
push str.channel
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea esi, [esp + 0x30]
mov eax, edi
call fcn.0040bd10
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0x190], 4
call fcn.0040a0f0
cmp dword [esp + 0x48], ebx
jb 0x403c57
mov eax, dword [esp + 0x34]
push eax
call fcn.0046190e
add esp, 4
cmp dword [esp + 0x60], 0
jbe 0x403c8f
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x80], ebx
jae 0x403c6f
lea ecx, [esp + 0x6c]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], ebx
jae 0x403c7d
lea eax, [esp + 0x50]
push ecx
push eax
push 0x497c30
push str.channel
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x64], ebx
jb 0x403ca2
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0046190e
add esp, 4
xor edx, edx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], dx
cmp dword [esp + 0x80], ebx
jb 0x403ccf
mov eax, dword [esp + 0x6c]
push eax
call fcn.0046190e
add esp, 4
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00461919
mov esp, ebp
pop ebp
ret 8