joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f57b
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 + 0x4e7ce8]
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 0x46f5be
cmp word [esi], dx
jne 0x46f5be
or byte [edi + eax + 0x28], 4
jmp 0x46f5c3
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 0x46f716
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 0x46f6f6
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x46f605
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x46f63b
cmp eax, edx
jae 0x46f647
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 0x46f5dd
jmp 0x46f716
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 0x46f6f2
cmp dword [ebp - 0x14], 0
je 0x46f6f2
mov eax, dword [ebx*4 + 0x4e7ce8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x46f6ca
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x46f693
mov word [esi], cx
jmp 0x46f6c6
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4e7ce8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4e7ce8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4e7ce8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x46f716
pop ebx
cmp word [ebp - 4], bx
jne 0x46f6db
cmp esi, dword [ebp + 0xc]
jne 0x46f6db
mov word [esi], bx
jmp 0x46f713
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004702c4
add esp, 0x10
cmp word [ebp - 4], bx
je 0x46f716
push 0xd
jmp 0x46f70f
mov ecx, dword [ebx*4 + 0x4e7ce8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46f70d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46f716
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 0x472942
Capabilities:
Print debug messages

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x49a040]
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 0x4731ca
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00473559
test al, al
jne 0x4731c4
sub edx, 2
cmp edx, edi
jne 0x4731aa
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4731ec
lea eax, [edi + 2]
cmp edx, eax
je 0x4731ec
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00472e46
add esp, 0x10
jmp 0x4732e6
push esi
lea ecx, [ebp - 0x255]
call fcn.00473559
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 0x47322f
push dword [ebp - 0x25c]
jmp 0x4731dc
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 0x47326c
cmp word [ebp - 0x226], 0
je 0x47328d
cmp word [ebp - 0x226], ax
jne 0x47326c
cmp word [ebp - 0x224], 0
je 0x47328d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00472e46
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4732d9
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x473246
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4732c1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4732e6
push 0x472965
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0047ebc0
add esp, 0x10
jmp 0x4732b6
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.0042c374
leave
ret
Function at 0x47462b
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 0x4746c8
push ebx
push esi
call fcn.004745e7
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.00471776
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x474675
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4746c7
push edi
push eax
call fcn.0046a79b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x474695
call fcn.00468625
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4746c6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00471776
add esp, 0x20
test eax, eax
jne 0x4746b4
push edi
call fcn.00468625
jmp 0x4746bc
push ebx
call fcn.00468625
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 0x4746cb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4746dc
pop esi
ret
push ebx
push edi
push esi
call fcn.004745e7
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0046a79b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x474704
push ebx
push esi
push edi
call fcn.0042dce0
add esp, 0xc
push 0
call fcn.00468625
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x474fe5
Capabilities:
Set environment variable

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

Function at 0x482120
Capabilities:
Parse pe header

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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x49a040]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
push 1
call fcn.0042c387
mov cl, byte [0x491c7c]
xorps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
xor esi, esi
mov byte [esp + 0x20], cl
xor edi, edi
mov byte [esp + 0x21], 0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
xor ebx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
nop dword [eax]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x491d98]
movss dword [esp + 0x14], xmm0
cmp esi, edi
je 0x487966
movss dword [esi], xmm0
add esi, 4
mov dword [esp + 0x20], esi
jmp 0x48797d
lea eax, [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00408160
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
inc ebx
cmp ebx, 0xa
jl 0x487940
mov eax, dword [esp + 0x1c]
xor ebx, ebx
sub esi, eax
xor ecx, ecx
mov edx, esi
xor ebp, ebp
sar edx, 2
mov dword [esp + 0x14], edx
test edx, edx
je 0x487a0d
cmp edx, 0x3fffffff
ja 0x487b1a
lea ebp, [edx*4]
cmp ebp, 0x1000
jb 0x4879e2
lea eax, [ebp + 0x23]
cmp eax, ebp
jbe 0x487b1f
push eax
call fcn.0042c387
add esp, 4
test eax, eax
je 0x487b24
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
mov eax, dword [esp + 0x1c]
jmp 0x4879f9
test ebp, ebp
je 0x4879f7
push ebp
call fcn.0042c387
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
jmp 0x4879f9
xor ebx, ebx
push esi
push eax
push ebx
add ebp, ebx
call fcn.0042e260
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [ebx + eax*4]
sub ecx, ebx
sar ecx, 2
test ecx, ecx
je 0x487a9b
xor esi, esi
nop dword [eax]
movzx eax, byte [esi + 0x4e5300]
mov edx, str.Own_head
xor al, 0x73
sub al, 0x6c
xor al, 0x74
mov byte [esi + 0x4e5300], al
call fcn.00405b90
push eax
call fcn.00405da0
movzx eax, byte [esi + 0x4e5300]
add esp, 4
add al, 0x4e
mov edx, str.Earth
xor al, 0xdc
mov byte [esi + 0x4e5300], al
call fcn.00405b90
push eax
call fcn.00405da0
movzx eax, byte [esi + 0x4e5300]
add esp, 4
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x491cdc
mov byte [esi + 0x4e5300], al
call fcn.0045674a
xor byte [esi + 0x4e5300], al
add esp, 4
inc esi
cmp esi, 0x4ac
jb 0x487a20
test ebx, ebx
je 0x487ac8
sub ebp, ebx
mov eax, ebx
and ebp, 0xfffffffc
cmp ebp, 0x1000
jb 0x487abe
mov ebx, dword [eax - 4]
add ebp, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487b24
push ebp
push ebx
call fcn.0042c3b7
add esp, 8
push 1
push dword [esp + 0x1c]
call fcn.0042c3b7
mov ecx, dword [esp + 0x24]
add esp, 8
test ecx, ecx
je 0x487b07
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x487afd
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487b24
push edi
push ecx
call fcn.0042c3b7
add esp, 8
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042c374
add esp, 0x2c
ret
call fcn.004079d0
call fcn.00401520
call fcn.00456bf1
int3
Function at 0x487d70
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push str.Success_created.
push 0x491d30
mov ebx, ecx
call fcn.00401280
mov edx, str.Success_created.
call fcn.00405b90
push eax
call fcn.00405da0
push 8
call fcn.0042c387
push 4
mov esi, eax
call fcn.0042c387
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x4089f0
push 0
push 0
mov dword [eax], 0x487ca0
call fcn.0043aeba
add esp, 0x2c
mov dword [esi], eax
test eax, eax
je 0x487e03
cmp dword [edi], 0
je 0x487e10
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi], eax
je 0x487e17
push 0
push dword [esi + 4]
push dword [esi]
call fcn.0040c042
add esp, 0xc
test eax, eax
jne 0x487e1e
mov dword [esi + 4], eax
mov dword [esi], eax
cmp dword [edi], eax
jne 0x487e25
push 8
push esi
call fcn.0042c3b7
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
push 6
mov dword [edi], 0
call fcn.004096b3
push 1
call fcn.004096b3
push 5
call fcn.004096b3
push 2
call fcn.004096b3
call fcn.00454f56
int3
Function at 0xac0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ac01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xac007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xac006a
add dl, dl
jne 0xac0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xac00dc
xor eax, eax
add dl, dl
jne 0xac0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xac017d
add dl, dl
jne 0xac00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xac00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xac0075
mov eax, 1
add dl, dl
jne 0xac00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xac00e1
sub eax, ebx
mov ebx, 1
jne 0xac0128
mov ecx, 1
add dl, dl
jne 0xac010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xac0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xac0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xac0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xac013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xac014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xac0136
cmp eax, 0x7d00
jae 0xac016d
cmp eax, 0x500
jb 0xac0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xac0075
cmp eax, 0x7f
ja 0xac0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xac0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xac019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xac0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10001930
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [0x10007334], 0
jne 0x10001948
mov dword [0x10007334], 1
jmp fcn.10004e04
ret

Function at 0x100054b0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100054ee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100054e6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100054f0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100054d6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100055c0
Capabilities:
Parse pe header

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

Function at 0x1000b3c2
Capabilities:
Encode data using xor

Disassembly:
call 0x1000b33b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1000b36b
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1000b387
xor edx, 0
jmp 0x1000b392
xor edx, edx
jmp 0x1000b3a9
jmp 0x1000b3b5
xor eax, eax
push 0x8427d7c0
call 0x1000b3c2
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1000b3fe
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1000b3d7
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1000b415
add eax, 0
jno 0x1000b41a
add esi, 0
ret 0x10
Function at 0x1000c183
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000c1a5
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000c347
cmp edi, dword [ebp + 0x10]
jb 0x1000c347
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1000bc6f
inc edi
jmp 0x1000c22e
jmp 0x1000c23b
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000bc6f
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000bc6f
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000c28f
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000c273
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000c2bd
add dword [eax], 0x39
jle 0x1000c299
sub al, 0xf5
mov ch, al
call fcn.1000c2d2
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1000dfaa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1000dfc0
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1000dfd1
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1000e012
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x1001037e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100102c7
add ebx, 0
push ecx
call 0x100102dc
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c16709c
sub ebx, dword [0x6c1868db]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c1868cb
call fcn.1000bda6
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000b2b4
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1001043a
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1001043a
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x100103f1
mov eax, 1
lock xchg dword [0x6c1868d7], eax
push 0x3dd1fc71
call 0x1001037e
push esi
add esp, 8
cmp eax, 0
jne 0x10010367
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1001038d
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100103a2
cmp ecx, edx
cmp eax, 0
je 0x100103c7
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100103b1
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100103e0
dec eax
loope 0x100103e3
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c1868d7], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10010417
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001042c
jmp 0x10010437
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10010325
Function at 0x1001749f
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10017775
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c17354f
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c16a515
push 0xffffffffffffffff
call fcn.1000e69f
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10017509
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10017521
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x10017769
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1001773d
Function at 0x10026f6f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10026f91
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10026f91
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10026f91
ret
cmp word [ebx + 4], 0x14c
jne 0x10026f91
test word [ebx + 0x16], 2
je 0x10026f91
test word [ebx + 0x16], 0x100
je 0x10026f91
cmp word [ebx + 0x18], 0x10b
jne 0x10026f91
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10026f91
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1002701d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10026fb1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000defc
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10026f91
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1002701d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10026f91
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10026f91
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10026f91
ret
cmp word [ebx + 4], 0x14c
jne 0x10026f91
test word [ebx + 0x16], 2
je 0x10026f91
test word [ebx + 0x16], 0x100
je 0x10026f91
cmp word [ebx + 0x18], 0x10b
jne 0x10026f91
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10026f91
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1002701d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10026fb1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000defc
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10026f91
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8