joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4810d2
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x2c], 0xb8
mov byte [ebp - 0x2b], 0x77
mov byte [ebp - 0x2a], 0x1d
mov byte [ebp - 0x29], 0x80
mov byte [ebp - 0x28], 0x7c
mov byte [ebp - 0x27], 0x68
mov byte [ebp - 0x26], 0x64
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x22], 0x68
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x20], 0x70
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x2e
mov byte [ebp - 0x1d], 0x68
mov byte [ebp - 0x1c], 0x77
mov byte [ebp - 0x1b], 0x7a
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x63
mov byte [ebp - 0x18], 0x54
mov byte [ebp - 0x17], 0xff
mov byte [ebp - 0x16], 0xd0
mov dword [ebp - 0x14], 0
push 0x54003c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x48117b
xor eax, eax
jmp 0x4812bc
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044fae0
mov ecx, eax
call fcn.0044ff04
test eax, eax
je 0x481196
xor eax, eax
jmp 0x4812bc
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 4], 0
push 1
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042f41c
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x4811ce
mov byte [ebp - 4], 1
jmp 0x4812a0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
jne 0x4811e3
mov byte [ebp - 4], 1
jmp 0x4812a0
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x4811fc
mov byte [ebp - 4], 1
jmp 0x4812a0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x481217
mov byte [ebp - 4], 1
jmp 0x4812a0
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x38]
cmp dword [ebp - 0x3c], ecx
jbe 0x481228
mov byte [ebp - 4], 1
jmp 0x4812a0
mov edx, dword [ebp - 0x3c]
cmp dword [edx], 0x4550
jne 0x481240
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov cx, word [eax + 6]
test ecx, ecx
jne 0x481246
mov byte [ebp - 4], 1
jmp 0x4812a0
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042f8d5
add esp, 8
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
push 0x17
lea ecx, [ebp - 0x2c]
push ecx
push 0x400
mov edx, dword [ebp - 0x30]
push edx
call fcn.00430a2f
add esp, 0x10
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x481291
mov byte [ebp - 4], 1
jmp 0x4812a0
mov dword [ebp - 0x40], 1
jmp 0x4812a0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x4812b9
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042f4e1
add esp, 4
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x484330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c4
push edi
mov dword [ebp - 0x3c4], ecx
lea ecx, [ebp - 0x2ac]
call fcn.00486380
mov ecx, dword [ebp + 8]
call fcn.00478c30
test eax, eax
jne 0x484361
mov eax, 1
jmp 0x484581
mov dword [ebp - 0x140], 2
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x12c], 0
call fcn.0043622f
mov ecx, eax
call fcn.00435478
lea eax, [ebp - 0x3b8]
push eax
mov ecx, dword [ebp + 8]
call fcn.00416c30
mov ecx, dword [eax]
mov dword [ebp - 0x2ac], ecx
jmp 0x4843c2
push 0
lea edx, [ebp - 0x3bc]
push edx
lea ecx, [ebp - 0x2ac]
call fcn.0043b370
lea eax, [ebp - 0x3c0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00416d80
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0043b3a0
and eax, 0xff
test eax, eax
je 0x484570
lea ecx, [ebp - 0x2ac]
call fcn.00417440
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x484473
lea ecx, [ebp - 0x2ac]
call fcn.00417440
push eax
call fcn.0044fae0
mov ecx, eax
call fcn.0044ff04
test eax, eax
jne 0x484473
lea ecx, [ebp - 0x2ac]
call fcn.00417440
mov ecx, dword [eax + 0x108]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2b0], edx
mov eax, dword [ebp - 0x2b0]
cmp dword [eax + 0x6c], 3
je 0x484473
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x2ac]
call fcn.00417440
mov eax, dword [eax + 0x108]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x2ac]
push edx
push 0
mov ecx, dword [ebp - 0x3c4]
call fcn.00484cdd
lea ecx, [ebp - 0x2ac]
call fcn.00417440
cmp dword [eax + 0x104], 7
je 0x48456b
lea ecx, [ebp - 0x2ac]
call fcn.00417440
cmp dword [eax + 0x104], 1
je 0x48456b
mov byte [ebp - 0x3b4], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x3b3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x2ac]
call fcn.00417440
push eax
push 0x104
lea eax, [ebp - 0x3b4]
push eax
call fcn.00415480
lea ecx, [ebp - 0x2ac]
call fcn.00417440
cmp dword [eax + 0x104], 3
jae 0x48450d
push 0x54244c
lea ecx, [ebp - 0x2ac]
call fcn.00417440
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x48450d
jmp 0x4843ae
lea ecx, [ebp - 0x2ac]
call fcn.00417440
test eax, eax
je 0x484546
lea ecx, [ebp - 0x2ac]
call fcn.00417440
movsx ecx, byte [eax]
test ecx, ecx
je 0x484546
lea ecx, [ebp - 0x2ac]
call fcn.00417440
push eax
call fcn.0042f17a
add esp, 4
test eax, eax
jne 0x48454b
jmp 0x4843ae
push str.sptd.sys
lea ecx, [ebp - 0x2ac]
call fcn.00417440
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x48456b
jmp 0x4843ae
jmp 0x4843ae
call fcn.0043622f
mov ecx, eax
call fcn.00435621
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x484588
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf3c
mov dword [ebp - 0xf48], ecx
push 1
lea ecx, [ebp - 0xf10]
call fcn.00416da0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2bc]
call fcn.00486380
mov ecx, dword [ebp + 8]
call fcn.00478c30
test eax, eax
jne 0x4845fe
mov dword [ebp - 0xf1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf10]
call fcn.00416e30
mov eax, dword [ebp - 0xf1c]
jmp 0x48481e
mov dword [ebp - 0x150], 2
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x13c], 0
lea eax, [ebp - 0xf20]
push eax
mov ecx, dword [ebp + 8]
call fcn.00416c30
mov ecx, dword [eax]
mov dword [ebp - 0x2bc], ecx
jmp 0x484653
push 0
lea edx, [ebp - 0xf24]
push edx
lea ecx, [ebp - 0x2bc]
call fcn.0043b370
lea eax, [ebp - 0xf28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00416d80
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0043b3a0
and eax, 0xff
test eax, eax
je 0x4846b9
lea ecx, [ebp - 0x2bc]
call fcn.00417440
push eax
push 0x104
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.00415480
mov dword [ebp - 0xf2c], 0
lea edx, [ebp - 0xf2c]
push edx
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0xf10]
call fcn.00416eb0
jmp 0x48463f
mov dword [ebp - 0xf14], 0
push 0
lea ecx, [ebp - 0xf14]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4846e4
call fcn.00490cd7
test eax, eax
je 0x48470b
mov dword [ebp - 0xf30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf10]
call fcn.00416e30
mov eax, dword [ebp - 0xf30]
jmp 0x48481e
lea edx, [ebp - 0xf10]
push edx
call fcn.0048aa24
add esp, 4
test eax, eax
je 0x484745
mov dword [ebp - 0xf34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf10]
call fcn.00416e30
mov eax, dword [ebp - 0xf34]
jmp 0x48481e
lea eax, [ebp - 0xf38]
push eax
mov ecx, dword [ebp + 8]
call fcn.00416c30
mov ecx, dword [eax]
mov dword [ebp - 0x2bc], ecx
jmp 0x484772
push 0
lea edx, [ebp - 0xf3c]
push edx
lea ecx, [ebp - 0x2bc]
call fcn.0043b370
lea eax, [ebp - 0xf40]
push eax
mov ecx, dword [ebp + 8]
call fcn.00416d80
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0043b3a0
and eax, 0xff
test eax, eax
je 0x4847ed
lea ecx, [ebp - 0x2bc]
call fcn.00417440
push eax
push 0x104
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.00415480
lea edx, [ebp - 0x2b8]
push edx
lea ecx, [ebp - 0xf10]
call fcn.00416fa0
mov dword [ebp - 0xf18], eax
lea ecx, [ebp - 0x2bc]
call fcn.00417440
mov ecx, dword [ebp - 0xf18]
mov edx, dword [ecx + 0x168]
mov dword [eax + 0x10c], edx
jmp 0x48475e
lea eax, [ebp - 0xf10]
push eax
call fcn.0048d18b
add esp, 4
mov dword [ebp - 0xf44], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf10]
call fcn.00416e30
mov eax, dword [ebp - 0xf44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x485543
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push edi
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 1
mov byte [ebp - 0x108], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x214], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp + eax - 0x108]
mov dword [ebp - 0x110], ecx
push 0x104
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + eax - 0x214]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x218], 0x540288
jmp 0x4855e8
mov ecx, dword [ebp - 0x218]
add ecx, 0x105
mov dword [ebp - 0x218], ecx
cmp dword [ebp - 0x218], 0x540dbf
jae 0x48568f
mov edx, dword [ebp - 0x218]
mov al, byte [edx]
mov byte [ebp - 0x220], al
cmp byte [ebp - 0x220], 0
je 0x48561a
cmp byte [ebp - 0x220], 1
je 0x485653
jmp 0x48568a
mov ecx, dword [ebp - 0x218]
add ecx, 1
push ecx
push 0x104
mov edx, dword [ebp - 0x110]
push edx
call fcn.00415480
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x485651
mov eax, 1
jmp 0x485691
jmp 0x48568a
mov edx, dword [ebp - 0x218]
add edx, 1
push edx
push 0x104
mov eax, dword [ebp - 0x10c]
push eax
call fcn.00415480
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x48568a
mov eax, 1
jmp 0x485691
jmp 0x4855d6
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x485e77
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad595
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
push edi
mov dword [ebp - 0x268], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x228], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x227]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0x10
lea ecx, [ebp - 0x120]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
push 0x19
lea edx, [ebp - 0x228]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004779f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00415650
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x124]
add edx, 0x438
push edx
push 0
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x238]
call fcn.0041b0a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x25c]
call fcn.004095f0
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x260]
call fcn.00415650
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x124]
add edx, 0x438
push edx
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x250]
call fcn.0041b0a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x260]
call fcn.004095f0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.0041c071
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x250]
call fcn.0041c071
lea ecx, [ebp - 0x1c]
call fcn.0041d080
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 0
jmp 0x485fe6
mov eax, dword [ebp - 0x23c]
add eax, 1
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
cmp ecx, dword [ebp - 0x240]
jge 0x486046
mov edx, dword [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00486400
mov dword [ebp - 0x254], eax
push 1
push 2
mov ecx, dword [ebp - 0x254]
add ecx, 4
call fcn.0047e220
push eax
call fcn.004281f0
mov ecx, eax
call fcn.004284a8
mov eax, dword [ebp + 0xc]
push eax
push 0x6f
mov ecx, dword [ebp - 0x254]
call fcn.0047e220
push eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [ebp + 8]
jmp 0x485fd7
mov dword [ebp - 0x264], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
call fcn.0041b0da
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.0041b0da
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004863a0
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x486f72
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad626
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x486fa7
xor eax, eax
jmp 0x487099
lea ecx, [ebp - 0x10]
call fcn.00409420
mov dword [ebp - 4], 0
mov dword [ebp - 0x13c], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0xffffffff
jne 0x486ffc
mov dword [ebp - 0x144], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004095f0
mov eax, dword [ebp - 0x144]
jmp 0x487099
mov dword [ebp - 0x138], 0x128
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x48706d
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x487056
mov dword [ebp - 0x148], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004095f0
mov eax, dword [ebp - 0x148]
jmp 0x487099
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x140]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x48701d
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004095f0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x48722e
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov dword [ebp - 0x140], 0
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x48726d
xor eax, eax
jmp 0x4873b4
lea ecx, [ebp - 0x10]
call fcn.00409420
mov dword [ebp - 4], 0
mov dword [ebp - 0x13c], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
jne 0x4872c2
mov dword [ebp - 0x150], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004095f0
mov eax, dword [ebp - 0x150]
jmp 0x4873b4
mov dword [ebp - 0x138], 0x128
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x144]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x487386
mov dword [ebp - 0x148], 0
jmp 0x487302
mov eax, dword [ebp - 0x148]
add eax, 1
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0xa
jge 0x48736b
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x487369
mov eax, dword [ebp - 0x130]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x48735c
mov dword [ebp - 0x140], 1
push 0
mov ecx, dword [ebp - 0x14c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4872f3
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4872e7
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004095f0
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4881c3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
mov dword [ebp - 0x11c], ecx
push 0x2e
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4881f1
xor eax, eax
jmp 0x4882ef
push 0x543374
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x48820b
xor eax, eax
jmp 0x4882ef
mov byte [ebp - 0x118], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x117]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + eax - 0x118]
mov dword [ebp - 0x14], eax
push str.drivers_
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x118]
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00415480
push 0x5c
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48828b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
jne 0x48828f
xor eax, eax
jmp 0x4882ef
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x118]
sub eax, ecx
add eax, 9
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x4882b5
xor eax, eax
jmp 0x4882ef
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
je 0x4882d2
xor eax, eax
jmp 0x4882ef
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044fae0
mov ecx, eax
call fcn.0044ff04
test eax, eax
je 0x4882ea
xor eax, eax
jmp 0x4882ef
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48896c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7a28
push 0x4a8984
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042e5a0
add esp, 4
test eax, eax
jne 0x4889b5
jmp 0x488a2c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp - 0x28]
lea ecx, [eax + edx + 0x18]
mov edx, dword [ebp - 0x28]
xor eax, eax
mov ax, word [edx + 6]
sub eax, 1
imul eax, eax, 0x28
add ecx, eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x20]
add edx, dword [eax + 0x10]
mov dword [ebp - 0x2c], edx
push 4
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x488a0f
jmp 0x488a2c
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3383537
je 0x488a25
jmp 0x488a2c
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x488a45
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48989e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
mov byte [ebp - 0x108], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x5c
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4898eb
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
jne 0x4898ef
xor eax, eax
jmp 0x489950
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.00422950
add esp, 0xc
push 0x54345c
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
jne 0x489921
xor eax, eax
jmp 0x489950
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x48994b
xor eax, eax
jmp 0x489950
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x48a96a
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48a995
call fcn.00490cd7
test eax, eax
je 0x48a9b2
push 0x40
push 0x543dac
push 0x543db4
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x48aa20
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x804
je 0x48a9f0
cmp dword [ebp - 8], 4
je 0x48a9f0
cmp dword [ebp - 8], 0x1004
je 0x48a9f0
push 0x40
push 0x543de0
push 0x543de8
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x48aa20
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048aa24
add esp, 4
test eax, eax
je 0x48aa07
mov eax, 6
jmp 0x48aa20
mov edx, dword [ebp + 8]
push edx
call fcn.0048c1d2
add esp, 4
test eax, eax
je 0x48aa1e
mov eax, 6
jmp 0x48aa20
xor eax, eax
mov esp, ebp
pop ebp
ret