joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436f8b
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x67cbc6
call fcn.00620b55
mov edi, ecx
mov eax, dword [0x73d688]
mov ecx, dword [edi + 0x240]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov esi, dword [eax + 0x50c]
push 0
shl ecx, 2
push 0x146
push dword [edi + 0x328]
shr esi, cl
and esi, 7
call ebx
cmp esi, eax
jge 0x436fdd
push 0
push esi
push 0x14e
push dword [edi + 0x328]
call ebx
xor ebx, ebx
cmp dword [edi + 0x304], ebx
je 0x43703f
mov ecx, dword [0x73d688]
lea eax, [ebp - 0x14]
push 1
push esi
push eax
call fcn.00422989
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push 0x6a595c
push eax
call fcn.0041b5e5
add esp, 0xc
push ebx
push ebx
push dword [eax]
push str.powercfg
push str.runas
push dword [edi + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00416499
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00416499
mov ecx, dword [0x73d688]
lea eax, [ebp - 0x18]
push ebx
push esi
push eax
call fcn.00422989
push dword [eax]
mov ebx, 0x697
mov dword [ebp - 4], 1
push ebx
mov ecx, edi
call fcn.0045974f
mov ecx, eax
call fcn.0045a493
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00416499
mov eax, dword [edi + 0x304]
mov ecx, edi
neg eax
push 5
pop esi
sbb eax, eax
and eax, esi
push eax
push 0x694
call fcn.0045974f
mov ecx, eax
call fcn.0045a4e5
xor eax, eax
mov ecx, edi
cmp dword [edi + 0x304], eax
cmovne esi, eax
push esi
push ebx
call fcn.0045974f
mov ecx, eax
call fcn.0045a4e5
xor eax, eax
mov ecx, edi
cmp dword [edi + 0x304], eax
sete al
push eax
push 0x675
call fcn.0045974f
mov ecx, eax
call fcn.0045959e
push 1
push 0x463
mov ecx, edi
call fcn.0045974f
mov ecx, eax
call fcn.0045959e
push 0x4e0
mov ecx, edi
call fcn.0045974f
mov ecx, eax
call fcn.0045a38f
call fcn.00620b23
ret
Function at 0x437ff5
Capabilities:
Create process on windows

Disassembly:
push esi
push edi
push 1
xor edi, edi
mov esi, ecx
push edi
push edi
push str.ThrottleStopDocs.html
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
jne 0x438022
push edi
push edi
push str.File_not_found._nThrottleStopDocs.html
mov ecx, esi
call fcn.0045db71
pop edi
pop esi
ret
Function at 0x4579f5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00459789
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x457a31
call fcn.0045815c
mov dword [esi + 0xc], 1
jmp 0x457a36
call fcn.0045815c
cmp dword [esi], 0
je 0x457a81
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x457a5c
push edi
call fcn.00452c62
lea ecx, [edi + 1]
push ecx
jmp 0x457a6b
push 0xff
call fcn.00416425
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00452c85
pop edi
jmp 0x457aa5
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x457aa5
push dword [esi]
push dword [ebp - 4]
call fcn.00479854
pop esi
leave
ret 0xc

Function at 0x457fde
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0045815c
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x458026
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00452c62
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00452c85
jmp 0x458031
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00479854
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x459d0b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x67ec3f
call fcn.00620b55
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x459d31
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x459d8b
lea ecx, [ebp - 0x10]
call fcn.004114f6
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x69fcdc]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0064881b
push eax
call fcn.00411a70
add esp, 0x14
test esi, esi
je 0x459d7e
push esi
call fcn.00630f92
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00416499
mov eax, ebx
call fcn.00620b23
ret 8
Function at 0x45ca75
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x45cab4
call fcn.00453f34
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45cab4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45cabc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004585b6
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x45daad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x45db39
cmp dword [esi + 0x20], 0
je 0x45db39
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45db39
cmp dword [ebp + 8], 0
je 0x45db39
xor edi, edi
mov ebx, edi
call fcn.00453f34
push 0x6aad40
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x45db1d
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45db39
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0048480d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45db35
mov ecx, esi
call fcn.0045d7bf
mov eax, edi
jmp 0x45db3b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4629b3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x4629de
cmp dword [edi + 0x80], 0
jne 0x4629de
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00453f34
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00462c51
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x462a0b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.00453f34
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x462a3e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.00462a51
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x46885f
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x4688a6
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4688b5
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4688b5
push dword [esi]
mov ecx, edi
push 2
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x69fcdc]
call edi
jmp 0x4688b7
cmp dword [esi + 4], ebx
je 0x4688b5
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x46bc9b
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x46bcee
push esi
push dword [ebp + 8]
call fcn.0046be84
mov edi, eax
test edi, edi
je 0x46bce9
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x46bce9
mov eax, dword [ebp - 8]
jmp 0x46bd00
mov eax, dword [ebp + 0x10]
jmp 0x46bd00
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x473cdb
Capabilities:
Delete registry key

Disassembly:
push 8
mov eax, 0x680aea
call fcn.00620b55
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00411430
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x473d3d
call fcn.00453f82
cmp eax, 1
jne 0x473d3d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.0041b5e5
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00416da3
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00416499
inc esi
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
push esi
test ecx, ecx
je 0x473d4f
call fcn.0046c921
jmp 0x473d55
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.00416499
mov eax, esi
call fcn.00620b23
ret 0xc
Function at 0x473ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x680b80
call fcn.00620b55
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00411430
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x473efe
call fcn.00453f82
cmp eax, 1
jne 0x473efe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.0041b5e5
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00416da3
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00416499
inc esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00416499
mov eax, esi
call fcn.00620b23
ret 0x10

Function at 0x473f25
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x680bb2
call fcn.00620b55
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00411430
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x473f83
call fcn.00453f82
cmp eax, 1
jne 0x473f83
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.0041b5e5
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00416da3
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00416499
inc esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00416499
mov eax, esi
call fcn.00620b23
ret 0x14

Function at 0x48787c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x4878d2
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4878ab
call fcn.0045567c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4878c0
call fcn.0045567c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4878d2
call fcn.0045567c
call fcn.00453f34
cmp dword [eax + 0x3c], 0
je 0x4878e7
push edi
mov ecx, ebx
call fcn.00486e96
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00487bbc
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x487910
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x48791c
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x489930
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x489971
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x489980
push str.SetFileAttributesTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x489980
push dword [esi]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x69fcdc]
call edi
jmp 0x489982
cmp dword [esi + 4], 0
je 0x489980
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8

Function at 0x4a6dcd
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.005071d9
call fcn.00453f88
cmp dword [eax + 0x14], 0
jne 0x4a6de8
mov ecx, esi
pop esi
jmp fcn.004a60ad
pop esi
ret

Function at 0x4a80ec
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0045f4a4
call fcn.00453f88
cmp dword [eax + 0x14], 0
jne 0x4a8107
mov ecx, esi
pop esi
jmp fcn.004a78e4
pop esi
ret

Function at 0x4b1959
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x4b1972
call fcn.00453f34
mov esi, dword [eax + 0xc]
push 0x6b82e8
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4b19b4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b19b4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4b19b4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004b19bd
jmp 0x4b19b6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x5867da
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0065da5d
pop ecx
test eax, eax
jne 0x58681c
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004584c4
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5867e2
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x604926
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x60499d
cmp dword [ebp + 0xc], 0
je 0x60499d
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x60494d
call fcn.00453f34
mov eax, dword [eax + 0xc]
test eax, eax
je 0x60499d
push dword [ebp + 0xc]
mov dword [edi + 8], eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x60499d
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x60499d
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x60499d
mov ecx, dword [edi]
push eax
mov esi, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push eax
mov ecx, esi
call dword [0x69fcdc]
mov ecx, edi
call esi
jmp 0x60499f
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x617fac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00624a40
mov eax, dword [ebp + 8]
add esp, 0xc
and dword [ebp - 0x34], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret 0x14

Function at 0x66a625
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0066a218

Function at 0x66a630
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0066a3a2

Function at 0x66c6df
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0066c5b3

Function at 0x66f003
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0066e9cc
Function at 0x10013389
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10013398
pop dword [ebp - 0x24]
mov eax, 0xd558cec4
add eax, 0x3aa864d4
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xcfaceb16
sub dword [ebp - 0x34], 0x815aa5cb
mov dword [ebp - 0x30], 0xf76aec10
add dword [ebp - 0x30], 0x3ac86035
mov dword [ebp - 0x2c], 0x4102cc68
sub dword [ebp - 0x2c], 0xf4b6883a
mov dword [ebp - 0x28], 0xc1706583
add dword [ebp - 0x28], 0x3e8f9a7d
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x6d0a5932
add dword [ebp - 0x34], 0x7681024
mov dword [ebp - 0x30], 0x3a6538e6
add dword [ebp - 0x30], 0x707288f
mov dword [ebp - 0x2c], 0x37fe5c5a
add dword [ebp - 0x2c], 0x2b711012
mov dword [ebp - 0x28], 0xb7f067b6
add dword [ebp - 0x28], 0x480f984a
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x38709
push 0
call eax
mov ecx, 0x7a7408db
sub ecx, 0x7a73c2c9
mov edi, eax
mov ebx, 0x2688aa07
add ebx, 0xe97a47f9
add ebx, dword [ebp - 0x24]
mov esi, 0x1114214f
sub esi, 0x54ac2180
sub dword [ebp - 0x1c], 0xd0115112
mov edx, dword [ebx]
sub dword [ebp - 0xc], 0x436d6e7
add edx, esi
sub dword [ebp - 4], esi
mov dword [edi], edx
xor dword [ebp - 0x1c], 0x6dd673b5
add edi, 0x6831b136
add edi, 0x97ce4ece
add ebx, 4
loop 0x100134b0
add eax, 0x10ab4bed
add eax, 0xef55bf2e
xor ebx, ebx
add ebx, eax
add eax, 0xbbffc7e5
add eax, 0x44003820
mov ecx, 0x7a358236
add ecx, 0x95ca7dca
add ecx, dword [ebp - 0x24]

Function at 0x1001c020
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
sub eax, dword [esi + 0x289c]
push 1
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x292c], eax
call edi
sub eax, dword [esi + 0x28a0]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x2930], eax
mov eax, dword [esi + 0x2d50]
test eax, eax
je 0x1001c08f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x28a0]
push dword [esi + 0x289c]
push dword [esi + 0x2930]
push dword [esi + 0x292c]
push dword [esi + 0x2d50]
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
call fcn.10013389
pop ecx
pop edi
pop esi
ret

Function at 0x1001e4ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10029008]
jne 0x1001e4f4
repz ret
jmp fcn.1001ea43
Function at 0x403ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x41713c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x403f9c
cmp byte [esi + 0x3d], 0
je 0x403f9c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x403f8a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x403f51
sub eax, 1
je 0x403f55
sub eax, 2
jne 0x403f8a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040ea44
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x403f73
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x403f8a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040ea44
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040ea44
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040ea44
mov esp, ebp
pop ebp
ret