joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44022f
Capabilities:
Create directory

Disassembly:
push 0x14
mov eax, 0x47d9db
call fcn.0044b114
mov esi, ecx
lea ecx, [ebp - 0x20]
call fcn.00441d27
and dword [ebp - 4], 0
push 0x4827a8
push 0xce
push 0
lea ecx, [ebp - 0x20]
call fcn.00441f24
lea ecx, [ebp - 0x20]
test eax, eax
jne 0x440275
or dword [ebp - 4], 0xffffffff
call fcn.00441d38
xor eax, eax
call fcn.0044b1ec
ret
lea ebx, [esi + 8]
push ebx
call fcn.004420b8
test eax, eax
jne 0x440287
lea ecx, [ebp - 0x20]
jmp 0x440264
mov eax, dword [0x49501c]
mov dword [ebp - 0x10], eax
lea edi, [esi + 0xc]
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040e8c0
mov eax, dword [edi]
mov ecx, dword [eax - 8]
movzx eax, word [eax + ecx*2 - 2]
push 0x482678
cmp ax, 0x5c
push edi
lea eax, [ebp - 0x14]
push eax
jne 0x4402c3
call fcn.0040f74d
mov byte [ebp - 4], 2
jmp 0x4402cc
call fcn.0040f74d
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e8c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040bf88
push str.360P2SP.dll
mov ecx, edi
call fcn.004136ce
push 0
push dword [ebp - 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [edi]
call fcn.004296c4
mov dword [esi + 4], eax
test eax, eax
jne 0x440325
xor esi, esi
lea ecx, [ebp - 0x10]
call fcn.0040bf88
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00441d38
mov eax, esi
jmp 0x44026f
lea ecx, [esi + 0x10]
push ecx
push str.Init
push eax
call fcn.00440001
lea eax, [esi + 0x14]
push eax
push str.Login
push dword [esi + 4]
call fcn.00440016
lea eax, [esi + 0x18]
push eax
push str.Uninit
push dword [esi + 4]
call fcn.0044002b
lea eax, [esi + 0x1c]
push eax
push str.CreateP2SPTask
push dword [esi + 4]
call fcn.00440040
lea eax, [esi + 0x20]
push eax
push str.QueryTask
push dword [esi + 4]
call fcn.00440055
lea eax, [esi + 0x24]
push eax
push str.StartTask
push dword [esi + 4]
call fcn.0044006a
add esp, 0x48
lea eax, [esi + 0x28]
push eax
push str.StopTask
push dword [esi + 4]
call fcn.0044006a
lea eax, [esi + 0x2c]
push eax
push str.StopSeed
push dword [esi + 4]
call fcn.0044006a
lea eax, [esi + 0x30]
push eax
push str.GetFinishMessage
push dword [esi + 4]
call fcn.0044007f
lea eax, [esi + 0x34]
push eax
push str.RemoveTask
push dword [esi + 4]
call fcn.0044006a
lea eax, [esi + 0x38]
push eax
push str.SetConfigInfo
push dword [esi + 4]
call fcn.00440094
lea eax, [esi + 0x3c]
push eax
push str.UpdateRegInfo
push dword [esi + 4]
call fcn.004400a9
add esp, 0x48
lea eax, [esi + 0x40]
push eax
push str.SetP2spOption
push dword [esi + 4]
call fcn.004400be
xor esi, esi
add esp, 0xc
inc esi
jmp 0x44030a
Function at 0x4406a8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x440787
test edi, edi
je 0x440787
cmp dword [ebp + 0x10], 0x80
jl 0x440787
and dword [ebp - 0x10c], 0
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x440787
cmp eax, 0xff
ja 0x440787
lea ecx, [ebp - 0x104]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x440787
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x48037c
lea eax, [ebp - 0x104]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x440787
push dword [ebp + 0x10]
push 0
push edi
call fcn.00449bc0
mov eax, dword [ebp - 0x108]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push dword [ebp + 0x10]
push edi
call fcn.0043c66f
xor eax, eax
add esp, 0x28
inc eax
jmp 0x440789
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449c3a
leave
ret 0xc

Function at 0x440953
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x418], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x208
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push ebx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.0041077d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449c3a
leave
ret
Function at 0x4409f4
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x408
lea ebp, [esp - 4]
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x408], eax
push 0x14
mov eax, 0x47da21
call fcn.0044b114
push pe_nt_image_headers32
xor edi, edi
xor ebx, ebx
lea eax, [ebp + 0x308]
push edi
inc ebx
push eax
mov esi, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0x80
call fcn.00449bc0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp + 0x308]
push edx
lea edx, [ebp - 0x18]
push edx
push eax
push ecx
push dword [esi + 0x54]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x18], ebx
jne 0x440ab1
cmp word [ebp + 0x308], di
je 0x440ab1
cmp dword [ebp - 0x1c], edi
jbe 0x440ab1
lea eax, [ebp + 0x308]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041077d
push dword [esi + 0x50]
lea eax, [ebp + 0x308]
push dword [ebp - 0x10]
mov dword [ebp - 4], edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
call edi
lea eax, [ebp + 0x308]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x440ad6
lea ecx, [ebp - 0x10]
call fcn.0040bf88
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x408]
xor ecx, ebp
call fcn.00449c3a
add ebp, 0x40c
leave
ret
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x40]
mov dword [esi + 0x5c], ebx
call fcn.0040e8c0
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x44]
call fcn.0040e8c0
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x100], ax
lea eax, [ebp + 0x102]
push eax
call fcn.00449bc0
add esp, 0xc
push str.360ver.dll
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call edi
lea eax, [ebp]
push eax
call fcn.004296c4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x440b7d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360SafeVersion
push eax
call edi
push str.IsBetaVersion
push dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
call edi
cmp dword [ebp - 0x14], 0
mov edi, eax
je 0x440b72
lea eax, [ebp + 0x100]
push 0x104
push eax
call dword [ebp - 0x14]
pop ecx
pop ecx
test eax, eax
jne 0x440b72
push str.0.0.0.0
lea ecx, [esi + 0x58]
call fcn.0040e910
test edi, edi
je 0x440b97
call edi
mov dword [esi + 0x64], eax
jmp 0x440b97
push 0x104
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp + 0x308]
push eax
mov ecx, esi
call fcn.004406a8
lea eax, [ebp + 0x100]
push eax
lea ecx, [esi + 0x58]
call fcn.0040e910
lea ecx, [ebp - 0x10]
call fcn.0040bf88
mov eax, ebx
jmp 0x440ab3
Function at 0x440bb5
Capabilities:
Get common file path
Get disk information
Get program files directory

