Function at 0x402af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cafb4
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xec], ecx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x170]
call eax
mov dword [ebp - 4], 0
push 0x4e6d7c
lea ecx, [ebp - 0x60]
push ecx
call fcn.00409460
add esp, 8
movzx edx, al
test edx, edx
je 0x402b68
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00406fd0
jmp 0x402fc4
call fcn.004010b0
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x64]
call fcn.00406aa0
mov byte [ebp - 4], 1
push str._cl.gif_uigs_productidfind
lea ecx, [ebp - 0x64]
call fcn.00406b00
push str.uigs_pluginversion
lea ecx, [ebp - 0x64]
call fcn.00406b00
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x108]
call eax
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xf4]
call fcn.00407070
push eax
lea ecx, [ebp - 0x64]
call fcn.00406b00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00406fd0
push str.uigs_rversion1.0.ie
lea ecx, [ebp - 0x64]
call fcn.00406b00
lea edx, [ebp - 0x3c]
push edx
call fcn.00402130
add esp, 4
mov byte [ebp - 4], 3
push str.uigs_yyid
lea ecx, [ebp - 0x64]
call fcn.00406b00
lea ecx, [ebp - 0x3c]
call fcn.00406eb0
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x402c2d
mov dword [ebp - 0xf8], 0
jmp 0x402c8c
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3fffffff
jle 0x402c52
mov dword [ebp - 0xfc], 0
jmp 0x402c80
mov eax, dword [ebp - 0x1c]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x100], esp
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x100]
push ecx
call fcn.004010c0
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x64]
call fcn.00406b00
push str.uigs_otta
lea ecx, [ebp - 0x64]
call fcn.00406b00
lea ecx, [ebp - 0xa8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x104]
call edx
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x108]
call fcn.00407070
push eax
lea ecx, [ebp - 0x64]
call fcn.00406b00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa8]
call fcn.00406fd0
push str.uigs_cltype_3dieplugin_26etype_3dsetupstartdefaultbs
lea ecx, [ebp - 0x64]
call fcn.00406b00
lea ecx, [ebp - 0xc4]
push ecx
call fcn.0049c3f0
add esp, 4
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x110]
call fcn.00406eb0
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x402d4a
mov dword [ebp - 0x114], 0
jmp 0x402da9
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3fffffff
jle 0x402d6f
mov dword [ebp - 0x118], 0
jmp 0x402d9d
mov eax, dword [ebp - 0x1c]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x11c], esp
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.004010c0
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x114]
push eax
lea ecx, [ebp - 0x64]
call fcn.00406b00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc4]
call fcn.00406d00
push str.iever
lea ecx, [ebp - 0x64]
call fcn.00406b00
lea ecx, [ebp - 0xe0]
push ecx
call fcn.0049c0d0
add esp, 4
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x124]
call fcn.00406eb0
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x402e19
mov dword [ebp - 0x128], 0
jmp 0x402e78
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3fffffff
jle 0x402e3e
mov dword [ebp - 0x12c], 0
jmp 0x402e6c
mov eax, dword [ebp - 0x1c]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x130], esp
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.004010c0
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x64]
call fcn.00406b00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.00406d00
push 0xc
call fcn.0044527f
add esp, 4
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov byte [edx], 0
lea ecx, [ebp - 0x64]
call fcn.00406c30
add eax, 1
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00442b2d
add esp, 4
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xe8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
shl edx, 1
push edx
push 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
push ecx
call fcn.00445020
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.0041bf70
push eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
push ecx
call fcn.004451f5
add esp, 0xc
push str.SOGOUGAMEDOWNLOAD_EVENT_BINDSOFTWARE_11_11
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x402f48
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x40]
push edx
push 0x401e00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x402f93
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00406d00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00406ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00406fd0
jmp 0x402fc4
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00406d00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00406ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00406fd0
lea esp, [ebp - 0x134]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret 4