joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019390
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10051040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov ecx, dword [0x7f94cc]
cmp byte [edi + 0x50], 0
je 0x10019401
mov eax, dword [edi + 0x20]
mov dword [ecx + 0x74], eax
mov eax, dword [0x10051b20]
mov dword [edi + 0x24], 0
cmp dword [eax], 3
jne 0x100193cc
mov dword [eax], 0
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push 0x4db8ce
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 0x50]
mov ecx, 0x4db8ce
mov dword [ecx], eax
mov ax, word [edi + 0x54]
mov word [ecx + 4], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x60
push edi
call fcn.1001aa97
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, edi
xor ecx, ebp
pop edi
call fcn.1001aa54
mov esp, ebp
pop ebp
ret 4

Function at 0x1002c4cb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100421f4
push 0x100421ec
push str.FlsAlloc
push 0x1e
call fcn.1002c2f8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002c4ff
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003e16c]
call esi
jmp 0x1002c505
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002c549
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10042204
push 0x100421fc
push str.FlsGetValue
push 0x20
call fcn.1002c2f8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002c580
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003e16c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1002fb71
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002fc0e
push ebx
push esi
call fcn.1002fb3a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002e976
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002fbbb
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002fc0d
push edi
push eax
call fcn.1002aff4
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002fbdb
call fcn.1002afba
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002fc0c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002e976
add esp, 0x20
test eax, eax
jne 0x1002fbfa
push edi
call fcn.1002afba
jmp 0x1002fc02
push ebx
call fcn.1002afba
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002fc11
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1002fc22
pop esi
ret
push ebx
push edi
push esi
call fcn.1002fb3a
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1002aff4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1002fc4a
push ebx
push esi
push edi
call fcn.1001c2c0
add esp, 0xc
push 0
call fcn.1002afba
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1003000e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002fc5f
Function at 0x10038480
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100384ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100384ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x7fcd0a3c
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x22215b40
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10063f34
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0x2c]
jne 0x10077a6a
jmp 0x10066a81
mov al, ch
mov al, 0x31
mov byte [edi - 1], 0
mov ax, 0xe712
pushfd
not ax
mov dword [esp], ebx
movzx ax, cl
mov ax, 0xbd8d
lea eax, [eax - 0x5c285a2]
lea eax, [0x10077288]
push 0xd24c8398
push 0xd2e4d8a2
mov dword [esp + 4], 0x100664b6
call fcn.10066c1e
dec edi
jno 0x10066a65
sub al, 0x42
das
lodsb al, byte [esi]
dec edi
jne 0x10066aca
pop esp
dec eax
dec eax
sbb ecx, dword [edx]
aas
push cs
lcall 0xf268, 0xbccd5db0
movsb byte es:[edi], byte [esi]
pop es
mov esp, 0xf6a41628
lodsb al, byte [esi]
loope 0x10066b57
adc eax, 0x5d736a18
jecxz 0x10066aca
sbb byte [ebp + ebp*8 + 0x3b5262cb], al
xlatb
adc dword [ecx - 0x5044db4f], eax
wait
or bh, byte [edi + 0x46]
mov ecx, dword [edx - 0x1964a622]
fcmovne st(0), st(5)
mov al, 0xf2
jl 0x10066acb
and dword [eax + 0x76], ebx
adc dword [eax], edi
mov edi, 0xc7fc49f9
movsd dword es:[edi], dword [esi]
fdiv qword [esi + 0x5080a6a0]
push esp
fmul dword [ebx - 0x90f9d50]
mov ch, 0x76
or byte [edi + 0xc0a7c41], al
sub bh, byte [ebx - 0x6d2acc37]
dec edx
sar al, cl
mov bl, 0xdf
invalid
pop ecx
aad 0xde
xor al, ah
shld ax, sp, cl
pop eax
jmp 0x10064115

Function at 0x8003b13
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x800438c], 0x30
mov dword [0x8004394], 0x8003424
mov dword [0x8004390], 2
mov dword [0x8004398], 0
mov dword [0x800439c], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b56
mov dword [0x80043a0], eax
mov dword [0x80043b4], 0x80041cc
mov dword [0x80043ac], 0xf
mov dword [0x80040ee], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043a4], eax
mov dword [0x80043b8], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040f6], ebp
mov dword [0x80043a8], eax
push 0x800438c
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x800440c], eax
push 0
push dword [0x80040ee]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004404], eax
push 1
push dword [0x8004404]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004404]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c14
xor edi, edi
lea ebx, [0x80043bc]
jmp 0x8003c2c
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c1e
jmp 0x8003c40
mov eax, dword [0x80043c4]
call 0x8002b1f
ret
Function at 0x401d20
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
lea ecx, [ebp - 0x14]
mov edi, edx
call fcn.00401c80
movzx eax, byte [ebp - 0x14]
cmp al, 4
jne 0x401d55
push dword [ebp + 8]
push edi
call fcn.00402940
add esp, 8
test eax, eax
mov dword [ebp - 0x18], eax
je 0x401d65
mov ebx, dword [eax + 0x10]
jmp 0x401d6a
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x13]
mov dword [esi + 4], edx
mov dword [esi + 1], ecx
mov byte [esi], al
jmp 0x401db5
mov ebx, 0x4d4210
push 0
call fcn.00403770
add esp, 4
mov edi, edx
push ebx
call fcn.00403770
add esp, 4
movzx ecx, byte [ebp + 0x14]
movzx eax, byte [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0xc]
push edx
push edi
call sub.advapi32.dll_InitiateSystemShutdownW
mov edi, eax
lea eax, [ebp - 0x18]
push eax
call fcn.00402830
add esp, 4
test edi, edi
je 0x401daa
mov byte [esi], 4
jmp 0x401db5
call fcn.00478850
mov byte [esi], 0
mov dword [esi + 4], eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401e20
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00401c80
movzx eax, byte [ebp - 0xc]
cmp al, 4
jne 0x401e4f
push 0x80020003
push 0x11
call sub.user32.dll_ExitWindowsEx
test eax, eax
je 0x401e5f
mov byte [esi], 4
jmp 0x401e6a
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xb]
mov dword [esi + 4], edx
mov dword [esi + 1], ecx
mov byte [esi], al
jmp 0x401e6a
call fcn.00478850
mov byte [esi], 0
mov dword [esi + 4], eax
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
Function at 0x436b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x4dd4b4
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x436b2d
mov dword [esi], 0x80000000
jmp 0x436b4a
push dword [ebp - 8]
call sub.kernel32.dll_lstrlenW
push eax
push dword [ebp - 8]
push esi
call fcn.00467d80
add esp, 0xc
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x436b60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x4dd4c4
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x436b8d
mov dword [esi], 0x80000000
jmp 0x436baa
push dword [ebp - 8]
call sub.kernel32.dll_lstrlenW
push eax
push dword [ebp - 8]
push esi
call fcn.00467d80
add esp, 0xc
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x436bc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x4dd4d4
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x436bed
mov dword [esi], 0x80000000
jmp 0x436c0a
push dword [ebp - 8]
call sub.kernel32.dll_lstrlenW
push eax
push dword [ebp - 8]
push esi
call fcn.00467d80
add esp, 0xc
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x436c20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x4dd4e4
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x436c4d
mov dword [esi], 0x80000000
jmp 0x436c6a
push dword [ebp - 8]
call sub.kernel32.dll_lstrlenW
push eax
push dword [ebp - 8]
push esi
call fcn.00467d80
add esp, 0xc
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x436c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x4dd4f4
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x436cad
mov dword [esi], 0x80000000
jmp 0x436cca
push dword [ebp - 8]
call sub.kernel32.dll_lstrlenW
push eax
push dword [ebp - 8]
push esi
call fcn.00467d80
add esp, 0xc
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
mov eax, esi
add esp, 4
pop esi
pop ebp
ret
Function at 0x436ce0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x4dd504
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x436d0d
mov dword [esi], 0x80000000
jmp 0x436d2a
push dword [ebp - 8]
call sub.kernel32.dll_lstrlenW
push eax
push dword [ebp - 8]
push esi
call fcn.00467d80
add esp, 0xc
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x436d40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x4dd514
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x436d6d
mov dword [esi], 0x80000000
jmp 0x436d8a
push dword [ebp - 8]
call sub.kernel32.dll_lstrlenW
push eax
push dword [ebp - 8]
push esi
call fcn.00467d80
add esp, 0xc
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x436da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x4dd524
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x436dcd
mov dword [esi], 0x80000000
jmp 0x436dea
push dword [ebp - 8]
call sub.kernel32.dll_lstrlenW
push eax
push dword [ebp - 8]
push esi
call fcn.00467d80
add esp, 0xc
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x436e00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x4dd534
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x436e2d
mov dword [esi], 0x80000000
jmp 0x436e4a
push dword [ebp - 8]
call sub.kernel32.dll_lstrlenW
push eax
push dword [ebp - 8]
push esi
call fcn.00467d80
add esp, 0xc
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x436e60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x4dd544
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x436e8d
mov dword [esi], 0x80000000
jmp 0x436eaa
push dword [ebp - 8]
call sub.kernel32.dll_lstrlenW
push eax
push dword [ebp - 8]
push esi
call fcn.00467d80
add esp, 0xc
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
mov eax, esi
add esp, 4
pop esi
pop ebp
ret
Function at 0x436ec0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x4dd554
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x436eed
mov dword [esi], 0x80000000
jmp 0x436f0a
push dword [ebp - 8]
call sub.kernel32.dll_lstrlenW
push eax
push dword [ebp - 8]
push esi
call fcn.00467d80
add esp, 0xc
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
mov eax, esi
add esp, 4
pop esi
pop ebp
ret
Function at 0x449150
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x350
call fcn.00449164
Function at 0x44cff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x5c], ecx
test edi, edi
je 0x44e3ff
call fcn.0044d013
Function at 0x450330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov eax, dword [ebp + 8]
call fcn.00450347
Function at 0x45acc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x428
mov edi, 0x200
xor esi, esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 2
cmp edi, 0x201
jae 0x45ad30
jmp 0x45ad11
mov esi, dword [ebp - 0x10]
jbe 0x45ada4
cmp edi, 0x201
jae 0x45ad30
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], 0x200
lea ebx, [ebp - 0x434]
mov esi, edi
jmp 0x45ad57
sub edi, esi
je 0x45ad4b
mov edx, esi
lea ecx, [ebp - 0x24]
push edi
call fcn.00443bc0
add esp, 4
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
push 0
call sub.kernel32.dll_SetLastError
push ebx
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
mov edi, eax
test eax, eax
jne 0x45ad74
call fcn.004c9ea0
test eax, eax
jne 0x45adf1
cmp edi, esi
jne 0x45ad00
call fcn.004c9ea0
cmp eax, 0x7a
jne 0x45ae0f
lea edi, [esi + esi]
test esi, esi
mov esi, dword [ebp - 0x10]
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x45ad11
jmp 0x45ad30
mov eax, dword [ebp - 0x18]
cmp edi, eax
ja 0x45ae25
lea eax, [ebp - 0x34]
push edi
push ebx
push eax
call fcn.00467d80
add esp, 0xc
movsd xmm0, qword [ebp - 0x34]
mov eax, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x2c]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
test esi, esi
je 0x45ade3
add esi, esi
push 2
push esi
push dword [ebp - 0x14]
call fcn.00401c20
add esp, 0xc
mov eax, dword [ebp + 8]
add esp, 0x428
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004c9ea0
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
mov byte [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx], 0x80000000
test esi, esi
jne 0x45add3
jmp 0x45ade3
push 0x4e1f20
push 0x28
push str.internal_error:_entered_unreachable_code
call fcn.004b4b80
add esp, 0xc
jmp 0x45ae34
push 0x4e1f10
push eax
push edi
call fcn.004ba670
add esp, 0xc
ud2

Function at 0x45ae80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
call sub.kernel32.dll_GetEnvironmentStringsW
test eax, eax
je 0x45ae9c
mov edx, eax
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004c9ea0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], 0x4e1630
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x45fc20
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x38]
push 0x4e1638
push eax
call fcn.004b4af0
add esp, 8
ud2
Function at 0x45b3c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x430
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x43c]
push dword [ebp + 0x10]
call fcn.00481cb0
add esp, 4
mov eax, dword [ebp - 0x43c]
cmp eax, 0x80000000
jne 0x45b406
lea ecx, [ebp - 0x43c]
call fcn.0043ca00
mov dword [edi], 0x80000000
jmp 0x45b59d
mov ecx, dword [ebp - 0x438]
mov esi, 0x200
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x20], ecx
cmp esi, 0x201
jae 0x45b470
jmp 0x45b45e
jbe 0x45b4eb
cmp esi, 0x201
jae 0x45b470
mov dword [ebp - 0x10], 0x200
lea ebx, [ebp - 0x43c]
mov edi, esi
jmp 0x45b49a
mov edi, dword [ebp - 0x14]
sub esi, edi
je 0x45b48e
mov edx, edi
lea ecx, [ebp - 0x2c]
push esi
call fcn.00443bc0
add esp, 4
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push 0
call sub.kernel32.dll_SetLastError
push edi
push ebx
push dword [ebp - 0x20]
call sub.kernel32.dll_GetEnvironmentVariableW
mov esi, eax
test eax, eax
jne 0x45b4be
call fcn.004c9ea0
test eax, eax
jne 0x45b5aa
cmp esi, edi
jne 0x45b450
call fcn.004c9ea0
cmp eax, 0x7a
jne 0x45b5c8
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x45b45e
jmp 0x45b470
mov eax, dword [ebp - 0x10]
cmp esi, eax
ja 0x45b5de
lea eax, [ebp - 0x3c]
push esi
push ebx
push eax
call fcn.00467d80
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45b52a
add eax, eax
push 2
push eax
push dword [ebp - 0x1c]
call fcn.00401c20
add esp, 0xc
cmp edi, 0x80000000
jne 0x45b573
mov edi, dword [ebp + 8]
cmp bl, 3
mov dword [edi], 0x80000000
jne 0x45b586
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x45b561
push dword [ebx + 8]
push eax
push edi
call fcn.00401c20
add esp, 0xc
push 4
push 0xc
push esi
call fcn.00401c20
add esp, 0xc
mov edi, dword [ebp + 8]
jmp 0x45b586
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], edi
mov edi, eax
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [edi + 0xc], ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45b59d
add eax, eax
push 2
push eax
push dword [ebp - 0x20]
call fcn.00401c20
add esp, 0xc
mov eax, edi
add esp, 0x430
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
mov edi, 0x80000000
call fcn.004c9ea0
mov esi, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x45b51a
jmp 0x45b52a
push 0x4e1f20
push 0x28
push str.internal_error:_entered_unreachable_code
call fcn.004b4b80
add esp, 0xc
jmp 0x45b5ed
push 0x4e1f10
push eax
push esi
call fcn.004ba670
add esp, 0xc
ud2