joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475930
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c41b
mov eax, dword fs:[0]
push eax
sub esp, 0x6d4
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c8], 0x80004005
xor eax, eax
mov word [ebp - 0x6c4], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x6c2]
push ecx
call fcn.004f2e30
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x4c4], edx
push 0xffffffffffffffff
mov eax, dword [0x5521e0]
push eax
push 0x100
lea ecx, [ebp - 0x6c4]
push ecx
call fcn.004f66cd
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 0x4c4], edx
mov ecx, dword [ebp + 0xc]
call fcn.0046bd30
push 0xa
lea eax, [ebp - 0x6c4]
push eax
call fcn.00485ee0
push eax
call fcn.00485f60
mov dword [ebp - 0x6c8], eax
cmp dword [ebp - 0x6c8], 0
je 0x4759e3
jmp 0x475afd
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x6d4]
call fcn.004783a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6cc]
call fcn.00478a30
lea edx, [ebp - 0x6d8]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.004788e0
mov eax, dword [eax]
mov dword [ebp - 0x6cc], eax
jmp 0x475a37
push 0
lea ecx, [ebp - 0x6dc]
push ecx
lea ecx, [ebp - 0x6cc]
call fcn.00478a70
lea edx, [ebp - 0x6e0]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00478910
push eax
lea ecx, [ebp - 0x6cc]
call fcn.00478aa0
movzx eax, al
test eax, eax
je 0x475ad9
lea ecx, [ebp - 0x6cc]
call fcn.00478a50
mov ecx, dword [eax]
mov dword [ebp - 0x6d0], ecx
xor edx, edx
mov word [ebp - 0x4c0], dx
push 0x18e
push 0
lea eax, [ebp - 0x4be]
push eax
call fcn.004f2e30
add esp, 0xc
push 0x320
push 0
lea ecx, [ebp - 0x330]
push ecx
call fcn.004f2e30
add esp, 0xc
cmp dword [ebp - 0x6d0], 0
jne 0x475ab2
jmp 0x475a23
mov ecx, 0x12c
mov esi, dword [ebp - 0x6d0]
lea edi, [ebp - 0x4c0]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x4c0]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00478a00
jmp 0x475a23
mov ecx, dword [ebp + 8]
call fcn.00475b20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6d4]
call fcn.004783d0
mov dword [ebp - 0x6c8], 0
mov eax, dword [ebp - 0x6c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret 8
Function at 0x475f40
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c4fb
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x858], 0x80004005
xor eax, eax
mov word [ebp - 0x854], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x852]
push ecx
call fcn.004f2e30
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x654], edx
push 0xffffffffffffffff
mov eax, dword [0x5521dc]
push eax
push 0x100
lea ecx, [ebp - 0x854]
push ecx
call fcn.004f66cd
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 0x654], edx
mov ecx, dword [ebp + 0xc]
call fcn.0046bb90
push 0xa
lea eax, [ebp - 0x854]
push eax
call fcn.00485ee0
push eax
call fcn.00485f60
mov dword [ebp - 0x858], eax
cmp dword [ebp - 0x858], 0
je 0x475ff1
jmp 0x47616b
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x864]
call fcn.004783a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x85c]
call fcn.00478c80
lea edx, [ebp - 0x868]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00478b30
mov eax, dword [eax]
mov dword [ebp - 0x85c], eax
jmp 0x476045
push 0
lea ecx, [ebp - 0x86c]
push ecx
lea ecx, [ebp - 0x85c]
call fcn.00478cc0
lea edx, [ebp - 0x870]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00478b60
push eax
lea ecx, [ebp - 0x85c]
call fcn.00478cf0
movzx eax, al
test eax, eax
je 0x47614f
lea ecx, [ebp - 0x85c]
call fcn.00478ca0
mov ecx, dword [eax]
mov dword [ebp - 0x860], ecx
xor edx, edx
mov word [ebp - 0x650], dx
push 0x18e
push 0
lea eax, [ebp - 0x64e]
push eax
call fcn.004f2e30
add esp, 0xc
push 0x4b0
push 0
lea ecx, [ebp - 0x4c0]
push ecx
call fcn.004f2e30
add esp, 0xc
push 0xffffffffffffffff
mov edx, dword [ebp - 0x860]
push edx
push 0xc8
lea eax, [ebp - 0x650]
push eax
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x860]
add ecx, 0x190
push ecx
push 0xc8
lea edx, [ebp - 0x4c0]
push edx
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp - 0x860]
add eax, 0x320
push eax
push 0xc8
lea ecx, [ebp - 0x330]
push ecx
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp - 0x860]
add edx, 0x4b0
push edx
push 0xc8
lea eax, [ebp - 0x1a0]
push eax
call fcn.004f66cd
add esp, 0x10
lea ecx, [ebp - 0x650]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00478c50
jmp 0x476031
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x864]
call fcn.004783d0
mov dword [ebp - 0x858], 0
mov eax, dword [ebp - 0x858]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret 8
Function at 0x476540
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], 0x80004005
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.004f2e30
add esp, 0xc
xor edx, edx
mov dword [ebp - 8], edx
push 0xffffffffffffffff
mov eax, dword [0x5521ec]
push eax
push 0x100
lea ecx, [ebp - 0x208]
push ecx
call fcn.004f66cd
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
push 0xa
lea eax, [ebp - 0x208]
push eax
call fcn.00485ee0
push eax
call fcn.00485f60
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x4765cb
jmp 0x476651
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x210]
call fcn.004783a0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1ac
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x190
push edx
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x33c
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x320
push ecx
call fcn.004f66cd
add esp, 0x10
lea ecx, [ebp - 0x210]
call fcn.004783d0
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret 8
Function at 0x476930
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c5db
mov eax, dword fs:[0]
push eax
sub esp, 0x544
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x538], 0x80004005
xor eax, eax
mov word [ebp - 0x534], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x532]
push ecx
call fcn.004f2e30
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x334], edx
push 0xffffffffffffffff
mov eax, dword [0x5521f8]
push eax
push 0x100
lea ecx, [ebp - 0x534]
push ecx
call fcn.004f66cd
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 0x334], edx
mov ecx, dword [ebp + 0xc]
call fcn.0046b850
push 0xa
lea eax, [ebp - 0x534]
push eax
call fcn.00485ee0
push eax
call fcn.00485f60
mov dword [ebp - 0x538], eax
cmp dword [ebp - 0x538], 0
je 0x4769e1
jmp 0x476b2c
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x544]
call fcn.004783a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x53c]
call fcn.00478ed0
lea edx, [ebp - 0x548]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00478d80
mov eax, dword [eax]
mov dword [ebp - 0x53c], eax
jmp 0x476a35
push 0
lea ecx, [ebp - 0x54c]
push ecx
lea ecx, [ebp - 0x53c]
call fcn.00478f10
lea edx, [ebp - 0x550]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00478db0
push eax
lea ecx, [ebp - 0x53c]
call fcn.00478f40
movzx eax, al
test eax, eax
je 0x476b08
lea ecx, [ebp - 0x53c]
call fcn.00478ef0
mov ecx, dword [eax]
mov dword [ebp - 0x540], ecx
xor edx, edx
mov word [ebp - 0x330], dx
push 0x18e
push 0
lea eax, [ebp - 0x32e]
push eax
call fcn.004f2e30
add esp, 0xc
push 0x190
push 0
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.004f2e30
add esp, 0xc
cmp dword [ebp - 0x540], 0
jne 0x476ab4
jmp 0x476a21
push 0xffffffffffffffff
mov edx, dword [ebp - 0x540]
push edx
push 0xc8
lea eax, [ebp - 0x330]
push eax
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x540]
add ecx, 0x190
push ecx
push 0xc8
lea edx, [ebp - 0x1a0]
push edx
call fcn.004f66cd
add esp, 0x10
lea eax, [ebp - 0x330]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00478ea0
jmp 0x476a21
mov ecx, dword [ebp + 8]
call fcn.00476b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x544]
call fcn.004783d0
mov dword [ebp - 0x538], 0
mov eax, dword [ebp - 0x538]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret 8
Function at 0x476f40
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], 0x80004005
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.004f2e30
add esp, 0xc
xor edx, edx
mov dword [ebp - 8], edx
push 0xffffffffffffffff
mov eax, dword [str.SELECT__FROM_Win32_VideoController]
push eax
push 0x100
lea ecx, [ebp - 0x208]
push ecx
call fcn.004f66cd
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
push 0xa
lea eax, [ebp - 0x208]
push eax
call fcn.00485ee0
push eax
call fcn.00485f60
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x476fcb
jmp 0x477051
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x210]
call fcn.004783a0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1ac
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x190
push edx
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x33c
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x320
push ecx
call fcn.004f66cd
add esp, 0x10
lea ecx, [ebp - 0x210]
call fcn.004783d0
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret 8
Function at 0x477540
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c6eb
mov eax, dword fs:[0]
push eax
sub esp, 0x868
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x860], 0x80004005
xor eax, eax
mov word [ebp - 0x858], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x856]
push ecx
call fcn.004f2e30
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x658], edx
push 0xffffffffffffffff
mov eax, dword [0x5521e4]
push eax
push 0x100
lea ecx, [ebp - 0x858]
push ecx
call fcn.004f66cd
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 0x658], edx
mov ecx, dword [ebp + 0xc]
call fcn.0046bed0
push 0xa
lea eax, [ebp - 0x858]
push eax
call fcn.00485ee0
push eax
call fcn.00485f60
mov dword [ebp - 0x860], eax
cmp dword [ebp - 0x860], 0
je 0x4775f1
jmp 0x477794
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x868]
call fcn.004783a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x864]
call fcn.00479120
lea edx, [ebp - 0x86c]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00478fd0
mov eax, dword [eax]
mov dword [ebp - 0x864], eax
jmp 0x477645
push 0
lea ecx, [ebp - 0x870]
push ecx
lea ecx, [ebp - 0x864]
call fcn.00479160
lea edx, [ebp - 0x874]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00479000
push eax
lea ecx, [ebp - 0x864]
call fcn.00479190
movzx eax, al
test eax, eax
je 0x477770
lea ecx, [ebp - 0x864]
call fcn.00479140
mov ecx, dword [eax]
mov dword [ebp - 0x85c], ecx
xor edx, edx
mov word [ebp - 0x654], dx
push 0x18e
push 0
lea eax, [ebp - 0x652]
push eax
call fcn.004f2e30
add esp, 0xc
push 0x4b4
push 0
lea ecx, [ebp - 0x4c4]
push ecx
call fcn.004f2e30
add esp, 0xc
cmp dword [ebp - 0x85c], 0
jne 0x4776c4
jmp 0x477631
push 0xffffffffffffffff
mov edx, dword [ebp - 0x85c]
push edx
push 0xc8
lea eax, [ebp - 0x654]
push eax
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x85c]
add ecx, 0x190
push ecx
push 0xc8
lea edx, [ebp - 0x4c4]
push edx
call fcn.004f66cd
add esp, 0x10
mov eax, dword [ebp - 0x85c]
mov ecx, dword [eax + 0x320]
mov dword [ebp - 0x334], ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x85c]
add edx, 0x324
push edx
push 0xc8
lea eax, [ebp - 0x330]
push eax
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x85c]
add ecx, 0x4b4
push ecx
push 0xc8
lea edx, [ebp - 0x1a0]
push edx
call fcn.004f66cd
add esp, 0x10
lea eax, [ebp - 0x654]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004790f0
jmp 0x477631
mov ecx, dword [ebp + 8]
call fcn.004777c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x868]
call fcn.004783d0
mov dword [ebp - 0x860], 0
mov eax, dword [ebp - 0x860]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret 8
Function at 0x47eeb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x583d10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x40]
call fcn.00482f90
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x47eefb
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x47ef00
jmp 0x47efbb
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47ef13
jmp 0x47efbb
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00483010
test eax, eax
jne 0x47ef28
jmp 0x47efbb
lea ecx, [ebp - 0x30]
call fcn.00433140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004830e0
test eax, eax
jne 0x47ef52
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00433280
jmp 0x47efbb
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x30]
push edx
call fcn.004331b0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0047ed30
add esp, 0x10
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x10]
call fcn.0043a985
push eax
lea ecx, [ebp - 0x10]
call fcn.0043a98b
push eax
push 0x100
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004f66cd
add esp, 0x10
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x10]
call fcn.0043a3e4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00433280
xor edx, edx
jne 0x47eeeb
lea ecx, [ebp - 0x40]
call fcn.00483030
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00482ff0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043a29b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4805c0
xor eax, eax
jmp 0x4805d1
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x4805cc
xor eax, eax
jmp 0x4805d1
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4805e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d306
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x244], 0
push 0
lea ecx, [ebp - 0x220]
call fcn.00483c40
mov dword [ebp - 4], 0
mov dword [ebp - 0x22c], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004f2e30
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.0043a3d0
mov byte [ebp - 4], 1
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jge 0x4806e2
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jge 0x4806e2
push 0x5528b8
mov ecx, dword [ebp + 8]
call fcn.0043c206
mov edx, dword [ebp - 0x228]
or edx, 1
mov dword [ebp - 0x228], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.0043a3e4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00485b40
mov eax, dword [ebp + 8]
jmp 0x480812
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [ebp - 0x22c], 0
jne 0x480703
jmp 0x4807ca
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x21c]
add edx, 2
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x21c]
mov cx, word [eax]
mov word [ebp - 0x22e], cx
add dword [ebp - 0x21c], 2
cmp word [ebp - 0x22e], 0
jne 0x480732
mov edx, dword [ebp - 0x21c]
sub edx, dword [ebp - 0x23c]
sar edx, 1
mov dword [ebp - 0x240], edx
je 0x480788
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0043a3ee
lea ecx, [ebp - 0x220]
call fcn.00485b00
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x4807ca
lea ecx, [ebp - 0x220]
call fcn.00485af0
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00447a94
mov edx, dword [ebp - 0x228]
or edx, 1
mov dword [ebp - 0x228], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.0043a3e4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00485b40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret
Function at 0x480830
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d33b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
call fcn.0043c206
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], 0
push 0x228
push 0
lea ecx, [ebp - 0x238]
push ecx
call fcn.004f2e30
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x4808b6
jmp 0x48092a
mov dword [ebp - 0x23c], 0x22c
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x4808e5
jmp 0x48092a
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x244]
call fcn.0043c269
test eax, eax
jne 0x480912
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x234]
mov dword [edx], eax
mov dword [ebp - 0x248], 1
jmp 0x48092a
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4808e5
cmp dword [ebp - 0x240], 0xffffffff
je 0x480940
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.0043a3e4
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret
Function at 0x480980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.0043c28d
movzx eax, al
test eax, eax
je 0x4809a9
xor eax, eax
jmp 0x480bc2
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x208
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.004f2e30
add esp, 0xc
push 0
push 0x552864
mov ecx, dword [ebp + 8]
call fcn.00468330
cmp eax, 0xffffffff
je 0x480a19
push 0x104
lea eax, [ebp - 0x210]
push eax
push str._ALLUSERSPROFILE_
call fcn.00480bd0
add esp, 0xc
test eax, eax
jne 0x480a00
xor eax, eax
jmp 0x480bc2
lea ecx, [ebp - 0x210]
push ecx
push 0x55282c
mov ecx, dword [ebp + 8]
call fcn.00468150
jmp 0x480bb1
push 0
push 0x552850
mov ecx, dword [ebp + 8]
call fcn.00468330
cmp eax, 0xffffffff
je 0x480a6a
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0x552930
call fcn.00480bd0
add esp, 0xc
test eax, eax
jne 0x480a51
xor eax, eax
jmp 0x480bc2
lea eax, [ebp - 0x210]
push eax
push str._APPDATA_
mov ecx, dword [ebp + 8]
call fcn.00468150
jmp 0x480bb1
push 0
push 0x552910
mov ecx, dword [ebp + 8]
call fcn.00468330
cmp eax, 0xffffffff
je 0x480abb
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push str._TEMP_
call fcn.00480bd0
add esp, 0xc
test eax, eax
jne 0x480aa2
xor eax, eax
jmp 0x480bc2
lea edx, [ebp - 0x210]
push edx
push 0x5528ec
mov ecx, dword [ebp + 8]
call fcn.00468150
jmp 0x480bb1
push 0
push str._SYSTEM_
mov ecx, dword [ebp + 8]
call fcn.00468330
cmp eax, 0xffffffff
je 0x480b05
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
ja 0x480aec
xor eax, eax
jmp 0x480bc2
lea ecx, [ebp - 0x210]
push ecx
push 0x5528c4
mov ecx, dword [ebp + 8]
call fcn.00468150
jmp 0x480bb1
push 0
push 0x5528d8
mov ecx, dword [ebp + 8]
call fcn.00468330
cmp eax, 0xffffffff
je 0x480b4c
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
ja 0x480b36
xor eax, eax
jmp 0x480bc2
lea eax, [ebp - 0x210]
push eax
push str._WINDOWS_
mov ecx, dword [ebp + 8]
call fcn.00468150
jmp 0x480bb1
push 0
push str._CUR_DIR_
mov ecx, dword [ebp + 8]
call fcn.00468330
cmp eax, 0xffffffff
je 0x480bad
push 0x20a
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.004f2e30
add esp, 0xc
push 0x105
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x210]
push ecx
push 0x55296c
mov ecx, dword [ebp + 8]
call fcn.00468150
jmp 0x480bb1
xor eax, eax
jmp 0x480bc2
mov edx, dword [ebp + 8]
push edx
call fcn.00480d50
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret