Function at 0x416160
Capabilities:
Create directory
Create process on windows
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436fa3
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx]
mov eax, ecx
mov dword [ebp - 0x484], ebx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4161a0
sub eax, esi
jne 0x4161b2
xor al, al
jmp 0x4166f9
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2a0], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x2a0]
mov byte [ebp - 0x29c], 0
call fcn.004139f0
xor edi, edi
push 0x43c824
mov eax, esi
mov dword [ebp - 4], edi
call fcn.004138f0
mov ecx, dword [0x449334]
mov edx, dword [ecx + 8]
push edx
mov eax, esi
call fcn.004138f0
mov eax, dword [0x449334]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x2e0]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], ecx
mov byte [ebp - 0x2e0], 0
call fcn.004139f0
push 0x43e168
mov eax, esi
mov byte [ebp - 4], 1
call fcn.004138f0
lea edx, [ebp - 0x480]
push edx
push 0x19
push edi
mov dword [ebp - 0x480], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41626b
mov ecx, dword [ebp - 0x480]
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edx, dword [ebp - 0x480]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp byte [ebp + 8], 0
je 0x41629c
mov ebx, dword [ebx]
mov eax, dword [0x449334]
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x2e4]
xor edi, edi
call fcn.00413670
mov ebx, dword [ebp - 0x484]
lea edx, [ebp - 0x324]
mov dword [ebp - 0x328], edx
mov byte [ebp - 0x324], 0
sub esp, 0x44
mov edi, esp
mov byte [ebp - 4], 2
mov ecx, 0x11
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push str._sDataSysConfig.ini
lea edi, [ebp - 0x328]
call fcn.00413ea0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x48
cmp byte [ebp + 8], 0
je 0x4162ee
mov eax, dword [ebp - 0x328]
push eax
push 0x43e170
jmp 0x4162fa
mov ecx, dword [ebp - 0x328]
push ecx
push 0x43e17c
push str.AddDtop
push str.SysConfig
call esi
cmp byte [ebp + 0xc], 0
je 0x416324
mov edx, dword [ebp - 0x328]
push edx
push 0x43e170
push 0x43e180
push str.SysConfig
call esi
cmp byte [ebp + 0x10], 0
je 0x41663a
lea eax, [ebp - 0x480]
push eax
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x416364
mov edx, dword [ebp - 0x480]
lea ecx, [ebp - 0x114]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [ebp - 0x480]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edi, [ebp - 0x114]
dec edi
jmp 0x416370
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x416370
mov cx, word [0x43c824]
mov edx, dword [0x449334]
mov word [edi], cx
mov eax, dword [edx + 4]
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416390
lea edi, [ebp - 0x114]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4163a0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [ebp - 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebx]
mov edx, dword [0x449334]
mov edx, dword [edx + 4]
mov ecx, dword [ebp - 0x2e4]
mov ebx, dword [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x114]
push eax
xor edi, edi
call fcn.00413670
lea ecx, [ebp - 0x3f0]
xor bl, bl
push str.http:__www.bianya.cc_
or eax, 0xffffffff
lea esi, [ebp - 0x3f4]
mov dword [ebp - 0x3f4], ecx
mov byte [ebp - 0x3f0], bl
call fcn.004139f0
lea edx, [ebp - 0x3ac]
push str._ProgramFiles_Internet_Explorer
or eax, 0xffffffff
lea esi, [ebp - 0x3b0]
mov dword [ebp - 0x3b0], edx
mov byte [ebp - 0x3ac], bl
call fcn.004139f0
lea eax, [ebp - 0x434]
mov dword [ebp - 0x438], eax
push 0x43e1c0
or eax, 0xffffffff
lea esi, [ebp - 0x438]
mov byte [ebp - 0x434], bl
call fcn.004139f0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3b0]
mov ebx, dword [ebp - 0x3f4]
push ecx
mov ecx, dword [ebp - 0x438]
lea edx, [ebp - 0x114]
push edx
mov edi, str._ProgramFiles_Internet_Exploreriexplore.exe
mov edx, 0x43e200
call fcn.00413670
lea eax, [ebp - 0x114]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4164a0
mov ecx, dword [0x43e20c]
mov edx, dword [0x43e210]
mov dword [eax], ecx
mov cx, word [0x43e214]
mov dword [eax + 4], edx
push 0
lea edx, [ebp - 0x114]
push edx
mov word [eax + 8], cx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [ebp - 0x484]
mov ecx, dword [ebx]
lea eax, [ebp - 0x258]
mov dword [ebp - 0x25c], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x25c]
mov byte [ebp - 0x258], 0
call fcn.004139f0
push 0x43c824
mov eax, esi
call fcn.004138f0
mov edx, dword [0x449334]
mov eax, dword [edx + 0x10]
push eax
mov eax, esi
call fcn.004138f0
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x47c], ecx
mov byte [ebp - 0x478], 0
mov edx, dword [0x449334]
mov eax, dword [edx + 4]
push eax
push 0x43e218
lea edi, [ebp - 0x47c]
call fcn.00413ea0
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x36c], ecx
mov byte [ebp - 0x368], 0
mov byte [ebp - 4], 8
mov edx, dword [0x449334]
mov eax, dword [edx + 4]
push eax
push 0x43e224
lea edi, [ebp - 0x36c]
call fcn.00413ea0
mov ecx, dword [ebx]
mov ebx, dword [ebp - 0x25c]
add esp, 0x10
push ecx
mov ecx, dword [ebp - 0x47c]
lea edx, [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x36c]
xor edi, edi
call fcn.00413670
mov eax, dword [ebp - 0x36c]
lea ecx, [ebp - 0x368]
cmp eax, ecx
je 0x4165b7
push eax
call fcn.0041dba1
add esp, 4
mov eax, dword [ebp - 0x47c]
lea edx, [ebp - 0x478]
cmp eax, edx
je 0x4165d0
push eax
call fcn.0041dba1
add esp, 4
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
cmp eax, ecx
je 0x4165e9
push eax
call fcn.0041dba1
add esp, 4
mov eax, dword [ebp - 0x438]
lea edx, [ebp - 0x434]
cmp eax, edx
je 0x416602
push eax
call fcn.0041dba1
add esp, 4
mov eax, dword [ebp - 0x3b0]
lea ecx, [ebp - 0x3ac]
cmp eax, ecx
je 0x41661b
push eax
call fcn.0041dba1
add esp, 4
mov eax, dword [ebp - 0x3f4]
lea edx, [ebp - 0x3f0]
cmp eax, edx
je 0x416634
push eax
call fcn.0041dba1
add esp, 4
mov ebx, dword [ebp - 0x484]
mov ecx, dword [ebx]
lea eax, [ebp - 0x258]
mov dword [ebp - 0x25c], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x25c]
mov byte [ebp - 0x258], 0
call fcn.004139f0
push 0x43c824
mov eax, esi
call fcn.004138f0
push str.BHSev.exe
mov eax, esi
call fcn.004138f0
mov edx, dword [ebp - 0x25c]
push 5
push 0
push str._unst
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
cmp eax, ecx
je 0x4166ac
push eax
call fcn.0041dba1
add esp, 4
mov eax, dword [ebp - 0x328]
lea edx, [ebp - 0x324]
cmp eax, edx
je 0x4166c5
push eax
call fcn.0041dba1
add esp, 4
mov eax, dword [ebp - 0x2e4]
lea ecx, [ebp - 0x2e0]
cmp eax, ecx
je 0x4166de
push eax
call fcn.0041dba1
add esp, 4
mov eax, dword [ebp - 0x2a0]
lea edx, [ebp - 0x29c]
cmp eax, edx
je 0x4166f7
push eax
call fcn.0041dba1
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d129
mov esp, ebp
pop ebp
ret 0xc