Disassembly:
push ebp
sub esp, 0x210
lea ebp, [esp - 4]
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x210], eax
push 0x18
mov eax, 0x47da59
call fcn.0044b114
mov eax, dword [0x49501c]
mov edi, ecx
mov dword [ebp - 0x14], eax
xor esi, esi
push 0x9d
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.0040ec64
push dword [ebp - 0x14]
call fcn.0044aa30
lea ebx, [edi + 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
pop ecx
cmp dword [eax - 8], esi
jne 0x440c95
push 0x208
lea eax, [ebp]
push esi
push eax
call fcn.00449bc0
add esp, 0xc
push esi
push 0x26
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x440c95
push str.360360safe
lea ecx, [ebp - 0x10]
call fcn.0041077d
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.0040e910
lea eax, [ebp]
lea esi, [edi + 0x40]
push eax
mov ecx, esi
call fcn.0040e910
mov eax, dword [ebp - 0x18]
mov esi, dword [esi]
shl eax, 0x14
cdq
push edx
push eax
push esi
call fcn.0043bfe9
add esp, 0xc
lea ecx, [ebp - 0x10]
mov esi, eax
mov byte [ebp - 4], 0
call fcn.0040bf88
test esi, esi
jne 0x440d50
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x24]
xor eax, eax
inc eax
shl eax, cl
test edx, eax
je 0x440d14
mov eax, dword [0x480380]
mov dword [ebp + 0x208], eax
mov eax, dword [0x480384]
mov dword [ebp + 0x20c], eax
lea eax, [ebp + 0x208]
add ecx, 0x41
push eax
mov word [ebp + 0x208], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x440d14
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x208]
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.0043bf33
pop ecx
pop ecx
test eax, eax
je 0x440d14
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl eax, 0x14
cdq
cmp ecx, edx
jg 0x440d22
jl 0x440d14
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
ja 0x440d22
mov ecx, dword [ebp - 0x10]
inc ecx
cmp ecx, 0x1a
mov dword [ebp - 0x10], ecx
jl 0x440ca3
jmp 0x440d50
add edi, 0x40
mov eax, dword [edi]
mov ecx, edi
cmp dword [eax - 8], esi
jne 0x440d3c
lea eax, [ebp + 0x208]
push eax
call fcn.0040e910
jmp 0x440d48
push dword [ebp + 0x208]
push esi
call fcn.004407f0
push edi
mov ecx, ebx
call fcn.0040e8c0
lea ecx, [ebp - 0x14]
call fcn.0040bf88
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.00449c3a
add ebp, 0x214
leave
ret
Function at 0x440e55
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x388], eax
and dword [ebp - 0x7c], 0
push esi
push edi
mov edi, dword [ebp + 0x394]
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
mov esi, ecx
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [esi + 0x4c]
mov dword [ebp - 0x7c], 1
push dword [esi + 0x48]
mov dword [ebp - 0x80], 0x200
push dword [esi + 0x54]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x78]
push eax
mov ecx, edi
call fcn.0041077d
mov ecx, dword [ebp + 0x388]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00449c3a
add ebp, 0x38c
leave
ret 4

Function at 0x441d53
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf98]
mov eax, 0x1018
call fcn.0044b510
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0xf94], eax
mov eax, dword [ebp + 0xfa0]
mov edx, dword [ebp + 0xfac]
mov ecx, dword [ebp + 0xfa4]
push ebx
push esi
push edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
cmp eax, 0xffffffff
je 0x441e5c
test ecx, ecx
je 0x441e5c
mov edi, dword [ebp + 0xfa8]
test edi, edi
jle 0x441e5c
mov eax, edi
cdq
and edx, 0xfff
add eax, edx
mov esi, eax
sar esi, 0xc
and edi, 0x80000fff
jns 0x441dcc
dec edi
or edi, 0xfffff000
inc edi
and dword [ebp - 0x70], 0
and dword [ebp - 0x78], 0
mov dword [ebp - 0x74], ecx
test esi, esi
jle 0x441e1f
mov ebx, 0x1000
push ebx
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.0044ce90
add esp, 0xc
push 0
lea eax, [ebp - 0x70]
push eax
push ebx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x441e5c
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x441e14
mov ecx, dword [ebp - 0x70]
add dword [eax], ecx
add dword [ebp - 0x74], ebx
inc dword [ebp - 0x78]
cmp dword [ebp - 0x78], esi
jl 0x441de0
test edi, edi
jle 0x441e57
push edi
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.0044ce90
add esp, 0xc
push 0
lea eax, [ebp - 0x70]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x441e5c
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x441e57
mov ecx, dword [ebp - 0x70]
add dword [eax], ecx
xor eax, eax
inc eax
jmp 0x441e5e
xor eax, eax
mov ecx, dword [ebp + 0xf94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449c3a
add ebp, 0xf98
leave
ret
Function at 0x441e97
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
push 8
push 0
push edi
call fcn.00449bc0
add esp, 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x441eec
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x441eeb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], ebx
inc eax
pop ebx
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x441f5c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x441f92
xor eax, eax
jmp 0x441fb3
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
push dword [esi + 4]
push edi
call fcn.00441d53
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x4423ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4424a8
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0x10]
push 0x30
push eax
call ebp
movzx eax, word [esi]
push 5
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
call fcn.00442190
and dword [esp + 0x10], 0
push ebx
mov dword [esp + 0x18], eax
call fcn.00442179
pop ecx
pop ecx
xor ecx, ecx
cmp cx, word [eax]
jae 0x442488
push edi
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x10], 0
jne 0x442426
push 5
push dword [esi + 8]
jmp 0x442429
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x442487
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x14]
je 0x442454
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x442435
test edi, edi
je 0x442487
push 1
push dword [esi + 0x10]
push 0x30
push edi
call ebp
push 1
push dword [esp + 0x18]
call fcn.00442210
inc dword [esp + 0x18]
push ebx
mov dword [esp + 0x20], eax
call fcn.00442179
movzx eax, word [eax]
add esp, 0xc
cmp dword [esp + 0x10], eax
jl 0x442418
pop edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x44286a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.0044b510
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x44294a
test edi, edi
je 0x44294a
cmp dword [ebp + 0x10], 0x80
jl 0x44294a
and dword [ebp - 0x200c], 0
push 0x2000
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x200c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x44294a
cmp eax, 0x1fff
ja 0x44294a
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44294a
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x48037c
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44294a
push dword [ebp + 0x10]
push 0
push edi
call fcn.00449bc0
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push edi
call fcn.0043d88e
xor eax, eax
add esp, 0x24
inc eax
jmp 0x44294c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449c3a
leave
ret
Function at 0x442b37
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x3e
mov word [ebp - 0x44], ax
xor esi, esi
lea eax, [ebp - 0x42]
push esi
push eax
call fcn.00449bc0
add esp, 0xc
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x50], esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4c], eax
cmp eax, esi
je 0x442c30
push ebx
push str.s.360.cn
lea ecx, [ebp - 0x48]
call fcn.0041077d
push esi
push esi
push 3
push esi
push esi
push 0x50
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
cmp ebx, esi
jne 0x442baf
push dword [ebp - 0x4c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x442c27
push esi
push 0x8440c100
push esi
push esi
push str.HTTP_1.1
push edi
push 0x4829a4
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
cmp edi, esi
jne 0x442bdd
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
jmp 0x442c25
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x442bfd
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push edi
jmp 0x442c25
push esi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x13
push edi
mov dword [ebp - 0x50], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
push dword [ebp - 0x4c]
call esi
lea ecx, [ebp - 0x48]
call fcn.0040bf88
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449c3a
leave
ret 4

Function at 0x442dc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x442dad
push eax
push eax
mov dword [esi], eax
mov dword [ebp - 4], eax
call fcn.0044e469
add esp, 0x18
mov dword [esi + 8], eax
pop esi
leave
ret

Function at 0x442f20
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x11c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
mov ecx, dword [ebp + 0x9c]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00449c3a
add ebp, 0xa0
leave
ret

Function at 0x444574
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.004444cb
test eax, eax
jne 0x444588
or edx, 0xffffffff
mov eax, edx
leave
ret
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 1
push 0
push 0
push dword [ebp - 4]
mov edi, eax
call fcn.00451f10
xor ecx, ecx
add eax, edi
adc edx, ecx
pop edi
leave
ret
Function at 0x444c66
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 0x446680
Capabilities:
Encode data using xor

Disassembly:
shr dword [esp + 8], 2
xor edx, edx
cmp dword [esp + 8], edx
jle 0x4466bd
push esi
push edi
mov eax, dword [esp + 0xc]
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
rol eax, 0x10
mov esi, eax
shr esi, 8
mov edi, eax
shl edi, 8
xor esi, edi
and esi, 0xff00ff
shl eax, 8
xor esi, eax
inc edx
cmp edx, dword [esp + 0x10]
mov dword [ecx], esi
jl 0x44668f
pop edi
pop esi
ret

Function at 0x448d66
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x49c858], 0
push esi
jne 0x448cd4
call fcn.00448be8
test eax, eax
je 0x448d17
mov eax, dword [0x49c858]
cmp eax, 1
jne 0x448cf5
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x448d17
pop esi
ret
push eax
call dword [0x49c860]
test eax, eax
jne 0x448d5f
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x448d1b
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x49c858]
call dword [0x49c860]
mov edi, eax
test edi, edi
je 0x448d40
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x448d5c
mov edi, esi
add esi, 0xff0
push edi
push dword [0x49c858]
call dword [0x49c85c]
add edi, 0x10
cmp edi, esi
jb 0x448d48
mov eax, edi
pop edi
pop esi
ret
jmp 0x448cc1

Function at 0x449c3a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49a010]
jne 0x449c44
repz ret
jmp fcn.00452e2b
Function at 0x46c44d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00457edb
and dword [ebp - 4], 0
cmp dword [0x49d3ac], 0
mov ebx, eax
jne 0x46c4fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46c5af
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46c5af
push eax
call fcn.00457e69
mov dword [esp], 0x4869e4
push edi
mov dword [0x49d3ac], eax
call esi
push eax
call fcn.00457e69
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49d3b0], eax
call esi
push eax
call fcn.00457e69
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49d3b4], eax
call esi
push eax
call fcn.00457e69
pop ecx
mov dword [0x49d3bc], eax
test eax, eax
je 0x46c4fe
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00457e69
pop ecx
mov dword [0x49d3b8], eax
mov eax, dword [0x49d3b8]
cmp eax, ebx
je 0x46c556
cmp dword [0x49d3bc], ebx
je 0x46c556
push eax
call fcn.00457ee4
push dword [0x49d3bc]
mov esi, eax
call fcn.00457ee4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46c556
test edi, edi
je 0x46c556
call esi
test eax, eax
je 0x46c54d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46c54d
test byte [ebp - 0xc], 1
jne 0x46c556
or dword [ebp + 0x10], 0x200000
jmp 0x46c58f
mov eax, dword [0x49d3b0]
cmp eax, ebx
je 0x46c58f
push eax
call fcn.00457ee4
pop ecx
test eax, eax
je 0x46c58f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46c58f
mov eax, dword [0x49d3b4]
cmp eax, ebx
je 0x46c58f
push eax
call fcn.00457ee4
pop ecx
test eax, eax
je 0x46c58f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49d3ac]
call fcn.00457ee4
pop ecx
test eax, eax
je 0x46c5af
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46c5b1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret