joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b954c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
dec al
je 0x4b9570
dec al
je 0x4b9579
dec al
je 0x4b9582
dec al
je 0x4b958b
jmp 0x4b9594
mov dword [ebp - 0x14], 1
jmp 0x4b9599
mov dword [ebp - 0x14], 2
jmp 0x4b9599
mov dword [ebp - 0x14], 4
jmp 0x4b9599
mov dword [ebp - 0x14], 3
jmp 0x4b9599
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004052ac
push eax
mov eax, dword [ebp - 4]
call fcn.004b9170
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete byte [ebp - 0xd]
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 8

Function at 0x4b9e60
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x4ba000
push 1
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00406fe4
mov ecx, eax
mov edx, 0x4ba010
mov eax, 0x705664
call fcn.004d7108
test al, al
je 0x4b9ff2
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4b9ebc
cmp byte [0x7063b0], 0
je 0x4b9ebc
push 0
push 0x16
mov edx, 0x4ba028
mov eax, 0xfffffffb
call fcn.004b5744
push 0
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00406fe4
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x4b9efe
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
jne 0x4b9ff2
mov edx, 0x705694
mov eax, dword [ebp - 8]
call fcn.004b63e0
test al, al
je 0x4b9ff2
cmp byte [0x7063b0], 0
je 0x4b9f3c
push 0
push 6
mov edx, 0x4ba028
mov eax, 0xfffffffb
call fcn.004b5744
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4b9f50
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00406fe4
push 0x4ba000
push 1
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00406fe4
mov ecx, eax
mov edx, 0x4ba010
mov eax, 0x705664
call fcn.004d7108
test al, al
je 0x4b9ff2
cmp byte [0x7063b0], 0
je 0x4b9f93
push 0
push 7
mov edx, 0x4ba028
mov eax, 0xfffffffb
call fcn.004b5744
push 0
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00406fe4
push eax
push 0x7056a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x4b9fd6
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
cmp byte [0x7063b0], 0
je 0x4b9ff2
push 0
push 8
mov edx, 0x4ba028
mov eax, 0xfffffffb
call fcn.004b5744
pop ecx
pop ecx
pop ebp
ret
Function at 0x4bd828
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
xor eax, eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4bda69
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCurrentProcessId
mov edx, eax
mov eax, 8
call fcn.004ad1ec
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4bda33
push 0
push 0xa0a0a0
mov edx, 0x4bda7c
mov eax, 0xfffffffb
call fcn.004b5744
mov dword [ebp - 0x240], 0x224
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.004ad20c
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
jmp 0x4bda20
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x220]
mov ecx, pe_nt_image_headers32
call fcn.00405048
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x120]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.004b61a0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x120]
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4bda01
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4bda88
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4bda01
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4bdaac
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
mov dword [ebp - 0x258], eax
mov byte [ebp - 0x254], 0
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 2]
mov dword [ebp - 0x250], eax
mov byte [ebp - 0x24c], 0
lea edx, [ebp - 0x258]
mov ecx, 1
mov eax, 0x4bdac8
call fcn.0040c2b0
push dword [ebp - 0x248]
push 0x4bdadc
lea eax, [ebp - 0x244]
mov edx, 3
call fcn.00405174
mov eax, dword [ebp - 0x244]
call fcn.004052ac
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4bda01
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
call fcn.004050b4
mov edx, 0x14
sub edx, eax
lea ecx, [ebp - 0x25c]
mov al, 0x20
call fcn.0040549c
push dword [ebp - 0x25c]
lea eax, [ebp - 0x260]
mov edx, dword [ebp - 0x10]
call fcn.00404fd0
push dword [ebp - 0x260]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405174
push 0
push 0xa0a0a0
mov edx, dword [ebp - 0x1c]
mov eax, 0xfffffffb
call fcn.004b5744
mov eax, dword [ebp - 0xc]
call fcn.004b61c4
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.004ad22c
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
jne 0x4bd8b6
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bda70
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00404df4
lea eax, [ebp - 0x248]
mov edx, 2
call fcn.00404df4
lea eax, [ebp - 0x1c]
call fcn.00404dd0
ret
Function at 0x4c2294
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dd0
mov eax, 0x105
call fcn.004b61a0
mov dword [ebp - 8], eax
push 0x104
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x4c2303
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404fd0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004050b4
test eax, eax
jle 0x4c2303
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004050b4
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x4c2303
mov eax, dword [ebp - 4]
mov edx, 0x4c2318
call fcn.004050bc
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004b61c4
pop ecx
pop ecx
pop ebp
ret

