joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4200f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x20], 0x3a
mov dword [ebp - 0x14], 0x40
mov dword [ebp - 0x24], 0x3b
mov dword [ebp - 8], 0x1d
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x30], 0x27
mov dword [ebp - 0x34], 0x3c
mov dword [ebp - 0x38], 0x44
mov dword [ebp - 0x3c], 0x5c
mov dword [ebp - 0x40], 0x28
mov dword [ebp - 0x44], 0x4f
mov dword [ebp - 0x48], 0x50
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0x4e
mov dword [ebp - 0x58], 0x29
mov dword [ebp - 0x5c], 0x35
mov dword [ebp - 0x10], 0xa
mov dword [ebp - 0xc], 0x63
mov dword [ebp - 0x18], 0x16
mov dword [ebp - 0x1c], 0x30
mov dword [ebp - 4], 0
jmp 0x4201a2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x62
cmp dword [ebp - 4], ecx
jge 0x4201d4
mov edx, dword [ebp - 0x10]
and edx, dword [ebp + 0xc]
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x18]
je 0x4201d2
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 8]
jne 0x4201d2
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x420199
mov esp, ebp
pop ebp
ret
Function at 0x6a8c60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x6c], 0x2a
mov dword [ebp - 0x5c], 0x1e
mov dword [ebp - 0x68], 0x41
mov dword [ebp - 0x24], 0x50
mov dword [ebp - 0x60], 0x5d
mov dword [ebp - 0x18], 0x28
mov dword [ebp - 0x50], 3
mov dword [ebp - 0x44], 0xe
mov dword [ebp - 0x48], 0x2b
mov dword [ebp - 8], 0x17
mov dword [ebp - 0x70], 0x21
mov dword [ebp - 0x74], 0x37
mov dword [ebp - 0xc], 0x61
mov dword [ebp - 0x78], 0x40
mov dword [ebp - 0x3c], 0x4e
mov dword [ebp - 0x38], 9
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x7c], 0x5f
mov dword [ebp - 0x58], 0x39
mov dword [ebp - 0x80], 0xb
mov dword [ebp - 0x10], 0x28
mov dword [ebp - 4], 0x39
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
imul edx, dword [ebp - 0x44]
cmp edx, dword [0x7f4e60]
jge 0x6a8d34
mov dword [ebp - 0x2c], 1
jmp 0x6a8d3b
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0xc]
jge 0x6a8d55
mov dword [ebp - 0x30], 1
jmp 0x6a8d5c
mov dword [ebp - 0x30], 0
mov edx, dword [0x7f4cfc]
cmp edx, dword [ebp - 0x58]
jge 0x6a8d70
mov dword [ebp - 0x34], 1
jmp 0x6a8d77
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x34]
je 0x6a8da1
mov ecx, dword [0x7f4da8]
cmp ecx, dword [ebp - 0x48]
jne 0x6a8da1
mov edx, dword [ebp - 0x38]
cmp edx, dword [0x7f4cdc]
jge 0x6a8da1
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x3c]
or ecx, dword [ebp - 0x10]
je 0x6a8db2
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x6b4e2e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x6b4e6d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x6b4e6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x6b4e6d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x6b4e6d
cmp dword [ecx + 0x74], 0xe
jbe 0x6b4e6d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x6c14e7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x6c1526
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x6c1526
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x6c1526
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x6c1526
cmp dword [ecx + 0x74], 0xe
jbe 0x6c1526
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x6e1169
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006e103d
Function at 0x6e1c64
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x80ddc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x6e1caf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.006e2104
test al, al
jne 0x6e1ca9
sub edx, 2
cmp edx, edi
jne 0x6e1c8f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x6e1cd1
lea eax, [edi + 2]
cmp edx, eax
je 0x6e1cd1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.006e192b
add esp, 0x10
jmp 0x6e1dcb
push esi
lea ecx, [ebp - 0x255]
call fcn.006e2104
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x6e1d14
push dword [ebp - 0x25c]
jmp 0x6e1cc1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x6e1d51
cmp word [ebp - 0x226], 0
je 0x6e1d72
cmp word [ebp - 0x226], ax
jne 0x6e1d51
cmp word [ebp - 0x224], 0
je 0x6e1d72
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.006e192b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x6e1dbe
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x6e1d2b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x6e1da6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x6e1dcb
push 0x6e137b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.006ecee0
add esp, 0x10
jmp 0x6e1d9b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006b53a9
leave
ret
Function at 0x6e364b
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 0x6e36e8
push ebx
push esi
call fcn.006e3607
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.006e3544
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x6e3695
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x6e36e7
push edi
push eax
call fcn.006e5e4e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x6e36b5
call fcn.006e1329
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x6e36e6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.006e3544
add esp, 0x20
test eax, eax
jne 0x6e36d4
push edi
call fcn.006e1329
jmp 0x6e36dc
push ebx
call fcn.006e1329
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 0x6e36eb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x6e36fc
pop esi
ret
push ebx
push edi
push esi
call fcn.006e3607
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.006e5e4e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x6e3724
push ebx
push esi
push edi
call fcn.006bdf50
add esp, 0xc
push 0
call fcn.006e1329
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x6e4013
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006e3999

Function at 0x6e8166
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.006e0683
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6e81d5
cmp esi, dword [ebp - 4]
je 0x6e81d0
cmp dword [ebp + 0xc], 0
je 0x6e81d0
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x6e81ad
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.006e7cb8
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x6e81d7
xor eax, eax
inc eax
jmp 0x6e81d7
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x6e823c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x80ddc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.006e0683
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.006e0683
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x6e82b3
cmp word [ecx], dx
je 0x6e82b3
mov eax, dword [0x7dc13c]
push edi
dec eax
push eax
push 0x7dc028
call fcn.006e81db
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x6e8326
cmp word [eax], dx
je 0x6e8326
mov eax, dword [edi]
test eax, eax
je 0x6e82d7
cmp word [eax], dx
je 0x6e82d7
lea eax, [ebp - 0x10]
push eax
call fcn.006e7bbe
jmp 0x6e82e0
lea eax, [ebp - 0x10]
push eax
call fcn.006e7c59
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x6e8350
mov eax, dword [0x7dc024]
push dword [ebp - 0x14]
dec eax
push eax
push 0x7dbd18
call fcn.006e81db
add esp, 0xc
test al, al
je 0x6e8350
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x6e831b
cmp word [eax], di
je 0x6e831b
lea eax, [ebp - 0x10]
push eax
call fcn.006e7bbe
pop ecx
jmp 0x6e8352
lea eax, [ebp - 0x10]
push eax
call fcn.006e7c59
jmp 0x6e8318
mov eax, dword [edi]
test eax, eax
je 0x6e833d
cmp word [eax], dx
je 0x6e833d
lea eax, [ebp - 0x10]
push eax
call fcn.006e7b55
pop ecx
jmp 0x6e8350
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x6e841b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.006e8060
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x6e841b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x6e841b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x6e841b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x6e83a8
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.006e9129
test ebx, ebx
je 0x6e8416
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.006e9129
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6e841b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6e841b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.006ee3a3
add esp, 0x10
xor eax, eax
inc eax
jmp 0x6e841d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006b53a9
leave
ret
Function at 0x6e8d9b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x7dd364
push 0x7dd35c
push str.FlsAlloc
push 0x1f
call fcn.006e8a69
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6e8dcf
push dword [ebp + 8]
mov ecx, esi
call dword [0x6fe360]
call esi
jmp 0x6e8dd5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x6e8e19
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x7dd374
push 0x7dd36c
push str.FlsGetValue
push 0x21
call fcn.006e8a69
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6e8e50
push dword [ebp + 8]
mov ecx, esi
call dword [0x6fe360]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x6e8e58
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x7dd37c
push 0x7dd374
push str.FlsSetValue
push 0x22
call fcn.006e8a69
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6e8e92
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x6fe360]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x6f550b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x80f730]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x6f554b
cmp byte [ebx], 0xa
jne 0x6f554b
or byte [edi + eax + 0x28], 4
jmp 0x6f5550
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x6f564f
mov dl, byte [eax]
cmp dl, 0x1a
je 0x6f5632
inc eax
cmp dl, 0xd
je 0x6f557c
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x6f55a2
cmp eax, ecx
jae 0x6f55b0
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x6f5564
jmp 0x6f564f
push 0
lea eax, [ebp - 0x10]
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 0x6f562d
cmp dword [ebp - 0x10], 0
je 0x6f562d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x80f730]
test byte [eax + edi + 0x28], 0x48
je 0x6f5607
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x6f55f2
mov byte [esi], dl
jmp 0x6f5603
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x80f730]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x6f564f
cmp byte [ebp - 1], 0xa
jne 0x6f5616
cmp esi, ebx
jne 0x6f5616
mov byte [esi], 0xa
jmp 0x6f564e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.006f535d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x6f564f
mov byte [esi], 0xd
jmp 0x6f564e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x80f730]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x6f564c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x6f564f
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x6f5658
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x80f730]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x6f569e
cmp word [ebx], dx
jne 0x6f569e
or byte [eax + edi + 0x28], 4
jmp 0x6f56a3
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x6f5806
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x6f57e6
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x6f56e4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x6f571a
cmp eax, edx
jae 0x6f5728
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x6f56bf
jmp 0x6f5806
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x6f57e1
cmp dword [ebp - 0x18], 0
je 0x6f57e1
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x80f730]
test byte [eax + edi + 0x28], 0x48
je 0x6f57b7
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x6f577b
mov word [esi], cx
jmp 0x6f57b2
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x80f730]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x80f730]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x80f730]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x6f5806
pop eax
cmp word [ebp - 4], ax
jne 0x6f57c7
cmp esi, ebx
jne 0x6f57c7
mov word [esi], ax
jmp 0x6f5803
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.006f535d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x6f5806
push 0xd
pop eax
jmp 0x6f57c2
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x80f730]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x6f5800
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x6f5806
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x6fa1e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x6fa20d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x6fa20d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4099e4
Capabilities:
Encode data using xor

