joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100077ed
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100181d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, 0x9c
mov dword [ebp - 8], edx
mov ebx, ecx
call fcn.10017200
mov edi, esp
test edi, edi
jne 0x10007820
mov eax, 0x8007000e
jmp 0x10007958
mov eax, dword [ebp + 8]
lea esi, [edi + 0x5c]
push dword [0x100181dc]
and dword [edi + 0x78], 0
and dword [edi + 0x7c], 0
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x1c]
mov dword [esi], eax
mov dword [edi + 0x60], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [edi + 0x98], eax
test eax, eax
jne 0x1000785c
mov eax, 0x80004005
jmp 0x10007958
mov eax, dword [eax + 0x40]
mov ecx, ebx
mov dword [edi + 0x84], eax
shl ecx, 4
mov eax, dword [ecx + 0x10001ba8]
sub eax, 0xc
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x10001bac]
mov dword [edi + 8], eax
mov eax, dword [edi + 0x6c]
mov dword [edi + 0x64], 1
mov edx, dword [eax]
add eax, 4
mov dword [edi + 0x94], edx
mov dword [edi + 0x6c], eax
test byte [edx + 0x1c], 4
jne 0x10007852
mov dword [edi + 0x80], edx
mov ecx, esi
mov edx, dword [edx + 0x20]
push 4
mov dword [edi + 0x10], edx
call fcn.10008302
mov dword [edi + 0x18], eax
test eax, eax
jne 0x100078c1
mov eax, dword [edi + 0x78]
jmp 0x10007958
mov edx, dword [eax]
mov ecx, esi
mov eax, dword [edi + 8]
shl eax, 2
push eax
mov dword [edi + 0x14], edx
call fcn.10008302
mov dword [edi + 0xc], eax
test eax, eax
je 0x100078b9
cmp dword [edi + 0x64], 0
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x10]
jge 0x100078f1
add eax, 0xfffffffc
mov dword [edi + 0x60], eax
mov dword [eax], ecx
jmp 0x100078f7
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov ecx, dword [ebp - 8]
mov eax, dword [edi + 4]
push esi
mov eax, dword [eax + ecx*4]
mov dword [edi], eax
mov dword [edi + 0x70], eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x74], eax
mov eax, dword [edi + 0x94]
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x84]
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x88], ebx
mov dword [eax + 8], 4
mov eax, dword [edi + 0x70]
movzx eax, byte [eax]
and eax, 0x3f
mov esi, dword [eax*4 + 0x100010f8]
mov ecx, esi
call dword [0x10019344]
call esi
mov ecx, dword [edi + 0x84]
and dword [ecx + 8], 0
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100165d0
mov esp, ebp
pop ebp
ret 4
Function at 0x1000796e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100181d4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
mov eax, edx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
cmp edi, 0x10
ja 0x100079c5
mov esi, dword [0x100186ec]
lea edx, [ebp - 8]
push edx
push eax
push edi
push 1
push ecx
mov ecx, esi
call dword [0x10019344]
call esi
test eax, eax
jne 0x100079bd
mov eax, 0x8000ffff
jmp 0x10007a52
mov eax, dword [ebp - 8]
jmp 0x10007a52
push ebx
lea esi, [edi + 0xc]
push esi
push dword [0x100181dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011e0c
mov ebx, eax
test ebx, ebx
jne 0x100079ea
mov eax, 0x8007000e
jmp 0x10007a51
push 1
push esi
mov esi, dword [0x100186d0]
mov ecx, esi
push ebx
call dword [0x10019344]
call esi
mov ecx, dword [ebp - 0xc]
push edi
push dword [ebp - 0x10]
mov dword [eax + edi], ecx
push eax
mov dword [eax + edi + 4], ebx
mov dword [eax + edi + 8], edi
call sub.msvcrt.dll_memcpy
mov esi, dword [0x100186e8]
lea eax, [ebx + edi]
add esp, 0xc
mov ecx, esi
push eax
push dword [0x100185ac]
call dword [0x10019344]
call esi
mov dword [ebp - 8], eax
lea eax, [edi + 0xc]
push eax
push ecx
push dword [0x100181dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011f10
mov eax, dword [ebp - 8]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100165d0
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d514
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100181d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edx
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 0x10]
mov esi, dword [eax]
add eax, 4
mov dword [edi + 0x10], eax
test esi, esi
je 0x1000d64a
mov edx, 0x1000
mov ecx, esi
call fcn.100077c2
test eax, eax
je 0x1000d563
mov eax, 0x80070057
jmp 0x1000d6b1
cmp dword [ebp - 0xc], ebx
je 0x1000d5be
mov ecx, esi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1000d56f
sub ecx, edx
sar ecx, 1
je 0x1000d5c0
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, eax
test ebx, ebx
je 0x1000d5be
lea ecx, [ebx + ebx]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1000d5aa
mov eax, 0x8007000e
jmp 0x1000d6b1
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x1000d603
cmp eax, ebx
ja 0x1000d603
mov esi, dword [ebp - 0x10]
xor ebx, ebx
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1000d5c5
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 8], eax
add eax, eax
push eax
push dword [0x100181dc]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011e0c
mov ebx, eax
test ebx, ebx
jne 0x1000d60d
mov esi, 0x8007000e
jmp 0x1000d6a1
mov esi, 0x8000ffff
jmp 0x1000d6a1
push dword [ebp - 0xc]
mov edx, ebx
mov ecx, esi
push dword [ebp - 8]
call fcn.100080c8
mov esi, eax
test esi, esi
js 0x1000d683
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000d64a
cmp eax, dword [ebp - 8]
jae 0x1000d64a
mov esi, dword [0x100186d0]
mov ecx, esi
push 1
push 0
push ebx
call dword [0x10019344]
call esi
mov ecx, dword [ebp + 8]
mov byte [eax + ecx], 0
cmp dword [edi + 8], 0
mov eax, dword [edi + 4]
jge 0x1000d65d
add eax, 0xfffffffc
mov dword [edi + 4], eax
mov dword [eax], ebx
jmp 0x1000d663
mov dword [eax], ebx
add dword [edi + 4], 4
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
push edi
movzx eax, byte [eax]
and eax, 0x3f
mov esi, dword [eax*4 + 0x100010f8]
mov ecx, esi
call dword [0x10019344]
call esi
mov esi, eax
test ebx, ebx
je 0x1000d6a1
mov eax, dword [ebp - 8]
add eax, eax
push eax
push ecx
push dword [0x100181dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011f10
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000d6af
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100165d0
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d73b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100181d4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp - 0xc], ecx
mov dword [edi + 0x10], eax
test ecx, ecx
jne 0x1000d784
xor ebx, ebx
cmp dword [edi + 8], 0
mov eax, dword [edi + 4]
jge 0x1000d802
add eax, 0xfffffffc
mov dword [edi + 4], eax
mov dword [eax], ebx
jmp 0x1000d808
push 4
pop edx
call fcn.10007797
test eax, eax
je 0x1000d79a
mov eax, 0x80070057
jmp 0x1000d87d
push 4
push dword [0x100181dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011e0c
mov ebx, eax
test ebx, ebx
jne 0x1000d7bf
mov eax, 0x8007000e
jmp 0x1000d87d
mov esi, dword [0x100186d0]
mov ecx, esi
push 1
push 4
push ebx
call dword [0x10019344]
call esi
mov ecx, 0x200
and dword [eax], 0
call fcn.10007eb9
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x1000d76a
push 4
push ecx
push dword [0x100181dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011f10
jmp 0x1000d7b5
mov dword [eax], ebx
add dword [edi + 4], 4
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
push edi
movzx eax, byte [eax]
and eax, 0x3f
mov esi, dword [eax*4 + 0x100010f8]
mov ecx, esi
call dword [0x10019344]
call esi
cmp dword [ebp - 0xc], 0
mov esi, eax
mov dword [ebp - 0x10], esi
je 0x1000d861
test esi, esi
js 0x1000d853
mov esi, dword [0x100186d0]
mov ecx, esi
push 1
push 4
push ebx
call dword [0x10019344]
call esi
test eax, eax
jne 0x1000d88e
mov esi, 0x80070057
mov ecx, dword [ebp - 8]
call fcn.10007f1d
mov eax, dword [ebp - 0xc]
and dword [eax], 0
test ebx, ebx
je 0x1000d87b
push 4
push ecx
push dword [0x100181dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011f10
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100165d0
mov esp, ebp
pop ebp
ret
mov edx, dword [eax]
lea ecx, [ebp - 8]
push ecx
push 0x100
push dword [ebp - 8]
mov ecx, edi
call fcn.1000d6e5
mov esi, eax
test eax, eax
js 0x1000d8ac
mov esi, dword [ebp - 0x10]
test esi, esi
js 0x1000d853
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x1000d861
Function at 0x10011197
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x100181dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100111df
push esi
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x100111de
push edi
push 8
add esi, 0x10
pop edi
cmp dword [esi + 4], 0
je 0x100111d5
cmp dword [esi], 0
jne 0x100111d5
push esi
push dword [esi + 0xc]
lea eax, [esi - 0x10]
push dword [esi + 8]
push dword [esi + 4]
push eax
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
add esi, 0x20
sub edi, 1
jne 0x100111b6
pop edi
pop esi
ret

Function at 0x1001126a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100181d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push dword [0x100181dc]
and dword [eax], 0
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x100112e0
mov esi, dword [edi + 0x4c]
test esi, esi
jne 0x100112cd
mov ebx, 0x100
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov esi, eax
test esi, esi
je 0x100112c4
push ebx
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x100112c6
xor esi, esi
mov dword [edi + 0x4c], esi
test esi, esi
je 0x100112e0
xor ebx, ebx
lea eax, [esi + 0x14]
cmp dword [eax], 0
je 0x100112f8
inc ebx
add eax, 0x20
cmp ebx, 8
jl 0x100112d2
mov eax, 0x8000ffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100165d0
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 8]
mov ecx, ebx
mov eax, dword [ebp + 8]
shl ecx, 5
add ecx, esi
mov esi, dword [ebp - 0xc]
mov edi, ecx
push edx
mov dword [ecx + 0x14], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x10019344]
call esi
mov eax, dword [ebp + 0x10]
not ebx
mov dword [eax], ebx
xor eax, eax
jmp 0x100112e5
Function at 0x10014736
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x10]
test edi, edi
jne 0x10014750
xor al, al
jmp 0x100148fb
mov ax, word [esi + 2]
xor ecx, ecx
mov word [ebp - 0x1c], ax
add edi, 0xa
mov al, byte [esi + 4]
push ebx
mov byte [ebp - 0x1a], al
mov bh, cl
xor eax, eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], bh
jmp 0x100147a6
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [ebp + 8]
call fcn.10013f24
test eax, eax
js 0x1001485b
lea eax, [ebp - 0x1c]
mov ecx, esi
je 0x10014835
push dword [ebp - 8]
push eax
call fcn.100146a5
mov edi, eax
push dword [esi + 0x14]
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.1001407e
mov bl, al
test bl, bl
jne 0x1001477a
mov edi, dword [ebp - 8]
mov dword [esi + 0x14], edi
xor edx, edx
test bh, bh
jne 0x100147eb
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
and dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], eax
call fcn.10013f8c
mov edx, eax
mov ax, word [esi + 6]
lea ecx, [ebp - 0x30]
and dword [ebp - 0x24], 0
mov word [ebp - 0x30], ax
mov al, byte [esi + 8]
mov byte [ebp - 0x2e], al
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
call fcn.10013f8c
mov ecx, dword [esi + 0x14]
lea ebx, [edx + eax]
mov edx, dword [esi + 0x18]
sub edx, ecx
cmp ecx, dword [esi + 0x18]
sbb ecx, ecx
and ecx, edx
cmp ecx, ebx
jae 0x1001486b
xor al, al
jmp 0x100148fa
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 8]
push eax
call fcn.10014572
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x100148f8
mov bh, 1
mov byte [ebp - 1], bh
jmp 0x1001485e
mov dword [ebp - 8], edi
test bl, bl
jne 0x100147c4
jmp 0x100147c1
mov ecx, dword [esi + 0x18]
lea edx, [ebx + edi]
mov eax, dword [esi + 0x14]
sub ecx, ebx
sub ecx, edi
sub eax, edi
je 0x100148b5
test edx, edx
jne 0x10014893
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x16
call fcn.100170f6
jmp 0x100148b5
test edi, edi
je 0x10014880
cmp ecx, eax
jae 0x100148a9
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x22
jmp 0x1001488c
push eax
push edi
push edx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov eax, dword [esi + 0x14]
add eax, ebx
cmp byte [ebp - 1], 0
mov dword [esi + 0x14], eax
jne 0x100148d2
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10013fb0
jmp 0x100148e5
cmp byte [ebp - 0x1a], 0
je 0x100148e5
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
inc eax
push eax
call fcn.10013f4b
push dword [esi + 0x14]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.10013fb0
mov byte [esi + 0x20], 1
mov al, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100167f0
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 0x1001682e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10016826
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10016830
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10016816
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10016900
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 0x10016916
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10016931
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1001e47c
Capabilities:
Encode data using xor

Disassembly:
call 0x1001e3f5
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 0x1001e425
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 0x1001e441
xor edx, 0
jmp 0x1001e44c
xor edx, edx
jmp 0x1001e463
jmp 0x1001e46f
xor eax, eax
push 0x8427d7c0
call 0x1001e47c
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001e4b8
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 0x1001e491
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 0x1001e4cf
add eax, 0
jno 0x1001e4d4
add esi, 0
ret 0x10
Function at 0x1001f23d
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 0x1001f25f
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 0x1001f401
cmp edi, dword [ebp + 0x10]
jb 0x1001f401
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.1001ed29
inc edi
jmp 0x1001f2e8
jmp 0x1001f2f5
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001ed29
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001ed29
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 0x1001f349
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 0x1001f32d
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001f377
add dword [eax], 0x39
jle 0x1001f353
sub al, 0xf5
mov ch, al
call fcn.1001f38c
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10021064
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 0x1002107a
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 0x1002108b
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100210cc
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 0x10023438
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 0x10023381
add ebx, 0
push ecx
call 0x10023396
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, 0x6c35d32d
sub ebx, dword [0x6c37cb6c]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c37cb5c
call fcn.1001ee60
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001e36e
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100234f4
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100234f4
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 0x100234ab
mov eax, 1
lock xchg dword [0x6c37cb68], eax
push 0x3dd1fc71
call 0x10023438
push esi
add esp, 8
cmp eax, 0
jne 0x10023421
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10023447
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1002345c
cmp ecx, edx
cmp eax, 0
je 0x10023481
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 0x1002346b
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1002349a
dec eax
loope 0x1002349d
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c37cb68], 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 0x100234d1
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100234e6
jmp 0x100234f1
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100233df
Function at 0x1002a559
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 0x1002a82f
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c3697e0
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c3607a6
push 0xffffffffffffffff
call fcn.10021759
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 0x1002a5c3
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1002a5db
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 0x1002a823
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1002a7f7
Function at 0x1003a029
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 0x1003a04b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1003a04b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1003a04b
ret
cmp word [ebx + 4], 0x14c
jne 0x1003a04b
test word [ebx + 0x16], 2
je 0x1003a04b
test word [ebx + 0x16], 0x100
je 0x1003a04b
cmp word [ebx + 0x18], 0x10b
jne 0x1003a04b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1003a04b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1003a0d7
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1003a06b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10020fb6
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1003a04b
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 0x1003a0d7
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 0x1003a04b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1003a04b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1003a04b
ret
cmp word [ebx + 4], 0x14c
jne 0x1003a04b
test word [ebx + 0x16], 2
je 0x1003a04b
test word [ebx + 0x16], 0x100
je 0x1003a04b
cmp word [ebx + 0x18], 0x10b
jne 0x1003a04b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1003a04b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1003a0d7
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1003a06b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10020fb6
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1003a04b
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