joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4384f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5183e6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x220], esi
mov edi, dword [ebx]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4385dd
cmp dword [ebp + 0x10], 0
je 0x438552
push edi
call fcn.0048b530
add esp, 4
test eax, eax
je 0x4385dd
mov ax, word [0x52bd6c]
push 0x208
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push 0
push eax
call fcn.004b17e0
push 1
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push dword [ebx]
call fcn.00438650
add esp, 0x20
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x438635
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00408690
test al, al
jne 0x438617
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4385c4
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
jmp 0x438610
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x43863f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x52bd6c
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00408690
test al, al
jne 0x438617
push 0
push 0x52bd6c
mov ecx, esi
call fcn.00407f80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
int3
Function at 0x438650
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51841b
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.004ac5b0
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2014], eax
mov eax, dword [ebp + 0x10]
push 0x2000
mov dword [ebp - 0x201c], eax
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x2020]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4387cd
cmp eax, 0x1fff
ja 0x4387cd
lea ecx, [ebp - 0x2010]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4387cd
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0x532d98
lea eax, [ebp - 0x2010]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4387cd
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 0x2018]
je 0x438723
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
jmp 0x438729
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov eax, dword [ebp - 0x2014]
test eax, eax
je 0x438735
mov dword [eax], ebx
mov eax, dword [ebp - 0x201c]
test eax, eax
je 0x438741
mov dword [eax], edi
test esi, esi
je 0x4387c6
lea ecx, [ebp - 0x2014]
call fcn.0040fec0
movzx eax, di
push eax
shr edi, 0x10
push edi
movzx eax, bx
push eax
shr ebx, 0x10
lea eax, [ebp - 0x2014]
push ebx
push str._d._d._d._d
push eax
mov dword [ebp - 4], 0
call fcn.0040ecb0
mov edx, dword [ebp - 0x2014]
add esp, 0x18
mov ecx, 0x104
sub edx, esi
nop dword [eax]
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x4387ae
movzx eax, word [edx + esi]
test ax, ax
je 0x4387ae
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x438790
test ecx, ecx
lea eax, [esi - 2]
cmovne eax, esi
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x2014]
call fcn.00408250
mov eax, 1
jmp 0x4387cf
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 - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x438b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5184e6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x200
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea ecx, [ebp - 0x224]
push 0x20019
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00419020
mov esi, dword [ebp - 0x224]
test eax, eax
jne 0x438cdb
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.svcVersion
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438c55
mov eax, dword [ebp - 0x218]
cmp eax, 1
je 0x438c3a
cmp eax, 2
jne 0x438c55
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x438cb5
test al, 1
jne 0x438c55
shr eax, 1
cmp word [ebp + eax*2 - 0x212], 0
je 0x438cbe
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x214], 0x200
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.Version
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438cbe
mov eax, dword [ebp - 0x218]
cmp eax, 1
je 0x438cac
cmp eax, 2
jne 0x438cbe
cmp dword [ebp - 0x214], 0
jne 0x438cbe
xor eax, eax
mov word [ebp - 0x210], ax
test esi, esi
je 0x438cd1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x438d56
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00408690
test al, al
jne 0x438d2e
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438d10
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00407f80
test esi, esi
je 0x438d39
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404400
int3
Function at 0x439710
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5186f1
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x244], edi
cmp dword [0x573920], 0
je 0x4398ef
test eax, eax
jne 0x439760
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x23c], eax
test eax, eax
je 0x4398ef
push 0
push 0x18
lea ecx, [ebp - 0x234]
xorps xmm0, xmm0
push ecx
push 0
push eax
movups xmmword [ebp - 0x234], xmm0
movq qword [ebp - 0x224], xmm0
call dword [0x573920]
push dword [ebp - 0x23c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x4398ef
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4398ef
push eax
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
lea ecx, [ebp - 0x238]
call fcn.00455550
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 1
call fcn.004557c0
test eax, eax
jne 0x439845
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x439948
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x52bd6c
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00408690
test al, al
jne 0x4398e2
push esi
push 0x52bd6c
mov ecx, edi
call fcn.00407f80
lea ecx, [ebp - 0x238]
call fcn.00455600
jmp 0x43992b
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x23c], 0
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x238]
push eax
push 4
lea eax, [ebp - 0x23c]
push eax
call fcn.004557c0
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x4398ad
push 0x52bd6c
mov ecx, edi
call fcn.004093d0
lea ecx, [ebp - 0x238]
call fcn.00455600
jmp 0x43992b
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x238]
call fcn.004557c0
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x439894
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.004093d0
lea ecx, [ebp - 0x238]
call fcn.00455600
jmp 0x43992b
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x439952
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x52bd6c
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00408690
test al, al
jne 0x43992b
push 0
push 0x52bd6c
mov ecx, edi
call fcn.00407f80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
int3
Function at 0x43ad90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5008
call fcn.004ac5b0
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.004305b0
push 0x5002
lea eax, [ebp - 0x5008]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x5008]
push esi
push 0x5001
push eax
push 0x52bd6c
push 0x533678
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x5008]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43adf7
sub eax, edx
mov ecx, edi
sar eax, 1
push eax
lea eax, [ebp - 0x5008]
push eax
call fcn.00407f80
mov ecx, dword [edi]
xor eax, eax
pop edi
pop esi
cmp dword [ecx - 0xc], eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x43af30
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518961
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], edi
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x43afdc
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x43b0d3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x52bd6c
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00408690
test al, al
jne 0x43b0b6
push 0
push 0x52bd6c
mov ecx, edi
call fcn.00407f80
jmp 0x43b0b6
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x43b0dd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x21c]
call fcn.00408690
test al, al
jne 0x43b042
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b020
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00407f80
mov eax, dword [esi]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 2
push dword [eax - 0xc]
push eax
call fcn.0040ad10
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp - 0x21c]
je 0x43b08d
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b08d
push 0x52bd6c
mov ecx, edi
call fcn.004093d0
add esi, 0xfffffff0
jmp 0x43b09e
add esi, 0xfffffff0
push esi
call fcn.004088a0
add esp, 4
add eax, 0x10
mov dword [edi], eax
or eax, 0xffffffff
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43b0b6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
int3
Function at 0x43b320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0xc]
push 0x20a
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0x104
sub ecx, eax
cmp dword [esi + 0x14], 8
jb 0x43b372
mov esi, dword [esi]
push esi
push ecx
lea eax, [ebp - 0x210]
push eax
call fcn.004d096d
lea edx, [ebp - 0x210]
add esp, 0xc
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43b390
sub edx, esi
lea eax, [ebp - 0x210]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00413ec0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x43bb60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bb91
cmp dword [ebp + 0xc], 0
je 0x43bb8a
push str.Qihoo_360_Software__Beijing__Company_Limited
push dword [ebp + 8]
call fcn.0048b250
add esp, 8
test eax, eax
je 0x43bb91
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43bba0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bbcc
cmp dword [ebp + 0xc], 0
je 0x43bbc5
push dword [ebp + 8]
call fcn.0048b530
add esp, 4
test eax, eax
je 0x43bbcc
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43c4b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43c521
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x43c4ef
cmp eax, 2
jne 0x43c50b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x43c51b
test ecx, ecx
je 0x43c516
test cl, 1
jne 0x43c50b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x43c51b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x43c7b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x43c7be
mov eax, dword [eax]
push edi
push 0x5333e8
push eax
call fcn.004cd845
mov edi, eax
add esp, 8
test edi, edi
jne 0x43c7df
call fcn.004cdaed
pop edi
mov eax, dword [eax]
neg eax
pop ebp
ret
push ebx
push 2
push 0
push edi
call fcn.004d45a2
push edi
call fcn.004d4bca
push 0
push 0
push edi
mov ebx, eax
call fcn.004d45a2
add esp, 0x1c
test ebx, ebx
jne 0x43c812
push edi
call fcn.004cd36d
add esp, 4
xor eax, eax
pop ebx
pop edi
pop ebp
ret
push esi
xor esi, esi
cmp ebx, 3
jl 0x43c869
xor eax, eax
push edi
push 1
mov word [ebp + 8], ax
mov byte [ebp + 0xa], al
lea eax, [ebp + 8]
push 3
push eax
call fcn.004d4125
add esp, 0x10
cmp eax, 1
je 0x43c850
push edi
call fcn.004cd36d
add esp, 4
call fcn.004cdaed
pop esi
pop ebx
pop edi
mov eax, dword [eax]
neg eax
pop ebp
ret
cmp byte [ebp + 8], 0xef
jne 0x43c869
cmp byte [ebp + 9], 0xbb
jne 0x43c869
cmp byte [ebp + 0xa], 0xbf
jne 0x43c869
mov esi, 3
sub ebx, esi
push 0
push esi
push edi
call fcn.004d45a2
mov esi, dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [esi + 0x10]
lea eax, [ecx + 1]
add eax, ebx
cmp eax, ecx
ja 0x43c897
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x43c891
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x43c8a3
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0043e7b0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x43c8ad
mov eax, dword [esi]
push edi
push 1
push ebx
push eax
call fcn.004d4125
push edi
mov dword [ebp + 8], eax
call fcn.004cd36d
mov edx, dword [esi + 0x10]
add esp, 0x14
lea ecx, [edx - 1]
cmp ecx, edx
ja 0x43c8de
mov dword [esi + 0x10], ecx
cmp dword [esi + 0x14], 0x10
jb 0x43c8d8
mov esi, dword [esi]
mov byte [esi + ecx], 0
jmp 0x43c8ea
sub ecx, edx
push 0
push ecx
mov ecx, esi
call fcn.0043e7b0
cmp dword [ebp + 8], 1
jne 0x43c842
pop esi
mov eax, ebx
pop ebx
pop edi
pop ebp
ret

Function at 0x43c960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x414], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x408], esi
mov dword [ebp - 0x408], ecx
push edi
mov edi, dword [ebp + 0x18]
test ecx, ecx
je 0x43ca01
test ebx, ebx
je 0x43ca01
test eax, eax
je 0x43ca01
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x410], 1
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x414]
push ebx
push dword [ebp - 0x408]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43ca01
lea eax, [ebp - 0x404]
jmp 0x43ca0b
test edi, edi
mov eax, 0x52bd6c
cmovne eax, edi
push eax
mov ecx, esi
call fcn.004093d0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x43cb20
Capabilities:
Check if file exists
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x55aea0
push 0x4b1ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x56f790]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x43cca1
cmp word [esi], 0
je 0x43cca1
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cb80
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x43cca1
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43cca1
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004b17e0
push esi
push 0x5334b4
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.0043d470
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.004b17e0
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], str.open
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
cmp dword [ebp + 0x14], 0
je 0x43cc40
push esi
call fcn.0048b530
add esp, 4
test eax, eax
jne 0x43cc40
push str.RunApp_check_360_sign_fail.__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x43cca1
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x43cc68
cmp dword [ebp + 0x18], 0
je 0x43cc68
push dword [ebp + 0x20]
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x43cc7d
test esi, esi
je 0x43cc8d
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x43cc8d
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x43ccaa
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x43d090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518bf6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x220], edi
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x43d1eb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], edi
call fcn.00408690
test al, al
jne 0x43d10e
push 0x39
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x21c]
call fcn.00407f80
mov eax, dword [esi]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 1
push dword [eax - 0xc]
push eax
call fcn.0040ad10
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x43d19e
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004b17e0
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_PathFindFileNameW]
test eax, eax
je 0x43d19e
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove edi, ecx
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x43d1af
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43d1ce
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404400
int3

Function at 0x43e010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x43e01e
mov eax, dword [eax]
push edi
push 0x53341c
push eax
call fcn.004cd845
mov edi, eax
add esp, 8
test edi, edi
jne 0x43e03f
call fcn.004cdaed
pop edi
mov eax, dword [eax]
neg eax
pop ebp
ret
mov eax, dword [ebp + 0xc]
push ebx
push esi
cmp dword [eax + 0x14], 0x10
lea ebx, [eax + 0x10]
jb 0x43e04f
mov eax, dword [eax]
push edi
push dword [ebx]
push 1
push eax
call fcn.004d4e65
push edi
mov esi, eax
call fcn.004cd36d
add esp, 0x14
xor eax, eax
cmp esi, dword [ebx]
cmovne esi, eax
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret