joyce8/EMBER2024-capa huggingface dataset:
Function at 0x617488
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x617503
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x3a8]
call fcn.004b2194
mov eax, dword [ebp - 4]
mov edx, 0x61751c
call fcn.004074f8
jne 0x6174e6
cmp dword [ebx + 0x3c0], 0
je 0x6174e6
push 1
push 0
push 0
mov eax, dword [ebx + 0x3c0]
call fcn.00406e9c
push eax
push 0x617524
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteW
push 0
call sub.kernel32.dll_ExitProcess_1

Function at 0x617900
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x617908
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x617a0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov bl, 1
lea edx, [ebp - 0x1c]
mov eax, dword [0x62f410]
mov eax, dword [eax]
call fcn.004e3820
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00414eb4
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x3dc]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x20]
push 0x617a2c
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004073d8
mov eax, dword [ebp - 0x14]
call fcn.00414aa8
test al, al
je 0x6179de
lea edx, [ebp - 0x2c]
mov eax, dword [0x62f410]
mov eax, dword [eax]
call fcn.004e3820
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00414eb4
push dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x3dc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x30]
push 0x617a2c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004073d8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00406e9c
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
movzx ebx, byte [ebp - 0xd]
test bl, bl
jne 0x6179f3
mov eax, dword [0x62f410]
mov eax, dword [eax]
call fcn.004e2cac
jmp 0x617929
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x617a15
lea eax, [ebp - 0x30]
mov edx, 8
call fcn.00406e08
ret
Function at 0x617f9c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406df8
xor eax, eax
push ebp
push 0x6180ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
xor edx, edx
call fcn.00406e10
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00406e9c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x6180a7
mov eax, ebx
call fcn.00404240
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00406e9c
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x6180d8
push esi
call sub.version.dll_VerQueryValueW
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00414518
push dword [ebp - 0x14]
push 0x6180e8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00414518
push dword [ebp - 0x18]
push 0x6180e8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00414518
push dword [ebp - 0x1c]
push 0x6180e8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00414518
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.004073d8
mov eax, esi
call fcn.0040425c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6180d1
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00406e08
lea eax, [ebp - 4]
call fcn.00406e00
ret
Function at 0x40eb99
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42a5c0
cmp edx, dword [eax]
je 0x40ebbb
add eax, 8
inc ecx
cmp eax, 0x42a650
jl 0x40ebac
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42a5c0]
jne 0x40ece9
mov eax, dword [0x42d24c]
cmp eax, 1
je 0x40ecc3
test eax, eax
jne 0x40ebec
cmp dword [0x429f74], 1
je 0x40ecc3
cmp edx, 0xfc
je 0x40ece9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40ec23
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040f9e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040dcf0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40ec66
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040dcf0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x422c84
push edi
call fcn.004118a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040f9e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040f9f0
lea eax, [ebp - 0xa0]
push 0x422c64
push eax
call fcn.0040f9f0
push dword [esi + 0x42a5c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040f9f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00411816
add esp, 0x2c
pop edi
jmp 0x40ece9
lea eax, [ebp + 8]
lea esi, [esi + 0x42a5c4]
push 0
push eax
push dword [esi]
call fcn.0040dcf0
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 0x416da0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x416de2
call fcn.0041bdca
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x416de2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x416dd9
xor eax, eax
jmp 0x416dea
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00416df0
pop edi
pop esi
pop ebx
ret 4

Function at 0x41c930
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41c95e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41c97c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041c896
jmp 0x41c97c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41c97c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041c896
test edi, edi
mov eax, edi
jne 0x41c966
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x408020
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522988
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x58e5a4]
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 esi, ecx
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov edx, ebx
mov dword [ecx], 0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x408084
sub edx, edi
sar edx, 1
push edx
push ebx
call fcn.00408af0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push eax
mov dword [ebp - 0x18], eax
call fcn.004d2a98
push dword [ebp - 0x18]
mov edi, eax
push 0
push edi
call fcn.004d52d0
lea eax, [ebp - 0x1c]
add esp, 0x10
cmp esi, eax
je 0x4080d4
mov eax, dword [esi]
mov dword [esi], edi
test eax, eax
je 0x4080dd
push eax
jmp 0x4080d5
push edi
call fcn.004d2aa1
add esp, 4
push dword [esi]
push dword [ebp - 0x18]
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x408100
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
je 0x408100
push ecx
call fcn.004d2aa1
add esp, 4
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.004d2a60
mov esp, ebp
pop ebp
ret 4

Function at 0x40fa60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40fab9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40fab9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40faaa
cmp esi, edx
jae 0x40fab9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40fa98
cmp esi, edx
jae 0x40fab9
cmp word [esi], 0
je 0x40fab9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x410490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x58f1a0], 0
jne 0x4104e8
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4104c7
sub eax, edx
mov ecx, 0x58f190
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00408af0
mov ecx, dword [ebp - 4]
mov eax, 0x58f190
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
Function at 0x410500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x598594]
cmp eax, dword [ecx + 8]
jg 0x4105e0
cmp dword [0x58f1e8], 0
jne 0x4105cd
push esi
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x5604e0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x41057c
mov edx, dword [ebp - 8]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410556
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x58f1d8
call fcn.00408af0
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4105bb
call fcn.00410340
cmp dword [eax + 0x14], 8
jb 0x410589
mov eax, dword [eax]
movzx eax, word [eax]
lea edx, [eax*2 + str.:programdata]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4105a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x58f1d8
call fcn.00408af0
push 0x1c
push str.MicrosoftWindows_Defender_
mov ecx, 0x58f1d8
call fcn.0040e5d0
pop esi
mov ecx, dword [ebp - 4]
mov eax, 0x58f1d8
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
push 0x598594
call fcn.004d2972
add esp, 4
cmp dword [0x598594], 0xffffffff
jne 0x410529
push 0x53e4c0
call fcn.004d282a
push 0x598594
call fcn.004d2928
add esp, 8
jmp 0x410529

Function at 0x410620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x58f1b8], 0
jne 0x4106a9
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x560a30
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x410698
mov edx, dword [ebp - 8]
mov ecx, edx
push esi
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410660
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x58f1a8
call fcn.00408af0
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop esi
mov eax, 0x58f1a8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
push 1
push 0x56100c
mov ecx, 0x58f1a8
call fcn.00408af0
mov ecx, dword [ebp - 4]
mov eax, 0x58f1a8
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret

Function at 0x4106c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x58f1d0], 0
jne 0x410749
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x55f850
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x410738
mov edx, dword [ebp - 8]
mov ecx, edx
push esi
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410700
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x58f1c0
call fcn.00408af0
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop esi
mov eax, 0x58f1c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
push 1
push 0x56100c
mov ecx, 0x58f1c0
call fcn.00408af0
mov ecx, dword [ebp - 4]
mov eax, 0x58f1c0
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
Function at 0x4148a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x4148db
cmp dword [edi], 2
jae 0x4148db
pop edi
mov eax, 0x7a
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41494d
cmp dword [ebp - 8], 7
jne 0x414948
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x414930
test cl, 1
jne 0x414948
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x414948
cmp word [esi + eax*2 - 2], 0
jne 0x414948
cmp eax, 1
jbe 0x414930
cmp word [esi + eax*2 - 4], 0
jne 0x414948
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0xd
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41bd80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp edx, eax
je 0x41bef3
cmp dword [edx + 0x1c], 8
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x1c], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x18], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x10]
jb 0x41bdbb
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
add eax, eax
je 0x41bde4
mov ecx, eax
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x41bdd0
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.00417c20
push 0x38
push edi
call fcn.004d24a7
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x41be4d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x41be00
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x41bee8
mov ecx, dword [ebp - 0x10]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
jne 0x41be5f
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x41be62
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x41bee8
nop dword [eax]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jb 0x41be7e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x41bea1
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x41be90
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.00417c20
push 0x38
push edi
call fcn.004d24a7
mov ecx, dword [ebp - 8]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [ecx + 8]
cmp ebx, dword [ebp - 0x14]
je 0x41bef9
cmp esi, eax
jne 0x41beb8
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
mov dword [ecx], edi
mov dword [ecx + 4], edi
cmp esi, eax
jne 0x41be70
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41cef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x41cf1b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41cf04
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret

Function at 0x41d250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
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 - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d2db
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x41d29d
cmp eax, 2
jne 0x41d2b9
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x41d2d5
test ecx, ecx
je 0x41d2d0
test cl, 1
jne 0x41d2b9
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x41d2d5
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 0xc
Function at 0x428ca0
Capabilities:
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525655
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x58e5a4]
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 dword [ebp - 0x40], edx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x800000
push 0
push 0
push 0
push ecx
push str.POST
push dword [0x598254]
mov dword [ebp - 0x48], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
jne 0x428d05
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x428e59
lea eax, [ebp - 0x20]
mov dword [ebp - 0x38], 1
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], 3
push eax
push str.https:__www.virustotal.com
push dword [0x598258]
mov dword [ebp - 0x24], 1
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x428d46
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x26
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [esi + 0x14], 8
mov ebx, dword [esi + 0x10]
jb 0x428d51
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x14]
call fcn.0042a730
push 0
push ebx
push ebx
push dword [eax]
push 0
push dword [ebp - 0x40]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x428d81
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov byte [ebp - 0x39], 0
test eax, eax
jne 0x428d85
mov byte [ebp - 0x39], 1
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428da2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x39], 0
je 0x428db5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x428e50
mov dword [ebp - 4], 0
call fcn.00410080
mov ecx, eax
test ecx, ecx
je 0x428e75
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 1
mov ecx, edi
call fcn.00425e70
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
push esi
mov dword [ebp - 0x40], eax
call fcn.0042a570
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x44], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x428e04
sub edx, dword [ebp - 0x44]
sar edx, 1
push edx
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.00408af0
mov edx, dword [ebp - 0x4c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428e38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x428e4d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x40]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
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.004d2a60
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040fbc0
int3
Function at 0x42e030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x208], 0x100
push esi
push esi
lea eax, [ebp - 0x20c]
mov ebx, ecx
push eax
push esi
lea eax, [ebp - 0x208]
mov edi, edx
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x42e109
test eax, eax
jne 0x42e102
mov ecx, dword [edi + 0x24]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x210], eax
test ecx, ecx
je 0x42e11c
mov eax, dword [ecx]
lea edx, [ebp - 0x214]
push edx
lea edx, [ebp - 0x210]
push edx
push ebx
call dword [eax + 8]
push 0
push 0
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x208], 0x100
push eax
push 0
lea eax, [ebp - 0x208]
inc esi
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x42e082
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
call fcn.004b8ee1
int3