joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ed40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x41f008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40edfc
cmp byte [esi + 0x3d], 0
je 0x40edfc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40edea
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 0x40edb1
sub eax, 1
je 0x40edb5
sub eax, 2
jne 0x40edea
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041064b
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40edd3
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 0x40edea
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041064b
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041064b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0041064b
mov esp, ebp
pop ebp
ret

Function at 0x41114b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41118a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41118a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41118a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41118a
cmp dword [ecx + 0x74], 0xe
jbe 0x41118a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001cf50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100df320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001cf80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1001cfb0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1001cfb0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1001d0ab
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001cfd9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001d00d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1001d06c
sub eax, 1
je 0x1001d06c
sub eax, 2
jne 0x1001d0ab
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1002e9f0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001d08a
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 0x1001d0ab
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1001d0ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
Function at 0x1002e9f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1002e9ff
pop dword [ebp - 0x28]
mov eax, 0x1002e9ff
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xbedd5c58
sub dword [ebp - 0x38], 0x708b170d
mov dword [ebp - 0x34], 0x86c439ce
add dword [ebp - 0x34], 0xab6f1277
mov dword [ebp - 0x30], 0x21850387
sub dword [ebp - 0x30], 0xd538bf59
mov dword [ebp - 0x2c], 0xb0f3f2d3
add dword [ebp - 0x2c], 0x4f0c0d2d
lea eax, [ebp - 0x38]
push eax
mov eax, 0x8ef12d34
add eax, 0x811a43ac
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x4991dacf
sub dword [ebp - 0x38], 0xd51f7179
mov dword [ebp - 0x34], 0x894c9b4c
sub dword [ebp - 0x34], 0x47e039d7
mov dword [ebp - 0x30], 0x551d60a6
add dword [ebp - 0x30], 0xe520bc6
mov dword [ebp - 0x2c], 0xfb6f57b7
sub dword [ebp - 0x2c], 0xfb6f57b7
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x8c4a7b8c
add eax, 0x83c0f510
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x5bb23
push 0
call eax
mov ecx, 0xfed631e7
sub ecx, 0xfed5f26b
mov edx, eax
mov ebx, 0x100f3400
add ebx, dword [ebp - 0x28]
mov esi, 0x2200cfee
sub esi, 0x8d1244b6
sub dword [ebp - 0x14], 0x1a67a02d
mov edi, dword [ebx]
xor dword [ebp - 0x24], eax
xor edi, esi
add dword [ebp - 0xc], 0x4e878ca3
mov dword [edx], edi
mov dword [ebp - 8], 0x23edcb66
add edx, 0xf3567503
sub edx, 0xf35674ff
add ebx, 0x6e5a7a90
sub ebx, 0x6e5a7a8c
loop 0x1002eb16
add eax, 0xf0c3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x51debc8b
sub ecx, 0x41debc8b
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401e1e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4a4fec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x4800b8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov eax, 0x47fd28
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
movzx eax, byte [ebp + 8]
push eax
push 0x4a93b8
push 0x47fce4
lea eax, [ebp - 0xcc]
push 0x18
push eax
mov dword [ebp - 0xcc], 0x4800ac
mov dword [ebp - 0xc8], 0x480094
mov dword [ebp - 0xc4], 0x48008c
mov dword [ebp - 0xc0], 0x480078
mov dword [ebp - 0xbc], 0x480070
mov dword [ebp - 0xb8], 0x48005c
mov dword [ebp - 0xb4], 0x480054
mov dword [ebp - 0xb0], 0x48003c
mov dword [ebp - 0xac], 0x480038
mov dword [ebp - 0xa8], 0x480028
mov dword [ebp - 0xa4], 0x48001c
mov dword [ebp - 0xa0], 0x480004
mov dword [ebp - 0x9c], 0x47fff8
mov dword [ebp - 0x98], 0x47ffe0
mov dword [ebp - 0x94], 0x47ffd4
mov dword [ebp - 0x90], 0x47ffb8
mov dword [ebp - 0x8c], 0x47ffac
mov dword [ebp - 0x88], 0x47ff94
mov dword [ebp - 0x84], 0x47ff84
mov dword [ebp - 0x80], 0x47ff68
mov dword [ebp - 0x7c], 0x47ff54
mov dword [ebp - 0x78], 0x47ff3c
mov dword [ebp - 0x74], 0x47ff2c
mov dword [ebp - 0x70], 0x47ff10
mov dword [ebp - 0x6c], 0x47ff00
mov dword [ebp - 0x68], 0x47fee4
mov dword [ebp - 0x64], 0x47fed0
mov dword [ebp - 0x60], 0x47feb0
mov dword [ebp - 0x5c], 0x47fea4
mov dword [ebp - 0x58], 0x47fe8c
mov dword [ebp - 0x54], 0x47fe74
mov dword [ebp - 0x50], 0x47fe50
mov dword [ebp - 0x4c], 0x47fe40
mov dword [ebp - 0x44], 0x47fe2c
mov dword [ebp - 0x3c], 0x47fe20
mov dword [ebp - 0x38], 0x47fe08
mov dword [ebp - 0x34], 0x47fdf8
mov dword [ebp - 0x30], 0x47fddc
mov dword [ebp - 0x2c], 0x47fdcc
mov dword [ebp - 0x28], 0x47fdb0
mov dword [ebp - 0x24], 0x47fda4
mov dword [ebp - 0x20], 0x47fd8c
mov dword [ebp - 0x1c], 0x47fd80
mov dword [ebp - 0x18], 0x47fd68
mov dword [ebp - 0x14], 0x47fd5c
mov dword [ebp - 0x10], 0x47fd44
call fcn.00401da4
mov ecx, dword [ebp - 4]
add esp, 0x14
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0043cac0
leave
ret

Function at 0x41a73f
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret
Function at 0x2e014b3c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e0302bf
call fcn.2e00153c
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014b76
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014bdc
lea eax, [ebp - 0x14]
mov edi, 0x2e032941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014bd3
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014bd3
inc eax
push eax
call fcn.2e015c9e
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014bc5
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010c49
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e015c9e
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e001586
ret 8

Function at 0x2e015c9e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x2e015cad
pop dword [ebp - 0x14]
mov eax, 0x2e015cad
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x4a5a4e10
sub dword [ebp - 0x24], 0xfc0808c5
mov dword [ebp - 0x20], 0x288fef7a
sub dword [ebp - 0x20], 0xf65ca335
mov dword [ebp - 0x1c], 0xc6db0c35
add dword [ebp - 0x1c], 0x857137f9
mov dword [ebp - 0x18], 0x6ea96c1b
sub dword [ebp - 0x18], 0x6ea96c1b
lea eax, [ebp - 0x24]
push eax
mov eax, 0x55fa8865
add eax, 0xd8089863
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xcf1c469a
sub dword [ebp - 0x24], 0x5aa9dd44
mov dword [ebp - 0x20], 0x94ee9270
sub dword [ebp - 0x20], 0x538230fb
mov dword [ebp - 0x1c], 0xe5adcc51
sub dword [ebp - 0x1c], 0x823e5fe5
mov dword [ebp - 0x18], 0xdfe1e6dc
add dword [ebp - 0x18], 0x201e1924
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x89e10fc5
add eax, 0xa42210f7
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x42873
push 0
call eax
mov ecx, 0x4e30
xor ebx, ebx
add ebx, eax
mov edx, 0xd95e2251
sub edx, 0xab58b451
add edx, dword [ebp - 0x14]
mov edi, 0xdf0f489f
xor dword [ebp - 0xc], esi
mov esi, dword [edx]
sub esi, edi
sub dword [ebp - 4], esi
mov dword [ebx], esi
mov dword [ebp - 0xc], 0xa1b609ed
add ebx, 0xcecc0528
add ebx, 0x3133fadc
add edx, 0xa21db1d0
sub edx, 0xa21db1cc
loop 0x2e015dc0
add eax, 0x12b93
xor ebx, ebx
add ebx, eax
add eax, 0xa4ede8c9
sub eax, 0xa4ede8c4
mov ecx, 0x2e000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x407e17
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x407e86
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
test eax, eax
je 0x407e62
push ebx
push edi
push eax
call fcn.0040ba60
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x407e7d
push esi
call dword [sym.imp.kernel32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret

Function at 0x409660
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40967a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409670
mov eax, 1
add ebx, ebx
jne 0x409693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409688
jne 0x4096a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409688
xor ecx, ecx
sub eax, 3
jb 0x4096b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40972a
mov ebp, eax
add ebx, ebx
jne 0x4096c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4096d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4096f4
inc ecx
add ebx, ebx
jne 0x4096e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4096d5
jne 0x4096f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4096d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409714
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409705
jmp 0x409676
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409714
add edi, ecx
jmp 0x409676
pop esi
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x40977c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbb24]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbb90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409731
mov ecx, edi
jns 0x409760
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbb98]
or eax, eax
je 0x409776
mov dword [ebx], eax
add ebx, 4
jmp 0x40974e
call dword [esi + 0xbb94]
mov ebp, dword [esi + 0xbb9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4097b0
sub esp, 0xffffff80
jmp 0x4017e0
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x401c66
pop dword [ebp - 0x50]
mov eax, 0x8a99c5c2
add eax, 0x75a656a4
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x70869b81
add dword [ebp - 0x60], 0xddcba9ca
mov dword [ebp - 0x5c], 0xe73c8bad
sub dword [ebp - 0x5c], 0xb5093f68
mov dword [ebp - 0x58], 0x66b9ad08
sub dword [ebp - 0x58], 0x1a6d68da
mov dword [ebp - 0x54], 0xfe222baa
sub dword [ebp - 0x54], 0xfe222baa
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xae9b214a
add dword [ebp - 0x60], 0xc5d7480c
mov dword [ebp - 0x5c], 0x9fde83f7
add dword [ebp - 0x5c], 0xa18ddd7e
mov dword [ebp - 0x58], 0xe5cbe7a8
add dword [ebp - 0x58], 0x7da384c4
mov dword [ebp - 0x54], 0x725a366d
add dword [ebp - 0x54], 0x8da5c993
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xbd377af3
add eax, 0x4308b539
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x32f1a
push 0
call eax
mov ecx, 0x39da
mov ebx, eax
mov esi, 0x1edfe52f
sub esi, 0x1e9f752f
add esi, dword [ebp - 0x50]
mov edx, 0xe0c11596
sub edx, 0xd769544
mov edi, dword [esi]
xor edi, edx
xor dword [ebp - 0x30], ebx
mov dword [ebx], edi
mov dword [ebp - 0x1c], 0x26e32714
add ebx, 0x169cac00
add ebx, 0xe9635404
add esi, 4
loop 0x401d7d
add eax, 0xd23d1b92
sub eax, 0xd23c4157
mov ebx, eax
add eax, 0xcbfabe8c
add eax, 0x34054179
mov ecx, 0x8839bb42
add ecx, 0x780644be
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x1000e500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x15c
mov eax, dword [0x1001a010]
xor eax, esp
mov dword [esp + 0x158], eax
cmp dword [ebp + 0xc], 1
push ebx
push esi
push edi
jne 0x1000e61a
push 0x104
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movaps xmm0, xmmword [0x10016eb0]
lea ecx, [esp + 0x28]
movups xmmword [esp + 0x28], xmm0
lea eax, [esp + 0x58]
sub esp, 0xc
movaps xmm0, xmmword [0x10017030]
sub eax, ecx
movups xmmword [esp + 0x44], xmm0
mov edi, esp
mov ebx, eax
movaps xmm0, xmmword [0x10016f40]
movups xmmword [esp + 0x54], xmm0
sar ebx, 2
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x1000e5ad
push ebx
mov ecx, edi
call fcn.10005be0
push dword [esp + 0x18]
mov esi, dword [edi]
lea eax, [esp + 0x38]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + ebx*4]
add esp, 0xc
mov dword [edi + 4], eax
lea ecx, [esp + 0x1c]
call fcn.1000fb90
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x1000e5c1
mov eax, dword [eax]
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [esp + 0x24]
cmp ecx, 0x10
jb 0x1000e605
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000e5fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000e5fb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10012a0d
add esp, 8
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1001a7bc], eax
call fcn.1000e130
mov ecx, dword [esp + 0x164]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100129cf
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402bf0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x1ffd008], 0x8088405
inc edx
mov dword [ebx + 0x1ffd008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x404464
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x4044c9
test ecx, ecx
je fcn.0040419c
cmp edx, dword [eax]
je 0x4044d0
cmp ecx, dword [eax]
je 0x404486
push eax
push ecx
call fcn.0040419c
pop edx
pop eax
jmp fcn.00404420
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
push eax
mov eax, dword [ebx - 4]
add eax, dword [esi - 4]
call fcn.0040420c
mov edi, eax
mov edx, eax
mov eax, ebx
mov ecx, dword [ebx - 4]
call fcn.0040293c
mov edx, edi
mov eax, esi
mov ecx, dword [esi - 4]
add edx, dword [ebx - 4]
call fcn.0040293c
pop eax
mov edx, edi
test edi, edi
je 0x4044c0
dec dword [edi - 8]
call fcn.0040419c
pop edi
pop esi
pop ebx
ret
mov edx, ecx
jmp fcn.0040419c
mov edx, ecx
jmp fcn.00404420

Function at 0x42f464
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f491
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x42f482
and ecx, 3
je 0x42f4a9
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x42f496
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42f4b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x42f4ed
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f4d5
pop esi
and esi, 3
je 0x42f512
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x42f4f3
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x42f51c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f548
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f539
and ecx, 3
je 0x42f560
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x42f54d
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x42f568
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x42f574
pop edi
pop ebx
ret

Function at 0x42fe90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0042fae8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x1f24fcf
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x42ff3e
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f568
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f568
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x42feeb
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x42ff8c
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f568
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.0040293c
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x42ffb6
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x42ffb6
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x42ffa6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1f24fd6
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0042fc84
ret