joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412cf5
Capabilities:
Check os version
Encode data using base64
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebx
pop ebx
push ebp
mov ebp, esp
sub esp, 0x12c

Function at 0x412ff5
Capabilities:
Check os version
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
jne 0x4400a2
je 0x413003
leave
salc
je 0x4400a2

Function at 0x4141e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, dword [esi]
mov cl, byte [ebp + eax - 0x1c]
add cl, 0x1f
mov dl, byte [edi + 0xbc]
sub dl, 0x14
xor cl, dl
jb 0x414393
mov byte [edi + eax + 0x24], cl
inc eax
cmp eax, 8
jl 0x414254
jge 0x401980
xor al, 0xc4
int3
jmp 0x402e0a
test al, al
jb 0x4143bc
jne 0x4054de
je 0x40199a
mov al, byte ds:[0xe4458dd4]
lea eax, [ebp - 0x1c]
push 8
add ecx, 0x24
jmp 0x4019a6
push eax
push ecx
ja 0x4054cc
jbe 0x4019b6
test dword [eax], ecx
in eax, 9
jg 0x4019c6
jbe 0x4054cc
xchg byte [eax], dl
cmp eax, dword [eax]
add cl, bl
mov al, 0x8b
pop esi
add al, 0xf
fnstenv [eax + 0xf045e8b]
mov dh, bh
mov dh, 2
add byte [ecx + 5], bh
invalid
call int.00439c56
add esp, 0xc
jmp 0x402e0a
xor eax, eax
jb 0x43b52f
pop esi
mov ch, 0x2e
jns 0x42b104
and dh, 0x68
dec ebp
fadd dword [ebx]
ret
add esp, 0x18
jmp fcn.0040bafa
xor eax, 0x24648ddc
add al, 0xe9
push ecx
enter 1, 0xffffffffffffffd9
stosb byte es:[edi], al
call fcn.00434b3f
xor eax, eax
jb 0x42e0cd
mov ax, word [edi + 0x20]
push eax
push esi
push edi
pop edi
call fcn.00428fca
xor ecx, ecx
jb 0x4101e8
mov cx, word [edi + 0x24]
push ecx
xchg dl, bh
xchg bh, dl
push esi
call fcn.0042086e
sub edx, 0
jno 0x413d60
adc eax, 0xba810f1d
out dx, al
invalid
jno 0x412c20
invalid
lea esp, [esp + 4]
mov al, byte [ecx + 0xba]
cmp al, 1
jne 0x41423b
je 0x4141fa
mov byte [0xfb80211b], al
push edx
xor eax, eax
jb 0x42590f
cmp al, 2
mov bl, bl
jne 0x401987
je 0x41424c
jg 0x414269
jbe 0x41423b
in al, dx
xor eax, eax
jb 0x413d1a
jno 0x40194f
jo 0x41425e
daa
adc byte [edi], cl
sub bl, 0xd6
invalid
jo 0x40194f
add eax, 0x59ebe892
add al, byte [eax]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [0x512370], ecx
shl bh, 0x20
mov eax, dword [0x512370]
mov esp, ebp
shr bx, 0x40
pop ebp
ret
je 0x41437f
add byte [0x45e8b5a], ah
lea esi, [esi + 8]
xchg dh, cl
xchg cl, dh
shl word [ebp + ebx], cl
jmp dword [esi]
movsb byte es:[edi], byte [esi]
pop edx
mov si, si
mov al, al
mov cl, byte [ebp + 0x28]
mov ebx, dword [esi + 4]
mov cx, cx
lea esi, [esi + 8]
shl dword [ebp + ebx], cl
jne 0x43b52d
je 0x4143b6
loopne 0x41437d
dec ebp
mov esi, 0x7171840f
add al, byte [eax]
je 0x43b52d
invalid
xor eax, 0x24648dc8
add al, 0x8d
jbe 0x425924
cmp dh, dh
cmp dword [ebp + ebx], eax
jmp dword [esi]
mov bp, bp
lea edx, [edx]
mov eax, dword [esi + 4]
mov ebx, dword [esi + 8]
mov ebx, dword [ebp + ebx]
shr cx, 0x40
lea esi, [esi + 0xc]
or bh, bh
cmp byte [ebx], al
call fcn.0041dba0
fld dword [eax - 0x77bf1340]
shr ah, 0x40
mov bl, bl
jmp dword [esi]
invalid
jmp dword [esi]
pop edi
in al, dx
shl dh, 0x20
mov cl, byte [ebp + 0x28]
mov ebx, dword [esi + 4]
lea esi, [esi + 8]
shr byte [ebx], cl
jmp dword [esi]
Function at 0x438abf
Capabilities:
Get file size