Function at 0x4cbeb4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cbfc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x15], 0
jmp 0x4cbf9c
cmp dword [ebp - 0x14], 5
jne 0x4cbf01
mov byte [ebp - 0x15], 1
jmp 0x4cbf9c
inc dword [ebp - 0x14]
inc dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
jne 0x4cbf26
mov byte [ebp - 0x15], 1
jmp 0x4cbf9c
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 0xc]
call fcn.00404fd0
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, 0x1fe
call fcn.004b5f74
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4cbf81
mov eax, dword [ebp - 0x1c]
call fcn.00403fa4
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404fd0
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp + 0xc]
call fcn.00404fd0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004cbcf8
mov byte [ebp - 0xd], 1
mov byte [ebp - 0x15], 1
jmp 0x4cbf9c
lea eax, [ebp - 0x2c]
mov edx, dword [ebp + 0xc]
call fcn.00404fd0
mov edx, dword [ebp - 0x2c]
mov ecx, 0x4cbfdc
mov eax, dword [ebp - 4]
call fcn.004cbcf8
cmp byte [ebp - 0x15], 0
je 0x4cbef2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbfc8
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404df4
ret
Function at 0x4cbfe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cc0bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x4cc0a2
lea eax, [ebp - 0x18]
mov edx, dword [ebp + 0xc]
call fcn.00404fd0
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov eax, 0x1ff
call fcn.004b5f74
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4cc087
mov eax, dword [ebp - 0x14]
call fcn.00403fa4
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404fd0
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 0xc]
call fcn.00404fd0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004cbcf8
mov byte [ebp - 0xd], 1
jmp 0x4cc0a2
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 0xc]
call fcn.00404fd0
mov edx, dword [ebp - 0x24]
mov ecx, 0x4cc0d8
mov eax, dword [ebp - 4]
call fcn.004cbcf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc0c4
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404df4
ret

Function at 0x4cc9a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040529c
xor eax, eax
push ebp
push 0x4cca75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404dd0
mov eax, 0x105
call fcn.004b61a0
mov dword [ebp - 0xc], eax
mov eax, 0x105
call fcn.004b61a0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x4cca47
lea eax, [ebp - 0x44]
push eax
mov ecx, 9
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040530c
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x3d]
call fcn.0040bbd4
mov eax, dword [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x3d]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4cca47
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00404fd0
mov eax, dword [ebp - 0x10]
call fcn.004b61c4
mov eax, dword [ebp - 0xc]
call fcn.004b61c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cca7c
lea eax, [ebp - 0x44]
call fcn.00404dd0
lea eax, [ebp - 4]
call fcn.00404dd0
ret
Function at 0x4cfcb8
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd58
xor edx, edx
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cfdca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404dd0
mov dl, 1
mov eax, dword [0x4b5538]
call fcn.00403f74
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1a4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x4cfd96
push pe_nt_image_headers32
lea eax, [ebp - 0x2a4]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x4cfd91
lea eax, [ebp - 0x2a4]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cfd91
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x4cfd72
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x2a8]
call fcn.00404fd0
mov edx, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp dword [eax + edx*4], 0
jne 0x4cfd44
cmp dword [ebp - 0x14], 0
jne 0x4cfd91
mov edx, 0x4cfde0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call sub.wsock32.dll_WSACleanup
mov eax, dword [ebp - 0x10]
call fcn.004cf860
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00403fa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cfdd1
lea eax, [ebp - 0x2a8]
call fcn.00404dd0
ret

