joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4093df
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x432008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20a
xor ebx, ebx
lea eax, [ebp - 0x210]
push ebx
push eax
mov edi, edx
mov esi, ecx
call fcn.0040d680
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x409415
sub ecx, edx
mov eax, 0x104
sar ecx, 1
cmp ecx, eax
jbe 0x409431
xor eax, eax
jmp 0x409469
push eax
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0041073f
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 3
neg eax
sbb eax, eax
inc eax
mov dword [edi], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b844
mov esp, ebp
pop ebp
ret

Function at 0x40947a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0xc]
push ebx
push esi
push edi
push eax
push 8
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x409569
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push 0x12
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
xor ebx, ebx
inc ebx
test eax, eax
je 0x4094c5
cmp dword [ebp - 0x10], 3
mov byte [ebp - 1], bl
je 0x4094c9
mov byte [ebp - 1], 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 1], 0
je 0x409569
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409569
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.ConsentPromptBehaviorAdmin
push dword [ebp - 8]
call esi
test eax, eax
jne 0x409546
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push str.PromptOnSecureDesktop
push dword [ebp - 8]
call esi
test eax, eax
jne 0x409546
mov esi, ebx
jmp 0x409548
xor esi, esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x409565
cmp dword [ebp - 0x14], 0
jne 0x409561
cmp dword [ebp - 0x18], 0
je 0x409563
xor ebx, ebx
mov dword [edi], ebx
mov eax, esi
jmp 0x40956b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409572
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, dword [ebp + 8]
not ecx
test esi, esi
je 0x40959c
movzx eax, byte [edi]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x435640]
inc edi
sub esi, 1
jne 0x409584
not ecx
pop edi
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x4095a4
Capabilities:
Encode data using add xor sub operations

Disassembly:
push ebx
push esi
push edi
xor edx, edx
push 8
mov edi, edx
xor esi, esi
pop ebx
mov ecx, edi
xor eax, eax
and ecx, 1
add ecx, 0xffffffff
not ecx
adc eax, 0xffffffff
and ecx, 0xd7870f42
shrd edi, esi, 1
not eax
and eax, 0xc96c5795
shr esi, 1
xor edi, ecx
xor esi, eax
sub ebx, 1
jne 0x4095b0
mov dword [edx*8 + 0x434e40], edi
mov dword [edx*8 + 0x434e44], esi
inc edx
cmp edx, 0x100
jb 0x4095a9
pop edi
pop esi
pop ebx
ret