Disassembly:
mov eax, eax
push ebp
shr edi, 0x40
mov ebp, esp
mov ecx, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xchg ecx, eax
xchg ecx, eax
mov ecx, dword [ebp + 8]
test eax, 0xb30c5415
test ecx, ecx
jb 0x42320d
je 0x438afd

Function at 0x43e767
Capabilities:
Authenticate hmac
Check os version
Encode data using base64
Encode data using xor
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
mov ebx, dword [ebp + 0xc]
push esi
jne 0x42d1e1
je 0x43e77c
nop
cpuid
ret 0x840f
je 0x42d1e1
xor ch, 0xf
test dword [edx], esi
xchg ebx, eax
std
dec dword [eax + 0x280474d2]
fisttp qword [ebx + 0x24]
mov ax, ax
jmp fcn.00433ac6

Function at 0x440a57
Capabilities:
Encode data using base64

Disassembly:
call 0x42d202
add eax, 0xfc085a3
add byte [esi + 0x36], 0
add byte [ebx + 0x512db3], ah
lea esp, [esp + 4]
jmp 0x41a6a4

Function at 0x444860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
push ebp
xor ebp, ebp
test eax, eax
jle 0x4448ef
mov eax, dword [esp + 0x10]
push ebx
push esi
push edi
xor ecx, ecx
xor esi, esi
xor edi, edi
lea esp, [esp]
inc ecx
and ecx, 0x800000ff
jns 0x444891
dec ecx
or ecx, 0xffffff00
inc ecx
movzx ecx, cl
movzx edx, byte [ecx + eax]
add edx, esi
and edx, 0x800000ff
jns 0x4448aa
dec edx
or edx, 0xffffff00
inc edx
movzx esi, dl
mov bl, byte [esi + eax]
mov dl, byte [ecx + eax]
mov byte [ecx + eax], bl
mov byte [esi + eax], dl
movzx edx, byte [ecx + eax]
movzx ebx, byte [esi + eax]
add edx, ebx
and edx, 0x800000ff
jns 0x4448d3
dec edx
or edx, 0xffffff00
inc edx
movzx edx, dl
mov bl, byte [edx + eax]
mov edx, dword [esp + 0x14]
xor byte [edi + edx], bl
mov edx, dword [esp + 0x18]
inc ebp
movsx edi, bp
cmp edi, edx
jl 0x444880
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x444900
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor eax, eax
mov ecx, edi
lea esp, [esp]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x444910
xor dl, dl
xor ecx, ecx
mov esi, edi
mov ebp, pe_nt_image_headers32
mov eax, dword [esp + 0x14]
movzx ebx, byte [esi]
movzx edx, dl
movzx eax, byte [edx + eax]
sub eax, ebx
add eax, ecx
and eax, 0x800000ff
jns 0x444945
dec eax
or eax, 0xffffff00
inc eax
movzx ecx, al
mov al, byte [esi]
mov bl, byte [ecx + edi]
mov byte [esi], bl
mov byte [ecx + edi], al
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x18]
inc esi
dec ebp
jne 0x444925
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x445260
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
test edi, edi
jbe 0x4452b8
push ebx
push esi
mov esi, dword [esp + 0x10]
movzx edx, byte [esi]
mov ecx, eax
and ecx, 0xf
movzx ecx, word [ecx*4 + 0x5131f0]
shr ax, 4
mov ebx, edx
and ebx, 0xf
xor cx, word [ebx*4 + 0x5131f0]
shr edx, 4
xor ecx, eax
mov eax, ecx
and eax, 0xf
movzx eax, word [eax*4 + 0x5131f0]
xor ax, word [edx*4 + 0x5131f0]
shr cx, 4
xor eax, ecx
inc esi
dec edi
jne 0x445271
pop esi
pop ebx
pop edi
ret

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

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test esi, esi
jbe 0x4456cf
push ebx
lea ebx, [ebx]
xor edx, edx
mov dl, byte [ecx + edi]
xor edx, eax
and edx, 0xff
mov ebx, dword [edx*4 + 0x5132b0]
shr eax, 8
xor eax, ebx
inc ecx
cmp ecx, esi
jb 0x4456b0
pop ebx
not eax
ret

Function at 0x445cd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
push esi
xor ebx, ebx
mov esi, dword [esp + 0xc]
mov ecx, 4
mov al, byte [esi + 2]
mov bl, byte [eax + str._.C]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jle 0x445d08
mov edx, ebx
inc ecx
and edx, 0xff
inc ebx
mov dl, byte [edx + str._.C]
xor byte [esi + ecx - 1], dl
cmp ecx, eax
jl 0x445cf0
pop esi
pop ebx
ret

Function at 0x445fd0
Capabilities:
Encode data using xor

Disassembly:
mov ax, word [esp + 8]
push ebx
and ax, 0x8000
push esi
mov dx, word [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ax, 1
sbb eax, eax
add dx, dx
inc eax
or ax, dx
mov word [esp + 0x10], ax
xor byte [esp + 0x11], al
mov ax, word [esp + 0x10]
and ax, 1
mov dx, word [esp + 0x10]
cmp ax, 1
mov eax, 0
adc eax, 0xffffffff
and ax, 0x8000
shr dx, 1
or ax, dx
mov word [esp + 0x10], ax
and ax, 1
mov dx, word [esp + 0x10]
cmp ax, 1
mov eax, 0
adc eax, 0xffffffff
mov esi, 0x55
and ax, 0x8000
shr dx, 1
or ax, dx
mov word [esp + 0x10], ax
mov eax, 0x58
mov dl, byte [esp + 0x10]
mov bl, byte [esp + 0x10]
and dl, 0x80
add bl, bl
shr dl, 7
add ecx, 2
or dl, bl
mov byte [esp + 0x10], dl
mov dl, byte [esp + 0x11]
and dl, 1
mov bl, byte [esp + 0x11]
shl dl, 7
shr bl, 1
or dl, bl
mov byte [esp + 0x11], dl
mov bl, byte [esp + 0x10]
xor byte [esp + 0x11], bl
mov dx, word [esp + 0x10]
not dx
mov word [esp + 0x10], dx
xor word [ecx - 2], dx
add word [esp + 0x10], si
dec eax
jne 0x446053
pop esi
pop ebx
ret
Function at 0x44db10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x88
push ebx
lea ecx, [eax + 7]
shr ecx, 3
push esi
push edi
and eax, 7
mov esi, dword [esp + 0x98]
push ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jne 0x44db40
mov dword [esp + 0x18], 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x24], eax
je 0x44dc32
mov eax, dword [esp + 0x10]
xor dword [esi], eax
mov ecx, dword [esp + 0x14]
xor dword [esi + 4], ecx
cmp dword [esp + 0x20], 0
jne 0x44dc02
cmp dword [esp + 0x1c], 2
push 0
jbe 0x44dbe3
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5139fc], 0
jne 0x44dccd
mov eax, dword [esp + 0x28]
lea ebx, [esp + 0x30]
mov edi, 0x19
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov cl, 0x20
add eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [ebx + 4], eax
add ebx, 4
mov eax, dword [esp + 0x28]
mov edx, dword [ebx - 4]
and dl, 0x1f
sub cl, dl
shl eax, cl
mov cl, dl
shr ebp, cl
or eax, ebp
xor dword [esp + 0x34], eax
dec edi
jne 0x44dbb4
jmp 0x44dc10
push 0
push esi
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5139fc], 0
je 0x44dc10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
lea eax, [esp + 0x30]
push eax
push esi
call fcn.0044dd90
add esp, 8
mov eax, dword [esi]
add esi, 8
mov dword [esp + 0x10], eax
inc dword [esp + 0x20]
mov ecx, dword [esi - 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x24]
jb 0x44db67
xor eax, eax
cmp dword [esp + 0x18], eax
je 0x44dc48
mov cl, byte [eax + esi]
xor byte [esp + eax + 0x10], cl
inc eax
cmp dword [esp + 0x18], eax
ja 0x44dc3a
cmp dword [esp + 0x1c], 2
jbe 0x44dc63
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0044dd90
add esp, 8
jmp 0x44dc88
cmp dword [esp + 0x1c], 1
jne 0x44dc77
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x10]
push 0
push 0
push eax
call fcn.0044dce0
add esp, 0xc
cmp dword [esp + 0x1c], 1
jbe 0x44dcc0
xor ecx, ecx
cmp dword [esp + 0x18], ecx
je 0x44dca7
mov dl, byte [ecx + esi - 8]
lea eax, [ecx + esi]
inc ecx
mov byte [eax], dl
cmp dword [esp + 0x18], ecx
ja 0x44dc97
mov eax, dword [esp + 0x10]
mov dword [esi - 8], eax
mov ecx, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi - 4], ecx
pop esi
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
Function at 0x44de00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x90
push ebx
lea ecx, [eax + 7]
shr ecx, 3
push esi
push edi
and eax, 7
mov ebx, dword [esp + 0xa0]
push ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x44de30
mov dword [esp + 0x10], 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp dword [esp + 0x14], 1
jbe 0x44df25
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
sub eax, 2
mov dword [esp + 0x2c], eax
je 0x44df25
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x28], 0
jne 0x44dee5
lea eax, [esp + 0x30]
push 0
push eax
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5139fc], 0
jne 0x44e022
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x38]
mov esi, 0x19
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov cl, 0x20
add eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [edi + 4], eax
add edi, 4
mov eax, dword [esp + 0x30]
mov edx, dword [edi - 4]
and dl, 0x1f
sub cl, dl
shl eax, cl
mov cl, dl
shr ebp, cl
or eax, ebp
xor dword [esp + 0x3c], eax
dec esi
jne 0x44deb6
jmp 0x44def3
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0044e030
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
xor dword [ebx], eax
mov edx, dword [esp + 0x20]
xor dword [ebx + 4], ecx
mov eax, dword [esp + 0x24]
add ebx, 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
inc dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x2c]
jb 0x44de74
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], eax
je 0x44df4e
mov eax, dword [esp + 0x10]
lea esi, [ebx + 8]
lea edi, [esp + 0x18]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x14], 1
jne 0x44df76
push 0
push 0
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5139fc], 0
je 0x44dfac
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
cmp dword [esp + 0x14], 2
jne 0x44df9e
push 0
push 0
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5139fc], 0
je 0x44dfac
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0044e030
add esp, 8
cmp dword [esp + 0x14], 1
jbe 0x44e015
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
xor dword [esp + 0x18], eax
xor dword [esp + 0x1c], ecx
xor ecx, ecx
cmp dword [esp + 0x10], ecx
je 0x44dfdf
mov dl, byte [ecx + ebx + 8]
lea eax, [ecx + ebx]
inc ecx
mov byte [eax], dl
cmp dword [esp + 0x10], ecx
mov dl, byte [esp + ecx + 0x17]
mov byte [eax + 8], dl
ja 0x44dfc8
cmp dword [esp + 0x14], 2
jne 0x44e007
push 0
push 0
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5139fc], 0
je 0x44e015
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0044e030
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
xor dword [ebx], eax
xor dword [ebx + 4], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
Function at 0x44e030
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0xc
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push ebp
add edi, 0x64
mov ebp, dword [esi]
mov eax, dword [esi + 4]
sub ebp, dword [edi]
mov edx, eax
shr edx, 7
mov ebx, ebp
and dl, 0x1f
mov cl, 0x20
sub cl, dl
sub edi, 8
shl ebx, cl
mov cl, dl
shr ebp, cl
or ebx, ebp
mov cl, 0x20
xor ebx, eax
mov eax, ebx
mov dword [esi], ebx
shr eax, 4
mov edx, dword [edi + 4]
add edx, dword [esi + 4]
and al, 0x1f
mov ebp, edx
sub cl, al
shl ebp, cl
mov cl, al
shr edx, cl
or ebp, edx
xor ebp, ebx
dec dword [esp + 0x10]
mov dword [esi + 4], ebp
jne 0x44e04a
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
mov ecx, dword [eax + 4]
sub dword [esi], ecx
mov edx, dword [eax]
sub dword [esi + 4], edx
pop esi
pop ebx
add esp, 4
ret

