joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429610
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x478084
push 0xca
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x42966e
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x42966e
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x42966e
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42967a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x42969f
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push edi
push esi
push eax
call fcn.00454ea0
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [esp + 0x1c]
lea esi, [ebx + 0x18]
push esi
mov dword [esp + 0x14], 0
call fcn.004298a0
add esp, 4
test eax, eax
je 0x429716
mov eax, dword [esi]
push 0x479c78
push eax
call fcn.0045214b
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x429712
mov eax, dword [esp + 0x14]
push ebx
push edi
push 1
push eax
call fcn.00453941
add esp, 0x10
cmp eax, edi
jne 0x429712
push ebx
call fcn.0045365d
add esp, 4
push ebx
call fcn.004521d9
add esp, 4
mov dword [esp + 0x10], 1
mov ebx, dword [esp + 0x1c]
xor edi, edi
cmp dword [esp + 0x10], edi
je 0x42972f
mov esi, dword [esi]
push esi
call fcn.0040edc0
mov edi, eax
add esp, 4
test edi, edi
jne 0x42976d
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.0040ec90
push eax
push 0
push ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x42975d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040ed00
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42976d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 0x14], edi
test edi, edi
je 0x429797
mov esi, edi
mov dword [ebx + 0x10], 1
call fcn.00410250
mov esi, dword [ebx + 0x14]
mov dword [ebx + 8], eax
call fcn.00410230
mov dword [ebx + 0xc], eax
mov eax, ebx
call fcn.004291b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x4298a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, 0x1110
call fcn.00456af0
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x110c], eax
mov eax, dword [esp + 0x1114]
push ebx
push ebp
push esi
push edi
push 0x800
lea ecx, [esp + 0x91c]
push 0
push ecx
mov dword [esp + 0x20], eax
call fcn.00453e20
add esp, 0xc
push 0x800
lea edx, [esp + 0x11c]
push 0
push edx
call fcn.00453e20
add esp, 0xc
lea eax, [esp + 0x918]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x100
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.00453e20
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
xor edi, edi
lea ebx, [ebx]
lea esi, [esp + 0x18]
call fcn.004297d0
mov edx, esi
push edx
lea eax, [esp + 0x91c]
push eax
lea ecx, [esp + 0x120]
push ecx
call ebx
lea eax, [esp + 0x118]
add eax, 0xfffffffe
jmp 0x429960
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x429960
mov edx, dword [str..tmp]
mov ecx, dword [0x479cec]
mov dword [eax], edx
mov dx, word [0x479cf0]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x118]
push eax
call ebp
test eax, eax
je 0x4299b7
inc edi
cmp edi, 0xa
jl 0x429930
xor eax, eax
mov ecx, dword [esp + 0x111c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044fcda
add esp, 0x1110
ret
lea ecx, [esp + 0x118]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [esp + 0x18]
mov ebx, eax
call fcn.0040e190
mov eax, 1
jmp 0x42999e

Function at 0x429ab0
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebx
push esi
push edi
push str.Q360SafeInstallerMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x429b24
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x429b00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x474a4c
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
ret 4
push 0x48f218
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [esp + 0xc]
mov edi, 0x48f200
call fcn.00429db0
push 0x48f218
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4

Function at 0x42a7a0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push esi
push 0x42a7d0
push 0
push 0
mov dword [esp + 0x18], 0
call fcn.0045099f
mov dword [esi + 0x1c], eax
add esp, 0x1c
ret
Function at 0x42aa40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46c01c
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
mov dword [edi], vtable.CP2SPTask.0
mov eax, dword [0x48b9d0]
lea esi, [edi + 8]
mov dword [esi], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x48b9d0]
mov dword [edi + 0xc], ecx
mov edx, dword [0x48b9d0]
mov dword [edi + 0x10], edx
mov ecx, dword [0x48b9d0]
mov dword [edi + 0x14], ecx
mov byte [esp + 0x1c], 3
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x477c20
push 0x477c20
mov dword [edi + 0x54], eax
mov dword [edi + 4], 0xffffffff
call ebp
mov ebx, eax
call fcn.0040e190
push 0x477c20
push 0x477c20
call ebp
mov ebx, eax
lea esi, [edi + 0xc]
call fcn.0040e190
push 0x477c20
push 0x477c20
call ebp
mov ebx, eax
lea esi, [edi + 0x10]
call fcn.0040e190
xor esi, esi
push esi
push esi
push 1
push esi
mov dword [edi + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x477c20
push 0x477c20
mov dword [edi + 0x20], eax
mov dword [edi + 0x28], 0x1e
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x24], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x58], esi
call ebp
mov ebx, eax
lea esi, [edi + 0x14]
call fcn.0040e190
mov dword [edi + 0x50], 0
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x42b1e0
Capabilities:
Create thread

Disassembly:
push ecx
xor eax, eax
lea ecx, [esp]
push ecx
push eax
push esi
push 0x42b210
push eax
push eax
mov dword [esp + 0x18], eax
mov dword [esi + 0x54], eax
call fcn.0045099f
mov dword [esi + 0x24], eax
mov eax, 1
add esp, 0x1c
ret

Function at 0x42b3f0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x46d6c6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esi], vtable.CP2SPWrapper.0
push 4
mov dword [esp + 0x28], 1
mov eax, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
push eax
call ebx
lea edi, [esi + 8]
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.liveupdatelogP2SP_360installer.log
call fcn.00410bd0
mov edx, dword [eax]
push 4
push 0
push edx
call ebx
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x42b486
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x42b486
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004501ef
add esp, 4
push edi
lea eax, [esp + 0x18]
push eax
mov ecx, str.liveupdatelog
call fcn.00410bd0
mov ecx, dword [eax]
push 4
push 0
push ecx
call ebx
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x48b9c0
je 0x42b4c8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x42b4c8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov ecx, dword [edi]
push 4
push 0
push ecx
call ebx
mov eax, dword [esi + 0xc]
lea edx, [eax - 0xc]
cmp edx, 0x48b9c0
je 0x42b4f8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x42b4f8
mov eax, dword [esi + 0xc]
sub eax, 0xc
push eax
call fcn.004501ef
add esp, 4
mov eax, dword [edi]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x42b51d
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x42b51d
mov edx, dword [edi]
sub edx, 0xc
push edx
call fcn.004501ef
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x42c230
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push 0x208
lea eax, [esp + 0x218]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.00453e20
add esp, 0xc
lea ecx, [esp + 0x214]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00453e20
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0
push str.__tmpini_
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [esp + 0xc]
call fcn.0040d470
mov ecx, dword [esp + 0x41c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044fcda
add esp, 0x418
ret
Function at 0x42c2e0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46f8db
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
push 0x100
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x80
call fcn.00453e20
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x49017c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [0x490178]
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x490184]
push ecx
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x18], 1
jne 0x42c3c4
cmp word [esp + 0x1c], 0
je 0x42c3c4
cmp dword [esp + 0x14], 0
jbe 0x42c3c4
lea ebx, [esp + 0x1c]
lea esi, [esp + 0x10]
call fcn.0040d470
mov dword [esp + 0x430], 0
mov ecx, dword [0x490180]
mov esi, dword [esp + 0x10]
push ecx
mov edx, ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
push edx
call ebx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c3ed
lea esi, [esp + 0x10]
call fcn.0040e0c0
xor eax, eax
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0044fcda
add esp, 0x424
ret
lea edi, [esp + 0x10]
mov eax, 0x490170
mov dword [0x49018c], 1
call fcn.0040dec0
mov eax, 0x490174
call fcn.0040dec0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x126]
push edx
mov word [esp + 0x128], cx
call fcn.00453e20
add esp, 0xc
push str.360ver.dll
push esi
lea eax, [esp + 0x32c]
push eax
call ebx
lea ecx, [esp + 0x324]
push ecx
call fcn.004148e0
mov esi, eax
test esi, esi
je 0x42c4a2
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360SafeVersion
push esi
call ebx
push str.IsBetaVersion
push esi
mov edi, eax
call ebx
mov esi, eax
test edi, edi
je 0x42c495
lea edx, [esp + 0x11c]
push 0x104
push edx
call edi
add esp, 8
test eax, eax
jne 0x42c495
mov edi, str.0.0.0.0
mov eax, 0x490188
call fcn.0040e210
test esi, esi
je 0x42c4b2
call esi
mov dword [0x490194], eax
jmp 0x42c4b2
lea edi, [esp + 0x11c]
lea esi, [esp + 0x1c]
call fcn.0042c4e0
lea edi, [esp + 0x11c]
mov eax, 0x490188
call fcn.0040e210
lea esi, [esp + 0x10]
call fcn.0040e0c0
mov eax, 1
jmp 0x42c3c6
Function at 0x42c4e0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x110
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x10c], eax
test esi, esi
je 0x42c5bf
test edi, edi
je 0x42c5bf
push 0x100
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.00453e20
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x42c5bf
cmp eax, 0xff
ja 0x42c5bf
lea edx, [esp + 0xc]
push edx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42c5bf
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push 0x478028
lea edx, [esp + 0x18]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42c5bf
push 0x104
push 0
push edi
call fcn.00453e20
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
push 0x104
push edi
call fcn.00428ce0
add esp, 0x28
mov eax, 1
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0044fcda
add esp, 0x110
ret
mov ecx, dword [esp + 0x10c]
xor ecx, esp
xor eax, eax
call fcn.0044fcda
add esp, 0x110
ret
Function at 0x42c950
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
xor eax, eax
push 0x3fe
mov esi, ecx
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], 0
push ecx
mov word [esp + 0x1c], ax
call fcn.00453e20
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [edi + 0x4c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [edi + 0x48]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x54]
push edx
push eax
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x200
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ebx, [esp + 0x10]
call fcn.0040d470
mov ecx, dword [esp + 0x410]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044fcda
add esp, 0x40c
ret

Function at 0x42c9e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x46bb08
mov eax, dword fs:[0]
push eax
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ca26
lea edi, [esp + 0x18]
mov eax, 0x4901ac
call fcn.0040dec0
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x42ca53
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42ca53
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004501ef
add esp, 4
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0xc
ret 4

Function at 0x42d180
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42d1b0
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
push eax
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.0042d1e0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ecx
ret
Function at 0x42d1e0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1010
call fcn.00456af0
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x100c], eax
mov eax, dword [esp + 0x1014]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1024]
mov ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0xffffffff
je 0x42d30b
xor ebp, ebp
cmp edi, ebp
je 0x42d30b
cmp ebx, ebp
jle 0x42d30b
mov eax, ebx
cdq
and edx, 0xfff
add eax, edx
push esi
mov esi, eax
sar esi, 0xc
and ebx, 0x80000fff
jns 0x42d24f
dec ebx
or ebx, 0xfffff000
inc ebx
cmp esi, ebp
mov dword [esp + 0x10], ebp
jle 0x42d2ac
jmp 0x42d260
push 0x1000
lea edx, [esp + 0x20]
push edi
push edx
call fcn.00454ea0
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42d2db
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42d2a1
mov ecx, dword [esp + 0x10]
add dword [eax], ecx
inc ebp
add edi, 0x1000
cmp ebp, esi
jl 0x42d260
test ebx, ebx
jle 0x42d304
push ebx
lea edx, [esp + 0x20]
push edi
push edx
call fcn.00454ea0
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
lea eax, [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42d2f6
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.0044fcda
add esp, 0x1010
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42d304
mov ecx, dword [esp + 0x10]
add dword [eax], ecx
mov eax, 1
jmp 0x42d2dd
mov ecx, dword [esp + 0x1018]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044fcda
add esp, 0x1010
ret
Function at 0x42d330
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46c7e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x48b9d0]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x24], 0
call fcn.004298a0
add esp, 4
test eax, eax
jne 0x42d3a4
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x48b9c0
je 0x42d39d
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42d39d
push esi
call fcn.004501ef
add esp, 4
xor eax, eax
jmp 0x42d498
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebp
mov edi, dword [esp + 0x28]
mov eax, esi
call fcn.0042d180
test eax, eax
jne 0x42d3cf
lea eax, [esi - 0xc]
cmp eax, 0x48b9c0
je 0x42d39d
add esi, 0xfffffff4
jmp 0x42d389
mov ecx, dword [0x48b9d0]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x24], 1
call fcn.004298a0
mov ebx, dword [esp + 0x2c]
add esp, 4
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, ebx
mov ecx, esi
call fcn.0042d5a0
test eax, eax
jne 0x42d442
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [ebx - 0xc]
cmp eax, 0x48b9c0
je 0x42d428
lea edi, [ebx - 0xc]
push edi
call ebp
test eax, eax
jg 0x42d428
push edi
call fcn.004501ef
add esp, 4
lea ecx, [esi - 0xc]
cmp ecx, 0x48b9c0
je 0x42d39d
add esi, 0xfffffff4
push esi
call ebp
jmp 0x42d390
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x28]
call fcn.0040dec0
push esi
call ebp
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [ebx - 0xc]
cmp edx, 0x48b9c0
je 0x42d476
lea edi, [ebx - 0xc]
push edi
call ebp
test eax, eax
jg 0x42d476
push edi
call fcn.004501ef
add esp, 4
lea eax, [esi - 0xc]
cmp eax, 0x48b9c0
je 0x42d493
add esi, 0xfffffff4
push esi
call ebp
test eax, eax
jg 0x42d493
push esi
call fcn.004501ef
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x42d780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x42d790
mov eax, dword [edi + 8]
sub esp, 8
test eax, eax
je 0x42d890
mov ecx, dword [edi + 0x10]
push ebx
push ebp
push esi
push 1
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
movzx edx, word [edi]
mov eax, dword [edi + 4]
push 5
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
mov ecx, ebp
call fcn.0042d660
mov ebx, eax
mov eax, ebp
mov dword [esp + 0xc], 0
call fcn.0042d640
xor edx, edx
cmp dx, word [eax]
jae 0x42d871
mov esi, dword [esp + 0x10]
lea ecx, [ecx]
cmp dword [esp + 0xc], 0
jne 0x42d80f
mov eax, dword [edi + 8]
push 5
push eax
jmp 0x42d812
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x42d86d
mov edi, edi
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, dword [ebx + 0x14]
je 0x42d83d
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x42d820
jmp 0x42d86d
test esi, esi
je 0x42d86d
mov ecx, dword [edi + 0x10]
push 1
push ecx
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
call fcn.0042d700
inc dword [esp + 0xc]
mov ebx, eax
mov eax, ebp
call fcn.0042d640
movzx edx, word [eax]
cmp dword [esp + 0xc], edx
jl 0x42d800
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [edi + 0xc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop esi
xor eax, eax
pop ebp
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
pop ebx
add esp, 8
ret

Function at 0x42d8a0
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
cmp eax, ecx
jne 0x42d8ac
mov eax, 1
ret
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
ret
Function at 0x42e330
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x50
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
push ebp
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x1a]
push edx
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], cx
call fcn.00453e20
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
test ebp, ebp
je 0x42e48a
push ebx
push esi
push edi
mov ebx, str.s.360.cn
lea esi, [esp + 0x10]
call fcn.0040d470
mov ebx, dword [esp + 0x10]
push 0
push 0
push 3
push 0
push 0
push 0x50
push ebx
push ebp
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
test edi, edi
jne 0x42e3c0
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebx - 0xc]
cmp eax, 0x48b9c0
jmp 0x42e3fc
mov ecx, dword [esp + 0x18]
push 0
push 0x8440c100
push 0
push 0
push str.HTTP_1.1
push ecx
push 0x47a0a8
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x42e42e
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
push edi
call esi
lea edx, [ebx - 0xc]
cmp edx, 0x48b9c0
je 0x42e487
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42e487
push esi
call fcn.004501ef
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0044fcda
add esp, 0x50
ret 4
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x42e452
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call ebx
push edi
call ebx
push esi
call ebx
jmp 0x42e47e
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x13
push esi
mov dword [esp + 0x28], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push ebp
call esi
lea esi, [esp + 0x10]
call fcn.0040e0c0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
pop ebp
xor ecx, esp
call fcn.0044fcda
add esp, 0x50
ret 4

Function at 0x42e4c0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push esi
push 0x42e5c0
push 0
push 0
mov dword [esi], 0
mov dword [esp + 0x18], 0
call fcn.0045099f
mov dword [esi + 8], eax
add esp, 0x1c
ret

Function at 0x42eab0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x11c
lea eax, [esp + 4]
push 0
push eax
call fcn.00453e20
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x11c]
sbb eax, eax
xor ecx, esp
inc eax
call fcn.0044fcda
add esp, 0x120
ret