Disassembly:
and eax, 0xf9359417
mov bl, 0xac
daa
or ah, byte [ebp - 0x51]
inc eax
in al, 0xe0
cmc
test dword [ebx + ebp - 0x60149c4d], 0xb1f9c384
mov cl, 0xe7
or byte [esi + 0x61], bl
pop ebx
mov eax, dword [0xb44446ec]
aam 0x1b
popal
dec edx
mov bl, 0x3c
sub bh, 0x2c
mov dword [edx], esi
sub esi, dword [edi + 0x52f16cce]
call 0x28931d5
xlatb
pop eax
movsd dword es:[di], dword [si]
invalid

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

Disassembly:
xor eax, dword [ebp*4 - 0xdd0561d]
lodsb al, byte [esi]
cli
xor dword [ecx + 0x14f5f90d], esp
rcr dword [ecx + 0x7ecf6d57], 0x23
pushal
add al, 0xa2
sub esi, dword [0x758d80f7]
jne 0x40e502
jne 0x40e502
salc
inc edx
xor byte [ecx], al
dec eax
adc esi, dword [edi + 0x40]
nop
pop edx
push ecx
lodsb al, byte [esi]
jne 0x40e4bb
lodsd eax, dword [esi]
mov word [edx + ebp - 0x600fe874], ds
fimul dword [esi - 0x712aa0e6]
clc
imul edi, dword [esi], 0x7dc4d876
out 0x14, al
stosb byte es:[edi], al
mov ch, 0x4c
dec esp
dec edx
salc
add byte [edx + eax*4 - 0x38], cl
add byte [edx], bh
mov ebp, 0xcd326f49
push eax
xor ch, bh
mov al, byte [0x4743a0]
invalid

Function at 0x4143fa
Capabilities:
Encode data using xor

Disassembly:
dec ebx
xchg esi, eax
enter 0x125c, 0x4e
fst qword [ebx]
pop ds
push ebp
push ebx
push ds
sbb al, 0xe1
inc eax
push esi
dec esi
ror dword [ebx + esi*4], 0x54
aaa
and edx, esi
out dx, eax
sbb ebp, 0x8a0701b8
add dword [edi], eax
mov bh, byte [ebx]
mul byte [esi + 0x480a9f5d]
lcall 0xc2b7, 0xbe11b8fb
add dword [edi], eax
mov bh, byte [ebx]
mul byte [esi + 0x480a9f5d]
lcall 0xc2b7, 0xbe11b8fb
mov esp, 0x5ed04e00
aad 0x14
aam 3
mov byte [edi + esi*4 + 0x44], al
and byte [ecx], dl
or edi, dword [edi]
test al, 0x59
movsd dword es:[edi], dword [esi]
mov edx, 0x56e6cbb5
cmp ah, byte [eax]
sar dword [eax + 0x3e], 0xa3
sub al, 0x1e
aaa
push 0x34
mov byte [0xb50ddf8c], al
sub esi, edi
jne 0x41447f
mov dword [0x6a371e2c], eax
xor al, 0xa2
mov edi, ds
or eax, 0x75f72bb5
inc edi
out dx, eax
xor al, 0x4a
dec ebx
insd dword es:[edi], dx
adc edi, dword [esi - 5]
ja 0x4144b8
mov edx, 0x4a419f62
rcl byte [esi + 0x5449d884], 0x1a
js 0x4143dc
sahf
invalid
and al, 0x8f
or byte [ebx], bh
and dword [esi - 0x7eb10e6b], edx
jle 0x414429
or dword gs:[edx + 0x36d4d038], esp
xchg dword [0x939ee1e], esp
push edx
xchg ebx, eax
push 0xffffffffffffffca
in eax, dx
out dx, eax
push cs
test dword [eax], 0xf2394763
lea esi, [ebp + 0x7b0a4f76]
pop ebx
mov eax, 0x70608a7
push ecx
xor bh, byte [ecx]
invalid
mov ch, 0x37
xor dword [ebx - 0x6e3f87a4], esi
mov ebp, 0x34dc107b
cmp byte [ebx], bh
xchg ecx, eax
nop
sti
test al, 0xdb
mov ah, 0xbc
mov ah, 0x3c
fst qword [esi - 0x3e1bb632]
mov bh, 0x57
mov al, 0x61
and al, 0xc0
clc
in eax, dx
xchg edx, eax
mov dword [0x4f243044], eax
aaa
invalid
Function at 0x414609
Capabilities:
Encode data using xor

Disassembly:
insd dword es:[edi], dx
and eax, 0x4c4aba31
xor al, 0x3e
add eax, 0x30788990
cmc
mov dword [eax - 0x30], ebx
pop esi
add al, 0xd7
pop edx
outsb dx, byte [esi]
loope 0x414645
xor al, 0x78
mul ebp
mov edi, 0x945da615
mov al, byte [0x7bc7ee11]
inc ebx
insb byte es:[edi], dx
clc
add edi, dword [eax + 0x23e7e2a5]
loop 0x4145f2
invalid
pushfd
loop 0x4145f2
and ebx, dword [eax + ebp*8 - 0x102c08ad]
call 0xf0153d65
pop esp
adc eax, 0xa72604cf
loop 0x41466b
mov bh, 0x52
je 0x41460d
cli
mov ecx, 0x8a19c00
xor eax, 0x4748d930
jnp 0x4145dc
invalid
mov dl, 0x11
dec ecx
adc byte [ecx - 0x4c], ch
out 0xb9, eax
wait
cmp eax, 0x5f963d61
cmp eax, 0x1276e45
fld qword [ecx + eax + 0x24]
push ebp
out dx, al
inc edx
dec edi
add edi, ebx
call 0x3b1981f5
je 0x4146c5
retf
xor al, byte [edx - 0xf]
cmp ch, ah
cwde
salc
and byte [eax + 0x5bd4354d], dl
mov dl, 0x38
nop
dec ebp
xor eax, 0x38b25bd4
and dword [esi + ecx*2 + 0x69], eax
or al, bh
dec ecx
std
push cs
sbb ah, byte [edx + 0xd]
enter 0xffffffffffffe9b3, 0xc
cdq
sub eax, 0xfbeb49f5
sti
add al, 6
adc edi, ebp
and al, 0x95
and dword [esi + esi*4], 0xffffffb8
inc esi
sahf
adc byte [ebx - 0x3f], bh
inc esi
jb 0x414673
inc esp
cld
into
mov dl, 0x5e
int1
jb 0x414690
pop ebx
popal
invalid
mov ebp, ecx
mov esi, 0x364bf148
jb 0x4146c6
int 0xbe
dec eax
int1
dec ebx
jb 0x4146c6
jae 0x414746
wait
sbb byte [ebx + 0x20af0e5d], ch
stc
cmp eax, 0xe70fb812
invalid
test al, 0xa8
outsb dx, byte [esi]
xor al, 0x8a
fmul dword [eax]
mov dh, 0xfd
in eax, 0x2e
dec esp
mov eax, 0x7469153f
mov ds, esp
out dx, al
mov ch, 0x36
sbb byte [edx], 0xab
lds eax, [ecx + 0x4e]
cdq
dec esi
test byte [edx - 0x79], 0x92
mov byte [0xb095d6c], al
in eax, dx
cmp byte [ecx - 0x5ff81a1f], ah
jg 0x41478e
wait
dec ebp
invalid
adc byte [eax], ah
inc eax
push edx
pop ebx
aaa
invalid