Function at 0x44f5f0
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push 0
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x44f619
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
inc esi
push esi
call fcn.00445a10
mov dword [esp + 0x10], eax
add esp, 4
test eax, eax
jne 0x44f634
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [esp + 0xc]
push esi
push eax
push ebx
call edi
test eax, eax
jne 0x44f64a
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 4
ret

Function at 0x4516c0
Capabilities:
Hash data with md5

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

Function at 0x4521e0
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.00451640
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
pop esi
ret

Function at 0x452270
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x51aa40]
and eax, 0xff00
cmp eax, 0x5000
je 0x4522bd
shr edi, 2
xor edx, edx
test edi, edi
jle 0x4522bd
push ebx
mov edi, edi
mov ecx, dword [esi + edx*4]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x452290
pop ebx
pop edi
ret
Function at 0x457c70
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x51ba98]
and eax, 0xff00
cmp eax, 0x2300
je 0x457cbd
shr edi, 2
xor edx, edx
test edi, edi
jle 0x457cbd
push ebx
mov edi, edi
mov ecx, dword [esi + edx*4]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x457c90
pop ebx
pop edi
ret
Function at 0x461d70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd35a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x501fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00461cd0
lea ecx, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.BrowseFile.0
call sub.mfc140u.dll_CStringArray::CStringArray
lea ecx, [ebx + 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x4e31b8
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push str.Executable_Files__.exe_.exeAll_Files__._.
lea ecx, [ebx + 0x38]
mov dword [ebx + 0x34], 6
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0x4e6aa4
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.004abf70
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebx + 0x3c], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4621b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd4b9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x501fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.DiskInfo.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
test edi, edi
je 0x46227a
push edi
lea ecx, [esi + 8]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push edi
mov ecx, esi
call fcn.0047d730
push edi
mov ecx, esi
call fcn.0048cd40
push edi
mov ecx, esi
call fcn.0047c8e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4635b0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x501fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x44]
push 0x40
push 0
push eax
mov dword [esi], vtable.MemoryStatus.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1c], edx
xor ecx, ebp
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi + 0x24], edx
pop esi
call fcn.004bf563
mov esp, ebp
pop ebp
ret
Function at 0x464a50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdefd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x501fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x18]
mov dword [esi], vtable.ShellExec.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 5
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call sub.mfc140u.dll_AfxGetThread
test eax, eax
je 0x464b12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
test eax, eax
je 0x464b12
mov eax, dword [eax + 0x20]
mov dword [esi + 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret