joyce8/EMBER2024-capa huggingface dataset:
Function at 0x576dd9
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x576de9
sub esi, ecx
cmp esi, 0x7fffffff
jbe 0x576e02
push 0x1b
pop eax
jmp 0x576ec8
push edi
test esi, esi
je 0x576e13
lea eax, [esi + esi]
push eax
call dword [0x6672b4]
jmp 0x576e1e
push 0x61e4e0
call dword [0x6672c0]
mov edi, eax
pop ecx
test edi, edi
jne 0x576e2d
push 0x1b
pop eax
jmp 0x576ec7
xor edx, edx
mov ecx, edx
test esi, esi
je 0x576e44
mov al, byte [ecx + ebx]
mov byte [edi + ecx*2], al
mov byte [edi + ecx*2 + 1], dl
inc ecx
cmp ecx, esi
jb 0x576e35
push 0xf0000000
push 1
push edx
push edx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x576eb5
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x8002
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x576eaa
push 0
lea eax, [esi + esi]
mov dword [ebp - 0xc], 0x10
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
and dword [ebx + 0x10], 0
push edi
mov byte [ebx + 0x14], 0
call dword [0x6672b8]
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x576ece
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x64106c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 0xf0000000
inc ebx
mov dword [ebp - 0x28], eax
push ebx
push 0
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 8
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x576f12
xor al, al
jmp 0x576fa4
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x28]
mov word [ebp - 0x18], 0x208
mov dword [ebp - 0x14], 0x6601
mov dword [ebp - 0x10], 8
call fcn.00576fb4
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.00579ed0
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0x14
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
pop edi
test eax, eax
jne 0x576f6b
xor bl, bl
jmp 0x576f97
mov ecx, dword [ebp + 8]
push dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push eax
push esi
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004c21c3
mov esp, ebp
pop ebp
ret
Function at 0x57af25
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x6672b4]
mov edi, eax
pop ecx
test edi, edi
je 0x57b011
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x57af8e
push ecx
call dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [esi + 4]
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
call dword [esi + 8]
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x57af94
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
call dword [esi]
push dword [edi + 8]
call dword [esi]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
pop ecx
pop ecx
test eax, eax
je 0x57b009
mov dword [ebp - 8], eax
mov ebx, eax
mov eax, dword [ebp - 4]
push 1
mov al, byte [eax]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
push dword [edi + 4]
call dword [esi + 4]
mov ecx, dword [ebp - 4]
push 1
mov al, byte [ecx]
xor al, 0x5c
inc ecx
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
push dword [edi + 8]
mov dword [ebp - 4], ecx
call dword [esi + 4]
add esp, 0x18
sub ebx, 1
jne 0x57afae
mov ebx, dword [ebp - 8]
jmp 0x57b009
push 1
push 0x60d797
push dword [edi + 4]
call dword [esi + 4]
push 1
push 0x60d798
push dword [edi + 8]
call dword [esi + 4]
add esp, 0x18
inc ebx
cmp ebx, dword [esi + 0x10]
jb 0x57afeb
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x597710
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp byte [edi + 0xe5], 2
jne 0x597793
push dword [edi + 0x14]
push dword [edi + 0x10]
push str.SELECT_1_FROM__Q.sqlite_master_WHERE_tbl_name_q_stat
call fcn.005811c4
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x597790
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 8], esi
push ecx
push esi
push 1
push 0xffffffffffffffff
push eax
push dword [edi + 0xc]
call fcn.005b5bd4
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x597785
push ebx
push dword [ebp + 8]
call fcn.00583b1e
push dword [ebp + 8]
lea ebx, [eax - 0x64]
neg ebx
sbb ebx, ebx
inc ebx
call fcn.0057b547
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x597784
mov byte [edi + 0xe5], bl
pop ebx
push dword [ebp - 4]
call fcn.005813ec
pop ecx
jmp 0x597793
push 7
pop esi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x597bd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x20]
push esi
push edi
mov edi, dword [ebx]
mov eax, edi
mov ecx, dword [ebx + 4]
or eax, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], ecx
je 0x597d3b
mov eax, edi
xor esi, esi
and eax, 1
mov dword [ebp - 0xc], esi
or eax, esi
jne 0x597c28
mov ebx, ecx
inc esi
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, edi
and ecx, ebx
or edx, ecx
je 0x597c05
mov dword [ebp - 0xc], esi
and dword [ebp - 8], 0
xor edx, edx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
dec eax
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, edi
and ecx, dword [ebp - 4]
or edx, ecx
jne 0x597c79
mov ebx, dword [ebp - 4]
mov esi, eax
inc dword [ebp - 8]
xor edx, edx
dec esi
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, edi
and ecx, ebx
or edx, ecx
je 0x597c53
mov esi, dword [ebp - 0xc]
sub esi, dword [ebp - 8]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x597d3b
mov eax, dword [ebp + 8]
and dword [ebp - 8], 0
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push eax
call fcn.005b1444
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x597d3d
mov edi, dword [ebp - 0x14]
add edi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 8], edi
jge 0x597cf9
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xc]
call dword [ebx + 0x14]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x597cc6
push dword [ebp - 0xc]
mov eax, ebx
call dword [eax + 0x10]
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp + 0x20]
pop ecx
test esi, esi
je 0x597d15
cmp esi, 0x65
je 0x597d15
mov eax, esi
jmp 0x597d3d
xor ecx, ecx
cmp esi, 0x65
sete cl
sub ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 8]
test ecx, ecx
jle 0x597d3b
mov esi, dword [ebp + 0x1c]
mov eax, edi
mov edx, dword [ebp - 4]
add dword [esi], ecx
call fcn.0053caf0
mov dword [ebx], eax
mov dword [ebx + 4], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a7444
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
movsx edx, word [ebx + 0x4c]
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edx
mov ecx, dword [ebx + edx*4 + 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ax, word [ebx + edx*2 + 0x4e]
cmp ax, word [ecx + 0x12]
jae 0x5a761c
cmp byte [ebx + 0x49], 1
jne 0x5a761c
mov esi, dword [ebx + edx*4 + 0x78]
movzx ecx, ax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x40]
movzx edi, byte [eax + ecx*2]
movzx eax, byte [eax + ecx*2 + 1]
shl edi, 8
or edi, eax
movzx eax, word [esi + 0x14]
and edi, eax
add edi, dword [esi + 0x38]
cmp byte [esi + 5], 0
jne 0x5a74c4
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
call fcn.005a8777
pop ecx
pop ecx
test eax, eax
jne 0x5a761f
push ebx
push dword [ebx + 0x3c]
push dword [ebp - 0xc]
call fcn.005a3086
add esp, 0xc
test eax, eax
jne 0x5a761f
cmp dword [ebx + 0x10], eax
jne 0x5a74f2
push eax
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebp - 4]
call fcn.0059ae22
add esp, 0x10
push dword [esi + 0x44]
call fcn.005b7ed1
pop ecx
test eax, eax
jne 0x5a761f
lea eax, [ebp - 4]
push eax
push edi
push esi
call fcn.00588649
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
movzx eax, word [ebp - 4]
push eax
push dword [ebp - 0x10]
push esi
call fcn.0058c1f4
mov eax, dword [ebp - 8]
add esp, 0x1c
test eax, eax
jne 0x5a761f
cmp byte [esi + 5], al
jne 0x5a75cb
movsx eax, word [ebx + 0x4c]
mov edx, dword [ebx + eax*4 + 0x78]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], edx
movzx ecx, word [edx + 0x12]
mov eax, dword [ebx + eax*4 + 0x7c]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x40]
movzx ebx, byte [eax + ecx*2 - 2]
movzx eax, byte [eax + ecx*2 - 1]
shl ebx, 8
or ebx, eax
movzx eax, word [edx + 0x14]
and ebx, eax
add ebx, dword [edx + 0x38]
push ebx
push edx
call fcn.00587c12
movzx edi, ax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x50]
mov eax, dword [ebp - 4]
push dword [eax + 0x44]
call fcn.005b7ed1
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
lea eax, [edi + 4]
push esi
push eax
lea eax, [ebx - 4]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call fcn.0059abdd
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push edi
movzx eax, word [ecx + 0x12]
dec eax
push eax
push ecx
call fcn.0058c1f4
mov eax, dword [ebp - 8]
add esp, 0x38
test eax, eax
jne 0x5a761f
mov ebx, dword [ebp + 8]
push ebx
call fcn.00585cbd
mov edi, eax
pop ecx
test edi, edi
jne 0x5a7618
movsx ecx, word [ebx + 0x4c]
mov esi, dword [ebp - 0x14]
cmp ecx, esi
jle 0x5a7611
movzx ecx, word [ebx + 0x4c]
movsx eax, cx
mov edx, dword [ebx + eax*4 + 0x78]
lea eax, [ecx - 1]
push edx
mov word [ebx + 0x4c], ax
call fcn.005a1c46
movsx eax, word [ebx + 0x4c]
pop ecx
cmp eax, esi
jg 0x5a75e3
push ebx
call fcn.00585cbd
mov edi, eax
pop ecx
test edi, edi
jne 0x5a7618
push ebx
call fcn.0059c4ab
pop ecx
mov eax, edi
jmp 0x5a761f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a77ed
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x28]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp + 0x28], ebx
cmp byte [esi + 0x49], 4
mov eax, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
jne 0x5a781c
mov eax, dword [esi + 0x44]
jmp 0x5a79a2
push esi
push dword [esi + 0x3c]
push eax
call fcn.005a3086
add esp, 0xc
test eax, eax
jne 0x5a79a2
xor edx, edx
push edi
mov edi, dword [ebp + 0x14]
cmp dword [esi + 0x10], edx
jne 0x5a7879
push edx
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0059ae22
add esp, 0x10
test byte [esi + 0x48], 2
je 0x5a7879
xor edx, edx
cmp edi, edx
jl 0x5a7879
jg 0x5a785f
cmp dword [ebp + 0x10], edx
jbe 0x5a7879
mov eax, dword [ebp + 0x10]
mov ecx, edi
sub eax, 1
sbb ecx, edx
cmp dword [esi + 0x18], eax
jne 0x5a7879
cmp dword [esi + 0x1c], ecx
jne 0x5a7879
or ebx, 0xffffffff
mov dword [ebp + 0x28], ebx
test ebx, ebx
jne 0x5a789f
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x24]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005875f8
add esp, 0x18
test eax, eax
jne 0x5a79a1
mov ebx, dword [ebp + 0x28]
movsx eax, word [esi + 0x4c]
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
mov edi, dword [esi + eax*4 + 0x78]
push dword [ebp + 0x18]
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov eax, dword [eax + 0x50]
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push eax
push edi
call fcn.0058dc7d
mov ecx, eax
add esp, 0x24
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0x5a799f
movsx ecx, word [esi + 0x4c]
movzx edx, word [esi + ecx*2 + 0x4e]
mov eax, edx
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x5a79a8
push dword [edi + 0x44]
call fcn.005b7ed1
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x5a799f
mov eax, dword [edi + 0x40]
mov ebx, dword [ebp - 4]
movzx ecx, byte [eax + ebx*2]
movzx eax, byte [eax + ebx*2 + 1]
shl ecx, 8
or ecx, eax
movzx eax, word [edi + 0x14]
and ecx, eax
add ecx, dword [edi + 0x38]
cmp byte [edi + 5], 0
jne 0x5a7930
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov dword [edx], eax
lea eax, [ebp + 0x28]
push eax
push ecx
push edi
call fcn.00588649
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
movzx eax, word [ebp + 0x28]
push eax
push ebx
push edi
call fcn.0058c1f4
mov ecx, dword [ebp + 8]
add esp, 0x1c
test ecx, ecx
jne 0x5a799f
mov eax, ebx
xor ebx, ebx
lea ecx, [ebp + 8]
push ecx
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
push eax
push edi
call fcn.0059abdd
mov ecx, dword [ebp + 8]
xor eax, eax
add esp, 0x1c
mov word [esi + 0x2c], ax
test ecx, ecx
jne 0x5a799f
cmp byte [edi + 1], al
je 0x5a799f
and byte [esi + 0x48], 0xfd
push esi
call fcn.00585cbd
pop ecx
mov ecx, eax
movsx eax, word [esi + 0x4c]
mov eax, dword [esi + eax*4 + 0x78]
mov byte [eax + 1], bl
mov byte [esi + 0x49], bl
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jns 0x5a795a
xor ebx, ebx
cmp word [edi + 0x12], bx
jbe 0x5a795c
lea eax, [edx + 1]
mov word [esi + ecx*2 + 0x4e], ax
movzx eax, ax
jmp 0x5a795c
Function at 0x5ae305
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x5ae31a
xor eax, eax
jmp 0x5ae400
push edi
push 0
push 8
push dword [ebp + 8]
call fcn.005aa91d
mov edi, eax
add esp, 0xc
mov dword [ebp - 0xc], edi
test edi, edi
je 0x5ae3ff
test byte [ebp + 0x10], 1
mov eax, dword [esi]
mov dword [edi], eax
jne 0x5ae34e
xor eax, eax
inc eax
cmp dword [esi], eax
jle 0x5ae34e
add eax, eax
cmp eax, dword [esi]
jl 0x5ae348
imul eax, eax, 0x18
push ebx
push 0
push eax
push dword [ebp + 8]
call fcn.005aa91d
mov ebx, eax
add esp, 0xc
mov dword [edi + 4], ebx
test ebx, ebx
jne 0x5ae37b
push edi
push dword [ebp + 8]
call fcn.005aa8cd
pop ecx
pop ecx
xor eax, eax
jmp 0x5ae3fe
and dword [ebp - 4], 0
cmp dword [esi], 0
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
jle 0x5ae3fc
mov edi, dword [ebp - 8]
lea eax, [ebx + 0x10]
mov dword [ebp + 0xc], eax
sub ebx, edi
push 0
push dword [ebp + 0x10]
push dword [edi]
push dword [ebp + 8]
call fcn.0058d6c6
mov dword [ebx + edi], eax
push dword [edi + 4]
push dword [ebp + 8]
call fcn.005aab2c
mov ecx, dword [ebp + 0xc]
mov dword [ecx - 0xc], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.005aab2c
mov ecx, dword [ebp + 0xc]
lea edi, [edi + 0x18]
add esp, 0x20
mov dword [ecx - 8], eax
mov al, byte [edi - 0xc]
and dword [ecx], 0xfffffffe
mov byte [ecx - 4], al
mov eax, dword [edi - 8]
xor eax, dword [ecx]
and eax, 2
xor dword [ecx], eax
mov eax, dword [edi - 4]
mov dword [ecx + 4], eax
add ecx, 0x18
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], eax
cmp eax, dword [esi]
jl 0x5ae395
mov edi, dword [ebp - 0xc]
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10015420
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 0x1001545e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10015456
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10015460
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10015446
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10015530
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10015561
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10015561
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x10015561
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1001b46e
Capabilities:
Encode data using xor

Disassembly:
call 0x1001b3e7
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 0x1001b417
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 0x1001b433
xor edx, 0
jmp 0x1001b43e
xor edx, edx
jmp 0x1001b455
jmp 0x1001b461
xor eax, eax
push 0x8427d7c0
call 0x1001b46e
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001b4aa
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 0x1001b483
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 0x1001b4c1
add eax, 0
jno 0x1001b4c6
add esi, 0
ret 0x10
Function at 0x1001c22f
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 0x1001c251
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 0x1001c3f3
cmp edi, dword [ebp + 0x10]
jb 0x1001c3f3
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.1001bd1b
inc edi
jmp 0x1001c2da
jmp 0x1001c2e7
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bd1b
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bd1b
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 0x1001c33b
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 0x1001c31f
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001c369
add dword [eax], 0x39
jle 0x1001c345
sub al, 0xf5
mov ch, al
call fcn.1001c37e
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001e056
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 0x1001e06c
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 0x1001e07d
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001e0be
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 0x1002042a
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 0x10020373
add ebx, 0
push ecx
call 0x10020388
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, 0x737302fd
sub ebx, dword [0x7374fb3c]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x7374fb2c
call fcn.1001be52
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001b360
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100204e6
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100204e6
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 0x1002049d
mov eax, 1
lock xchg dword [0x7374fb38], eax
push 0x3dd1fc71
call 0x1002042a
push esi
add esp, 8
cmp eax, 0
jne 0x10020413
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10020439
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1002044e
cmp ecx, edx
cmp eax, 0
je 0x10020473
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 0x1002045d
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1002048c
dec eax
loope 0x1002048f
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7374fb38], 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 0x100204c3
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100204d8
jmp 0x100204e3
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100203d1