joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e0fd
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors

Disassembly:
mov eax, 0x41ef66
call fcn.0041dc40
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 3
xor ebx, ebx
or eax, 0xffffffff
lea ecx, [esi + 0x38]
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
push edi
mov dword [ebp - 0x10], esi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402d26
lea ecx, [esi + 0x44]
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402d26
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 4
mov dword [esi + 0x50], 0x4213c4
lea ecx, [esi + 0x64]
push edi
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402d26
lea ecx, [esi + 0x70]
push edi
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402d26
lea ecx, [esi + 0x7c]
push edi
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402d26
lea ecx, [esi + 0x88]
push edi
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402d26
lea ecx, [esi + 0x94]
call fcn.0041cb80
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x413b1b
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41fa60
call fcn.0041dc40
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x421778
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x4219e4
push 4
mov ebx, 0x4217f8
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.0040238a
mov dword [esi + 0x3c], 0x421a84
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.0040238a
mov dword [edi], 0x421a8c
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00412619
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0041314a
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00412619
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0041314a
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00412619
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0041314a
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00412619
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0041314a
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0041314a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41c260
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret
Function at 0x401058
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 4
mov esi, dword [0x422068]
and byte [ebp - 0x19], 0
pop eax
mov ebx, 0x4263b8
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], 0x52
push eax
push ebx
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x67
mov byte [ebp - 0x21], 0x4f
mov byte [ebp - 0x20], 0x70
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x4b
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x79
mov byte [ebp - 0x1a], 0x41
call esi
mov edi, dword [0x42206c]
push eax
call edi
and byte [ebp - 0x32], 0
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push 0x80000002
mov byte [ebp - 0x60], 0x48
mov byte [ebp - 0x5f], 0x41
mov byte [ebp - 0x5e], 0x52
mov byte [ebp - 0x5d], 0x44
mov byte [ebp - 0x5c], 0x57
mov byte [ebp - 0x5b], 0x41
mov byte [ebp - 0x5a], 0x52
mov byte [ebp - 0x59], 0x45
mov byte [ebp - 0x58], 0x5c
mov byte [ebp - 0x57], 0x44
mov byte [ebp - 0x56], 0x45
mov byte [ebp - 0x55], 0x53
mov byte [ebp - 0x54], 0x43
mov byte [ebp - 0x53], 0x52
mov byte [ebp - 0x52], 0x49
mov byte [ebp - 0x51], 0x50
mov byte [ebp - 0x50], 0x54
mov byte [ebp - 0x4f], 0x49
mov byte [ebp - 0x4e], 0x4f
mov byte [ebp - 0x4d], 0x4e
mov byte [ebp - 0x4c], 0x5c
mov byte [ebp - 0x4b], 0x53
mov byte [ebp - 0x4a], 0x79
mov byte [ebp - 0x49], 0x73
mov byte [ebp - 0x48], 0x74
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x46], 0x6d
mov byte [ebp - 0x45], 0x5c
mov byte [ebp - 0x44], 0x43
mov byte [ebp - 0x43], 0x65
mov byte [ebp - 0x42], 0x6e
mov byte [ebp - 0x41], 0x74
mov byte [ebp - 0x40], 0x72
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x3e], 0x6c
mov byte [ebp - 0x3d], 0x50
mov byte [ebp - 0x3c], 0x72
mov byte [ebp - 0x3b], 0x6f
mov byte [ebp - 0x3a], 0x63
mov byte [ebp - 0x39], 0x65
mov byte [ebp - 0x38], 0x73
mov byte [ebp - 0x37], 0x73
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x72
mov byte [ebp - 0x34], 0x5c
mov byte [ebp - 0x33], 0x30
call eax
and byte [ebp - 0x14], 0
push 0x4263a4
push ebx
mov byte [ebp - 0x18], 0x7e
mov byte [ebp - 0x17], 0x4d
mov byte [ebp - 0x16], 0x48
mov byte [ebp - 0x15], 0x7a
call esi
push eax
call edi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x18]
push 0
push ecx
push dword [ebp - 4]
call eax
and byte [ebp - 0x25], 0
lea eax, [ebp - 0x30]
push eax
push ebx
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x67
mov byte [ebp - 0x2d], 0x43
mov byte [ebp - 0x2c], 0x6c
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x4b
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x79
call esi
push eax
call edi
push dword [ebp - 4]
call eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4011fd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
and byte [ebp - 4], 0
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
push 0x4263c8
xor edi, edi
mov byte [ebp - 0x1c], 0x63
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x70
mov byte [ebp - 0x19], 0x47
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x44
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x13], 0x76
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x44
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x70
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x69
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x6e
mov byte [ebp - 5], 0x41
call dword [0x422068]
push eax
call dword [0x42206c]
mov ebx, eax
xor esi, esi
test edi, edi
jne 0x4012a7
lea eax, [ebp - 0x50]
push 0x32
push eax
lea eax, [ebp - 0xb4]
push 0x64
push eax
push esi
call ebx
inc esi
mov edi, eax
cmp esi, 0xa
jl 0x401289
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40146f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
call fcn.004206ea
push 0x400
lea eax, [ebp - 0x440]
push ebx
push eax
call fcn.004206ea
mov esi, dword [0x422068]
add esp, 0x18
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], 0x77
push eax
push 0x4263fc
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x70
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x66
mov byte [ebp - 0x10], 0x41
mov byte [ebp - 0xf], bl
call esi
mov edi, dword [0x42206c]
push eax
call edi
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], 0x53
mov byte [ebp - 0x3f], 0x59
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov byte [ebp - 0x3e], 0x53
mov byte [ebp - 0x3d], 0x54
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x4d
mov byte [ebp - 0x3a], 0x5c
mov byte [ebp - 0x39], 0x43
mov byte [ebp - 0x38], 0x75
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x72
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x6e
mov byte [ebp - 0x33], 0x74
mov byte [ebp - 0x32], 0x43
mov byte [ebp - 0x31], 0x6f
mov byte [ebp - 0x30], 0x6e
mov byte [ebp - 0x2f], 0x74
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x6f
mov byte [ebp - 0x2c], 0x6c
mov byte [ebp - 0x2b], 0x53
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x74
mov byte [ebp - 0x28], 0x5c
mov byte [ebp - 0x27], 0x53
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x76
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0x5c
mov byte [ebp - 0x1e], 0x25
mov byte [ebp - 0x1d], 0x73
mov byte [ebp - 0x1c], bl
call eax
push ebx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push 1
push 0x426414
lea eax, [ebp - 0x440]
push eax
push 0x80000002
call fcn.0040d8fc
add esp, 0x2c
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x73
push eax
push 0x4263e4
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x6e
mov byte [ebp - 5], 0x41
mov byte [ebp - 4], bl
call esi
push eax
call edi
push dword [ebp + 0xc]
mov esi, eax
call esi
test eax, eax
jne 0x4015e8
mov dword [ebp + 0xc], 0x426408
push dword [ebp + 0xc]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4015f2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
call fcn.004206ea
push 0x400
lea eax, [ebp - 0x424]
push ebx
push eax
call fcn.004206ea
mov esi, dword [0x422068]
add esp, 0x18
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], 0x77
push eax
push 0x4263fc
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x70
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x66
mov byte [ebp - 0x1c], 0x41
mov byte [ebp - 0x1b], bl
call esi
mov edi, dword [0x42206c]
push eax
call edi
push dword [ebp + 8]
lea ecx, [ebp - 0x424]
push 0x42642c
push ecx
call eax
push ebx
lea eax, [ebp - 0x18]
push dword [ebp + 0x10]
mov byte [ebp - 0x18], 0x4d
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x72
push ebx
mov byte [ebp - 0x15], 0x6b
push dword [ebp + 0xc]
mov byte [ebp - 0x14], 0x54
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x6d
push 1
push eax
lea eax, [ebp - 0x424]
mov byte [ebp - 0x11], 0x65
push eax
push 0x80000002
mov byte [ebp - 0x10], bl
call fcn.0040d8fc
add esp, 0x2c
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x73
push eax
push 0x4263e4
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x6e
mov byte [ebp - 5], 0x41
mov byte [ebp - 4], bl
call esi
push eax
call edi
push dword [ebp + 0xc]
mov esi, eax
call esi
test eax, eax
jne 0x4016fb
mov dword [ebp + 0xc], 0x426424
push dword [ebp + 0xc]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401190
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
push str.FILE
push esi
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x4011e9
mov cl, byte [eax + str.c:windows_system32]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x4011da
push edi
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov cx, word [0x40705c]
lea edx, [esp + 0x1c]
mov word [edi - 1], cx
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push eax
push 2
mov ecx, edx
push eax
push eax
and ecx, 3
lea eax, [esp + 0x30]
push 0x40000000
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
test esi, esi
jne 0x401263
push str.CreateFile_Failed__n
call fcn.00401640
add esp, 4
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
lea ecx, [esp + 0x14]
push 0
push ecx
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x14]
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4012a2
lea eax, [esp + 0x18]
push eax
push str.WriteFile__s_Failed___n
call fcn.00401640
add esp, 8
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret
Function at 0x402ed1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407698
cmp edx, dword [eax]
je 0x402ef3
add eax, 8
inc ecx
cmp eax, 0x407728
jl 0x402ee4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407698]
jne 0x403021
mov eax, dword [0x409c18]
cmp eax, 1
je 0x402ffb
test eax, eax
jne 0x402f24
cmp dword [0x407364], 1
je 0x402ffb
cmp edx, 0xfc
je 0x403021
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402f5b
lea eax, [ebp - 0x1a4]
push 0x406480
push eax
call fcn.004037f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403210
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402f9e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403210
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40647c
push edi
call fcn.004052e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x406460
push eax
call fcn.004037f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403800
lea eax, [ebp - 0xa0]
push 0x40645c
push eax
call fcn.00403800
push dword [esi + 0x40769c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403800
push 0x12010
lea eax, [ebp - 0xa0]
push 0x406434
push eax
call fcn.00405254
add esp, 0x2c
pop edi
jmp 0x403021
lea eax, [ebp + 8]
lea esi, [esi + 0x40769c]
push 0
push eax
push dword [esi]
call fcn.00403210
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.EnableUE
push str.Software360WallPaper
push 0x80000001
call dword [0x41b180]
test eax, eax
jne 0x40103e
cmp dword [ebp - 4], 1
je 0x401047
cmp eax, 2
je 0x401047
xor eax, eax
leave
ret
xor eax, eax
inc eax
leave
ret
Function at 0x4028fa
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x219c]
mov eax, 0x221c
call fcn.00417700
mov eax, dword [0x4241d0]
xor eax, ebp
mov dword [ebp + 0x2198], eax
mov eax, dword [ebp + 0x21a4]
mov dword [ebp - 0x74], eax
test eax, eax
jne 0x40292d
xor eax, eax
jmp 0x402a27
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x1f90], ax
lea eax, [ebp + 0x1f92]
push eax
mov dword [ebp - 0x78], 1
call fcn.0040d620
xor eax, eax
push 0x1ffe
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call fcn.0040d620
add esp, 0x18
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1f90]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
push 0x80000002
mov dword [ebp - 0x7c], 0x104
call dword [0x41b180]
test eax, eax
jne 0x4029a4
lea eax, [ebp + 0x1f90]
push eax
call dword [0x41b188]
test eax, eax
jne 0x4029b8
push 0x104
lea eax, [ebp + 0x1f90]
push eax
push 0
call dword [0x41b054]
lea eax, [ebp + 0x1f90]
push eax
call dword [0x41b190]
lea eax, [ebp + 0x1f90]
push 0x5c
push eax
call fcn.0040bde9
pop ecx
pop ecx
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp + 0x1f90]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4029e4
sub eax, edx
sar eax, 1
je 0x402926
push 0x1000
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1f90]
push eax
call dword [0x41b06c]
test eax, eax
je 0x402926
mov ecx, dword [ebp - 0x74]
lea edx, [ebp + 0x1f90]
call fcn.004028bf
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x2198]
xor ecx, ebp
call fcn.0040b557
add ebp, 0x219c
leave
ret
Function at 0x402d51
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.00417700
push 0xffffffffffffffff
push 0x41a1ca
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4241d0]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], ebx
push 0x206
mov word [ebp + 0x2000], ax
lea eax, [ebp + 0x2002]
push ebx
push eax
call fcn.0040d620
add esp, 0xc
push 0x104
lea eax, [ebp + 0x2000]
push eax
push ebx
call dword [0x41b040]
push eax
call dword [0x41b054]
lea eax, [ebp + 0x2000]
push eax
call dword [0x41b190]
lea eax, [ebp + 0x2000]
push eax
call dword [0x41b194]
push str.360wpapp.exe
lea eax, [ebp + 0x2000]
push eax
call dword [0x41b184]
lea eax, [ebp + 0x2000]
push eax
call dword [0x41b188]
test eax, eax
je 0x402ecc
mov esi, 0x1fff
push esi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.0040d620
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x2000]
push eax
mov dword [ebp - 0x18], ebx
call fcn.00419d2a
cmp eax, ebx
je 0x402ecc
cmp eax, esi
ja 0x402ecc
lea ecx, [ebp]
push ecx
push eax
push ebx
lea eax, [ebp + 0x2000]
push eax
call fcn.00419d1e
test eax, eax
je 0x402ecc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x41d170
lea eax, [ebp]
push eax
call fcn.00419d24
test eax, eax
je 0x402ecc
mov eax, dword [0x4262cc]
mov ecx, 0x4262cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
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 0x41d174
lea eax, [ebp - 0x14]
call fcn.00402719
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
add esp, 0x14
mov eax, esi
call fcn.00401775
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.004026d1
jmp 0x402ed7
push 0x41d070
push edi
call fcn.004025dc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.0040b557
add ebp, 0x220c
leave
ret
Function at 0x402efb
Capabilities:
Download url
Receive data

Disassembly:
push 0x234
mov eax, 0x41a19a
call fcn.0040d5c6
lea eax, [ebp - 0x23c]
push eax
call fcn.00403717
push 0x41d18c
lea eax, [ebp - 0x220]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004025dc
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 1
call fcn.00402c84
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x220]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004026d1
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x230]
sub eax, ecx
and eax, 0xfffffffc
cmp eax, 0x10
jne 0x403054
lea eax, [ebp - 0x224]
push eax
call fcn.00403666
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x230]
sar eax, 2
cmp eax, 2
ja 0x402f9a
call fcn.0040bad9
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + 8]
sub eax, 0x10
call fcn.00401775
lea esi, [eax + 0x10]
mov dword [ebp - 0x240], esi
mov byte [ebp - 4], 3
mov eax, dword [0x4262cc]
mov ecx, 0x4262cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 4
call dword [0x41b044]
push eax
push esi
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push str.http:__stat.apc.360.cn_stat.html_typeopenactionbengkuilesorrydeskbanben_sdeakbanhao_st_d
call fcn.00402719
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.0040d620
mov edi, dword [ebp - 0x220]
add esp, 0x1c
push ebx
push ebx
push 0x104
lea eax, [ebp - 0x21c]
push eax
push edi
push ebx
call fcn.00419d30
lea eax, [ebp - 0x21c]
push eax
call dword [0x41b010]
lea eax, [edi - 0x10]
call fcn.004026d1
lea eax, [esi - 0x10]
call fcn.004026d1
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.004026d1
lea esi, [ebp - 0x23c]
call fcn.00403750
call fcn.0040d610
ret
Function at 0x404254
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push 0x1c
mov eax, 0x419f3c
call fcn.0040d590
mov esi, ecx
mov dword [ebp - 0x18], esi
xor edi, edi
push edi
push edi
push edi
push edi
push dword [ebp + 0x1c]
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], edi
call dword [0x41b1d0]
mov dword [esi + 4], eax
cmp eax, edi
je 0x4043aa
cmp eax, 0xffffffff
je 0x4043aa
mov ebx, dword [ebp + 0x18]
mov ecx, ebx
sub ecx, edi
je 0x4042bc
dec ecx
je 0x4042b0
dec ecx
jne 0x4042e2
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
jne 0x4042aa
mov ecx, 0x1bb
push edi
push edi
push 3
jmp 0x4042ce
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
jne 0x4042aa
push 0x50
pop ecx
jmp 0x4042aa
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
jne 0x4042c6
push 0x15
pop ecx
push edi
push 0x8000000
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
push dword [ebp + 8]
push eax
call dword [0x41b1bc]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, edi
je 0x404396
cmp eax, 0xffffffff
je 0x404396
push edi
call dword [0x41b1b0]
test eax, eax
je 0x404316
mov dword [ebp - 0x1c], str.connect_failed...
push 0x422228
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d12b
push dword [ebp + 8]
lea ecx, [esi + 0x10]
call fcn.00401ae6
mov eax, dword [ebp + 0xc]
cmp eax, edi
jne 0x404358
mov eax, ebx
sub eax, edi
je 0x40434c
dec eax
je 0x404340
dec eax
jne 0x40435e
mov dword [esi + 0x80], 0x1bb
jmp 0x40435e
mov dword [esi + 0x80], 0x50
jmp 0x40435e
mov dword [esi + 0x80], 0x15
jmp 0x40435e
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ebx
cmp dword [ebp + 0x10], edi
je 0x404374
push dword [ebp + 0x10]
lea ecx, [esi + 0x2c]
call fcn.00401ae6
cmp dword [ebp + 0x14], edi
je 0x404384
push dword [ebp + 0x14]
lea ecx, [esi + 0x48]
call fcn.00401ae6
mov eax, esi
call fcn.00404898
mov al, byte [ebp - 0x11]
call fcn.0040d5fc
ret 0x18
mov dword [ebp - 0x20], str.connect_failed...
push 0x422228
lea eax, [ebp - 0x20]
jmp 0x404310
mov dword [ebp - 0x24], str.open_internet_failed...
push 0x422228
lea eax, [ebp - 0x24]
jmp 0x404310