joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408ae0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push edi
mov edi, dword [esp + 0x110]
push edi
push str._s.tmp
push 0x104
push eax
call fcn.00401200
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0x10
lea ecx, [esp + 8]
push 0
push ecx
push edi
call esi
test eax, eax
push 4
push 0
je 0x408b3e
lea edx, [esp + 0x10]
push edx
call esi
push 0
push edi
mov eax, dword [esp + 0x11c]
push eax
call esi
pop edi
pop esi
add esp, 0x104
ret 8
push edi
call esi
push 4
push edi
mov ecx, dword [esp + 0x11c]
push ecx
call esi
pop edi
pop esi
add esp, 0x104
ret 8

Function at 0x408b60
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x408b74
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0xc]
push eax
push 1
push esi
call fcn.004080f0
add esp, 0xc
pop esi
ret

Function at 0x408bd0
Capabilities:
Check if file exists
Check mutex on windows
Create process on windows
Get file attributes

Disassembly:
sub esp, 0x25c
push str.Q360SafeMutex
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x408bff
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add esp, 0x25c
ret
lea eax, [esp + 0x54]
push 0x104
push eax
call fcn.00408b90
add esp, 8
test eax, eax
je 0x408ce6
lea ecx, [esp + 0x54]
lea edx, [esp + 0x158]
push ecx
push str._s360safe.exe
push 0x104
push edx
call fcn.00401200
add esp, 0x10
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x408cda
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x264]
mov dword [esp + 0x14], 0x44
test eax, eax
pop edi
je 0x408c80
mov word [esp + 0x40], 0
mov dword [esp + 0x3c], 1
lea ecx, [esp]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x178]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x408cd0
mov edx, dword [esp]
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp eax, 0x102
sete cl
mov eax, ecx
add esp, 0x25c
ret
or eax, 0xffffffff
add esp, 0x25c
ret
mov eax, 0xfffffffe
add esp, 0x25c
ret
mov eax, 0xfffffffd
add esp, 0x25c
ret
Function at 0x409300
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x5c
push esi
push edi
push 0x1000
call fcn.0040d74e
mov esi, eax
add esp, 4
test esi, esi
je 0x409345
mov eax, dword [esp + 0x68]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40934d
push esi
call fcn.0040a5aa
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x5c
ret
push ebx
lea ecx, [esp + 0x10]
push ebp
push ecx
call fcn.0040a570
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 4
xor ebp, ebp
lea edx, [esp + 0x10]
push ebp
push edx
push 0x1000
push esi
push edi
mov dword [esp + 0x24], 0x1000
call ebx
test eax, eax
je 0x4093d4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4093d4
test ebp, ebp
jne 0x4093a5
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4093a0
push esi
call fcn.00409410
add esp, 4
test eax, eax
je 0x4093d4
mov ebp, 1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push esi
push ecx
call fcn.00409c60
add esp, 0xc
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0x1000
push 0
push edx
push 0x1000
push esi
push edi
call ebx
test eax, eax
jne 0x40937f
push esi
call fcn.0040a5aa
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
pop ebp
pop ebx
je 0x409345
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.00409d5f
add esp, 8
mov eax, 1
pop edi
pop esi
add esp, 0x5c
ret

Function at 0x409410
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4193a0
push 0x40ee54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
cmp word [ecx], 0x5a4d
jne 0x409487
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x409487
cmp word [eax + 6], 0
je 0x409487
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4094b0
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [esp + 0x11c]
test edi, edi
jne 0x4094c8
lea edi, [esp + 0xc]
mov ebx, dword [esp + 0x114]
push ebx
push str._s_rptup.dll
push 0x104
push edi
call fcn.0040d57a
mov eax, dword [0x423294]
push eax
push 0xcb
push edi
call fcn.00409570
add esp, 0x1c
test eax, eax
jne 0x40950b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x104
ret
mov esi, dword [esp + 0x118]
test esi, esi
je 0x409558
push ebx
push str._s360rpt.exe
push 0x104
push esi
call fcn.0040d57a
mov ecx, dword [0x423290]
push ecx
push 0xca
push esi
call fcn.00409570
add esp, 0x1c
test eax, eax
jne 0x409558
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call edi
push esi
call edi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x104
ret
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x104
ret
Function at 0x409570
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x418188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov dword [esp + 0x2c], esi
mov dword [eax], ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x41e8a4
call fcn.00409a90
lea ecx, [esp + 0x1c]
call fcn.00409ac0
test al, al
je 0x409663
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [0x421ce0]
push ecx
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x40960b
xor eax, eax
test edi, edi
jbe 0x40960b
mov cl, byte [eax + esi]
xor cl, 0x25
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x4095fd
mov edx, dword [esp + 0x2c]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x409655
lea eax, [esp + 0x30]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov esi, 1
jne 0x40964c
mov esi, dword [esp + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x409659
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x409672
jmp 0x40966b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x409672
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x1c
ret
Function at 0x409690
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x19c
mov eax, dword [esp + 0x1a0]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1b4]
push edi
push 0x76697275
push str.killer
push eax
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x1b8]
mov eax, dword [ecx + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x4097ae
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push 0
push edx
push eax
call fcn.00409300
add esp, 0xc
test eax, eax
je 0x40979b
mov eax, dword [esi + 8]
push 0x5c
push eax
call fcn.0040d8e8
add esp, 8
test eax, eax
jne 0x40971f
mov eax, dword [esi + 8]
push 0x2f2f
push eax
call fcn.0040d8e8
add esp, 8
test eax, eax
je 0x40979b
inc eax
lea ecx, [esp + 0xa8]
push eax
mov eax, dword [esp + 0x1b8]
push eax
push str.typeth_sname_s
push ecx
call fcn.0040d5cb
add esp, 0x10
lea edx, [esp + 0x20]
push ebp
push str.ITEM_d
push edx
call fcn.0040d5cb
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x20]
push edi
push eax
push str.file
push ecx
call ebx
lea edx, [esp + 0x84]
push edi
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00407990
add esp, 8
lea ecx, [esp + 0x24]
push eax
push 0x41ea78
push ecx
call ebx
lea edx, [esp + 0xa8]
push edi
push edx
lea eax, [esp + 0x28]
push 0x41ea74
push eax
call ebx
inc ebp
mov ecx, dword [esp + 0x1bc]
mov esi, dword [esi]
cmp esi, dword [ecx + 4]
jne 0x4096dd
pop ebx
xor eax, eax
pop edi
test ebp, ebp
pop esi
pop ebp
setne al
add esp, 0x19c
ret

Function at 0x4097c0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x30c
lea eax, [esp + 0x104]
push ebx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebx, dword [esp + 0x318]
mov eax, dword [ebx + 8]
test eax, eax
je 0x409875
lea ecx, [esp + 4]
lea edx, [esp + 0x108]
push ecx
push 0
push edx
call fcn.004094b0
add esp, 0xc
test eax, eax
je 0x409875
lea eax, [esp + 4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409869
push esi
push str.UpLoadFileEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x409861
mov edx, dword [esp + 0x31c]
lea ecx, [esp + 0x214]
push ebx
push ecx
lea eax, [esp + 0x118]
push edx
push eax
call fcn.00409690
add esp, 0x10
test eax, eax
je 0x409861
push 0
push 0
lea ecx, [esp + 0x21c]
push 0
push ecx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop ebx
add esp, 0x30c
ret
Function at 0x4098c0
Capabilities:
Connect to http server
Contain obfuscated stackstrings
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x18
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
mov dword [esp + 4], 0
jne 0x4098dd
xor eax, eax
pop ebp
add esp, 0x18
ret 4
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x41eaec]
mov eax, dword [str.d.___________]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov ax, word [0x41eaf4]
xor ecx, ecx
mov dword [esp + 0x22], ecx
mov word [esp + 0x20], ax
mov word [esp + 0x26], cx
mov byte [esp + 0x21], cl
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x41eaf0]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], edx
mov esi, ecx
mov byte [esp + 0x16], 0x33
add esi, 0xa28
mov byte [esp + 0x17], 0x36
push esi
mov byte [esp + 0x1c], 0x30
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x61
mov byte [esp + 0x1f], 0x66
mov byte [esp + 0x20], 0x65
mov byte [esp + 0x21], 0x2e
mov byte [esp + 0x22], 0x63
mov byte [esp + 0x23], 0x6f
mov byte [esp + 0x24], 0x6d
call fcn.0040d74e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x409a32
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x409a29
push 0
push 0
push 3
push 0
push 0
lea edx, [esp + 0x28]
push 0x50
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
je 0x409a1e
push 0x41eae4
call fcn.00407bc0
push eax
push ebp
push str.__fixtool_sm_sver_s
push esi
push ebx
call fcn.0040d57a
add esp, 0x18
push 0
push 0x4000000
push 0
push 0
push str.HTTP_1.0
push ebx
push 0x41eab8
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x409a17
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x409a10
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call fcn.0040a5aa
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 4

Function at 0x409a50
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x409a85
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x409a67
push eax
call fcn.004098c0
ret
lea ecx, [esp + 4]
push ecx
push 0
push eax
push fcn.004098c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x409b70
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x4232b4]
test eax, eax
jne 0x409c2d
push esi
push edi
push 0x41ebac
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x41eb90
push esi
call edi
push 0x41eb74
push esi
mov dword [0x42329c], eax
call edi
push 0x41eb50
push esi
mov dword [0x4232a0], eax
call edi
push 0x41eb2c
push esi
mov dword [0x4232a4], eax
call edi
push 0x41eb08
push esi
mov dword [0x4232a8], eax
call edi
push 0x41eaf8
push esi
mov dword [0x4232ac], eax
call edi
mov ecx, dword [0x42329c]
pop edi
test ecx, ecx
mov dword [0x4232b0], eax
pop esi
je 0x409c23
mov ecx, dword [0x4232a0]
test ecx, ecx
je 0x409c23
mov ecx, dword [0x4232a4]
test ecx, ecx
je 0x409c23
mov ecx, dword [0x4232a8]
test ecx, ecx
je 0x409c23
mov ecx, dword [0x4232ac]
test ecx, ecx
je 0x409c23
test eax, eax
je 0x409c23
mov eax, 1
mov dword [0x4232b4], eax
ret
mov eax, 2
mov dword [0x4232b4], eax
xor ecx, ecx
cmp eax, 1
sete cl
mov eax, ecx
ret

Function at 0x40a570
Capabilities:
Hash data with md5

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

Function at 0x4132fe
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41331e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004103ab
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x413341
test byte [esp + 8], 2
je 0x413341
call fcn.0041041e
mov dword [eax], 0xd
call fcn.00410427
mov dword [eax], 5
jmp 0x41331a
xor eax, eax
ret
Function at 0x4018b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4739e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x401922
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x401922
mov byte [ebp - 0x11], 0
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
mov dword [edx + 4], 0
jmp 0x40193f
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov cl, 0x20
call fcn.004396d0
mov ecx, dword [ebp - 0x18]
xor esi, esi
or eax, ecx
or edx, esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x40194b
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401f60
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473a1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1018
call fcn.00439360
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xffffffff
mov dword [ebp - 4], 0
push 0
push 0x8000027
push 3
push 0
push 1
push closesocket
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x401fda
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x402071
mov dword [ebp - 0x1028], 0x4940d8
push 0
lea edx, [ebp - 0x1024]
push edx
push 0x1000
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x402071
cmp dword [ebp - 0x1024], 0
je 0x402071
push esi
push edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edi, dword [ebp - 0x1028]
lea esi, [ebp - 0x1020]
mov ebx, dword [ebp - 0x1024]
lea edx, [esi + ebx]
xor eax, eax
mov bl, byte [esi]
mov al, cl
inc esi
xor al, bl
shr ecx, 8
mov ebx, dword [edi + eax*4]
xor ecx, ebx
cmp edx, esi
jne 0x402031
pop edi
pop esi
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
push 0
lea edx, [ebp - 0x1024]
push edx
push 0x1000
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x1c], eax
jmp 0x402006
jmp 0x402080
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x402097
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
not ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4085e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4085f8
xor al, al
jmp 0x4086be
mov dword [ebp - 0x44], 0x40
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x40]
push edx
push 0
push 0
push str.InitValue
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x40862c
xor al, al
jmp 0x4086be
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x40]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x38], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x408860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x408875
xor al, al
jmp 0x408972
mov dword [ebp - 4], 0x5c
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push str.RenderOption
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4088a9
xor al, al
jmp 0x408972
mov edx, dword [ebp - 0x68]
mov dword [0x497808], edx
mov eax, dword [ebp - 0x64]
mov dword [0x49c918], eax
mov ecx, dword [ebp - 0x60]
mov dword [0x49780c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [0x49c91c], edx
mov eax, dword [ebp - 0x58]
mov dword [0x49c920], eax
mov ecx, dword [ebp - 0x54]
mov dword [0x49c924], ecx
mov edx, dword [ebp - 0x50]
mov dword [0x49c928], edx
mov eax, dword [ebp - 0x4c]
mov dword [0x49c92c], eax
mov ecx, dword [ebp - 0x48]
mov dword [0x497810], ecx
mov edx, dword [ebp - 0x44]
mov dword [0x497814], edx
mov eax, dword [ebp - 0x40]
mov dword [0x497818], eax
mov ecx, dword [ebp - 0x3c]
mov dword [0x49781c], ecx
mov edx, dword [ebp - 0x38]
mov dword [0x49c930], edx
mov eax, dword [ebp - 0x34]
mov dword [0x49c934], eax
mov ecx, dword [ebp - 0x30]
mov dword [0x49c938], ecx
mov edx, dword [ebp - 0x2c]
mov dword [0x49c93c], edx
mov eax, dword [ebp - 0x28]
mov dword [0x497820], eax
mov ecx, dword [ebp - 0x24]
mov dword [0x497824], ecx
mov edx, dword [ebp - 0x20]
mov dword [0x497828], edx
mov eax, dword [ebp - 0x1c]
mov dword [0x49782c], eax
mov ecx, dword [ebp - 0x18]
mov dword [0x49c948], ecx
mov edx, dword [ebp - 0x14]
mov dword [0x49c958], edx
mov eax, dword [ebp - 0x10]
mov dword [0x49c95c], eax
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x409b80
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x409b9b
xor al, al
jmp 0x409bb4
push 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00439720
add esp, 0xc
mov al, 1
mov esp, ebp
pop ebp
ret