Function at 0x10002353
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x1ec
and dword [ebp + 0x68], 0
push ebx
push esi
push edi
push 0x80
lea eax, [ebp - 0x18]
mov esi, ecx
push 0
push eax
mov dword [esi + 0x230], 0x18
call sub.MSVCR71.dll_memset
add esp, 0xc
push 0x1000960c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [esi + 0x220]
push 4
pop ebx
jmp 0x1000252b
add dword [esi + 0x230], ebx
push 0x10009608
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push dword [edi]
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push str.FileName
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push dword [edi + 4]
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push str.Path
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push dword [edi + 8]
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push str.Comments
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push dword [edi + 0xc]
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push str.ReferURL
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push dword [edi + 0x10]
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push str.StartMode
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
lea eax, [edi + 0x14]
push eax
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push str.OnlyFromOrigin
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
lea eax, [edi + 0x20]
push eax
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push str.OriginThreadCount
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
lea eax, [edi + 0x2c]
push eax
call sub.MSVCR71.dll_strlen
add esp, 0x40
add eax, ebx
add dword [esi + 0x230], eax
push str.Cookie
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push dword [edi + 0x38]
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push 0x100095a8
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push dword [edi + 0x3c]
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push str.StatURL
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
push dword [edi + 0x40]
call sub.MSVCR71.dll_strlen
add eax, ebx
add dword [esi + 0x230], eax
mov edi, dword [edi + 0x50]
add esp, 0x18
inc dword [ebp + 0x68]
test edi, edi
jne 0x100023a1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x10009590
mov dword [esi + 0x234], eax
lea eax, [ebp - 0x7c]
push str._s_TaskData__08x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
push dword [esi + 0x230]
push edi
push ebx
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [esi + 0x228], eax
jne 0x1000257e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100025a3
push edi
push edi
push edi
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 0x22c], eax
jne 0x100025aa
push dword [esi + 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10002921
mov ecx, dword [ebp + 0x78]
mov dword [eax], 2
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], 3
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x68]
mov dword [eax + 0x14], ecx
mov edi, dword [esi + 0x220]
add eax, 0x18
test edi, edi
je 0x1000276e
jmp 0x100025df
mov eax, dword [ebp + 0x68]
mov dword [eax], 0xb
push dword [edi]
add eax, ebx
mov dword [ebp + 0x68], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, ebx
jl 0x10002617
push str..swf
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
cmp eax, 1
jne 0x10002617
push str.__BHO
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10009608
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push dword [edi]
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push str.FileName
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push dword [edi + 4]
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push str.Path
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push dword [edi + 8]
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push str.Comments
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push dword [edi + 0xc]
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push str.ReferURL
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push dword [edi + 0x10]
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push str.StartMode
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
lea eax, [edi + 0x14]
push eax
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push str.OnlyFromOrigin
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
lea eax, [edi + 0x20]
push eax
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push str.OriginThreadCount
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push str.Cookie
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push dword [edi + 0x38]
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push 0x100095a8
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push dword [edi + 0x3c]
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push str.StatURL
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
push dword [edi + 0x40]
lea eax, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.10001655
mov edi, dword [edi + 0x50]
test edi, edi
jne 0x100025dc
lea eax, [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
push dword [ebp + 0x7c]
mov edi, dword [ebp + 0x74]
push dword [esi + 0x234]
mov ecx, esi
push 0x1100
push dword [ebp + 0x78]
push edi
call fcn.10002264
xor ebx, ebx
test eax, eax
jne 0x100028f0
cmp edi, ebx
jne 0x10002856
lea eax, [ebp + 0x78]
push eax
push 0x20006
push ebx
push str.SOFTWAREThunder_NetworkThunderOem_thunder_backwnd
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0x78], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100028f0
push dword [esi + 0x230]
push dword [esi + 0x22c]
push 3
push ebx
push str.ThunderAgent.TaskList2
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x78]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x100028f0
push 0x40
xor eax, eax
pop ecx
mov byte [ebp - 0x180], bl
lea edi, [ebp - 0x17f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x103
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
push 1
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x180]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
mov ecx, dword [ebp + 0x7c]
sbb eax, eax
neg eax
mov dword [ecx], eax
jmp 0x100028f0
cmp edi, 1
je 0x100028f0
cmp edi, 2
jne 0x100028f0
lea edi, [esi + 0x114]
cmp byte [edi], 0
jne 0x10002890
push ebx
push 0x10009544
push 0x10009530
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
push ebx
push ebx
push str.http:__www.xunlei.com
jmp 0x100028e4
lea eax, [ebp + 0x78]
push eax
push 0x20006
push ebx
push str.SOFTWAREThunder_NetworkMiniThunderMinithunder_backwnd
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0x78], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100028f0
push dword [esi + 0x230]
push dword [esi + 0x22c]
push 3
push ebx
push str.ThunderAgent.TaskList2
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x78]
mov dword [ebp + 0x7c], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x7c], ebx
jne 0x100028f0
push 1
push ebx
push ebx
push edi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esi + 0x22c]
cmp eax, ebx
je 0x10002907
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0x22c], ebx
mov eax, dword [esi + 0x228]
cmp eax, ebx
je 0x1000291e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x228], ebx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc