joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43377e
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi], esi
je 0x43388a
cmp dword [edi + 4], esi
je 0x43388a
mov dword [edi + 8], esi
mov edx, esi
mov ecx, dword [edi]
mov eax, dword [edx + 0x62fda0]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x48
jl 0x43379e
mov edx, esi
push ebx
mov ebx, 0x100
mov ecx, dword [edi + 4]
mov eax, dword [edx + 0x62eda0]
mov dword [edx + ecx], eax
add edx, 4
sub ebx, 1
jne 0x4337b9
cmp edx, 0x1000
jl 0x4337b4
mov ebx, esi
mov ecx, dword [ebp + 8]
mov al, byte [esi + ecx]
mov byte [ebp - 1], al
lea eax, [esi + 1]
cdq
idiv dword [ebp + 0xc]
mov al, byte [edx + ecx]
mov byte [ebp - 2], al
lea eax, [esi + 2]
cdq
idiv dword [ebp + 0xc]
mov al, byte [edx + ecx]
mov byte [ebp - 3], al
lea eax, [esi + 3]
cdq
idiv dword [ebp + 0xc]
mov al, byte [edx + ecx]
mov ecx, dword [edi]
mov byte [ebp - 4], al
mov eax, dword [ebp - 4]
xor dword [ebx + ecx], eax
lea eax, [esi + 4]
cdq
add ebx, 4
idiv dword [ebp + 0xc]
mov esi, edx
cmp ebx, 0x48
jl 0x4337d7
xor esi, esi
mov dword [ebp + 8], esi
mov ebx, esi
mov dword [ebp + 0xc], esi
lea eax, [ebp + 8]
mov ecx, edi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00432fdc
mov ecx, dword [edi]
mov eax, dword [ebp + 0xc]
mov dword [ebx + ecx], eax
mov ecx, dword [edi]
mov eax, dword [ebp + 8]
mov dword [ebx + ecx + 4], eax
add ebx, 8
cmp ebx, 0x48
jl 0x43382a
mov ebx, 0x80
lea eax, [ebp + 8]
mov ecx, edi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00432fdc
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + ecx], eax
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [ecx + esi + 4], eax
add esi, 8
sub ebx, 1
jne 0x433857
cmp esi, 0x1000
jl 0x433852
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x433a6d
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x434e40
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 8
mov eax, 0x5e43d4
call fcn.0059bc0e
mov esi, edx
mov edi, ecx
mov eax, dword [esi]
mov dword [esi + 4], eax
test edi, edi
je 0x434e98
xor ecx, ecx
lea eax, [ebp - 0x14]
push ecx
push ecx
push eax
push ecx
push 1
push ecx
push edi
mov dword [ebp - 0x14], ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
cmp dword [ebp - 0x14], 0
je 0x434e98
and dword [ebp - 4], 0
mov ecx, esi
push esi
push dword [ebp - 0x14]
call fcn.00435099
xor ecx, ecx
lea eax, [ebp - 0x14]
push ecx
push ecx
push eax
push dword [esi]
push 1
push ecx
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
call fcn.0059bb6c
ret
Function at 0x43531a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp + 8]
add eax, 0x18
add eax, edx
mov dword [ebp - 8], eax
add eax, 0xc
cmp ecx, dword [eax]
jae 0x43533a
mov eax, ecx
leave
ret
push ebx
push esi
push edi
movzx edi, word [edx + 6]
xor esi, esi
test edi, edi
je 0x43537a
lea ebx, [esi + 1]
cmp ebx, edi
jne 0x435359
mov ecx, dword [edx + 0x50]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
jmp 0x43535f
mov edi, dword [eax + 0x28]
mov dword [ebp - 4], edi
mov edi, dword [eax]
cmp ecx, edi
mov dword [ebp - 0xc], edi
movzx edi, word [edx + 6]
jb 0x435371
cmp ecx, dword [ebp - 4]
jb 0x435382
mov esi, ebx
add eax, 0x28
cmp esi, edi
jb 0x435347
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [ebp - 8]
imul eax, esi, 0x28
mov eax, dword [eax + edx + 0x14]
sub eax, dword [ebp - 0xc]
add eax, ecx
jmp 0x43537d
Function at 0x4357f7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 4
pop eax
mov dword [ebp - 0xc], eax
xor esi, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0xc]
push eax
push str.NotJoinPrivate
push str.Software360360se5defaultoption
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
inc eax
cmp dword [ebp - 4], esi
cmove esi, eax
mov eax, esi
pop esi
leave
ret
cmp ecx, 2
je 0x4357a2
xor eax, eax
test ecx, ecx
setne al
ret
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
test esi, esi
je 0x435852
xor eax, eax
cmp word [esi], ax
je 0x435852
push edi
call fcn.0043588a
mov edi, eax
test edi, edi
je 0x435846
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov ecx, dword [0x6f2078]
cmp ecx, dword [edx + 4]
jg 0x435858
mov eax, dword [0x6f207c]
test eax, eax
je 0x435846
push 0
push dword [ebp + 8]
push ebx
push esi
call eax
add esp, 0x10
pop edi
jmp 0x435854
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
jmp 0x4357e6
xor eax, eax
pop esi
pop ebx
pop ebp
ret
push 0x6f2078
call fcn.0059ae4e
cmp dword [0x6f2078], 0xffffffff
pop ecx
jne 0x43582e
push str.CanReportURL
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6f2078
mov dword [0x6f207c], eax
call fcn.0059ae04
pop ecx
jmp 0x43582e

Function at 0x435f30
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5e170b
call fcn.0059bbd7
mov ebx, ecx
cmp dword [0x6deccc], 0
mov edi, dword [ebp + 8]
je 0x43600d
call fcn.0040a5f8
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0x200
call fcn.0040b022
lea esi, [ebx + 4]
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b220
mov esi, 0x633384
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b220
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x435fa8
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040b220
mov esi, 0x633298
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b220
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebx], 0xffffffff
je 0x436005
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
add eax, eax
push eax
push ecx
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x28]
call fcn.0040b67e
call fcn.0059bb81
ret 4
Function at 0x4360ed
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x320]
mov dword [ebp - 0x320], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
and dword [0x6dea94], 0
xor esi, esi
cmp dword [ebp - 0x310], 2
mov dword [0x6dea90], esi
jne 0x436203
cmp dword [ebp - 0x31c], 5
je 0x436203
cmp dword [ebp - 0x31c], 6
push edi
jne 0x4361ef
mov eax, dword [ebp - 0x318]
cmp eax, 4
ja 0x436202
xor edi, edi
inc edi
cmp eax, edi
mov dword [0x6dea94], edi
cmove esi, edi
cmp eax, 2
jne 0x4361a7
push str.RtlGetVersion
push str.ntdll.dll
mov dword [0x6dea90], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43619b
lea ecx, [ebp - 0x434]
push ecx
call eax
mov esi, dword [0x6dea90]
mov eax, dword [ebp - 0x318]
cmp eax, 3
cmove esi, edi
cmp eax, 4
cmove esi, edi
mov dword [0x6dea90], esi
cmp eax, edi
jbe 0x436202
push str.RtlGetVersion
push str.ntdll.dll
mov dword [0x6dea90], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4361e7
lea ecx, [ebp - 0x434]
push ecx
call eax
mov esi, dword [0x6dea90]
jmp 0x436202
jbe 0x436202
xor edi, edi
inc edi
mov esi, edi
mov dword [0x6dea94], edi
mov dword [0x6dea90], esi
pop edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005b24a0
add esp, 0xc
test esi, esi
pop esi
je 0x436238
push 0x103
call fcn.00436292
lea edx, [ebp - 0x20c]
mov ecx, eax
call fcn.0041e62a
pop ecx
jmp 0x436243
lea ecx, [ebp - 0x20c]
call fcn.004362bf
call fcn.00436254
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059a7a2
leave
ret

Function at 0x436292
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push esi
mov esi, 0x6f0ee8
cmp ax, word [0x6f0ee8]
jne 0x4362bb
push eax
push 0x26
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push esi
call fcn.005c362e
pop ecx
pop ecx
mov eax, esi
pop esi
ret
Function at 0x4363a9
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [0x6dea8c]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
push edi
mov edi, edx
test esi, esi
jne 0x4363eb
push 0x6000
call fcn.0059af42
mov dword [esp], 0x1000
push esi
push eax
mov dword [0x6dea8c], eax
call fcn.005b24a0
mov esi, dword [0x6dea8c]
add esp, 0xc
xor ecx, ecx
mov ebx, ecx
mov eax, esi
mov edx, 0x400
cmp dword [eax], edi
je 0x436430
inc ebx
add eax, 0x18
cmp ebx, edx
jl 0x4363f4
mov ebx, ecx
mov eax, esi
cmp dword [eax], ecx
je 0x43641a
inc ebx
add eax, 0x18
cmp ebx, edx
jl 0x436404
call fcn.0043638f
jmp 0x43657c
imul eax, ebx, 0x18
mov dword [eax + esi], edi
mov dword [eax + esi + 8], ecx
mov dword [eax + esi + 0xc], ecx
mov dword [eax + esi + 0x10], ecx
mov dword [eax + esi + 0x14], ecx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x43657c
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x24]
call fcn.00436389
lea ecx, [ebp - 0x2c]
mov edi, eax
mov esi, edx
call fcn.00436389
add edi, eax
mov eax, dword [ebp - 0x54]
adc esi, edx
cdq
push edx
push eax
push esi
push edi
call fcn.0059bad0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
call fcn.00436389
mov ecx, dword [0x6dea8c]
imul edi, ebx, 0x18
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov eax, dword [edi + ecx + 8]
mov edx, dword [edi + ecx + 0xc]
mov dword [ebp - 0x14], eax
or eax, edx
mov dword [ebp - 0x18], edx
je 0x436560
mov edx, dword [edi + ecx + 0x10]
mov eax, edx
mov esi, dword [edi + ecx + 0x14]
or eax, esi
je 0x436560
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
sub ebx, edx
mov eax, ebx
sbb ecx, esi
or eax, ecx
mov dword [ebp - 0x1c], ecx
je 0x43657c
mov esi, dword [ebp - 4]
sub esi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
sbb eax, dword [ebp - 0x18]
push 0
push 0x64
push eax
push esi
call fcn.0059b930
mov ecx, eax
call fcn.0059b820
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.0059b820
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
push ecx
push ecx
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.005c6910
mov eax, dword [0x6dea8c]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [edi + eax + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [edi + eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi + eax + 0x10], ecx
mov ecx, dword [ebp - 0x10]
fstp dword [ebp - 0x1c]
mov dword [edi + eax + 0x14], ecx
cvttss2si eax, dword [ebp - 0x1c]
jmp 0x43657e
mov eax, dword [ebp - 4]
mov dword [edi + ecx + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + ecx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + ecx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + ecx + 0x14], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x436a14
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
movsd xmm0, qword [0x6f0ed8]
sub esp, 0x10
comisd xmm0, xmmword [0x67a9a8]
ja 0x436ac5
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x436abb
push 4
pop edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
push esi
push str.MHz
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x436abb
cmp dword [ebp - 8], edi
jne 0x436abb
cmp dword [ebp - 0xc], edi
jne 0x436abb
mov eax, dword [ebp - 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67aa70]
divsd xmm0, qword [0x67aa20]
movsd qword [0x6f0ed8], xmm0
jmp 0x436ac3
movsd xmm0, qword [0x67a9b8]
pop edi
pop esi
leave
ret

Function at 0x438ad1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x438adc
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x438b98
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x62fe60]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x62fe60]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x62fe60]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x62fe60]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x62fe60]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x62fe60]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x62fe60]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x62fe60]
sub edi, 1
jne 0x438af1
pop edi
test esi, esi
je 0x438bb4
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x62fe60]
inc edx
sub esi, 1
jne 0x438b9c
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x438bbb
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x62fe60]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x62fe60]
mov dword [edi + 8], ecx
pop edi
pop esi
ret
Function at 0x43939f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov ecx, ebx
imul ecx, dword [ebp + 8]
cmp byte [edi], 0
je 0x4393d8
push 0
lea edx, [ebp + 8]
push edx
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4393d3
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x439402
mov edx, dword [edi + 0x1c]
push esi
mov esi, dword [edi + 0x18]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ecx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.005b2600
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
pop esi
xor edx, edx
pop edi
div ebx
pop ebx
leave
ret

Function at 0x43a7e8
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x43a81a
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43a81a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x43a8ce
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x43a839
cmp dx, 0x5c
jne 0x43a83b
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x43a82d
cmp esi, ebx
je 0x43a881
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.005b2600
add esp, 0xc
cmp esi, 0x208
jae 0x43a8dc
xor eax, eax
lea edx, [ebp - 0x414]
mov ecx, edi
mov word [ebp + esi - 0x414], ax
call fcn.0043a7e8
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x43a89e
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005c360c
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005c362e
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43a8ce
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0059a7a2
leave
ret
call fcn.0059a912
int3
Function at 0x43b270
Capabilities:
Check if file exists

Disassembly:
push 0x44
mov eax, 0x5e4650
call fcn.0059bba3
mov dword [ebp - 0x18], edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [0x6d3fd4]
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [edx]
cmp dword [eax - 8], esi
je 0x43b2ed
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b2ed
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x14], esi
mov ebx, esi
mov ecx, dword [ecx]
call fcn.0043b120
test eax, eax
je 0x43b2d4
mov eax, dword [ebp - 0x48]
mov esi, eax
movzx eax, ax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov ebx, eax
shr esi, 0x10
shr ebx, 0x10
movzx eax, ax
jmp 0x43b2d6
mov eax, esi
push eax
push ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push esi
push str._d._d._d._d
push eax
call fcn.00414053
add esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0040a2a8
lea ecx, [ebp - 0x10]
call fcn.0040a4ed
mov eax, edi
call fcn.0059bb6c
ret
Function at 0x43c53a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x424
mov eax, 0x5e49de
call fcn.0059bbd7
mov dword [ebp - 0x430], edx
mov esi, ecx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x428], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6f2080]
cmp eax, dword [ecx + 4]
jg 0x43c763
mov eax, dword [0x6f2084]
cmp dword [eax - 8], 0
jne 0x43c714
mov edi, 0x208
lea eax, [ebp - 0x420]
push edi
push 0
push eax
call fcn.005b24a0
and dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
add esp, 0xc
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x43c62b
and dword [ebp - 0x428], 0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0x206
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.Path
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x420]
push eax
call ebx
lea ecx, [ebp - 0x420]
push ecx
push eax
mov ecx, 0x6f2084
call fcn.0040a358
mov eax, dword [0x6f2084]
cmp dword [eax - 8], 0
jne 0x43c714
push edi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
test edi, edi
je 0x43c714
push str.SoftMgr
push edi
call fcn.005c4d0e
pop ecx
pop ecx
test eax, eax
jne 0x43c6a4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x43c6f9
push str.360Safe
push edi
call fcn.005c4d0e
pop ecx
pop ecx
test eax, eax
je 0x43c6f9
push 0x63b010
push edi
call fcn.005c4d0e
pop ecx
test eax, eax
lea eax, [ebp - 0x218]
pop ecx
push eax
jne 0x43c6d5
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x43c695
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.360Safe
push eax
call fcn.005c4d0e
pop ecx
pop ecx
test eax, eax
jne 0x43c714
lea eax, [ebp - 0x218]
push eax
call ebx
lea ecx, [ebp - 0x218]
push ecx
push eax
mov ecx, 0x6f2084
call fcn.0040a358
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x43c74f
push eax
lea ecx, [ebp - 0x424]
call fcn.00423634
and dword [ebp - 4], 0
lea eax, [ebp - 0x424]
push eax
mov edx, 0x6f2084
mov ecx, esi
call fcn.0043b1ab
pop ecx
lea ecx, [ebp - 0x424]
call fcn.0040a4ed
jmp 0x43c75b
push 0x6f2084
mov ecx, esi
call fcn.0040a2a8
mov eax, esi
call fcn.0059bb81
ret
mov edi, 0x6f2080
push edi
call fcn.0059ae4e
cmp dword [0x6f2080], 0xffffffff
pop ecx
jne 0x43c576
mov eax, dword [0x6d3fd4]
push 0x5fd164
mov dword [0x6f2084], eax
call fcn.0059ac99
push edi
call fcn.0059ae04
pop ecx
pop ecx
jmp 0x43c576
Function at 0x43d28c
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x10
mov eax, 0x5e4b10
call fcn.0059bba3
mov dword [ebp - 0x18], edx
xor edx, edx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edx
call sym.360huabao.exe_public:_class_DuiLib::CMarkup____thiscall_DuiLib::CDialogBuilder::GetMarkup_void_
push eax
push 0x636c04
xor ebx, ebx
inc ebx
push ebx
push edx
push 0x61b230
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x43d2cc
xor bl, bl
jmp 0x43d36c
and dword [ebp - 0x10], 0
mov byte [ebp - 4], bl
mov edi, dword [ebp - 0x14]
push str.ROOTCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x43d385
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
mov eax, dword [edi]
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push esi
push edi
call dword [eax + 0xc]
push esi
mov edi, eax
mov byte [ebp - 4], bl
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x43d359
xor eax, eax
push eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x43d359
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi]
cmp ecx, eax
je 0x43d35e
mov esi, eax
test esi, esi
je 0x43d34b
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [edi]
mov eax, dword [ebp - 0x10]
mov dword [edi], esi
test ecx, ecx
je 0x43d35e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x43d35b
xor bl, bl
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x43d36c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x43d37d
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
call fcn.0059bb6c
ret
push 0x8007000e
call fcn.00422ce3
int3