joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413c27
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x467d19
call fcn.0044ae06
mov dword [ebp - 0x10], ecx
push dword [ecx + 0x3c]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push eax
mov ebx, str.urlct
push ebx
mov edi, str.Product
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 4]
cmp eax, ecx
jge 0x413c5b
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
push ebx
push edi
call fcn.0040a54f
xor ebx, ebx
cmp dword [esi + 4], ebx
jle 0x413cfc
push edi
lea ecx, [ebp + 8]
call fcn.00404f7e
and dword [ebp - 4], 0
test ebx, ebx
jle 0x413c94
push ebx
lea eax, [ebp + 8]
push str.URLINFO_d
push eax
call fcn.0040486a
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push 0
push str.status
push dword [ebp + 8]
call fcn.0040a54f
mov eax, dword [ebp + 8]
push ebx
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.00405e05
push dword [eax]
mov ecx, dword [ebp - 0x10]
push str.uuid
push dword [ebp - 0x14]
call fcn.0040a54f
mov eax, dword [ebp + 8]
push ebx
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.00405e05
push dword [eax]
mov ecx, dword [ebp - 0x10]
push 0x470710
push dword [ebp - 0x14]
call fcn.0040a54f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402578
inc ebx
cmp ebx, dword [esi + 4]
jl 0x413c71
call fcn.0044aea5
ret 4
Function at 0x413d04
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x48d158]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x467d5c
call fcn.0044ae06
xor edi, edi
push 0x206
lea eax, [ebp + 2]
push edi
push eax
mov esi, ecx
mov word [ebp], di
call fcn.0044aed0
add esp, 0xc
push 0x208
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413c01
mov dword [ebp - 4], edi
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x44]
push eax
call fcn.004047d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402c10
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413c01
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
lea ebx, [esi + 0x40]
push eax
mov ecx, ebx
call fcn.004047d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402c10
mov ecx, ebx
call fcn.00413bd2
push str.urlcore.dat
mov ecx, ebx
call fcn.00413b8e
push 1
push 0x1a
lea eax, [ebp]
push eax
push edi
mov word [ebp], di
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, edi
je 0x413eb8
push str.Spiritsofturlspirit
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413dfd
push edi
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413c01
mov dword [ebp - 4], 2
lea eax, [ebp - 0x10]
lea edi, [esi + 0x3c]
push eax
mov ecx, edi
call fcn.004047d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402c10
push str.product.dat
mov ecx, edi
call fcn.00413b8e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413c01
mov dword [ebp - 4], 3
lea eax, [ebp - 0x10]
lea ebx, [esi + 0x48]
push eax
mov ecx, ebx
call fcn.004047d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402c10
push str.bd.dat
mov ecx, ebx
call fcn.00413b8e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413c01
mov dword [ebp - 4], 4
lea eax, [ebp - 0x10]
lea ebx, [esi + 0x4c]
push eax
mov ecx, ebx
call fcn.004047d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402c10
push str.tcfg.dat
mov ecx, ebx
call fcn.00413b8e
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x24], eax
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.0044adf7
add ebp, 0x20c
leave
ret
Function at 0x418798
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4187a3
xor eax, eax
ret
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov edx, 0xff
jl 0x418862
push edi
mov edi, eax
shr edi, 3
mov ebx, edi
imul ebx, ebx, 0xfffffff8
add eax, ebx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4719a8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4719a8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4719a8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4719a8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4719a8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4719a8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4719a8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4719a8]
inc ecx
dec edi
jne 0x4187ca
pop edi
test eax, eax
je 0x41887b
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4719a8]
inc ecx
dec eax
jne 0x418866
mov eax, esi
pop esi
not eax
pop ebx
ret

Function at 0x419025
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, ecx
cmp byte [esi + 0x44], 0
je 0x419038
mov al, 1
jmp 0x4190ac
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
push ebx
mov bl, 1
jne 0x419047
xor al, al
jmp 0x4190ab
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
je 0x4190a5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4190a0
push dword [esi + 0x4c]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4190a3
push 0x2c
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0044aed0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push edi
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x4190a5
mov dword [esi + 0x48], eax
xor bl, bl
mov byte [esi + 0x44], bl
mov al, bl
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x4190b1
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, ecx
push dword [esi + 0x4c]
push dword [esi + 0xc]
call edi
test eax, eax
je 0x4190db
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x419182
push ebx
xor ebx, ebx
push ebx
push dword [esi + 8]
call edi
cmp eax, 0x102
jne 0x4190f9
mov dword [esi + 0x48], 0x2734
xor al, al
jmp 0x419181
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
lea eax, [esi + 0x28]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x419141
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x419173
push dword [esi + 0x4c]
push dword [esi + 8]
call edi
test eax, eax
jne 0x419176
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x40]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x41916d
mov bl, 1
jmp 0x419176
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x4191ab
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, ecx
push dword [esi + 0x4c]
push dword [esi + 0xc]
call edi
test eax, eax
je 0x4191d5
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x41929c
push ebx
xor ebx, ebx
push ebx
push dword [esi + 4]
call edi
cmp eax, 0x80
jne 0x4191f3
mov dword [esi + 0x48], 0x2734
xor al, al
jmp 0x41929b
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0x14
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [edi], ebx
mov dword [ebp - 4], ebx
call fcn.0044aed0
lea eax, [esi + 0x10]
add esp, 0xc
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 1
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x419259
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x41928d
push dword [esi + 0x4c]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x419290
lea eax, [ebp - 4]
push eax
push ebx
push edi
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x40]
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x419287
mov bl, 1
jmp 0x419290
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0x419ba3
Capabilities:
Initialize winsock library

Disassembly:
push esi
lea esi, [ecx + 0x190]
cmp dword [esi], 0
je 0x419bba
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esi], eax
xor eax, eax
cmp dword [esi], eax
pop esi
sete al
ret
Function at 0x41a0f4
Capabilities:
Resolve dns

Disassembly:
push 0x38
mov eax, 0x46846d
call fcn.0044ae6f
lea edi, [ecx + 4]
mov eax, dword [edi]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x24], edi
je 0x41a117
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [edi], esi
push 0x20
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.0044aed0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebp - 0x38], eax
call dword [0x48d0ac]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, 0x400
je 0x41a179
push dword [ebp + 8]
call esi
inc eax
push 2
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004189d6
add esp, 0xc
test eax, eax
jge 0x41a17f
and dword [ebp - 0x1c], 0
jmp 0x41a1b8
mov edi, dword [ebp - 0x14]
cmp edi, ebx
jg 0x41a19c
push edi
call fcn.00419b12
test al, al
pop ecx
je 0x41a19c
mov eax, edi
call fcn.0044ebb0
mov eax, esp
jmp 0x41a1a5
push edi
lea ecx, [ebp - 0x18]
call fcn.0041a0cc
push dword [ebp - 0x20]
push edi
push dword [ebp + 8]
push eax
call fcn.00418a03
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x41a212
push dword [ebp + 0xc]
call esi
inc eax
push 2
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004189d6
add esp, 0xc
test eax, eax
jge 0x41a1df
xor eax, eax
jmp 0x41a212
mov esi, dword [ebp - 0x14]
cmp esi, ebx
jg 0x41a1fc
push esi
call fcn.00419b12
test al, al
pop ecx
je 0x41a1fc
mov eax, esi
call fcn.0044ebb0
mov eax, esp
jmp 0x41a205
push esi
lea ecx, [ebp - 0x18]
call fcn.0041a0cc
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push eax
call fcn.00418a03
cmp dword [ebp - 0x1c], 0
je 0x41a23d
test eax, eax
je 0x41a23d
push edi
lea ecx, [ebp - 0x44]
push ecx
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004085a5
mov eax, esi
jmp 0x41a254
push 8
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004085a5
or eax, 0xffffffff
lea esp, [ebp - 0x54]
call fcn.0044aeb9
ret 0x18
Function at 0x41b096
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x48d158]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
mov eax, dword [ebp + 0x3b4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x3b8]
mov esi, 0x206
xor ebx, ebx
push esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x66]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov word [ebp - 0x68], bx
call fcn.0044aed0
push esi
lea eax, [ebp + 0x1a2]
push ebx
push eax
mov word [ebp + 0x1a0], bx
call fcn.0044aed0
add esp, 0x18
lea eax, [ebp - 0x68]
push eax
push 1
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Spiritsofturlspirit
lea eax, [ebp - 0x68]
push eax
call esi
push str.product.dat
lea eax, [ebp - 0x68]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
push 0x104
lea eax, [ebp + 0x1a0]
push eax
push 0x46eb14
mov esi, 0x471f94
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp edi, ebx
je 0x41b148
mov dword [edi], ebx
lea eax, [ebp + 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x20
je 0x41b1d8
xor eax, eax
mov dword [ebp - 0x78], ebx
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
movzx eax, byte [ebp - 0x69]
push eax
movzx eax, byte [ebp - 0x6a]
push eax
movzx eax, byte [ebp - 0x6b]
push eax
movzx eax, byte [ebp - 0x6c]
push eax
movzx eax, byte [ebp - 0x6d]
push eax
movzx eax, byte [ebp - 0x6e]
push eax
movzx eax, byte [ebp - 0x6f]
push eax
movzx eax, byte [ebp - 0x70]
push eax
movzx eax, word [ebp - 0x72]
push eax
movzx eax, word [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp + 0x1a0]
push str._08x_04x_04x_02x_02x_02x_02x_02x_02x_02x_02x
push eax
call fcn.004193f7
add esp, 0x34
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x1a0]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x41b1d8
mov dword [eax], 1
push 0x10
lea eax, [ebp + 0x1d0]
push ebx
push eax
call fcn.0044bb61
mov esi, eax
mov word [ebp + 0x1d0], bx
call fcn.00419385
add eax, esi
push eax
lea eax, [ebp + 0x1a0]
push eax
push 0x471f24
push dword [ebp - 0x7c]
call fcn.0040486a
mov ecx, dword [ebp + 0x3a8]
add esp, 0x1c
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044adf7
add ebp, 0x3ac
leave
ret
Function at 0x422a1f
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push 0x24
mov eax, 0x46959b
call fcn.0044ae39
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
cmp dword [edi], esi
je 0x422a54
mov dword [ebp - 0x20], 1
push 0x482a74
lea eax, [ebp - 0x20]
push eax
call fcn.0044a4a3
lea eax, [ebp - 0x18]
push eax
push 0x4727d8
push 1
push esi
push 0x4727c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x422a80
mov dword [ebp - 0x24], 2
push 0x482a74
lea eax, [ebp - 0x24]
jmp 0x422a4e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, esi
jge 0x422aa2
mov dword [ebp - 0x28], 3
push 0x482a74
lea eax, [ebp - 0x28]
jmp 0x422a4e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
cmp eax, esi
jge 0x422ac1
mov dword [ebp - 0x2c], 4
push 0x482a74
lea eax, [ebp - 0x2c]
jmp 0x422a4e
or dword [ebp - 4], 0xffffffff
jmp 0x422ad9
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x422ae6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x422af3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
call fcn.0044aea5
ret

Function at 0x4230f0
Capabilities:
Enumerate process modules
Enumerate threads
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.0044b7e0
push esi
xor esi, esi
push 0xffc
lea eax, [ebp - 0x1024]
push esi
push eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1028], esi
call fcn.0044aed0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x1000
lea eax, [ebp - 0x1028]
push eax
mov dword [ebp - 4], esi
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4231f2
mov eax, dword [ebp - 4]
shr eax, 2
je 0x4231f2
push ebx
push edi
lea edi, [ebp - 0x1028]
mov dword [ebp - 8], eax
mov eax, dword [edi]
test eax, eax
je 0x4231e4
push eax
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4231e4
push 0x1c
pop esi
push esi
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0044aed0
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], esi
push ebx
xor esi, esi
call sub.KERNEL32.dll_Thread32First
jmp 0x4231a2
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edi]
je 0x4231a8
lea eax, [ebp - 0x28]
push eax
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x423191
jmp 0x4231ab
mov esi, dword [ebp - 0x20]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
test esi, esi
je 0x4231e4
push esi
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jne 0x4231e4
push dword [edi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4231e4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
add edi, 4
dec dword [ebp - 8]
jne 0x423155
pop edi
pop ebx
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x424ec7
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.0044b7e0
mov eax, dword [0x48d158]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
mov eax, dword [ebp + 0xf98]
push esi
mov esi, dword [ebp + 0xf9c]
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x80], eax
je 0x424f77
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x78]
push ecx
mov ebx, 0x1000
push ebx
lea ecx, [ebp - 0x74]
push ecx
push eax
jmp 0x424f5f
cmp dword [ebp - 0x78], 0
je 0x424f65
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call fcn.00418798
add esp, 0xc
push 0
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push eax
push ebx
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x80]
call edi
test eax, eax
jne 0x424f36
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
xor edi, edi
mov dword [esi], eax
inc edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp + 0xf8c]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0044adf7
add ebp, 0xf90
leave
ret

Function at 0x426a9c
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push esi
mov esi, ecx
call fcn.004056f2
test eax, eax
je 0x426ae5
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esp + 8], 0
je 0x426ac6
push 0x1388
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
call fcn.004056f2
test eax, eax
je 0x426ae5
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x58
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
inc eax
pop esi
ret 4

Function at 0x426b4e
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push esi
mov esi, ecx
call fcn.004056f2
test eax, eax
je 0x426b97
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esp + 8], 0
je 0x426b78
push 0x1388
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
call fcn.004056f2
test eax, eax
je 0x426b97
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x58
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
inc eax
pop esi
ret 4

Function at 0x426c40
Capabilities:
Read file via mapping

Disassembly:
push ebx
push ebp
push edi
push dword [esp + 0x10]
xor ebx, ebx
mov ebp, 0x1110
push ebp
push ebx
push 4
push ebx
mov edi, ecx
push 0xffffffffffffffff
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [edi], eax
je 0x426c9a
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push ebx
mov esi, eax
sub esi, 0xb7
push ebx
neg esi
push 6
push dword [edi]
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp esi, ebx
mov dword [edi + 4], eax
pop esi
jne 0x426c9a
push ebp
push ebx
push eax
call fcn.0044aed0
add esp, 0xc
mov eax, edi
pop edi
pop ebp
pop ebx
ret 4
Function at 0x426f59
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
sub esp, 0x2d4
lea ebp, [esp - 4]
mov eax, dword [0x48d158]
xor eax, ebp
mov dword [ebp + 0x2d4], eax
push 0x54
mov eax, 0x469d28
call fcn.0044ae06
mov edi, ecx
xor esi, esi
xor ebx, ebx
cmp dword [edi + 0x1c], esi
jne 0x426f8f
xor eax, eax
jmp 0x4270a0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 4]
cmp ecx, esi
jle 0x426fb3
mov eax, dword [eax]
mov eax, dword [eax + 0xdc]
cmp eax, dword [ebp + 0x2e0]
jne 0x426fb3
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, esi
je 0x426f88
mov edi, str.Ie10LaterClearCacheDesktop
lea ecx, [ebp]
mov ebx, edi
call fcn.00423097
mov dword [ebp - 4], esi
push edi
lea ecx, [ebp]
call fcn.004231fd
test eax, eax
jne 0x426fdf
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.0044aed0
xor eax, eax
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x206
stosd dword es:[edi], eax
lea eax, [ebp + 0xce]
push esi
push eax
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x30], si
mov word [ebp + 0xcc], si
call fcn.0044aed0
add esp, 0x18
mov edi, 0x104
push edi
lea eax, [ebp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
push 0x472a90
lea eax, [ebp + 0xcc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrNCatW]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x4000
push 1
push esi
push esi
lea eax, [ebp + 0xcc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
je 0x427089
push 0x4e20
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
push 4
call fcn.00441b10
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004231f8
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2d4]
xor ecx, ebp
call fcn.0044adf7
add ebp, 0x2d8
leave
ret 4