joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433930
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
push 0x25
mov eax, dword [ebp + 8]
push eax
call fcn.0044f7d0
add esp, 8
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x43395e
or eax, 0xffffffff
jmp 0x433ae4
push 0x25
mov ecx, dword [ebp - 0x428]
add ecx, 2
push ecx
call fcn.0044f7d0
add esp, 8
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x433989
or eax, 0xffffffff
jmp 0x433ae4
xor edx, edx
mov word [ebp - 0x420], dx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x428], eax
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x42c], ecx
mov edx, dword [ebp - 0x428]
movzx eax, word [edx]
test eax, eax
je 0x433ab5
mov ecx, dword [ebp - 0x428]
movzx edx, word [ecx]
cmp edx, 0x25
je 0x4339f8
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x428]
mov dx, word [ecx]
mov word [eax], dx
mov eax, dword [ebp - 0x42c]
add eax, 2
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x428]
add ecx, 2
mov dword [ebp - 0x428], ecx
jmp 0x4339a7
push 0x25
mov edx, dword [ebp - 0x428]
add edx, 2
push edx
call fcn.0044f7d0
add esp, 8
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x433a23
or eax, 0xffffffff
jmp 0x433ae4
mov eax, dword [ebp - 0x424]
sub eax, dword [ebp - 0x428]
sar eax, 1
push eax
mov ecx, dword [ebp - 0x428]
add ecx, 2
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x104
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x644], eax
cmp dword [ebp - 0x644], 0
jbe 0x433aa1
lea edx, [ebp - 0x640]
push edx
mov eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x640]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x42c]
lea eax, [edx + eax*2]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x424]
add ecx, 2
mov dword [ebp - 0x428], ecx
jmp 0x4339a7
xor edx, edx
mov eax, dword [ebp - 0x42c]
mov word [eax], dx
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x433ae2
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x433c00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
jmp 0x433c36
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0xc], edx
jge 0x433cd0
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax + 8], 0
je 0x433c68
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x28
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx + 8]
mov dword [ebp - 0x14], ecx
jmp 0x433c78
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x28
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ecx + eax + 0xc]
jb 0x433ccb
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax + 0xc]
add edx, dword [ebp - 0x10]
cmp dword [ebp + 0xc], edx
jae 0x433ccb
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x14]
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
sub esi, dword [ecx + eax + 0xc]
add edx, esi
mov eax, edx
jmp 0x433cd2
jmp 0x433c2d
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x433ce0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x433d01
xor eax, eax
jmp 0x433d38
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
je 0x433d10
xor eax, eax
jmp 0x433d38
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x14]
cmp eax, 0xe0
jge 0x433d22
xor eax, eax
jmp 0x433d38
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x88]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00433c00
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x4349b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00435560
mov dword [ebp - 0x40c], 0x400
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [ebp - 0x408]
push edx
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00411da0
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x434a13
lea ecx, [ebp - 0x408]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00411d80
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x437180
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522659
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xd8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.004218e0
mov byte [ebp - 4], 1
push 0x52fc64
lea ecx, [ebp - 0x18]
call fcn.0041f070
lea ecx, [ebp - 0x18]
call fcn.00459cf0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401640
jmp 0x4371f9
mov dword [ebp - 4], 0xffffffff
push 0x53db7c
mov ecx, dword [str.c:logFile.txt]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004e8080
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x437223
jmp 0x43732d
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
mov eax, dword [ebp + 8]
push eax
call fcn.004218e0
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 4], 3
lea edx, [ebp - 0xc4]
push edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc8]
call fcn.00438770
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0xd8]
call fcn.00459cf0
push eax
lea ecx, [ebp - 0xbc]
call fcn.0041f550
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xe0]
call fcn.00459cf0
push eax
lea ecx, [ebp - 0x38]
call fcn.004025c0
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xe8]
call fcn.00419640
push eax
push 0x5381a4
mov eax, dword [ebp - 0x14]
push eax
call fcn.004e8120
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.00401ef0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xbc]
call fcn.0041f590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00401640
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004e6d80
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4374a0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5226da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28c
mov dword [ebp - 0x274], ecx
mov dword [ebp - 4], 0
push 0x53db80
mov ecx, 0x583380
call fcn.00410130
push ecx
mov ecx, esp
mov dword [ebp - 0x260], esp
lea eax, [ebp + 8]
push eax
call fcn.004100e0
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x274]
mov edx, dword [eax]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x274]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x284], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x284]
push edx
lea ecx, [ebp + 8]
call fcn.00421ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.00401640
push 0x104
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp + 8]
call fcn.00459cf0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00411c50
mov byte [ebp - 4], 3
sub esp, 0xc
mov edx, esp
mov dword [ebp - 0x268], esp
push edx
lea ecx, [ebp - 0x2c]
call fcn.0043a0a0
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 4
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x26c], esp
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0043a040
mov dword [ebp - 0x290], eax
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x294], edx
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.0043dfb0
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.00419640
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
jne 0x43763a
mov byte [ebp - 0x26d], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00401ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00411d30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401640
mov al, byte [ebp - 0x26d]
jmp 0x4376ac
mov eax, dword [ebp - 0x50]
and eax, 0x10
je 0x437678
mov byte [ebp - 0x26e], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00401ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00411d30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401640
mov al, byte [ebp - 0x26e]
jmp 0x4376ac
mov byte [ebp - 0x26f], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00401ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00411d30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401640
mov al, byte [ebp - 0x26f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x437a40
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x437a7f
xor eax, eax
jmp 0x437aef
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x437aa0
jmp 0x437acc
cmp dword [ebp + 0xc], 0
je 0x437ab7
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x437adc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0xffffffff
je 0x437aec
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x440680
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52371e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041f8a0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0041f8a0
mov byte [ebp - 4], 3
lea edx, [ebp + 0x18]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0041f8a0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00442a90
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [edx + 0x4c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x24]
mov dword [ecx + 0x50], edx
push 0x3f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x50]
push ecx
call fcn.0044b610
add esp, 8
cmp eax, 1
je 0x44080f
push 0x3f
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x50]
push eax
call fcn.0044b610
add esp, 8
test eax, eax
je 0x44080f
push 0x3f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x50]
push edx
call fcn.0044b610
add esp, 8
cmp eax, 2
jne 0x440773
mov dword [ebp - 0x14], 0x6e000300
jmp 0x440807
push 0x3f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x50]
push ecx
call fcn.0044b610
add esp, 8
cmp eax, 4
jne 0x440792
mov dword [ebp - 0x18], 0x7080001b
jmp 0x440801
push 0x3f
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x50]
push eax
call fcn.0044b610
add esp, 8
cmp eax, 8
jne 0x4407b1
mov dword [ebp - 0x1c], 0x7181a01b
jmp 0x4407fb
push 0x3f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x50]
push edx
call fcn.0044b610
add esp, 8
cmp eax, 0x10
jne 0x4407d0
mov dword [ebp - 0x20], 0x6e080304
jmp 0x4407f5
push 0x3f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x50]
push ecx
call fcn.0044b610
add esp, 8
sub eax, 0x20
neg eax
sbb eax, eax
and eax, 0x8f77ffe1
add eax, 0x7088001f
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
jmp 0x440816
mov dword [ebp - 0x24], 0x8775dfb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x5c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5c]
and eax, 0x40000000
je 0x440837
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00442b80
mov ecx, dword [ebp - 0x10]
call fcn.004426d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043bac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0043bac0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x440870
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x30
call fcn.00442ca0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
call fcn.00442a00
mov eax, dword [ebp - 0x1c]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00411f50
movzx ecx, al
test ecx, ecx
je 0x4408db
push 0xe
mov ecx, dword [ebp - 0x1c]
call fcn.004426b0
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x30
call fcn.00442bd0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x30
call fcn.00442d20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x50]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0x1c]
call fcn.00441780
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], eax
jmp 0x440935
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cdd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524476
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x414
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x424], ecx
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x41c], 0x400
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x44ce8a
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x44ce80
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44ce80
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44ce9d
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44cf40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov dword [ebp - 0x154], ecx
push 0x24
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.004df590
add esp, 0xc
push 0x11c
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.004df590
add esp, 0xc
mov dword [ebp - 0x150], 0x11c
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44cf99
xor al, al
jmp 0x44cff1
push str.GetNativeSystemInfo
push 0x53ff34
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44cfc2
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 4]
jmp 0x44cfcc
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x140], 2
jne 0x44cfde
cmp dword [ebp - 0x14c], 4
ja 0x44cfe2
mov al, 1
jmp 0x44cff1
movzx edx, byte [ebp - 0x36]
cmp edx, 1
je 0x44cfef
mov al, 1
jmp 0x44cff1
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push str.C:WINDOWS_system32drivers_vmmouse.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44d121
mov al, 1
jmp 0x44d123
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push str.C:WINDOWS_system32drivers_vmhgfs.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44d151
mov al, 1
jmp 0x44d153
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x44d160
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push str.C:WINDOWS_system32driversVBoxMouse.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44d181
mov al, 1
jmp 0x44d183
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x44d350
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.sbiedll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x44d370
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44d3a4
push str.wine_get_unix_file_name
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
neg eax
sbb eax, eax
neg eax
jmp 0x44d3a6
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x44d650
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 4]
test ecx, ecx
jne 0x44d6bc
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x44d686
mov eax, dword [ebp - 0x14]
jmp 0x44d7ac
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x44d6b5
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
jmp 0x44d7ac
mov edx, dword [ebp - 0x18]
mov byte [edx + 4], 1
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.0044e900
add esp, 4
push eax
push 0x540554
push 0x17
push 0
push 0x562218
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x44d6f5
mov eax, dword [ebp - 0x14]
jmp 0x44d7ac
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x80
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x44d73d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 0x14]
jmp 0x44d7ac
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
push 0
push 0x20
mov eax, dword [ebp + 0xc]
push eax
push 0x54054c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x44d78d
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
mov eax, dword [ebp - 0x14]
jmp 0x44d7ac
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x451970
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524dc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
push str.openUrlOnDefaultBrowser
mov ecx, 0x583380
call fcn.00410130
mov byte [ebp - 4], 1
push 1
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00459cf0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x451a68
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x460f60
Capabilities:
Connect to http server
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_37.0.2062.120_Safari_537.36
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
push 3
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 8], 0
jne 0x460fdf
xor al, al
jmp 0x460fe1
mov al, 1
mov esp, ebp
pop ebp
ret 8