Function at 0x4095f6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
mov ebx, edx
mov edx, ecx
or ecx, 0xffffffff
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
push esi
mov esi, dword [edx + 0x10]
cmp eax, 4
ja 0x409620
xor eax, eax
jmp 0x40976f
push edi
sub eax, 4
push 0
mov dword [ebp + 8], eax
pop edi
je 0x409755
mov al, byte [edi + ebx]
and al, 0xfe
cmp al, 0xe8
jne 0x409748
mov ecx, edi
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x409667
xor esi, esi
mov dword [ebp - 8], esi
mov eax, edi
mov dword [ebp - 4], eax
mov al, byte [edi + ebx + 4]
test al, al
je 0x4096a1
cmp al, 0xff
je 0x4096a1
add esi, esi
or esi, 1
jmp 0x409748
dec ecx
shl esi, cl
and esi, 7
mov dword [ebp - 8], esi
je 0x40964c
cmp byte [esi + 0x42faa0], 0
je 0x409692
movzx eax, byte [esi + 0x42faa8]
mov ecx, edi
sub ecx, eax
mov al, byte [ecx + ebx + 4]
test al, al
je 0x409692
cmp al, 0xff
jne 0x40964c
mov ecx, edi
add esi, esi
mov dword [ebp - 4], ecx
or esi, 1
jmp 0x40974b
mov ecx, dword [edx + 0xc]
movzx edx, byte [edi + ebx + 4]
movzx eax, byte [edi + ebx + 3]
shl edx, 8
or edx, eax
mov dword [ebp - 0x14], ecx
movzx eax, byte [edi + ebx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [edi + ebx + 1]
shl edx, 8
or edx, eax
sub edx, ecx
sub edx, edi
sub edx, 5
test esi, esi
je 0x409714
movzx eax, byte [esi + 0x42faa8]
shl eax, 3
push 0x18
pop esi
mov dword [ebp - 0x10], eax
sub esi, eax
mov ebx, eax
mov eax, edx
mov ecx, esi
shr eax, cl
test al, al
je 0x4096f7
cmp al, 0xff
jne 0x40970e
xor eax, eax
push 0x20
pop ecx
sub ecx, ebx
inc eax
shl eax, cl
dec eax
xor edx, eax
sub edx, dword [ebp - 0x14]
sub edx, edi
sub edx, 5
jmp 0x4096e9
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x18]
and edx, 0x1ffffff
mov eax, edx
and eax, 0x1000000
neg eax
or edx, eax
mov eax, edx
mov byte [edi + ebx + 1], dl
shr eax, 8
mov byte [edi + ebx + 2], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
mov byte [edi + ebx + 4], dl
mov edx, dword [ebp - 0xc]
mov byte [edi + ebx + 3], al
add edi, 4
mov ecx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 8]
jb 0x409630
mov edx, edi
xor eax, eax
sub edx, ecx
lea ecx, [edx - 1]
shl esi, cl
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a5f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0xc], esi
cmp byte [esi + 0x4b8], 0
mov ecx, dword [esi + 0x4b0]
mov eax, dword [edi + 4]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x14], eax
je 0x40a62e
mov edx, ecx
mov ecx, dword [esi + 0x4b4]
push edi
call fcn.004097f7
pop ecx
jmp 0x40a633
call fcn.0040a1d4
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [edi + 4]
sub eax, dword [esi + 0x10]
add dword [esi + 0x48], eax
push 0
adc dword [esi + 0x4c], 0
mov ebx, dword [edi + 0x10]
sub ebx, ecx
add ebx, dword [esi + 0x50]
pop eax
adc eax, dword [esi + 0x54]
mov dword [ebp - 8], eax
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x50], ebx
cmp dword [esi + 0x4c], edx
ja 0x40a79c
jb 0x40a677
cmp dword [esi + 0x48], eax
ja 0x40a79c
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x38]
cmp dword [ebp - 8], eax
ja 0x40a79c
jb 0x40a690
cmp ebx, edx
ja 0x40a79c
cmp dword [esi + 0x20], 1
jne 0x40a6b3
mov edx, dword [edi + 0x10]
push dword [esi + 0x18]
sub edx, ecx
mov ecx, dword [edi + 0xc]
add ecx, dword [esi + 0x14]
call fcn.00409572
and dword [esi + 0x1c], 0
pop ecx
mov dword [esi + 0x18], eax
jmp 0x40a701
cmp dword [esi + 0x20], 4
jne 0x40a704
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
add eax, ecx
mov ebx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
not ebx
not edx
sub edi, ecx
je 0x40a6f7
mov esi, eax
movzx eax, byte [esi]
movzx ecx, bl
shrd ebx, edx, 8
xor ecx, eax
shr edx, 8
xor ebx, dword [ecx*8 + 0x434e40]
xor edx, dword [ecx*8 + 0x434e44]
inc esi
sub edi, 1
jne 0x40a6d1
mov esi, dword [ebp - 0xc]
not ebx
not edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edx
mov edx, dword [esi + 0x38]
mov ebx, dword [ebp - 4]
cmp ebx, 1
jne 0x40a798
mov ecx, dword [esi + 0x30]
mov eax, ecx
mov edi, dword [esi + 0x34]
and eax, edi
cmp eax, 0xffffffff
je 0x40a729
cmp ecx, dword [esi + 0x48]
jne 0x40a79c
cmp edi, dword [esi + 0x4c]
jne 0x40a79c
mov ecx, dword [esi + 0x3c]
mov eax, edx
and eax, ecx
cmp eax, 0xffffffff
je 0x40a73f
cmp edx, dword [esi + 0x50]
jne 0x40a79c
cmp ecx, dword [esi + 0x54]
jne 0x40a79c
mov eax, dword [esi + 0x40]
lea edi, [esi + 0x60]
xor ecx, ecx
add eax, dword [edi]
adc ecx, dword [edi + 4]
add eax, dword [esi + 0x48]
mov dword [edi], eax
adc ecx, dword [esi + 0x4c]
cmp dword [esi + 0x20], 1
mov dword [edi + 4], ecx
jne 0x40a762
add eax, 4
jmp 0x40a76b
cmp dword [esi + 0x20], 4
jne 0x40a773
add eax, 8
adc ecx, 0
mov dword [edi], eax
mov dword [edi + 4], ecx
push dword [esi + 0x70]
mov eax, dword [esi + 0x50]
mov ecx, edi
add dword [esi + 0x68], eax
mov eax, dword [esi + 0x54]
adc dword [esi + 0x6c], eax
push 0x18
pop edx
call fcn.00409572
add dword [esi + 0x58], 1
pop ecx
adc dword [esi + 0x5c], 0
mov dword [esi + 0x70], eax
mov eax, ebx
jmp 0x40a79f
push 7
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d4ca
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x426618
push str.FlsAlloc
push 0
call fcn.0040d443
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d4fc
push dword [ebp + 8]
mov ecx, esi
call fcn.0040c2aa
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x40d53e
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x426648
push str.FlsSetValue
push 3
call fcn.0040d443
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x40d572
mov ecx, esi
call fcn.0040c2aa
call esi
jmp 0x40d578
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x414fc8
Capabilities:
Get common file path
Set current directory

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

Function at 0x41a0ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
mov edx, dword [ebp + 0xc]
push ebx
sar ecx, 6
push esi
push edi
imul edi, eax, 0x30
mov eax, dword [ecx*4 + 0x4331a8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41a12f
cmp byte [edx], 0xa
jne 0x41a12f
or byte [eax + edi + 0x28], 4
jmp 0x41a134
and byte [eax + edi + 0x28], 0xfb
lea eax, [edx + ecx]
mov ebx, edx
mov dword [ebp - 8], eax
mov esi, edx
cmp edx, eax
jae 0x41a225
mov al, byte [ebx]
cmp al, 0x1a
je 0x41a206
cmp al, 0xd
je 0x41a15d
mov byte [esi], al
inc esi
inc ebx
jmp 0x41a1fb
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x41a17d
cmp byte [eax], 0xa
jne 0x41a172
push 2
mov byte [esi], 0xa
pop eax
jmp 0x41a178
xor eax, eax
mov byte [esi], 0xd
inc eax
add ebx, eax
inc esi
jmp 0x41a1fb
push 0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a1f4
cmp dword [ebp - 0x14], 0
je 0x41a1f4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4331a8]
test byte [eax + edi + 0x28], 0x48
je 0x41a1cb
mov dl, byte [ebp - 1]
cmp dl, 0xa
jne 0x41a1bb
mov byte [esi], dl
jmp 0x41a1f7
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4331a8]
mov byte [eax + edi + 0x2a], dl
jmp 0x41a1f7
cmp byte [ebp - 1], 0xa
jne 0x41a1dd
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x41a1dd
mov byte [esi], 0xa
jmp 0x41a17a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041d798
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41a1f8
mov byte [esi], 0xd
inc esi
mov edx, dword [ebp + 0xc]
cmp ebx, dword [ebp - 8]
jb 0x41a146
jmp 0x41a225
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4331a8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41a220
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41a225
mov cl, byte [ebx]
mov byte [esi], cl
inc esi
sub esi, edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a230
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sar ecx, 6
imul edi, eax, 0x30
mov dword [ebp - 8], ecx
push 0xa
mov eax, dword [ecx*4 + 0x4331a8]
pop ebx
mov edx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x41a274
cmp word [edx], bx
jne 0x41a274
or byte [edi + eax + 0x28], 4
jmp 0x41a279
and byte [edi + eax + 0x28], 0xfb
lea eax, [edx + esi*2]
mov ebx, edx
mov dword [ebp - 0xc], eax
mov esi, edx
cmp edx, eax
jae 0x41a3cd
mov dword [ebp - 0x10], 0xd
movzx eax, word [ebx]
cmp eax, 0x1a
je 0x41a3ad
cmp ax, word [ebp - 0x10]
je 0x41a2b2
mov word [esi], ax
add esi, 2
add ebx, 2
jmp 0x41a3a2
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0xc]
jae 0x41a2d8
push 0xa
pop ecx
cmp word [eax], cx
jne 0x41a2c8
push ecx
pop eax
push 4
jmp 0x41a2cd
push 0xd
pop eax
push 2
mov word [esi], ax
pop eax
add ebx, eax
jmp 0x41a39c
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a393
cmp dword [ebp - 0x18], 0
je 0x41a393
mov ecx, dword [ebp - 8]
push 0xa
mov eax, dword [ecx*4 + 0x4331a8]
test byte [edi + eax + 0x28], 0x48
pop eax
je 0x41a35f
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x41a323
mov word [esi], ax
jmp 0x41a357
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ecx*4 + 0x4331a8]
mov word [ebp - 0x20], dx
push 0xa
mov byte [edi + eax + 0x2a], dl
mov ecx, dword [ecx*4 + 0x4331a8]
mov al, byte [ebp - 0x1f]
pop edx
mov byte [edi + ecx + 0x2b], al
mov ecx, dword [ebp - 8]
mov eax, dword [ecx*4 + 0x4331a8]
mov byte [edi + eax + 0x2c], dl
mov edx, dword [ebp + 0xc]
add esi, 2
jmp 0x41a3a2
cmp word [ebp - 4], ax
jne 0x41a374
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x41a374
mov word [esi], ax
add esi, 2
jmp 0x41a3a2
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041d798
mov edx, dword [ebp + 0xc]
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x41a39f
jmp 0x41a396
mov edx, dword [ebp + 0xc]
push 0xd
pop eax
mov word [esi], ax
add esi, 2
mov ecx, dword [ebp - 8]
cmp ebx, dword [ebp - 0xc]
jb 0x41a292
jmp 0x41a3cd
mov ecx, dword [ecx*4 + 0x4331a8]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x41a3c4
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x41a3cd
mov cx, word [ebx]
mov word [esi], cx
add esi, 2
sub esi, edx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41abd7
Capabilities:
Read file on windows

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

Function at 0x41c403
Capabilities:
Set environment variable

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

Function at 0x41c40e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041bf5a
Function at 0x1001df50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
mov eax, dword [0x10049200]
xor eax, esp
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x6c]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
mov edi, dword [esp + 0x8c]
or esi, 0xffffffff
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0xffffffff
cmp edi, 5
je 0x1001e16a
cmp edi, 6
ja 0x1001e16a
mov ecx, dword [ebp + 0x110]
mov dword [esp + 0x14], ecx
cmp edi, 1
je 0x1001dfb5
cmp edi, 2
je 0x1001dfb5
lea ecx, [eax + 1]
jmp 0x1001dfb7
xor ecx, ecx
test edx, edx
je 0x1001e04a
cmp byte [edx], al
je 0x1001e04a
cmp edi, 6
je 0x1001e052
test ecx, ecx
je 0x1001e16a
push edx
lea eax, [esp + 0x28]
push eax
call fcn.10018e30
mov ecx, eax
test ecx, ecx
jne 0x1001e003
pop edi
pop esi
pop ebp
mov eax, 0xfffffa1d
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1003de00
add esp, 0x5c
ret 0x20
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0
lea eax, [esp + 0x24]
push eax
movzx eax, word [ebp + 0xec]
push eax
push ecx
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x94]
push dword [esp + 0x34]
call fcn.10078f84
mov esi, eax
test esi, esi
js 0x1001e16f
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1001dfe9
mov edx, dword [esp + 0x10]
jmp 0x1001e052
test ecx, ecx
jne 0x1001e16a
jmp dword [edi*4 + 0x1001e184]
mov eax, 0xfffffc15
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003de00
add esp, 0x5c
ret 0x20
Function at 0x100734be
Capabilities:
Encode data using xor

Disassembly:
call 0x10073437
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 0x10073467
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 0x10073483
xor edx, 0
jmp 0x1007348e
xor edx, edx
jmp 0x100734a5
jmp 0x100734b1
xor eax, eax
push 0x8427d7c0
call 0x100734be
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100734fa
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 0x100734d3
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 0x10073511
add eax, 0
jno 0x10073516
add esi, 0
ret 0x10

Function at 0x1007427f
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 0x100742a1
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 0x10074443
cmp edi, dword [ebp + 0x10]
jb 0x10074443
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.10073d6b
inc edi
jmp 0x1007432a
jmp 0x10074337
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10073d6b
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10073d6b
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 0x1007438b
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 0x1007436f
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100743b9
add dword [eax], 0x39
jle 0x10074395
sub al, 0xf5
mov ch, al
call fcn.100743ce
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x100760a6
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 0x100760bc
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 0x100760cd
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1007610e
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 0x1007847a
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 0x100783c3
add ebx, 0
push ecx
call 0x100783d8
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, 0x73b8b0d9
sub ebx, dword [0x73baa918]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73baa908
call fcn.10073ea2
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100733b0
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10078536
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10078536
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 0x100784ed
mov eax, 1
lock xchg dword [0x73baa914], eax
push 0x3dd1fc71
call 0x1007847a
push esi
add esp, 8
cmp eax, 0
jne 0x10078463
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10078489
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1007849e
cmp ecx, edx
cmp eax, 0
je 0x100784c3
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 0x100784ad
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100784dc
dec eax
loope 0x100784df
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73baa914], 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 0x10078513
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10078528
jmp 0x10078533
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10078421
Function at 0x1007f59b
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 0x1007f871
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73b9758c
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x73b8e552
push 0xffffffffffffffff
call fcn.1007679b
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 0x1007f605
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1007f61d
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 0x1007f865
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1007f839