joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49dbb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f6e68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, ecx
push esi
lea ecx, [esp + 0x10]
call fcn.004d6566
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [eax + 0xdc]
push 7
lea ecx, [esp + 0x10]
call fcn.004d5f31
lea esi, [edi + 0xb0]
mov ebx, 9
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add eax, 0xfffffffd
push 0xff00
lea edx, [ecx + 3]
push eax
push edx
push eax
add ecx, 0xfffffffd
lea eax, [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.004705d0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add eax, 3
push 0xff00
lea edx, [ecx + 3]
push eax
push edx
push eax
add ecx, 0xfffffffd
lea eax, [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.004705d0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add ecx, 0xfffffffd
push 0xff00
lea edx, [eax + 2]
add eax, 0xfffffffe
push edx
push ecx
push eax
lea eax, [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.004705d0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add ecx, 3
push 0xff00
lea edx, [eax + 2]
add eax, 0xfffffffe
push edx
push ecx
push eax
lea eax, [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.004705d0
add esi, 8
dec ebx
jne 0x49dc0a
lea esi, [edi + 0x98]
mov ebx, 3
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [esi - 4]
push 0xff00
push ecx
mov ecx, dword [esi - 8]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.004705d0
add esi, 8
dec ebx
jne 0x49dcab
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xa8]
mov edx, dword [edi + 0x94]
push 0xff00
push eax
mov eax, dword [edi + 0x90]
push ecx
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, edi
call fcn.004705d0
push 0xd
lea ecx, [esp + 0x10]
call fcn.004d5f31
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004d65d8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x4b1ccb
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
cmp word [ebp + 0xc], 0
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
jbe 0x4b1cfd
push ebx
push edi
movzx edi, word [ebp + 0xc]
movzx dx, byte [eax]
mov ebx, edx
sub ebx, ecx
xor ebx, dword [ebp + 0x10]
add ebx, esi
mov esi, edx
mov ecx, ebx
mov byte [eax], cl
dec eax
dec edi
jne 0x4b1ce4
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x4bec3b
Capabilities:
Encode data using xor

Disassembly:
test dword [esi - 0x72], ebx
mov dl, 0x70
xchg ebp, eax
xchg esi, eax
js 0x4bec87
mov al, byte ds:[0x2748f212]
loope 0x4becab
sbb byte [esi*4 + 0x584d6e3a], 0xfc
pop eax
pop ds
movsd dword es:[edi], dword [esi]
sub byte [edx], 0x87
xor eax, 0x4dd61eca
mov cl, 0x70
and ah, dh
inc edx
and eax, 0xc51c10a4
mov al, byte [0xbbdcafe]
mov byte [esi - 0x12], ch
mov eax, dword [eax - 0x62]
invalid
push edi
jmp 0x5669d8b3
cmc
sbb cl, ch
jb 0x4bed12
jb 0x4bec86
lea ebp, [eax + esi*2 + 0x22]
mov dword [edx], ebp
iretd
cmp byte [edi], dh
mov eax, 0xa4acbbf4
push ebx
push es
sahf
ffree st(4)
mov eax, dword es:[esi + 0x6c4db2e8]
mov edi, 0x9c15975c
rcr dword [eax + 0x1762], cl
xchg edi, eax
adc eax, 0x6298d39c
pop ss
add byte [eax], al
xor al, 0xe8
pop es
sbb byte [ebp + 0x3c], bh
xor ah, bh
xor ah, bl
push cs
pushfd
add al, 0x43
sub ch, byte [edx]
jp 0x4bed27
frstor dword [eax*4 + 0x96e9aed]
or byte [edi + 0x7220c20a], bh
test eax, 0xc7e90e7
std
inc eax
adc dl, 0x33
inc ebp
mov word [edi + 0x39], cs
inc ebp
mov word [0xb01356fa], ds
inc ecx
salc
aam 0xd9
push 0x17
clc
add al, 0xbc
invalid

Function at 0x4cc7b3
Capabilities:
Encode data using xor

Disassembly:
test eax, 0x9ed4c4c2
jnp 0x4cc770
or ecx, dword [esp + ecx - 0x287a68b]
wait
cmp eax, 0x7899da2a
sbb dword [ecx + edx*4 + 0x32], ebp
and edi, dword [edi + 0x78]
int3
sub eax, 0x8bc528b0
out 0x31, eax
cld
cmp ebx, dword [esi + 0x73]
mov ebp, 0x1e26276
xchg edx, eax
jae 0x4cc770
loop 0x4cc712
mov dh, cl
std
push ds
div byte [ebx - 0x77e24192]
insd dword es:[edi], dx
int 0xb7
jmp 0x4cc790
sbb ah, bh
mov ah, 0xd4
ret
and dword [eax + edi*8 + 0x71], ecx
adc byte [edx + 0x13], dl
or byte [edx + 0x2867c9c9], ch
push ebp
sub dword [edx], 0x4f
jnp 0x4cc7d2
xor byte [edi], dl
inc edx
scasd eax, dword es:[edi]
aad 0x92
inc esi
or bh, byte [eax]
and eax, 0xa0e79b81
jecxz 0x4cc82e
invalid
cmpsd dword [esi], dword es:[edi]
invalid
test eax, esp
mul dh
xor eax, 0x9e3d5547
fidiv dword [eax - 0x4393f0aa]
lcall 0x5109, 0x3c546ff2
lds ebp, cs:[ecx - 0x2725b61c]
in al, 0x49
fcmovu st(0), st(0)
fdivr dword [ecx]
pop esi
sbb bl, byte [eax + 0xa]
add dh, byte [eax*4 - 0x79179fd7]
jae 0x4cc7b9
sub byte [esi], cl
ret 0x4e62
pop ebp
or eax, 0x16dd69a2
mov al, 0xe6
mov edi, 0xd341de71
invalid

Function at 0x4cea33
Capabilities:
Encode data using xor

Disassembly:
iretd
jbe 0x4cea55
xlatb
sub eax, dword [esi + 0x19]
add eax, 0x329326a3
mov bl, 0xab
xor bl, byte [esi + edi*2]
je 0x4cea40
xchg esi, eax
dec edx
sub dword [ecx - 0x726812c9], ebp
idiv dword [eax - 0x36f5eb62]
clc
rol byte [eax - 0x7f], 0xab
dec ecx
in eax, dx
lahf
cmp eax, dword [ebp - 0x5eb5cce8]
test eax, 0xfd4f0e75
inc eax
sub dword [ebx + 0x3b9fed49], 0x4a331885
mov eax, dword [0x4f0e75a9]
std
pop edx
in eax, 0x95
pop ecx
sub ecx, edx
add bh, byte [eax - 0x24]
salc
out dx, al
add al, 0x71
jg 0x4ceae3
cli
sbb eax, 0xa8c227c
ja 0x4cea99
in al, 0x1f
mov cs, esp
jnp 0x4cea08
mov ch, byte [esp + eax - 0x6e7684c8]
out 0, eax
adc dh, byte [eax + esi - 0x27]
push esi
cwde
stosb byte es:[edi], al
invalid
invalid
invalid
invalid
Function at 0x4d0b66
Capabilities:
Encode data using xor

Disassembly:
push es
mov eax, dword [0x31004668]
add ebx, dword [ebx + 0xb]
je 0x4d0b37
int1
sub al, 0x95
movsd dword es:[edi], dword [esi]
retf
movsb byte es:[edi], byte [esi]
push ss
inc ebp
out 0xf1, al
xor dh, byte [ecx + ebp*4]
das
dec ecx
or cl, byte [eax + 0x41]
mov ebx, 0xfac8f102
lodsb al, byte [esi]
out 0x33, eax
mov ebp, 0xc83c634c
push eax
cmp dword [eax], esp
js 0x4d0b67
jo 0x4d0b36
cmpsb byte [esi], byte es:[edi]
adc byte [esp + ecx*4 + 0x21191368], al
adc al, 0x9f
les ebp, [ecx]
rol dl, 0x89
js 0x4d0be6
in al, dx
cmp edi, dword [edx + edx*4 + 0x550bf0a9]
push ebp
inc eax
push es
push ebx
xchg edi, eax
cdq
dec ecx
mov edx, dword [edi - 0x744e93a8]
mov ah, 0x4e
mov ch, 0x58
mov dl, byte [eax]
push esp
test dword [edi], edi
push esi
adc byte [esp + edx*8], 0x50
jno 0x4d0c01
add byte [ebp - 0x49], ah
mov ch, 0x34
push esi
cli
mov word [edi + 6], ds
sbb edi, dword [ebp - 0x73]
pop eax
in eax, 0x82
sub dword [eax], 0xcdc47374
pop es
invalid
je 0x4d0b9f
sti
adc byte [esi], dh
add dl, dl
daa
cmp dword [edx - 0x3ac32e7], eax
pmovmskb esi, mm4
pop ecx
invalid
retf 0x693d

Function at 0x4dc8fe
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0xccae087d
das
shr byte [eax], cl
rcl bl, cl
cwde
invalid
Function at 0x57dd23
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
xor ecx, ecx
lea ebx, [ebp]
mov word [ebx + 0x200], 0
add ebx, 2
mov word [ebx + 0x200], 0
add ebx, 2
mov word [ebx + 0x200], 0
add ebx, 2
mov word [ebx + 0x200], 0
add ebx, 2
add ecx, 8
cmp ecx, 0x100
jl 0x57dd28
xor ecx, ecx
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
mov byte [ebx], cl
inc cx
cmp cx, 0x100
jl 0x57dd65
xor ecx, ecx
xor edx, edx
and edx, 0xff
mov ebx, edx
add ebx, ebp
add dl, byte [ebx + 0x200]
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
add dl, byte [ebx]
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
mov al, byte [ebx]
and edx, 0xff
mov ebx, edx
add ebx, ebp
mov ah, byte [ebx]
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
mov byte [ebx], ah
and edx, 0xff
mov ebx, edx
add ebx, ebp
mov byte [ebx], al
inc cx
cmp cx, 0x100
jl 0x57dd7e
xor edi, edi
add cl, 1
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
add dl, byte [ebx]
mov al, byte [ebx]
and edx, 0xff
mov ebx, edx
add ebx, ebp
mov ah, byte [ebx]
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
mov byte [ebx], ah
and edx, 0xff
mov ebx, edx
add ebx, ebp
mov byte [ebx], al
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
mov al, byte [ebx]
and edx, 0xff
mov ebx, edx
add ebx, ebp
add al, byte [ebx]
and eax, 0xff
mov ebx, eax
add ebx, ebp
mov ch, byte [ebx]
xor ch, byte [esi + edi]
mov byte [esi + edi], ch
inc edi
cmp edi, dword [ebp + 0x108]
jne 0x57ddd5
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x44b920
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49b5e8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00446160
test eax, eax
je 0x44ba28
lea ecx, [esp + 0xc]
call fcn.0041e290
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00446160
mov ecx, eax
call fcn.00443870
test eax, eax
je 0x44ba0f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x44ba0f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x44ba0f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0041e490
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x44b9f1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x44ba0f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4ea1a0]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4bc750
call fcn.0041e490
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x44e8d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49b878
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x44e909
inc eax
mov dword [esi + 0x10], eax
jmp 0x44ea1c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x44e91d
mov eax, 0xffffffc7
jmp 0x44ea1e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x44e92e
cmp dword [esi + 8], eax
jne 0x44e91d
cmp dword [esi + 8], eax
jne 0x44e947
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x44e947
mov eax, 0xffffffc7
jmp 0x44ea1e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x44e95b
push eax
mov ecx, ebx
call fcn.0044e100
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0041e290
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x44e98c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0041e2b0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0044d870
test eax, eax
mov dword [esp + 0x38], eax
je 0x44e9bf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4bc780
call fcn.0041e490
mov eax, dword [esp + 0x38]
jmp 0x44ea1e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0044e730
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x44ea03
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0044e750
mov esi, eax
test esi, esi
jne 0x44ea33
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0044e730
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x44e9d5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4bc780
call fcn.0041e490
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4bc780
call fcn.0041e490
mov eax, esi
jmp 0x44ea1e

Function at 0x453480
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4534e0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4534e0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4534e0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4534e0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x453520
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x41b04f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041acf1

Function at 0x41b05a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ae80

Function at 0x41b454
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a840
mov eax, dword [0x459c80]
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.00418c95
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41b496
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41b5f2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425b80
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 + 0x45c410]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041c1f3
mov ecx, dword [esi*4 + 0x45c410]
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 0x41b5eb
cmp eax, dword [edi + ecx + 0x24]
jne 0x41b5eb
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 0x41b5eb
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041c1f3
add esp, 0x14
test edx, edx
jl 0x41b5eb
jg 0x41b561
test eax, eax
jb 0x41b5eb
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41b5eb
jl 0x41b57b
cmp dword [ebp - 0x1008], eax
ja 0x41b5eb
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41b599
test ebx, ebx
je 0x41b5d2
cmp ecx, edi
jae 0x41b5d2
mov al, byte [ecx]
cmp al, 0xd
jne 0x41b5b3
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41b5bf
cmp byte [ecx + 1], 0xa
jne 0x41b5bf
inc ecx
jmp 0x41b5bf
movzx eax, al
movsx eax, byte [eax + 0x459f40]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41b599
cmp edx, ebx
jne 0x41b599
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41b5f0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409e84
leave
ret
Function at 0x41b691
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 + 0x45c410]
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 0x41b6d1
cmp byte [ebx], 0xa
jne 0x41b6d1
or byte [eax + edi + 0x28], 4
jmp 0x41b6d6
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41b7d4
mov al, byte [edx]
cmp al, 0x1a
je 0x41b7b6
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41b705
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41b72a
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41b734
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 0x41b6e7
jmp 0x41b7d4
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 0x41b7b1
cmp dword [ebp - 0xc], 0
je 0x41b7b1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x45c410]
test byte [eax + edi + 0x28], 0x48
je 0x41b78b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41b776
mov byte [esi], dl
jmp 0x41b787
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x45c410]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41b7d4
cmp byte [ebp - 1], 0xa
jne 0x41b79a
cmp esi, ebx
jne 0x41b79a
mov byte [esi], 0xa
jmp 0x41b7d3
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041c211
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41b7d4
mov byte [esi], 0xd
jmp 0x41b7d3
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x45c410]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b7d0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b7d4
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41b7dd
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 + 0x45c410]
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 0x41b820
cmp word [esi], dx
jne 0x41b820
or byte [edi + eax + 0x28], 4
jmp 0x41b825
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 0x41b978
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 0x41b958
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41b867
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41b89d
cmp eax, edx
jae 0x41b8a9
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 0x41b83f
jmp 0x41b978
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 0x41b954
cmp dword [ebp - 0x14], 0
je 0x41b954
mov eax, dword [ebx*4 + 0x45c410]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41b92c
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41b8f5
mov word [esi], cx
jmp 0x41b928
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x45c410]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x45c410]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x45c410]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41b978
pop ebx
cmp word [ebp - 4], bx
jne 0x41b93d
cmp esi, dword [ebp + 0xc]
jne 0x41b93d
mov word [esi], bx
jmp 0x41b975
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041c211
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41b978
push 0xd
jmp 0x41b971
mov ecx, dword [ebx*4 + 0x45c410]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b96f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b978
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 0x41e184
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41e221
push ebx
push esi
call fcn.0041e14d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041cdd2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41e1ce
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e220
push edi
push eax
call fcn.00417def
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41e1ee
call fcn.00416dfb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e21f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041cdd2
add esp, 0x20
test eax, eax
jne 0x41e20d
push edi
call fcn.00416dfb
jmp 0x41e215
push ebx
call fcn.00416dfb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x425980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4259ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4259ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4272f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x459c80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp + 0xc], esi
jbe 0x42737e
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
push str.Open_Cards
push 0x45b9a0
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402066
mov al, byte [edi + esi]
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
push str.Taste
mov byte [edi + esi], al
call fcn.004052d1
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0x4285a0
call fcn.004023cf
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
push eax
call fcn.0040ef6e
xor byte [edi + esi], al
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.004046bc
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x427310
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00409e84
leave
ret 8

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