Function at 0x4d7314
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040529c
xor eax, eax
push ebp
push 0x4d73be
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
cmp dword [ebp - 4], 0
je 0x4d73a8
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004d724c
mov byte [ebp - 0x25], al
cmp byte [ebp - 0x25], 0
je 0x4d73a8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x4d73a8
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00406234
call fcn.00406234
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x4d73a2
cmp dword [ebp - 0x20], 0x17d7840
jae 0x4d73a8
jmp 0x4d73a4
jge 0x4d73a8
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d73c5
lea eax, [ebp - 4]
call fcn.00404dd0
ret
Function at 0x4d73cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040529c
xor eax, eax
push ebp
push 0x4d7443
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004d724c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x4d742d
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 4
je 0x4d741d
dec eax
je 0x4d7426
jmp 0x4d742d
mov dword [ebp - 8], 1
jmp 0x4d742d
mov dword [ebp - 8], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d744a
lea eax, [ebp - 4]
call fcn.00404dd0
ret
Function at 0x4df094
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov byte [ebp - 0x1e], cl
mov byte [ebp - 0x1d], dl
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*8 + 0x3a4], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 7
jne 0x4df0a8
mov eax, dword [ebp - 4]
add eax, 0x3a0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 2
mov eax, dword [ebp - 0xc]
mov edx, 0x4df1ac
call fcn.00404e24
mov eax, dword [ebp - 0xc]
add eax, 0xc
call fcn.00404dd0
mov eax, dword [ebp - 4]
add eax, 0x3c8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
mov eax, dword [ebp - 0x10]
mov edx, 0x4df1cc
call fcn.00404e24
mov eax, dword [ebp - 0x10]
add eax, 0xc
call fcn.00404dd0
mov eax, dword [ebp - 4]
add eax, 0x440
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x14]
mov edx, 0x4df1e4
call fcn.00404e24
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
add eax, 0x468
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x18]
mov edx, 0x4df1fc
call fcn.00404e24
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
add eax, 0x490
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x1c]
mov edx, 0x4df218
call fcn.00404e24
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax + 8], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e0f04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040529c
xor eax, eax
push ebp
push 0x4e108c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404dd0
cmp byte [ebp - 9], 0
je 0x4e0f51
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004df22c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4e1069
mov eax, 0x105
call fcn.004b61a0
mov dword [ebp - 0x10], eax
mov eax, 0x105
call fcn.004b61a0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x4e100d
lea eax, [ebp - 0x48]
push eax
mov ecx, 9
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040530c
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x41]
call fcn.0040bbd4
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x41]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x398]
mov edx, dword [ebp - 0x10]
call fcn.004cbfe0
test al, al
je 0x4e0fe2
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
call fcn.00404fd0
jmp 0x4e100d
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x41]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x398]
mov edx, dword [ebp - 0x10]
call fcn.004cbeb4
test al, al
je 0x4e100d
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
call fcn.00404fd0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4e1059
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
call fcn.00404fd0
push dword [ebp - 0x4c]
push dword [ebp - 8]
lea eax, [ebp - 0x50]
call fcn.004c133c
push dword [ebp - 0x50]
push 0x4e10a4
mov eax, dword [ebp + 8]
mov edx, 4
call fcn.00405174
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x398]
mov ecx, dword [ebp - 8]
call fcn.004cbcf8
mov eax, dword [ebp - 0x10]
call fcn.004b61c4
mov eax, dword [ebp - 0x14]
call fcn.004b61c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1093
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404df4
lea eax, [ebp - 8]
call fcn.00404dd0
ret
Function at 0x4f7fcc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040529c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4f7ff1
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4f7ffc
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x4f8183
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4f8163
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4f8152
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
mov dl, 1
mov eax, dword [0x4ca0f0]
call fcn.004f8c28
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [0x705464], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4f8096
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
call fcn.004f64f0
mov dword [ebp - 0x18], eax
push 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.004f8e00
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2f4]
call fcn.00403fa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f80a0
mov eax, dword [ebp + 8]
mov edx, dword [0x705464]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 8]
mov dword [eax], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp + 0x2c]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x28]
mov dword [eax], ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x40]
call fcn.00404e24
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x44]
call fcn.00404e24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8159
lea eax, [ebp - 0x14]
call fcn.004b5834
ret
Function at 0x500410
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x50046a
push 0
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x50046a
call sub.user32.dll_EmptyClipboard
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0xc]
push eax
movzx eax, word [ebp - 8]
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
setne byte [ebp - 5]
call sub.user32.dll_CloseClipboard
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret