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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041756b

Function at 0x417af4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a3e0
mov eax, dword [0x479800]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004156fd
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x417b36
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x417c92
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00420910
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47be70]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418893
mov ecx, dword [esi*4 + 0x47be70]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x417c8b
cmp eax, dword [edi + ecx + 0x24]
jne 0x417c8b
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417c8b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418893
add esp, 0x14
test edx, edx
jl 0x417c8b
jg 0x417c01
test eax, eax
jb 0x417c8b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x417c8b
jl 0x417c1b
cmp dword [ebp - 0x1008], eax
ja 0x417c8b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x417c39
test ebx, ebx
je 0x417c72
cmp ecx, edi
jae 0x417c72
mov al, byte [ecx]
cmp al, 0xd
jne 0x417c53
lea eax, [edi - 1]
cmp ecx, eax
jae 0x417c5f
cmp byte [ecx + 1], 0xa
jne 0x417c5f
inc ecx
jmp 0x417c5f
movzx eax, al
movsx eax, byte [eax + 0x479ad0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x417c39
cmp edx, ebx
jne 0x417c39
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x417c90
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409a3b
leave
ret
Function at 0x417d31
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47be70]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417d71
cmp byte [ebx], 0xa
jne 0x417d71
or byte [eax + edi + 0x28], 4
jmp 0x417d76
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x417e74
mov al, byte [edx]
cmp al, 0x1a
je 0x417e56
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x417da5
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x417dca
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x417dd4
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x417d87
jmp 0x417e74
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417e51
cmp dword [ebp - 0xc], 0
je 0x417e51
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47be70]
test byte [eax + edi + 0x28], 0x48
je 0x417e2b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x417e16
mov byte [esi], dl
jmp 0x417e27
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47be70]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x417e74
cmp byte [ebp - 1], 0xa
jne 0x417e3a
cmp esi, ebx
jne 0x417e3a
mov byte [esi], 0xa
jmp 0x417e73
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004188b1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x417e74
mov byte [esi], 0xd
jmp 0x417e73
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47be70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x417e70
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x417e74
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x417e7d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47be70]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417ec0
cmp word [esi], dx
jne 0x417ec0
or byte [edi + eax + 0x28], 4
jmp 0x417ec5
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x418018
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x417ff8
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x417f07
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417f3d
cmp eax, edx
jae 0x417f49
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x417edf
jmp 0x418018
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417ff4
cmp dword [ebp - 0x14], 0
je 0x417ff4
mov eax, dword [ebx*4 + 0x47be70]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x417fcc
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x417f95
mov word [esi], cx
jmp 0x417fc8
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47be70]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47be70]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47be70]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x418018
pop ebx
cmp word [ebp - 4], bx
jne 0x417fdd
cmp esi, dword [ebp + 0xc]
jne 0x417fdd
mov word [esi], bx
jmp 0x418015
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004188b1
add esp, 0x10
cmp word [ebp - 4], bx
je 0x418018
push 0xd
jmp 0x418011
mov ecx, dword [ebx*4 + 0x47be70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41800f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418018
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40645d
pop dword [ebp - 0x38]
mov eax, 0xc372fc58
add eax, 0x3ccd6805
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x4721e829
add dword [ebp - 0x48], 0x7305d22
mov dword [ebp - 0x44], 0x442e7dd9
add dword [ebp - 0x44], 0xee04ce6c
mov dword [ebp - 0x40], 0xecf30d8c
add dword [ebp - 0x40], 0x5f5936a2
mov dword [ebp - 0x3c], 0x7b0b1ecc
add dword [ebp - 0x3c], 0x84f4e134
lea eax, [ebp - 0x48]
push eax
mov eax, 0x9c3b6ce4
add eax, 0x64051394
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x7e7be463
add dword [ebp - 0x48], 0xf5f684f3
mov dword [ebp - 0x44], 0xc01219cb
add dword [ebp - 0x44], 0x815a47aa
mov dword [ebp - 0x40], 0x73531501
sub dword [ebp - 0x40], 0xfe3a895
mov dword [ebp - 0x3c], 0x65f9de92
add dword [ebp - 0x3c], 0x9a06216e
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x35a7f
push 0
call eax
mov ecx, 0xd33dabff
add ecx, 0x2cc2966b
mov ebx, eax
mov edi, 0x3d2fc516
sub edi, 0x3ceab116
add edi, dword [ebp - 0x38]
mov edx, 0x35d319a8
sub edx, 0x772a9af7
mov dword [ebp - 0xc], 0xf6bb05df
mov esi, dword [edi]
add dword [ebp - 0x24], esi
sub esi, edx
xor dword [ebp - 0x1c], 0x87c25bf1
mov dword [ebx], esi
sub dword [ebp - 4], ebx
add ebx, 0x2f918c12
sub ebx, 0x2f918c0e
add edi, 0x90ccb823
sub edi, 0x90ccb81f
loop 0x40657a
add eax, 0xcc77742e
sub eax, 0xcc7677b3
mov ebx, eax
add eax, 0xe32baa2e
sub eax, 0xe32baa29
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x412290
pop dword [ebp - 0x50]
mov eax, 0x412290
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x38e72
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x476d
mov edi, eax
mov edx, 0x98441f07
sub edx, 0x9800b107
add edx, dword [ebp - 0x50]
mov esi, 0x8fe9970a
add esi, 0x3091b683
add dword [ebp - 0x28], edi
mov ebx, dword [edx]
xor dword [ebp - 0x3c], edx
sub ebx, esi
add dword [ebp - 0x28], 0xcd799c52
mov dword [edi], ebx
mov dword [ebp - 0x20], 0xa1e5e2e7
add edi, 0xcc237e2
add edi, 0xf33dc822
add edx, 0xb187eaac
sub edx, 0xb187eaa8
loop 0x4122df
add eax, 0x11087
xor ebx, ebx
add ebx, eax
add eax, 0x20d65dc0
sub eax, 0x20d65dbb
mov ecx, 0x4c2cc1f7
add ecx, 0xb4133e09
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401820
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
xor ecx, ecx
push esi
mov dword [esp + 4], 0
mov eax, dword [eax]
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x4019a3
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
add esi, 0x24
mov bl, 0x6c
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov edi, eax
and ecx, 1
and edx, 1
shr edi, 0x1f
test eax, 0x2000000
je 0x40188b
mov edx, dword [esi - 0x14]
mov eax, dword [esi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x401980
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [edi + ecx*2]
mov edi, dword [edx*4 + 0x40804c]
je 0x4018a5
or edi, 0x200
mov ecx, dword [esi - 0x14]
test ecx, ecx
jne 0x4018ce
test al, 0x40
je 0x4018bb
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
jmp 0x4018cc
test al, 0x80
je 0x401980
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov ecx, dword [eax + 0x24]
test ecx, ecx
jbe 0x401980
lea edx, [esp + 0x28]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x30], 0x56
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], 0x74
mov byte [esp + 0x34], 0x75
mov byte [esp + 0x35], 0x61
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], 0x50
mov byte [esp + 0x38], 0x72
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x74
mov byte [esp + 0x3b], 0x65
mov byte [esp + 0x3c], 0x63
mov byte [esp + 0x3d], 0x74
mov byte [esp + 0x3e], 0
mov byte [esp + 0x20], 0x4b
mov byte [esp + 0x21], 0x45
mov byte [esp + 0x22], 0x52
mov byte [esp + 0x23], 0x4e
mov byte [esp + 0x24], 0x45
mov byte [esp + 0x25], 0x4c
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebp
mov edx, dword [esi - 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x1c]
push edi
push edx
push ecx
call eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
inc eax
add esi, 0x28
mov ecx, dword [edx]
xor edx, edx
mov dword [esp + 0x10], eax
mov dx, word [ecx + 6]
cmp eax, edx
jl 0x401855
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x28
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x408da0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x41c9d4], eax
je 0x408ed2
push esi
push 0x41ccc0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5c
push 0x41ccc0
call fcn.0040bf40
add esp, 8
test eax, eax
je 0x408ddc
mov byte [eax + 1], 0
mov eax, dword [0x41c9d4]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x419678
push eax
call esi
test eax, eax
mov dword [0x41c9a4], eax
je 0x408dff
push 0x41ccc0
call eax
mov ecx, dword [0x41c9d4]
push 0x419680
push ecx
call esi
mov edx, dword [0x41c9d4]
push 0x419688
push edx
mov dword [0x41c9a8], eax
call esi
mov dword [0x41c9ac], eax
mov eax, dword [0x41c9d4]
push 0x419690
push eax
call esi
mov ecx, dword [0x41c9d4]
push 0x41969c
push ecx
mov dword [0x41c9b0], eax
call esi
mov edx, dword [0x41c9d4]
push 0x4196a8
push edx
mov dword [0x41c9b4], eax
call esi
mov dword [0x41c9b8], eax
mov eax, dword [0x41c9d4]
push 0x4196b0
push eax
call esi
mov ecx, dword [0x41c9d4]
push 0x4196bc
push ecx
mov dword [0x41c9bc], eax
call esi
mov edx, dword [0x41c9d4]
push 0x4196c4
push edx
mov dword [0x41c9c0], eax
call esi
mov dword [0x41c9c4], eax
mov eax, dword [0x41c9d4]
push 0x4196d0
push eax
call esi
mov ecx, dword [0x41c9d4]
push 0x4196dc
push ecx
mov dword [0x41c9c8], eax
call esi
mov edx, dword [0x41c9d4]
push 0x4196e4
push edx
mov dword [0x41c9cc], eax
call esi
mov dword [0x41c9d0], eax
mov eax, dword [0x41c9d4]
pop esi
ret 4
Function at 0x4457ce
Capabilities:
Encode data using xor

Disassembly:
push 0xd8cd663d
test dword [esi + 0x293969c2], esi
or al, 0x19
invalid

Function at 0x4ba839
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33d8
cmp edx, dword [eax]
je 0x4ba85b
add eax, 8
inc ecx
cmp eax, 0x4c3468
jl 0x4ba84c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33d8]
jne 0x4ba989
mov eax, dword [0x4c7d5c]
cmp eax, 1
je 0x4ba963
test eax, eax
jne 0x4ba88c
cmp dword [0x4c3300], 1
je 0x4ba963
cmp edx, 0xfc
je 0x4ba989
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba8c3
lea eax, [ebp - 0x1a4]
push 0x4bfa48
push eax
call fcn.004bb220
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb6b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba906
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb6b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfa44
push edi
call fcn.004bd580
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bfa28
push eax
call fcn.004bb220
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb230
lea eax, [ebp - 0xa0]
push 0x4bfa24
push eax
call fcn.004bb230
push dword [esi + 0x4c33dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb230
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bf9fc
push eax
call fcn.004bd4f4
add esp, 0x2c
pop edi
jmp 0x4ba989
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33dc]
push 0
push eax
push dword [esi]
call fcn.004bb6b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x410c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x410c5f
pop dword [ebp - 0x44]
mov eax, 0x410c5f
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x5096b
push 0
mov eax, 0xf926442e
add eax, 0x71e6e8e
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x4aad
xor esi, esi
add esi, eax
mov edi, 0xb92609c3
sub edi, 0xb8dd8bc3
add edi, dword [ebp - 0x44]
mov ebx, 0x6638c4f2
mov dword [ebp - 0x20], 0xfe533e69
mov edx, dword [edi]
sub dword [ebp - 0xc], ebx
sub edx, ebx
xor dword [ebp - 0x38], edx
mov dword [esi], edx
xor dword [ebp - 4], 0xfb69254e
add esi, 4
add edi, 4
loop 0x410caf
add eax, 0xd14f4d0f
add eax, 0x2eb1d078
mov ebx, eax
add eax, 0xcc764e35
add eax, 0x3389b1d0
mov ecx, 0x32312718
sub ecx, 0x31f12718
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x1c5a6f1
Capabilities:
Encode data using xor

Disassembly:
call fcn.010ea560
pop ebx
out dx, al
dec edx
sub cl, byte [ecx - 0x31e8a1a6]
cmc
sbb dh, byte [esi + 0x30]
mov al, 0x83
push 0x59
ret 0x1355
pushfd
jmp 0x10e9eaf
lea esp, [esp + 8]
jne 0x1c55a21
pushal
xchg dword [esp + 0x1c], eax
mov ah, bh
movzx ax, cl
call fcn.01ede46d
bound ebx, qword [ecx]
mov edx, 0x8afc97bc
dec esp
xor byte [esi + ecx*4 + 0x56], 0xe7
mov ah, 0x8e
invalid
sub al, 0xe9
pushfd
call fcn.01c5b253
push 0x64038eed
movsx ax, bl
not ah
not ax
lea eax, [ebp - 4]
pushfd
jmp 0x1c58337