joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c239
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, eax
lea ebp, [edi + 4]
lea esi, [ebp + 0x10]
call fcn.004394c2
lea esi, [ebp + 0x28]
call fcn.004394c2
or dword [ebp + 0x40], 0xffffffff
xor ebx, ebx
mov dword [ebp], 1
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 4], ebx
mov byte [ebp + 0x44], bl
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], 0x2710
cmp dword [0x5197a0], ebx
je 0x42c28f
push 0x519610
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x5197a0], eax
fld dword [0x501e20]
lea esi, [edi + 0x54]
mov dword [edi], vtable.ATL::CAtlHttpClientT_class_ATL::ZEvtSyncSocket_.0
fstp dword [esi + 0xc]
fld dword [0x501e24]
or dword [esi + 0x18], 0xffffffff
fstp dword [esi + 0x10]
mov dword [esi], ebx
fld dword [0x501e28]
mov dword [esi + 4], ebx
fstp dword [esi + 0x14]
mov dword [esi + 8], 0x11
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004082d6
fld dword [0x501e20]
lea esi, [edi + 0x84]
or dword [esi + 0x18], 0xffffffff
fstp dword [esi + 0xc]
fld dword [0x501e24]
mov dword [esi], ebx
fstp dword [esi + 0x10]
mov dword [esi + 4], ebx
fld dword [0x501e28]
mov dword [esi + 8], 0x11
fstp dword [esi + 0x14]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004082d6
lea eax, [edi + 0xb4]
lea esi, [edi + 0xc8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
call fcn.00431b34
lea esi, [edi + 0x10d8]
call fcn.004226cb
lea esi, [edi + 0x3544]
mov ecx, 0x519a54
call fcn.004016bf
lea esi, [edi + 0x3548]
mov ecx, 0x519a54
call fcn.004016bf
mov esi, ebp
call fcn.00423203
call fcn.00433614
mov dword [edi + 0xc4], ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4393f8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.00411832
mov edi, eax
cmp edi, esi
je 0x439435
cmp dword [ebp - 8], esi
je 0x439431
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4394a2
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x439453
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.004393f8
cmp eax, esi
mov dword [ebp - 0x10], eax
jne 0x4394a9
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x100
call edi
test eax, eax
je 0x43943d
cmp dword [ebp - 8], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x439489
push dword [ebp - 8]
call edi
mov dword [ebp - 8], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 8], esi
mov ebx, eax
je 0x4394a0
push dword [ebp - 8]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x4394b7
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
jmp 0x4394a2
Function at 0x439891
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
push esi
jbe 0x4398a9
call fcn.00493406
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x4398b6
call fcn.00493406
cmp esi, ebx
je 0x4398d4
push esi
push dword [edi + 8]
mov eax, ebx
call fcn.0043a6a7
pop ecx
pop ecx
push dword [edi + 8]
mov esi, eax
call fcn.0043a429
mov dword [edi + 8], esi
xor esi, esi
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x4399e1
push 0x228
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.004923b0
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x250], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x4399d8
mov ecx, 0x519a54
lea esi, [ebp - 8]
call fcn.004016bf
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x22c]
push eax
mov eax, esi
push eax
call fcn.00401b70
mov ebx, dword [edi + 4]
test ebx, ebx
jne 0x43996b
xor esi, esi
jmp 0x439978
mov eax, dword [edi + 0xc]
sub eax, ebx
push 0x14
cdq
pop ecx
idiv ecx
mov esi, eax
mov eax, edi
call fcn.0043a360
cmp eax, esi
jae 0x439996
lea eax, [ebp - 0x18]
push eax
push 1
push dword [edi + 8]
call fcn.0043a3f9
mov dword [edi + 8], eax
jmp 0x4399b3
mov esi, dword [edi + 8]
cmp ebx, esi
jbe 0x4399a2
call fcn.00493406
push esi
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.0043a376
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x439920
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x439b17
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [ebp + 8], 0
jne 0x439b2b
or eax, 0xffffffff
leave
ret
and word [ebp - 0x208], 0
push 0x206
lea eax, [ebp - 0x206]
push 0
push eax
call fcn.004923b0
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push str.SYSTEMCurrentControlSet_services_s
push 0x104
push eax
call fcn.00494b31
add esp, 0x1c
lea eax, [ebp - 0x208]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x439b7d
cmp eax, 2
jne 0x439b26
xor eax, eax
leave
ret
Function at 0x439b81
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
xor esi, esi
xor eax, eax
cmp dword [ebp + 8], esi
je 0x439bef
push ebx
push edi
push 6
pop ecx
push 1
push esi
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
push esi
mov dword [ebp - 4], esi
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, esi
je 0x439bea
push 0x14
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x439be7
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x439be4
xor eax, eax
cmp dword [ebp - 0x1c], 4
sete al
mov dword [ebp - 4], eax
push edi
call esi
push ebx
call esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x43a0d3
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004a68e0
or dword [ebp - 8], 0xffffffff
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CreateFileW]
push edi
xor ebx, ebx
push ebx
mov edi, 0x80
push edi
push 3
push ebx
push 3
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x43a1bf
push ebx
push edi
push 2
push ebx
push 3
push 0x40000000
push dword [ebp + 0xc]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x43a1bf
push 0xfff
lea eax, [ebp - 0x100f]
push ebx
push eax
mov byte [ebp - 0x1010], bl
call fcn.004923b0
mov esi, dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, 0x1000
jmp 0x43a19a
cmp dword [ebp + 0xc], ebx
je 0x43a1b8
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x43a1bf
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x10]
jne 0x43a1bf
push 0xfff
lea eax, [ebp - 0x100f]
push ebx
push eax
mov byte [ebp - 0x1010], bl
call fcn.004923b0
add esp, 0xc
push ebx
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 4]
mov dword [ebp + 0xc], ebx
call esi
test eax, eax
jne 0x43a156
jmp 0x43a1bf
mov dword [ebp - 0xc], 1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, eax
je 0x43a1d8
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], 0xffffffff
je 0x43a1e3
push dword [ebp - 8]
call esi
cmp dword [ebp - 0xc], ebx
je 0x43a1f3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x43a1fa
push edi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x43a8a1
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x43a939
push edi
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp dword [ebp - 4], ebx
mov edi, eax
jne 0x43a92f
cmp edi, 0x200000
ja 0x43a92f
lea eax, [edi + 2]
push esi
push eax
call fcn.0049130d
pop ecx
push ebx
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push esi
push dword [ebp - 8]
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x43a92e
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x43a92e
mov byte [eax + esi], bl
mov eax, dword [ebp + 8]
mov byte [eax + esi + 1], bl
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ebp - 0xc], 1
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret 0xc
Function at 0x43b22f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x519a54]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x519a54
mov ecx, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [0x519a54]
add esi, 0x10
mov ecx, edi
mov dword [ebp - 0xc], esi
call dword [eax + 0xc]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push dword [ebp + 0xc]
mov edi, eax
add edi, 0x10
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x43b2ec
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.0043b309
push ebx
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 8]
mov byte [ebp + 0xc], 0xff
mov byte [ebp + 0xd], 0xfe
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
mov esi, dword [ebp - 0xc]
je 0x43b2e3
cmp dword [ebp - 4], 2
jne 0x43b2e3
mov eax, dword [esi - 0xc]
push ebx
lea ecx, [ebp - 4]
push ecx
add eax, eax
push eax
push esi
push dword [ebp - 8]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x43b2e3
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x43b2e3
mov dword [ebp - 0x10], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [edi - 0x10]
call fcn.0040153b
lea eax, [esi - 0x10]
call fcn.0040153b
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x43bf99
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push esi
push edi
mov esi, 0x208
xor edi, edi
push esi
lea eax, [ebp - 0x422]
push edi
push eax
mov word [ebp - 0x424], di
call fcn.004923b0
push esi
lea eax, [ebp - 0x216]
push edi
push eax
mov word [ebp - 0x218], di
call fcn.004923b0
add esp, 0x18
mov eax, 0x104
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
jne 0x43c012
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4

Function at 0x43c067
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x519a54]
push esi
push edi
mov ecx, 0x519a54
call dword [eax + 0xc]
xor edi, edi
push edi
mov esi, eax
push 0x17
lea eax, [ebp - 0x20c]
push eax
add esi, 0x10
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43c0df
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401b70
lea esi, [ebp - 4]
call fcn.00423728
push 0x4f909c
mov eax, esi
push eax
call fcn.0040554e
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c0df
lea eax, [esi - 0x10]
call fcn.0040153b
mov eax, edi
pop edi
pop esi
leave
ret
xor edi, edi
inc edi
jmp 0x43c0d1
Function at 0x43c0e4
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x519a54]
push esi
push edi
mov ecx, 0x519a54
call dword [eax + 0xc]
xor edi, edi
push edi
mov esi, eax
push 0x19
lea eax, [ebp - 0x20c]
push eax
add esi, 0x10
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43c163
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401b70
lea esi, [ebp - 4]
call fcn.00423728
push str.qQ
mov eax, esi
push eax
call fcn.0040554e
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c163
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea eax, [esi - 0x10]
call fcn.0040153b
mov eax, edi
pop edi
pop esi
leave
ret
xor edi, edi
inc edi
jmp 0x43c155

Function at 0x43c1c3
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x519a54]
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, 0x519a54
push edi
mov ecx, esi
call dword [eax + 0xc]
mov ebx, eax
mov eax, dword [0x519a54]
add ebx, 0x10
mov ecx, esi
mov dword [ebp - 4], ebx
call dword [eax + 0xc]
and dword [ebp - 8], 0
push 1
mov edi, eax
push str.SYSTEMCurrentControlSet_servicesKingsoft_Antivirus_WebShield_Service
add edi, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 8]
mov dword [ebp - 0xc], edi
call fcn.004022c9
test eax, eax
je 0x43c23c
lea eax, [ebp - 4]
push eax
push str.ImagePath
mov ebx, esi
call fcn.00402317
test eax, eax
je 0x43c239
lea eax, [ebp - 4]
call fcn.0042376c
lea esi, [ebp - 4]
call fcn.00423728
mov ebx, dword [ebp - 4]
xor esi, esi
cmp dword [ebp - 8], esi
je 0x43c24c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebx - 0xc], esi
je 0x43c2bc
push dword [esi + 0x515e68]
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10]
call fcn.0041e7cc
pop ecx
lea edi, [ebp - 0xc]
call fcn.0040208c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040153b
mov edi, dword [ebp - 0xc]
push 0
push edi
call fcn.0049472d
test eax, eax
pop ecx
pop ecx
jne 0x43c29c
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x43c29c
push 4
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
add esi, 4
cmp esi, 0x1c
jb 0x43c251
push str.SYSTEMCurrentControlSet_servicesKingsoft_Antivirus_WebShield_Service
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425211
pop ecx
pop ecx
mov dword [ebp - 0x10], 1
lea eax, [edi - 0x10]
call fcn.0040153b
lea eax, [ebx - 0x10]
call fcn.0040153b
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43c33e
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
push ebx
push esi
push edi
mov edi, 0x519a54
mov esi, eax
mov ecx, edi
call fcn.004016bf
mov eax, dword [0x519a54]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [0x519a54]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
xor ebx, ebx
push 0x18e
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1a2]
push ebx
push eax
mov word [ebp - 0x1a4], bx
call fcn.004923b0
add esp, 0xc
lea edi, [ebp - 0x10]
call fcn.0043c454
mov edi, esi
call fcn.0040208c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x43c435
lea eax, [ebp - 0x1a4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x43c435
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.0043c5e5
lea edi, [ebp - 8]
call fcn.0040208c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, dword [ebp - 8]
cmp dword [eax - 0xc], ebx
je 0x43c435
mov edi, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0043c8d8
cmp eax, ebx
jne 0x43c435
push dword [ebp - 0xc]
lea ebx, [ebp + 8]
call fcn.0043c4ff
mov edi, esi
call fcn.0040208c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x43c435
push eax
call fcn.0043c4bd
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x43c7d4
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
push esi
push 0x9a
lea eax, [ebp - 0x23]
push 0
push eax
mov byte [ebp - 0x24], 0
call fcn.004923b0
add esp, 0xc
push 0x9b
lea eax, [ebp - 0x24]
push eax
xor esi, esi
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x43c821
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x43c821
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov esi, dword [eax]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret
Function at 0x43c829
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
xor esi, esi
mov dword [ebp - 4], 0x288
push dword [ebp - 4]
call fcn.0049130d
mov edi, eax
test edi, edi
pop ecx
je 0x43c876
push dword [ebp - 4]
push 0
push edi
call fcn.004923b0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
mov esi, eax
cmp esi, 0x6f
jne 0x43c87c
push edi
call fcn.0049242a
pop ecx
xor edi, edi
inc ebx
cmp ebx, 2
jl 0x43c83f
test esi, esi
jne 0x43c8c3
test edi, edi
mov esi, edi
je 0x43c8ce
push 6
lea eax, [esi + 0x10c]
push str.vmware
push eax
call fcn.0049814c
add esp, 0xc
test eax, eax
jne 0x43c8a8
mov esi, dword [esi]
test esi, esi
jne 0x43c886
jmp 0x43c8c3
push 8
add esi, 0x194
push esi
push dword [ebp + 8]
call fcn.00492ac0
add esp, 0xc
mov dword [ebp - 8], 1
test edi, edi
je 0x43c8ce
push edi
call fcn.0049242a
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43c9c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x19c
push esi
push edi
push 0x7f
lea eax, [ebp - 0x23]
push 0
push eax
mov dword [ebp + 0x5c], 1
mov dword [ebp + 0x60], 2
mov dword [ebp + 0x64], 3
mov dword [ebp + 0x68], 4
mov dword [ebp + 0x6c], 5
mov byte [ebp - 0x24], 0
call fcn.004923b0
add esp, 0xc
push str.mo:_72Bilrqgb8ls5kn8z
lea esi, [ebp - 0xa8]
call fcn.00427f5c
mov edi, dword [eax]
test edi, edi
je 0x43ca4e
push edi
call fcn.00494970
xor esi, esi
test eax, eax
pop ecx
mov dword [ebp + 0x70], eax
jle 0x43ca4e
lea eax, [ebp - 0x24]
sub edi, eax
push ebx
mov eax, esi
cdq
push 5
pop ebx
idiv ebx
lea ecx, [ebp + esi - 0x24]
mov al, byte [ebp + edx*4 + 0x5c]
xor al, byte [edi + ecx]
inc esi
cmp esi, dword [ebp + 0x70]
mov byte [ecx], al
jl 0x43ca32
pop ebx
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0xa8], eax
je 0x43ca68
push dword [ebp - 0xa8]
call fcn.00492a2f
pop ecx
lea eax, [ebp - 0x24]
push eax
lea esi, [ebp - 0x128]
call fcn.004020e1
push dword [eax]
mov eax, dword [ebp + 0x7c]
call fcn.004019de
lea eax, [ebp - 0x124]
cmp dword [ebp - 0x128], eax
pop edi
pop esi
je 0x43ca9d
push dword [ebp - 0x128]
call fcn.00492a2f
pop ecx
mov eax, dword [ebp + 0x7c]
add ebp, 0x74
leave
ret
Function at 0x43cb56
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x258
push ebx
push edi
xor ebx, ebx
push esi
inc ebx
call fcn.0043cc55
test eax, eax
pop ecx
je 0x43cbec
push ebx
push esi
call fcn.00489ea5
push esi
call fcn.0043cc55
add esp, 0xc
test eax, eax
je 0x43cc4d
mov eax, dword [0x519a54]
mov ecx, 0x519a54
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push esi
lea eax, [esp + 0x14]
push str._s__d
push eax
call fcn.0041e7b9
mov edi, dword [esp + 0x1c]
add esp, 0x10
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov ebx, eax
lea eax, [edi - 0x10]
call fcn.0040153b
test ebx, ebx
jne 0x43cc4d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp + 8]
push eax
push esi
push str.KFixManifest::Delete_Folder__s_Error__d__
call fcn.00401e1d
add esp, 0xc
jmp 0x43cc4d
lea eax, [esp + 0x10]
push eax
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x43cc4d
test byte [esp + 0x10], 0x10
jne 0x43cc07
inc edi
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
test edi, edi
je 0x43cc4d
push 0x80
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ebx, eax
test ebx, ebx
jne 0x43cc4d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp + 8]
push eax
push esi
push str.KFixManifest::Delete_File__s_Error__d__
call fcn.00401e1d
add esp, 0xc
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43d850
Capabilities:
Create thread

Disassembly:
mov edx, dword [0x51b6f4]
push esi
xor esi, esi
mov dword [0x51b6e4], ecx
mov dword [0x51b6dc], eax
cmp dword [edx - 0xc], esi
jne 0x43d870
mov eax, 0xe000001f
jmp 0x43d8d2
cmp eax, esi
push edi
mov dword [0x51b6e8], esi
mov edi, 0x51b6d8
jne 0x43d8b3
cmp ecx, esi
jne 0x43d8b3
mov eax, edi
call fcn.0043f6ce
test eax, eax
jne 0x43d8b3
cmp dword [0x51b7f0], esi
je 0x43d8b3
cmp dword [0x51b7f4], esi
je 0x43d8b3
push str.34115DF9_B9DE_49d2_A0B0_AF60FE6EF9D2
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [0x51b758], eax
push esi
push esi
push edi
push 0x43e287
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, esi
mov dword [0x51b6f0], eax
pop edi
jne 0x43d8d9
mov eax, 0xe0000020
call fcn.004256a0
jmp 0x43d8dc
xor esi, esi
inc esi
mov eax, esi
pop esi
ret