joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402048
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1208
call fcn.00405f40
and word [ebp - 0x208], 0
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
and word [ebp - 0x1208], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push dword [ebp + 8]
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.type_d_btn
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x1208]
push dword [esi + 0x14]
push 0x800
push eax
lea eax, [ebp - 0x208]
push 0x40db5c
push eax
push 0x40b4d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1208]
add esi, 0x1c
test eax, eax
je 0x4020e8
lea eax, [ebp - 0x1208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x1208]
push ecx
push eax
mov ecx, esi
call fcn.00401b9e
mov eax, dword [esi]
pop edi
pop esi
leave
ret 4
Function at 0x4023e6
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x40b020]
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
xor ebx, ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ebx
push 0x40b5c0
push eax
call fcn.00401757
add esp, 0x10
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, 0x40b5bc
mov eax, esi
test eax, eax
jne 0x402438
xor eax, eax
jmp 0x40243b
push esi
call edi
push esi
push eax
lea ecx, [ebp - 4]
call fcn.0040228b
cmp dword [ebp + 0x10], ebx
jne 0x40244e
xor eax, eax
jmp 0x402453
push dword [ebp + 0x10]
call edi
push dword [ebp + 0x10]
lea ecx, [ebp - 4]
push eax
call fcn.0040228b
lea eax, [ebp - 4]
push str..src
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00402896
lea eax, [ebp - 4]
push str..tmp
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402896
mov eax, dword [0x40dbc0]
push 0x40b59c
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push eax
call fcn.0040567b
add esp, 0x10
test eax, eax
je 0x402593
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402567
push 0x31
xor eax, eax
pop ecx
lea edi, [ebp - 0xd2]
mov word [ebp - 0xd4], bx
push 0x31
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x19a]
mov word [ebp - 0x19c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
push dword [ebp - 4]
call fcn.0040555b
lea eax, [ebp - 0x19c]
push 0x64
push eax
push dword [ebp + 0xc]
call fcn.0040555b
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x20
test eax, eax
jg 0x402544
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
call fcn.00401b31
lea ecx, [ebp + 0xc]
call fcn.00401b31
lea ecx, [ebp - 4]
call fcn.00401b31
push 1
pop eax
jmp 0x4025ae
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40257b
push ebx
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40257b
jmp 0x402574
push ebx
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 8], 1
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 4]
call fcn.0040282f
lea ecx, [ebp + 8]
call fcn.00401b31
lea ecx, [ebp + 0xc]
call fcn.00401b31
lea ecx, [ebp - 4]
call fcn.00401b31
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4025b5
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and word [ebp - 0x208], 0
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov esi, dword [ebx + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp esi, dword [ebx + 0xc]
je 0x402624
push dword [esi]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
cmp dword [ebp + 8], 0
pop ecx
pop ecx
lea eax, [ebp - 0x208]
push eax
je 0x402619
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x208]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x40261f
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 4
jmp 0x4025df
push dword [ebx + 0xc]
lea ecx, [ebx + 4]
push dword [ecx + 4]
call fcn.00402840
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x402639
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
lea eax, [ebp - 0x244]
push ebx
push eax
xor ebx, ebx
call fcn.004056de
test eax, eax
pop ecx
je 0x40274b
lea eax, [ebp - 0x244]
push 0x40b5f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
test eax, eax
je 0x40274b
mov eax, dword [0x40dbc0]
lea ecx, [ebp - 0x244]
push 0x40b59c
push ecx
push 0xce
push eax
call fcn.0040567b
add esp, 0x10
test eax, eax
je 0x40273e
lea eax, [ebp - 0x244]
push eax
call fcn.0040613c
test eax, eax
pop ecx
je 0x40274d
and dword [ebp - 0x3c], 0
push edi
push 0xe
xor eax, eax
and word [ebp - 0x44c], ax
pop ecx
lea edi, [ebp - 0x38]
push 0x104
rep stosd dword es:[edi], eax
mov ecx, 0x81
lea edi, [ebp - 0x44a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x44c]
push eax
push dword [0x40dbc0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x244]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], 0x40b5e4
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x40273e
push 1
pop ebx
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
pop ebx
leave
ret
Function at 0x402750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 0x20c]
push eax
call fcn.004056de
test eax, eax
pop ecx
je 0x4027f6
lea eax, [ebp - 0x20c]
push 0x40b5f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
test eax, eax
je 0x4027f6
mov eax, dword [0x40dbc0]
lea ecx, [ebp - 0x20c]
push 0x40b59c
push ecx
push 0xd1
push eax
call fcn.0040567b
add esp, 0x10
test eax, eax
je 0x4027f6
lea eax, [ebp - 0x20c]
push eax
call fcn.0040613c
test eax, eax
pop ecx
je 0x4027f6
mov eax, dword [0x40b020]
push dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push str._tp:1__act:1__w:_d__manual:1
push eax
call fcn.00401757
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x20c]
push eax
push eax
push dword [ebp - 4]
push ecx
push 0x40b5e4
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.00401b31
xor eax, eax
leave
ret 4
Function at 0x4030bb
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
push dword [esi + 0xa4]
call fcn.004043df
pop ecx
pop ecx
push 1
mov ecx, esi
call fcn.004030f8
xor eax, eax
pop esi
ret 0x10
Function at 0x4043df
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, 0x40db88
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00402750
mov eax, dword [ebp + 8]
dec eax
je 0x404430
dec eax
je 0x40442a
dec eax
je 0x404424
dec eax
jne 0x4044e2
push 1
push 7
call fcn.00405929
mov ecx, eax
call fcn.00405988
mov ecx, esi
call fcn.00402639
jmp 0x4044e2
push 1
push 6
jmp 0x40440c
push 1
push 5
jmp 0x40440c
push 1
push 4
call fcn.00405929
mov ecx, eax
call fcn.00405988
mov ecx, 0x40dba0
call fcn.0040128c
push 1
call fcn.00405721
xor esi, esi
pop ecx
test eax, eax
je 0x4044a8
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004052cb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dbb8
call fcn.00404843
mov eax, dword [0x40dbc0]
push esi
push 0x404e51
push ebx
push 0xd2
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
pop ebx
jne 0x4044e7
push esi
call fcn.00405721
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0040537f
mov eax, dword [0x40b020]
push dword [0x40dbb4]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push str._s360se.exe
push eax
call fcn.00401757
add esp, 0xc
push 1
push esi
push str.http:__qzone.qq.com
push dword [ebp + 0xc]
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 0xc]
call fcn.00401b31
xor eax, eax
pop esi
leave
ret
lea ecx, [ebp - 0x1c]
call fcn.0040537f
jmp 0x4044e2

Function at 0x4046c2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
cmp word [0x40dc48], 0
push esi
mov esi, 0x40dc48
jne 0x404740
and word [ebp - 0x210], 0
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
mov dword [ebp - 8], 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 4]
push eax
push 0x40b780
push str.SOFTWARE360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x210]
push eax
push 0x40b748
push 0x20
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x405156
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call sub.gdiplus.dll_GdiplusStartup
movzx eax, word [ebp + 0xc]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x40524d
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, edi
je 0x40524d
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, edi
je 0x40524d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x40524d
push ebx
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40524d
mov esi, dword [ebp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
cmp eax, edi
je 0x405218
push edi
push esi
mov ecx, eax
call fcn.0040526d
mov esi, eax
jmp 0x40521a
xor esi, esi
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, edi
je 0x40524d
mov eax, dword [esi + 8]
mov dword [esi + 8], edi
cmp eax, edi
jne 0x405245
lea eax, [ebp - 0xc]
push edi
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
cmp eax, edi
je 0x405245
mov dword [esi + 8], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push dword [ebp - 8]
call sub.gdiplus.dll_GdiplusShutdown
cmp dword [ebp - 4], edi
pop edi
pop esi
pop ebx
je 0x405266
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
leave
ret 0xc
Function at 0x40555b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.00405f40
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405626
cmp dword [ebp + 0xc], esi
je 0x405626
cmp dword [ebp + 0x10], esi
je 0x405626
push edi
mov ecx, 0xfff
xor eax, eax
lea edi, [ebp - 0x4006]
mov word [ebp - 0x4008], si
mov dword [ebp - 8], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, esi
pop edi
je 0x405626
cmp eax, 0x3fff
ja 0x405626
lea ecx, [ebp - 0x4008]
push ecx
push eax
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x405626
lea eax, [ebp - 4]
mov dword [ebp + 8], esi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x4008]
push 0x40b5bc
push eax
mov dword [ebp - 4], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x405626
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xc]
push ecx
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
push ecx
movzx ecx, word [eax + 8]
mov eax, dword [eax + 8]
push ecx
shr eax, 0x10
push eax
push 0x40b7cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
push 1
pop eax
jmp 0x405628
xor eax, eax
pop esi
leave
ret

Function at 0x40567b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 0x14]
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040562b
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4056d8
cmp dword [ebp - 4], 0
jbe 0x4056d8
push 0x40b7e4
push dword [ebp + 0x10]
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x4056d8
push esi
push 1
push dword [ebp - 4]
push edi
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 1
pop eax
jmp 0x4056da
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x40576c
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov ax, word [0x40db5c]
push ebx
push esi
push edi
mov word [ebp - 0x86c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x86a]
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x40b824
push dword [ebp + 8]
mov ebx, 0x103
stosw word es:[edi], ax
push 0x40b818
lea eax, [ebp - 0x86c]
push ebx
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x4057de
xor eax, eax
jmp 0x4058e1
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
inc dword [0x40dce0]
lea eax, [ebp - 0x228]
push 0x40b814
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x4058ac
lea eax, [ebp - 0x228]
push 0x40b80c
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x4058ac
test byte [ebp - 0x254], 0x10
mov ax, word [0x40db5c]
je 0x40586b
mov word [ebp - 0x45c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x45a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x45c]
push dword [ebp + 8]
push 0x40b818
push ebx
push eax
call esi
lea eax, [ebp - 0x45c]
push eax
call fcn.0040576c
add esp, 0x18
jmp 0x4058ac
mov word [ebp - 0x664], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x662]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x664]
push dword [ebp + 8]
push 0x40b818
push ebx
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4057de
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405a25
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ebx, [ecx + 4]
push edi
push ebx
push 0
mov edi, str.COUNT
push 0x40b8e4
push edi
call esi
push eax
push ebx
push 0
push 0x40b8dc
push edi
call esi
push eax
push ebx
push 0
push 0x40b8d4
push edi
call esi
push eax
push ebx
push 0
push 0x40b8cc
push edi
call esi
push eax
push ebx
push 0
push 0x40b8c4
push edi
call esi
push eax
push ebx
push 0
push 0x40b8bc
push edi
call esi
push eax
push ebx
push 0
push 0x40b8b4
push edi
call esi
push eax
push ebx
push 0
push 0x40b8ac
push edi
call esi
push eax
push ebx
push 0
push 0x40b8a4
push edi
call esi
push eax
push ebx
push 0
push 0x40b89c
push edi
call esi
push eax
push str.fb_d__d__d__d__d__d__d__d__d__d
push dword [esp + 0x40]
push dword [esp + 0x40]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x34
pop edi
pop esi
pop ebx
ret 8
Function at 0x405aca
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ebx, [ecx + 4]
push edi
push ebx
push 0
mov edi, 0x40b834
push 0x40b978
push edi
call esi
push eax
push ebx
push 0
push 0x40b970
push edi
call esi
push eax
push ebx
push 0
push 0x40b968
push edi
call esi
push eax
push ebx
push 0
push 0x40b960
push edi
call esi
push eax
push ebx
push 0
push 0x40b958
push edi
call esi
push eax
push ebx
push 0
push 0x40b950
push edi
call esi
push eax
push ebx
push 0
push 0x40b948
push edi
call esi
push eax
push ebx
push 0
push 0x40b940
push edi
call esi
push eax
push ebx
push 0
push 0x40b938
push edi
call esi
push eax
push ebx
push 0
push 0x40b930
push edi
call esi
push eax
push str.fa_d__d__d__d__d__d__d__d__d__d
push dword [esp + 0x40]
push dword [esp + 0x40]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x34
pop edi
pop esi
pop ebx
ret 8

Function at 0x405b6f
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ebx, [ecx + 4]
push edi
push ebx
push 0
mov edi, 0x40b850
push 0x40ba0c
push edi
call esi
push eax
push ebx
push 0
push 0x40ba04
push edi
call esi
push eax
push ebx
push 0
push 0x40b9fc
push edi
call esi
push eax
push ebx
push 0
push 0x40b9f4
push edi
call esi
push eax
push ebx
push 0
push 0x40b9ec
push edi
call esi
push eax
push ebx
push 0
push 0x40b9e4
push edi
call esi
push eax
push ebx
push 0
push 0x40b9dc
push edi
call esi
push eax
push ebx
push 0
push 0x40b9d4
push edi
call esi
push eax
push ebx
push 0
push 0x40b9cc
push edi
call esi
push eax
push ebx
push 0
push 0x40b9c4
push edi
call esi
push eax
push str.fc_d__d__d__d__d__d__d__d__d__d
push dword [esp + 0x40]
push dword [esp + 0x40]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x34
pop edi
pop esi
pop ebx
ret 8

Function at 0x405d12
Capabilities:
Create http request
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x208]
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x208]
push str.360se360se.ini
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
push esi
push 0x40ba90
push str.Option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, dword [ebp + 8]
mov ebx, eax
cmp ebx, esi
je 0x405dad
push esi
push 0x84000000
push esi
lea eax, [edi + 0x20c]
push esi
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x405daa
push eax
call esi
push ebx
call esi
mov ecx, edi
call fcn.00405c14
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x406484
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
movzx eax, word [ecx + 0x14]
push edi
lea esi, [eax + ecx + 0x18]
cmp ebx, dword [esi + 0xc]
lea edx, [esi + 0xc]
jae 0x4064a5
mov eax, ebx
jmp 0x4064e4
movzx edi, word [ecx + 6]
xor eax, eax
test edi, edi
jbe 0x4064e1
mov dword [ebp + 0xc], edx
lea edx, [eax + 1]
cmp edx, edi
mov dword [ebp - 4], edx
jne 0x4064c1
mov edx, dword [ecx + 0x50]
jmp 0x4064c7
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x28]
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0xc]
cmp ebx, dword [edx]
jb 0x4064d6
cmp ebx, dword [ebp + 0x10]
jb 0x4064e9
mov eax, dword [ebp - 4]
add dword [ebp + 0xc], 0x28
cmp eax, edi
jb 0x4064b2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [esi + eax*8 + 0x14]
sub eax, dword [ecx + 0xc]
add eax, ebx
jmp 0x4064e4

Function at 0x406783
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x6758e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13c000]
push edi
or ebp, 0xffffffff
jmp 0x675902
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x675909
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6758f8
mov eax, 1
add ebx, ebx
jne 0x67591b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x67592c
jne 0x67594b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67594b
dec eax
add ebx, ebx
jne 0x675938
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x675910
add ebx, ebx
jne 0x675947
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x67599d
xor ecx, ecx
sub eax, 3
jb 0x675963
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6759d2
sar eax, 1
mov ebp, eax
jmp 0x67596e
add ebx, ebx
jne 0x67596e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67593c
inc ecx
add ebx, ebx
jne 0x67597c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67593c
add ebx, ebx
jne 0x675989
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x67597e
jne 0x67599a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x67597e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6759bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6759ae
jmp 0x6758fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6759bc
add edi, ecx
jmp 0x6758fe
pop esi
mov edi, esi
mov ecx, 0x3e61
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6759da
cmp byte [edi], 0x13
jne 0x6759da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6759df
lea edi, [esi + 0x272000]
mov eax, dword [edi]
or eax, eax
je 0x675a57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x29d510]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x29d650]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x675a0c
mov ecx, edi
jns 0x675a3b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x29d654]
or eax, eax
je 0x675a51
mov dword [ebx], eax
add ebx, 4
jmp 0x675a29
call dword [esi + 0x29d664]
mov ebp, dword [esi + 0x29d658]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x675a8b
sub esp, 0xffffff80
jmp 0x47c890