joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420b00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x224
mov eax, dword [0x471050]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x228]
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x24]
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov ebp, 0x200
jmp 0x420b48
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
sub ecx, edx
mov dword [esp + 0x18], ecx
je 0x420ba2
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x420b66
mov ebx, esi
call fcn.00415670
mov edx, dword [esp + 0x18]
mov edi, dword [esi + 8]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.00418d60
mov dword [edi], eax
mov dword [edi + 8], 4
add dword [esi + 8], 0x10
inc dword [esp + 0x2c]
lea edx, [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x28]
push edx
mov dword [esp + 0x20], ecx
call fcn.004114a0
add esp, 4
mov edi, dword [esp + 0x23c]
cmp ebp, edi
jbe 0x420baf
mov ebp, edi
mov eax, dword [esp + 0x10]
push eax
push ebp
lea ecx, [esp + 0x30]
push 1
push ecx
call fcn.00443b61
mov ecx, dword [esp + 0x2c]
add ecx, eax
add esp, 0x10
sub edi, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x23c], edi
je 0x420be1
cmp eax, ebp
je 0x420b44
lea esi, [esp + 0x1c]
call fcn.00411430
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
call fcn.004105d0
mov dword [esp + 0x20], 1
test edi, edi
je 0x420c17
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
call fcn.0040fea0
test eax, eax
ja 0x420c17
xor eax, eax
jmp 0x420c1c
mov eax, 1
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042c9e9
add esp, 0x224
ret
Function at 0x420b1d
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x224
mov eax, dword [0x471050]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x228]
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x24]
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov ebp, 0x200
jmp 0x420b48
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
sub ecx, edx
mov dword [esp + 0x18], ecx
je 0x420ba2
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x420b66
mov ebx, esi
call fcn.00415670
mov edx, dword [esp + 0x18]
mov edi, dword [esi + 8]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.00418d60
mov dword [edi], eax
mov dword [edi + 8], 4
add dword [esi + 8], 0x10
inc dword [esp + 0x2c]
lea edx, [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x28]
push edx
mov dword [esp + 0x20], ecx
call fcn.004114a0
add esp, 4
mov edi, dword [esp + 0x23c]
cmp ebp, edi
jbe 0x420baf
mov ebp, edi
mov eax, dword [esp + 0x10]
push eax
push ebp
lea ecx, [esp + 0x30]
push 1
push ecx
call fcn.00443b61
mov ecx, dword [esp + 0x2c]
add ecx, eax
add esp, 0x10
sub edi, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x23c], edi
je 0x420be1
cmp eax, ebp
je 0x420b44
lea esi, [esp + 0x1c]
call fcn.00411430
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
call fcn.004105d0
mov dword [esp + 0x20], 1
test edi, edi
je 0x420c17
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
call fcn.0040fea0
test eax, eax
ja 0x420c17
xor eax, eax
jmp 0x420c1c
mov eax, 1
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042c9e9
add esp, 0x224
ret
Function at 0x420ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
push esi
push edi
mov edi, dword [ebx + 8]
sub edi, dword [ebx + 0xc]
mov dword [esp + 0x18], 1
sar edi, 4
sub edi, 1
je 0x4210be
mov esi, dword [ebp + 0xc]
dec edi
mov eax, esi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.0040fb30
cmp eax, 0x45f2d8
je 0x4210f7
cmp dword [eax + 8], 3
jne 0x4210f7
cmp dword [esp + 0x18], 0
je 0x4210aa
mov eax, esi
mov ecx, ebx
call fcn.0040fb30
mov ecx, dword [eax + 8]
cmp ecx, 3
je 0x421089
cmp ecx, 4
jne 0x4210f3
mov esi, dword [eax]
add esi, 0x10
lea edi, [esp + 0x28]
call fcn.004121b0
mov edi, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x4210f3
fld qword [esp + 0x28]
mov dword [esp + 0x38], 3
fstp qword [esp + 0x30]
lea eax, [esp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 8]
sub esp, 8
fstp qword [esp]
push str._.14g
push eax
call fcn.00443b7e
add esp, 0x10
test eax, eax
jg 0x42118b
mov dword [esp + 0x18], 0
inc esi
mov dword [ebp + 0xc], esi
test edi, edi
jne 0x421015
call fcn.0042e607
cmp dword [esp + 0x18], 0
mov eax, dword [eax]
mov dword [esp + 0x24], eax
je 0x421198
mov eax, dword [ebx + 8]
mov dword [eax], 1
mov dword [eax + 8], 1
add dword [ebx + 8], 0x10
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
fldz
jmp 0x42108b
lea ecx, [esp + 0x20]
push ecx
push esi
mov eax, ebx
call fcn.0040fe30
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
jne 0x421162
mov edi, dword [str.string]
mov eax, esi
mov ecx, ebx
call fcn.0040fb30
cmp eax, 0x45f2d8
je 0x42112d
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
jne 0x421134
mov eax, str.no_value
jmp 0x42113b
mov eax, dword [eax*4 + 0x45f1cc]
push eax
push edi
push str._s_expected__got__s
mov eax, ebx
call fcn.00410010
mov ecx, esi
add esp, 0xc
mov edi, eax
mov esi, ebx
call fcn.004107c0
mov edi, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x18], 0
je 0x4210aa
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
push edx
push ecx
push 1
push eax
call fcn.00445c14
add esp, 0x10
cmp eax, dword [esp + 0x20]
jne 0x4210aa
mov dword [esp + 0x18], 1
jmp 0x4210b2
mov edx, dword [ebx + 8]
mov dword [edx + 8], 0
mov esi, 0x10
add dword [ebx + 8], esi
push eax
call fcn.00443582
add esp, 4
push eax
push 0x4602b0
mov eax, ebx
call fcn.00410010
fild dword [esp + 0x2c]
mov eax, dword [ebx + 8]
add esp, 8
fstp qword [eax]
mov dword [eax + 8], 3
add dword [ebx + 8], esi
pop edi
lea eax, [esi - 0xd]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42c9e9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x471050]
jne 0x42c9f3
repz ret
jmp fcn.0042e156
Function at 0x437677
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042e95c
and dword [ebp - 4], 0
cmp dword [0x4735dc], 0
mov ebx, eax
jne 0x437728
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4377d9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4377d9
push eax
call fcn.0042e8ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4735dc], eax
call esi
push eax
call fcn.0042e8ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4735e0], eax
call esi
push eax
call fcn.0042e8ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4735e4], eax
call esi
push eax
call fcn.0042e8ea
pop ecx
mov dword [0x4735ec], eax
test eax, eax
je 0x437728
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042e8ea
pop ecx
mov dword [0x4735e8], eax
mov eax, dword [0x4735e8]
cmp eax, ebx
je 0x437780
cmp dword [0x4735ec], ebx
je 0x437780
push eax
call fcn.0042e965
push dword [0x4735ec]
mov esi, eax
call fcn.0042e965
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x437780
test edi, edi
je 0x437780
call esi
test eax, eax
je 0x437777
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x437777
test byte [ebp - 0xc], 1
jne 0x437780
or dword [ebp + 0x10], 0x200000
jmp 0x4377b9
mov eax, dword [0x4735e0]
cmp eax, ebx
je 0x4377b9
push eax
call fcn.0042e965
pop ecx
test eax, eax
je 0x4377b9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4377b9
mov eax, dword [0x4735e4]
cmp eax, ebx
je 0x4377b9
push eax
call fcn.0042e965
pop ecx
test eax, eax
je 0x4377b9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4735dc]
call fcn.0042e965
pop ecx
test eax, eax
je 0x4377d9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4377db
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x440710
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x918
mov eax, dword [0x471050]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x440733
mov eax, 0x80070057
jmp 0x440833
mov eax, dword [0x45c004]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x45c008]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x45c00c]
mov dword [ebp - 0xc], edx
mov eax, dword [0x45c010]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004417d0
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x440830
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00440d20
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x440830
xor ecx, ecx
mov word [ebp - 0x118], cx
push 0xfe
push 0
lea edx, [ebp - 0x116]
push edx
call fcn.0042e870
add esp, 0xc
push 0x80
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x440830
lea edx, [ebp - 0x118]
push edx
push str.SoftwareClassesSoftwareMicrosoftWindowsCurrentVersionGameUXGamesToFindOnWindowsUpgrade_s
push 0x400
lea eax, [ebp - 0x918]
push eax
call fcn.004012b0
add esp, 0x10
test eax, eax
jl 0x4407fa
lea ecx, [ebp - 0x918]
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea edx, [ebp - 0x118]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionGameUXGamesToFindOnWindowsUpgrade_s
push 0x400
lea eax, [ebp - 0x918]
push eax
call fcn.004012b0
add esp, 0x10
test eax, eax
jl 0x440830
lea ecx, [ebp - 0x918]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c9e9
mov esp, ebp
pop ebp
ret
Function at 0x440bf0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x471050]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x429], 0
push 0x100
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x440c46
jmp 0x440d07
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
lea edx, [ebp - 0x428]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x440cec
mov dword [ebp - 8], 0x208
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 4]
push eax
push 0
push str.GDFBinaryPath
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x440ce2
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.0044349a
add esp, 8
test eax, eax
jne 0x440ce2
mov byte [ebp - 0x429], 1
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.00440a80
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [ebp - 0x429]
test ecx, ecx
je 0x440cf9
jmp 0x440d07
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x440c18
mov al, byte [ebp - 0x429]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0042c9e9
mov esp, ebp
pop ebp
ret
Function at 0x4414e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x471050]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
je 0x4414ff
cmp dword [ebp + 0x10], 0
jne 0x441509
mov eax, 0x80070057
jmp 0x441616
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x441613
lea eax, [ebp - 8]
push eax
push 0x45a5bc
push 1
push 0
push 0x45a5cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x44160d
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x50]
call edx
cmp dword [ebp + 0xc], 0
je 0x44156f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
cmp dword [ebp + 0x14], 0
je 0x4415bb
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x410]
push eax
push 0x200
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp dword [ebp - 0x414], 0
je 0x4415a6
xor edx, edx
mov eax, dword [ebp - 0x414]
mov word [eax], dx
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x24]
call edx
lea eax, [ebp - 0xc]
push eax
push 0x45a5dc
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x4415ff
push 1
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
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
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c9e9
mov esp, ebp
pop ebp
ret
Function at 0x441630
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc28
mov eax, dword [0x471050]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x441655
cmp dword [ebp + 0x10], 0
je 0x441655
cmp dword [ebp + 0x14], 0
jne 0x44165f
mov eax, 0x80070057
jmp 0x4417b4
cmp dword [ebp + 8], 2
jne 0x44167c
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x441691
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, dword [0x45c004]
mov dword [ebp - 0xc20], edx
mov eax, dword [0x45c008]
mov dword [ebp - 0xc1c], eax
mov ecx, dword [0x45c00c]
mov dword [ebp - 0xc18], ecx
mov edx, dword [0x45c010]
mov dword [ebp - 0xc14], edx
lea eax, [ebp - 0xc20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00440d20
add esp, 8
mov dword [ebp - 0xc24], eax
cmp dword [ebp - 0xc24], 0
jge 0x4416ed
mov eax, dword [ebp - 0xc24]
jmp 0x4417b4
push 0x100
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0xc20]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x441714
mov eax, 0x80004005
jmp 0x4417b4
cmp dword [ebp + 0x20], 0
je 0x441726
mov dword [ebp - 0xc28], str.SupportTasks
jmp 0x441730
mov dword [ebp - 0xc28], str.PlayTasks
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 0xc28]
push edx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x210]
push ecx
push str._sMicrosoftWindowsGameExplorer_s_s_d
push 0x200
lea edx, [ebp - 0xc10]
push edx
call fcn.004012b0
add esp, 0x1c
push 0
lea eax, [ebp - 0xc10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xc10]
push edx
push str._s_s.lnk
push 0x200
lea eax, [ebp - 0x610]
push eax
call fcn.004012b0
add esp, 0x14
mov ecx, dword [ebp + 0x24]
push ecx
lea edx, [ebp - 0x610]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004414e0
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c9e9
mov esp, ebp
pop ebp
ret
Function at 0x4417d0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa50
mov eax, dword [0x471050]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x4417f3
mov eax, 0x80070057
jmp 0x4419f8
xor eax, eax
mov word [ebp - 0x628], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x626]
push ecx
call fcn.0042e870
add esp, 0xc
lea edx, [ebp - 0x840]
push edx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x844], 0
jge 0x441841
mov eax, dword [ebp - 0x844]
jmp 0x4419f8
lea eax, [ebp - 0xa50]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x844], 0
jge 0x441870
mov eax, dword [ebp - 0x844]
jmp 0x4419f8
mov ecx, dword [0x45c004]
mov dword [ebp - 0x638], ecx
mov edx, dword [0x45c008]
mov dword [ebp - 0x634], edx
mov eax, dword [0x45c00c]
mov dword [ebp - 0x630], eax
mov ecx, dword [0x45c010]
mov dword [ebp - 0x62c], ecx
lea edx, [ebp - 0x638]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00440d20
add esp, 8
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x844], 0
jge 0x4418cc
mov eax, dword [ebp - 0x844]
jmp 0x4419f8
push 0x100
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x638]
push edx
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x4418f3
mov eax, 0x80004005
jmp 0x4419f8
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x840]
push ecx
push 0x45af18
push 0x200
lea edx, [ebp - 0x628]
push edx
call fcn.004012b0
add esp, 0x14
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x844], 0
jge 0x441934
mov eax, dword [ebp - 0x844]
jmp 0x4419f8
push 0x1e
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.0042e870
add esp, 0xc
mov dword [ebp - 0x224], 3
lea ecx, [ebp - 0x628]
mov dword [ebp - 0x220], ecx
mov edx, 0x414
mov word [ebp - 0x218], dx
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0xa50]
push edx
push str._sMicrosoftWindowsGameExplorer_s
push 0x200
lea eax, [ebp - 0x628]
push eax
call fcn.004012b0
add esp, 0x14
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x844], 0
jge 0x4419b4
mov eax, dword [ebp - 0x844]
jmp 0x4419f8
push 0x1e
push 0
lea ecx, [ebp - 0x228]
push ecx
call fcn.0042e870
add esp, 0xc
mov dword [ebp - 0x224], 3
lea edx, [ebp - 0x628]
mov dword [ebp - 0x220], edx
mov eax, 0x414
mov word [ebp - 0x218], ax
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c9e9
mov esp, ebp
pop ebp
ret
Function at 0x443370
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
push 0x45ba60
push 1
push 0
push 0x45ba50
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x4433d9
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x4433d9
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
cmp dword [ebp - 4], 0
je 0x4433ed
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x10], 0
je 0x443401
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x44a909
call fcn.0042e61a
mov dword [eax], esi
call fcn.0042e607
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0042ccae
add esp, 0x14
push 0x16
pop eax
jmp 0x44a95e
test dword [ebp + 0xc], 0xfffffff9
jne 0x44a8e5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44a936
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042e62d
pop ecx
call fcn.0042e607
mov eax, dword [eax]
jmp 0x44a95e
test al, 0x10
jne 0x44a95c
test al, 1
je 0x44a95c
test byte [ebp + 0xc], 2
je 0x44a95c
call fcn.0042e61a
mov dword [eax], 5
call fcn.0042e607
mov dword [eax], 0xd
jmp 0x44a92d
xor eax, eax
pop esi
pop ebp
ret
Function at 0x403d0e
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61e220
push 0x466254
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
and dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
jmp 0x403d6e
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408970
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.005ed33d
mov ecx, esi
call fcn.005e2360
mov ecx, esi
call fcn.005e226f
push 0x22
mov ecx, esi
call fcn.005e1ade
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 8], ebx
je 0x408a64
push edi
push ebx
push 0x66ae40
mov ecx, esi
call fcn.005e1d4b
push ebx
push 0x66ae34
mov ecx, esi
mov edi, eax
call fcn.005e1d4b
cmp edi, 0xffffffff
je 0x4089dc
mov eax, dword [esi]
mov eax, dword [eax - 8]
sub eax, edi
sub eax, 4
add edi, 4
push eax
push edi
jmp 0x4089f0
cmp eax, 0xffffffff
je 0x4089f7
mov ecx, dword [esi]
mov ecx, dword [ecx - 8]
sub ecx, eax
sub ecx, 4
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.005e1766
push 0x25
mov ecx, esi
call fcn.005ed2cd
cmp eax, 0xffffffff
je 0x408a47
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push 0x104
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, esi
call fcn.005ecd19
lea eax, [ebp - 0x208]
mov ecx, esi
push eax
push ebx
call fcn.005e1861
push 0x3a
mov ecx, esi
call fcn.005e1d1b
cmp eax, ebx
pop edi
jl 0x408a64
cmp eax, 1
je 0x408a64
dec eax
mov ecx, esi
push eax
push ebx
call fcn.005e1766
push 1
pop eax
pop esi
pop ebx
leave
ret 4