joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4162b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4162ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4162d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4162c0
mov eax, 1
add ebx, ebx
jne 0x4162e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4162d8
jne 0x4162f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4162d8
xor ecx, ecx
sub eax, 3
jb 0x416308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41637a
mov ebp, eax
add ebx, ebx
jne 0x416313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416344
inc ecx
add ebx, ebx
jne 0x416330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416325
jne 0x416341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416355
jmp 0x4162c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416364
add edi, ecx
jmp 0x4162c6
pop esi
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4163c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416381
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16074]
or eax, eax
je 0x4163bd
mov dword [ebx], eax
add ebx, 4
jmp 0x41639e
call dword [esi + 0x16070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4163f4
cmp al, 0xef
ja 0x4163e7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4163c9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4163d6
mov ebp, dword [esi + 0x16078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x416428
sub esp, 0xffffff80
jmp 0x405dd2

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x14193439
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x5dbf67fb
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x7ffe544e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
add al, 4
sub al, 4
push es
pop ds
pushf
popf
inc esi
dec esi
clc
call 0x7ffe5466
pop edx
xor dx, dx
cld
add edx, 0xd5e0
xor ecx, ecx
not eax
not eax
cld
mov cl, 0x1e
add al, 0
xor byte [ecx + edx], 0x27
loop 0x7ffe547c
cld
push dword fs:[0x24]
pop dword [edx + 0xa]
push edx
cdq
pop edx
mov cl, 0xff
push edx
loop 0x7ffe5492
add al, 0
cld
and al, 0xff
mov dword [edx + 0x11], 0xffffacbb
mov ecx, dword [eax + 0x2c]
clc
mov dword [edx + 0x1b], ecx
inc esi
dec esi
mov dword [edx + 0x100], ecx
cld
mov dword [eax + 0x2c], esp
push eax
pop eax
push eax
pop eax
push 0
add eax, 0
push 0
push 0
and bh, 0xff
push 0
push es
pop ds
push eax
pop eax
push 0x30
add eax, 0
push 0x20
push 0
push bx
inc esp
inc esp
cld
push 0
inc esi
dec esi
add edx, 0xffff7f37
push eax
pop eax
add al, 0
nop
push edx
xor eax, ecx
xor eax, ecx
push edx
and al, 0xff
add al, 0
cld
push 0
call dword [edx + 0x820c]
cld
add esp, 0x3f8
add al, 0
xor eax, eax
add al, 4
sub al, 4
clc
inc eax
pushf
popf
ret 0xc

Function at 0x7ffe9c50
Capabilities:
Encode data using xor

Disassembly:
movlps xmm4, qword [ebx + esi]
push es
cmp al, byte [eax + 0x37]
push cs
and eax, 0xd0b091b
sbb dword [edi], ebx
adc al, 0x2c
sub ah, byte [esi + edi]
cmp ebx, dword cs:[eax]
cmp bh, byte [eax + eax*2]
inc edx
cmp eax, 0x2a3c3204
sub al, 0x2c
xor ch, byte [edx]
xor edx, dword [esi]
sub al, 0x33
and ch, byte [esi]
sub dword [edx], edx
xor byte [eax - 0x52], ch
push 0x2a8728ae
outsb dx, byte [esi]
sub byte [ecx], bl
push 0x2a8728ae
outsb dx, byte [esi]
sub byte [ecx], bl
sub al, 0xa7
xor al, dl
adc dword [edi + 0x9476a76], edi
adc al, byte [edx]
popfd
lcall 0xd256, 0x143c20cf
jne 0x7ffe9ca1
push ss
adc dword [edx - 0x24655689], ecx
sub eax, 0x2500380d
inc edi
cli
xor dword [esp + ebx*4 + 0x1421b1ab], esi
pop ss
nop
cwde
pop ebp
push cs
jns 0x7ffe9c21
push ss
and byte [edi + 0x9f309f0], dl
ja 0x7ffe9cae
xchg edx, eax
cmpsd dword [esi], dword es:[edi]
adc byte [ecx], 0xb3
sar dword [edx + esi], 1
sbb eax, 0x22005ba2
out 0x35, al
imul ebp, dword [edx - 0x3b54cebf], 0x28
ja 0x7ffe9c66
hlt
sub eax, 0x3cc92eca
popfd
mov byte [esi], 0x45
sbb al, 0xf2
and al, 0xab
mov bh, 0xe
or eax, 0xbf37113c
sub ebp, dword [ecx - 0x43]
sub eax, dword [esi - 0x75]
loopne 0x7ffe9ced
pushfd
sahf
stc
movsd dword es:[edi], dword [esi]
add ch, byte [edx - 0x4e0378dc]
xor dword [esi + 0x4f55285d], esp
push es
or dword [eax - 0x2399c464], ebx
or esi, dword [ecx + 0x64412fc4]
xor cl, byte [esp + ebx*4 + 0x273a544]
xchg ecx, eax
lodsb al, byte [esi]
xor dl, byte [eax + eax*8 - 2]
and byte [ecx - 0x5de20dc7], 0x4c
jge 0x7ffe9ccd
add dl, byte [ecx - 0x3fabcd54]
inc byte [eax + 0x1df239a1]
mov byte [0x73d07d4c], al
stc
sbb eax, 0xd07d4ca2
jae 0x7ffe9cf8
xor eax, 0x250fc9a4
stc
das
mov al, 0x3e
add edx, dword [ecx]
fldenv ss:[edx + edx*2]
fimul word [eax]
cdq
xor ebp, dword [ecx]
cmp byte [edx], cl
retf 0x4e2c
Function at 0x42cdb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e9e98
cmp dword [edi], 0
jne 0x42ce2c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e9e94]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4d9d98
mov ecx, 2
call fcn.0040324c
mov edx, 0x42cd88
lea eax, [esi + 5]
call fcn.0042cda8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042cda8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42ce01
mov dword [0x4e9e94], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x455fbc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405b54
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x456014
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e4160]
mov dl, 1
mov eax, dword [0x455808]
call fcn.00412ecc
call fcn.00404788
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00455990
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45ae18
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x45ae72
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0045ae0c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00458100
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00457c64
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ae79
lea eax, [ebp - 4]
call fcn.00405ab8
ret
Function at 0x47d53c
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x47d55b
add edx, 3
sar edx, 2
test edx, edx
jle 0x47d669
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
movzx ecx, byte [edi + esi]
cmp ecx, 0x3d
jg 0x47d590
je 0x47d5d3
sub ecx, 0x2b
je 0x47d5c9
sub ecx, 4
je 0x47d5ce
dec ecx
sub ecx, 0xa
jb 0x47d5bb
jmp 0x47d5d6
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x47d5a2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x47d5ad
jmp 0x47d5d6
movzx ecx, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x47d5d6
movzx ecx, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x47d5d6
movzx ecx, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x47d5d6
mov byte [eax], 0x3e
jmp 0x47d5d6
mov byte [eax], 0x3f
jmp 0x47d5d6
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x47d573
movzx eax, byte [esp + 4]
add eax, eax
add eax, eax
movzx edx, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
movzx edx, byte [esp + 6]
cmp dl, 0xff
je 0x47d627
cmp byte [esp + 7], 0xff
jne 0x47d627
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x47d65e
cmp dl, 0xff
je 0x47d65e
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
movzx edx, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x47d56a
add esp, 0x10
pop ebp
pop edi
pop esi
ret

Function at 0x47e584
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x47e5a5
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x47e592
pop edi
pop esi
pop ebx
ret
Function at 0x482f88
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
movzx ebx, dl
dec ebx
test ebx, ebx
jb 0x482fdc
inc ebx
xor edx, edx
mov ecx, edx
add ecx, ecx
add ecx, ecx
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x4e1750]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x4e1b50]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x4e1f50]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x4e2350]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x482f96
pop edi
pop esi
pop ebx
ret

Function at 0x4847f8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0040d364
add esp, 0x20c
pop ebx
ret
Function at 0x405610
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ad120
push eax
mov dword fs:[0], esp
sub esp, 0xc
xor eax, eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x164]
test edx, edx
jle 0x40565f
mov ecx, dword [esi + 0x104]
mov edi, dword [ecx]
cmp edi, eax
jne 0x405655
test edi, edi
jl 0x405676
cmp edi, 3
jle 0x405655
cmp edi, 0x11
jne 0x405676
inc ebx
add ecx, 4
cmp ebx, edx
mov eax, edi
jl 0x405641
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push ecx
mov dword [esi + 4], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x638420
call fcn.005988cd
push ecx
mov dword [esp + 0x28], 0
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x638420
call fcn.005988cd
lea eax, [esp + 0x14]
push edi
push eax
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.00405840
mov ecx, dword [eax]
lea edx, [esi + 0x14]
push ecx
push str.Operators_must_be_separated_by_values._n_nThere_cant_be_two__s_operators_in_a_row.
push edx
mov dword [esp + 0x2c], 1
call fcn.0059584e
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.0059885f
mov eax, dword [esi + 0x118]
pop edi
mov ecx, dword [eax + ebx*4 - 4]
mov dword [esi + 0xc], ecx
mov edx, dword [esi + 0x12c]
mov eax, dword [esi + 0x118]
mov ecx, dword [edx + ebx*4]
mov edx, dword [eax + ebx*4]
lea eax, [ecx + edx - 1]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], eax
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x405840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ad167
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], 0
mov ebx, 1
mov dword [esp + 0x20], ebx
mov eax, dword [0x633828]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x20], 4
lea eax, [edi - 1]
cmp eax, 0x12
ja case.default.0x40588c
jmp dword [eax*4 + 0x405a0c]
push 0x60ccfc
jmp 0x40590f
push 0x60ccf8
jmp 0x40590f
push 0x60ccf4
jmp 0x40590f
push 0x60ccf0
jmp 0x40590f
push 0x60ccec
jmp 0x40590f
push 0x60cce8
jmp 0x40590f
push 0x60cce4
jmp 0x40590f
push 0x60cce0
jmp 0x40590f
push 0x60ccdc
jmp 0x40590f
push 0x60ccd8
jmp 0x40590f
push 0x60ccd4
jmp 0x40590f
push 0x60ccd0
jmp 0x40590f
push 0x60cccc
jmp 0x40590f
push 0x60ccc8
jmp 0x40590f
push 0x60ccc4
jmp 0x40590f
push 0x60ccc0
jmp 0x40590f
push str.VALUE
jmp 0x40590f
push str.UNKNOWN
lea ecx, [esp + 0x10]
call fcn.005989e8
mov eax, dword [esp + 0x30]
push 0x638420
push eax
call fcn.0057d2d3
add esp, 8
test eax, eax
jne 0x405944
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.005985d4
mov dword [esp + 0x14], ebx
jmp 0x4059bc
mov ecx, dword [esi + edi*4 + 0x20]
mov eax, ecx
and eax, 3
dec eax
je 0x405976
dec eax
jne 0x4059a8
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str.__s___s___s_
push edx
call fcn.0059584e
add esp, 0x14
jmp 0x4059a8
test cl, 4
je 0x40598c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push str._s__s_
jmp 0x40599b
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push str.__s__s
lea edx, [esp + 0x1c]
push edx
call fcn.0059584e
add esp, 0x10
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.005985d4
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.0059885f
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call fcn.0059885f
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], bl
call fcn.0059885f
lea ecx, [esp + 0x34]
mov byte [esp + 0x20], 0
call fcn.0059885f
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x4088f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ad5eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x633828]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
xor edi, edi
push 0x638420
mov dword [esp + 0x1c], edi
call fcn.005989e8
lea ecx, [esp + 0xc]
or eax, 0xffffffff
mov dword [esi + 0x10], edi
push ecx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
mov dword [esi + 8], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x14], edi
mov dword [esi], edi
call fcn.00595b8f
lea edx, [esp + 0xc]
push edx
call fcn.00595b8f
lea eax, [esp + 0xc]
push eax
call fcn.00595b8f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x408990
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ad610
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
xor ebx, ebx
lea eax, [edi + 0x2c]
mov dword [esp + 0x18], ebx
push eax
push ecx
push edx
call fcn.00598af4
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x1c], 1
call fcn.00598998
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], bl
call fcn.0059885f
mov eax, dword [edi]
push 1
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x1c]
push ebx
push ebx
push ecx
call fcn.0057d500
mov ecx, dword [edi + 0x20]
xor ebp, ebp
add eax, ecx
mov dword [esi + 0x30], ebx
adc edx, ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
lea edx, [esi + 0x18]
lea eax, [edi + 4]
push edx
push eax
mov dword [esi + 0x2c], ebx
call fcn.00408a60
lea ecx, [esi + 0x1c]
lea edx, [edi + 0xc]
push ecx
push edx
call fcn.00408a60
lea eax, [esi + 0x20]
add edi, 0x14
push eax
push edi
call fcn.00408a60
mov ecx, dword [esp + 0x40]
add esp, 0x18
mov dword [esi], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x408c20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ad656
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebp
push esi
mov esi, dword [esp + 0x164]
push edi
mov edi, dword [esp + 0x164]
lea ebp, [esi + 0x12]
push edi
push ebp
call fcn.00408dd0
add esp, 8
test eax, eax
jne 0x408c65
mov byte [ebp], al
jmp 0x408dab
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x408c7c
mov byte [ebp], 0
xor eax, eax
jmp 0x408dab
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea ecx, [esp + 0x10]
call fcn.005988cd
mov eax, dword [0x633828]
mov dword [esp + 0x15c], 0
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 1
push ecx
push edi
call fcn.00408f40
add esp, 8
lea ecx, [esp + 0x10]
push 0x60b360
call fcn.00595861
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0057d2d3
add esp, 8
test eax, eax
jne 0x408cea
push 0x60cdfc
lea ecx, [esp + 0x10]
call fcn.00598c3b
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x408d2b
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 0
call fcn.0059885f
lea ecx, [esp + 0xc]
mov dword [esp + 0x15c], 0xffffffff
call fcn.0059885f
xor eax, eax
jmp 0x408dab
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x18]
and al, 0x7f
push esi
push edx
mov byte [esi + 0x10], al
mov dword [esi + 0xc], ecx
call fcn.00408a60
lea edi, [esi + 8]
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00408a60
lea ebp, [esi + 4]
lea ecx, [esp + 0x38]
push ebp
push ecx
call fcn.00408a60
mov eax, dword [esi]
add esp, 0x18
test eax, eax
jne 0x408d77
mov edx, dword [ebp]
mov dword [esi], edx
cmp dword [edi], 0
jne 0x408d81
mov eax, dword [ebp]
mov dword [edi], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 0
call fcn.0059885f
lea ecx, [esp + 0xc]
mov dword [esp + 0x15c], 0xffffffff
call fcn.0059885f
mov eax, 1
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x154
ret
Function at 0x408dd0
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ad66b
push eax
mov dword fs:[0], esp
sub esp, 0x150
lea eax, [esp + 8]
push esi
mov esi, dword [esp + 0x164]
push edi
mov edi, dword [esp + 0x16c]
push eax
push esi
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x408e37
push 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
add esp, 0x15c
ret
mov ecx, dword [0x633828]
mov dword [esp + 8], ecx
lea edx, [esp + 8]
mov dword [esp + 0x160], 0
push edx
push esi
call fcn.00408f40
add esp, 8
lea ecx, [esp + 8]
push 0x60b360
call fcn.00595861
push 0x60b360
lea ecx, [esp + 0xc]
call fcn.00598c3b
mov edx, dword [esp + 8]
push 0
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x408ec6
lea ecx, [esp + 8]
mov dword [esp + 0x160], 0xffffffff
call fcn.0059885f
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
add esp, 0x15c
ret
test byte [esp + 0xc], 2
jne 0x408ed4
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [esp + 0xc], 4
jne 0x408f03
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x408f03
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 8]
mov dword [esp + 0x160], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0x158]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x15c
ret
Function at 0x40a970
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push edi
mov edi, ecx
xor ecx, ecx
cmp eax, ecx
jne 0x40a989
xor eax, eax
pop edi
add esp, 8
ret 0x10
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
cmp esi, ecx
mov dword [esp + 8], ecx
jbe 0x40aa66
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [ecx + ebx]
inc ecx
shl edx, 8
cmp ecx, esi
mov dword [esp + 0x24], ecx
jae 0x40a9cd
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov bl, byte [ecx + esi]
mov esi, dword [esp + 0x20]
or edx, ebx
inc ecx
mov dword [esp + 0x24], ecx
jmp 0x40a9d1
inc dword [esp + 0x10]
shl edx, 8
cmp ecx, esi
jae 0x40a9ea
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov bl, byte [ecx + esi]
or edx, ebx
inc ecx
mov dword [esp + 0x24], ecx
jmp 0x40a9ee
inc dword [esp + 0x10]
mov esi, 3
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x40aa07
dec ebx
mov byte [esp + esi + 0x14], 0x3d
mov dword [esp + 0x10], ebx
jmp 0x40aa1d
mov ebx, dword [0x60ced0]
mov ecx, edx
and ecx, 0x3f
mov cl, byte [ecx + ebx]
mov byte [esp + esi + 0x14], cl
mov ecx, dword [esp + 0x24]
shr edx, 6
dec esi
jns 0x40a9f3
xor edx, edx
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40aa43
cmp dword [edi + 4], esi
jb 0x40aa43
mov byte [eax + ebp], 0xd
inc eax
mov byte [eax + ebp], 0xa
inc eax
mov dword [edi + 4], 0
mov bl, byte [esp + edx + 0x14]
mov byte [eax + ebp], bl
mov ebx, dword [edi + 4]
inc eax
inc edx
inc ebx
cmp edx, 4
mov dword [edi + 4], ebx
jl 0x40aa25
mov esi, dword [esp + 0x20]
cmp ecx, esi
jb 0x40a9a2
pop ebp
pop ebx
pop esi
pop edi
add esp, 8
ret 0x10