joyce8/EMBER2024-capa huggingface dataset:
Function at 0x300405d0
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x3006d683
call fcn.3005730d
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp byte [0x30085e68], bl
mov esi, 0x30085e68
jne 0x30040745
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.3005768b
add esp, 0xc
push 0x104
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x30040666
push 0x5c
call fcn.3005682b
pop ecx
mov ecx, eax
mov dword [ebp - 0x16c], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x30040649
push 0x80004005
call fcn.3002e62a
jmp 0x3004064b
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x170], eax
push 0x30075f08
lea eax, [ebp - 0x170]
push eax
call fcn.300566f2
push 0x300071c0
lea ecx, [ebp - 0x21c]
call fcn.3002e043
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 4], 1
call fcn.3002e043
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x168]
push eax
mov byte [ebp - 4], 2
call fcn.300402ec
lea ecx, [ebp - 0x1c8]
call fcn.30018ef6
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 5
call fcn.30018ef6
push ebx
push ebx
lea eax, [ebp - 0x174]
push eax
push esi
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x174], 0x84
call fcn.3002ddc2
push eax
call sub.msi.dll_MsiMessageBoxA
test eax, eax
je 0x30040736
push 0x5c
mov byte [0x30085e68], bl
call fcn.3005682b
pop ecx
mov ecx, eax
mov dword [ebp - 0x170], ecx
cmp ecx, ebx
mov byte [ebp - 4], 6
je 0x3004071a
push 0x80004005
call fcn.3002e62a
jmp 0x3004071c
xor eax, eax
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 5
push 0x30075f08
lea eax, [ebp - 0x16c]
jmp 0x30040660
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.30018ef6
push esi
mov ecx, edi
call fcn.3002dfc5
call fcn.30057390
ret 4
Function at 0x30043b53
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x164
mov eax, 0x3006df56
call fcn.3005730d
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
push 0x3000a968
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x30043bf3
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 0x3000a960
push dword [ebp - 0x118]
mov dword [ebp - 0x11c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x30043be7
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x170]
call fcn.3002e043
and dword [ebp - 4], 0
lea eax, [ebp - 0x170]
push eax
lea ecx, [esi + 0x18]
call fcn.3002dbeb
lea ecx, [ebp - 0x170]
call fcn.30018ef6
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.30057390
ret

Function at 0x30044c1b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x30083fbc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x30044c52
push 4
pop eax
jmp 0x30044ccc
push 2
pop ecx
cmp dword [ebp - 0x88], ecx
jne 0x30044c9d
push 4
pop eax
cmp dword [ebp - 0x94], eax
jne 0x30044c70
mov dword [esi], 3
jmp 0x30044cca
cmp dword [ebp - 0x94], 5
jne 0x30044c95
cmp dword [ebp - 0x90], 0
je 0x30044c91
xor eax, eax
cmp dword [ebp - 0x90], 1
setne al
add eax, 5
mov dword [esi], eax
jmp 0x30044cca
mov dword [esi], 6
jmp 0x30044cca
xor eax, eax
inc eax
cmp dword [ebp - 0x88], eax
jne 0x30044cca
cmp dword [ebp - 0x90], 0
je 0x30044cc7
cmp dword [ebp - 0x90], 0xa
je 0x30044c91
cmp dword [ebp - 0x90], 0x5a
jne 0x30044cca
mov dword [esi], ecx
jmp 0x30044cca
and dword [esi], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.30057296
leave
ret 4
Function at 0x3004c947
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3006f86d
mov eax, dword fs:[0]
push eax
mov eax, 0x453c
call fcn.30058db5
mov eax, dword [0x30083fbc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0x4548], eax
call fcn.3002dd6c
test al, al
jne 0x3004ca97
mov ecx, edi
call fcn.3002dd6c
test al, al
jne 0x3004ca97
xor ebx, ebx
mov dword [ebp - 0x453c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x4540], ebx
mov eax, 0x104
push eax
mov dword [ebp - 0x4544], eax
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x118], bl
call fcn.3005768b
add esp, 0xc
lea eax, [ebp - 0x4544]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x3000b404
mov ecx, esi
call fcn.3002ddc2
push eax
call sub.msi.dll_MsiGetProductPropertyA
test eax, eax
jne 0x3004ca71
lea ecx, [ebp - 0x453c]
call fcn.30044d04
push eax
push ebx
lea eax, [ebp - 0x118]
push eax
call sub.msi.dll_MsiOpenProductA
test eax, eax
jne 0x3004ca71
mov esi, dword [ebp - 0x453c]
lea ecx, [ebp - 0x4540]
call fcn.30044d04
push eax
push 0x3000b3a8
push esi
call sub.msi.dll_MsiEnumClientsA
test eax, eax
jne 0x3004ca71
push 1
push dword [ebp - 0x4540]
lea eax, [ebp - 0x4538]
push eax
call fcn.3004c61d
test al, al
je 0x3004ca71
mov ecx, edi
call fcn.3002ddc2
push eax
lea eax, [ebp - 0x4538]
push eax
push dword [ebp - 0x4548]
call fcn.3004c826
cmp dword [ebp - 0x4540], ebx
je 0x3004ca84
push dword [ebp - 0x4540]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x453c], ebx
je 0x3004ca97
push dword [ebp - 0x453c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.30057296
leave
ret 0xc
Function at 0x3004cc75
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x14]
push eax
call fcn.30044c1b
cmp eax, 4
jne 0x3004cc8d
xor al, al
leave
ret
cmp dword [ebp - 0x14], 2
jle 0x3004cc97
mov al, 1
leave
ret
push ebx
lea eax, [ebp - 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push 0x3000aff4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x3004ccc3
cmp eax, 2
sete bl
jmp 0x3004cd49
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
mov edi, 0x3000b430
push edi
push dword [ebp - 0xc]
mov dword [ebp - 8], ebx
call esi
cmp eax, ebx
je 0x3004ccec
cmp eax, 2
sete bl
jmp 0x3004cd47
mov eax, dword [ebp - 8]
inc eax
push eax
call fcn.3005682b
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
je 0x3004cd47
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0xc]
call esi
cmp eax, ebx
je 0x3004cd17
cmp eax, 2
sete bl
jmp 0x3004cd3e
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
push 0x76
push esi
mov byte [esi + eax], bl
call fcn.30057b1a
test eax, eax
pop ecx
pop ecx
jne 0x3004cd3e
push 0x56
push esi
call fcn.30057b1a
test eax, eax
pop ecx
pop ecx
jne 0x3004cd3e
mov bl, 1
push dword [ebp - 0x10]
call fcn.30056a8c
pop ecx
pop edi
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret
Function at 0x3005283e
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x3007057a
call fcn.300572a4
mov esi, ecx
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.3002ddc2
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jne 0x300528a0
push 0x5c
call fcn.3005682b
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x30052889
push 0x80004005
mov ecx, eax
call fcn.3002e62a
jmp 0x3005288b
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], eax
push 0x30075f08
lea eax, [ebp - 0x1c]
push eax
call fcn.300566f2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x300528c4
push 0x5c
call fcn.3005682b
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
test eax, eax
jmp 0x30052879
push ebx
push edi
push dword [ebp - 0x14]
mov ecx, esi
call fcn.3002ddc2
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x300528f7
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x30007180
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x300528f7
cmp dword [ebp - 0x20], 0
jne 0x30052938
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x5c
call fcn.3005682b
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov dword [ebp - 4], 2
je 0x30052922
push 0x80004005
call fcn.3002e62a
jmp 0x30052924
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], eax
push 0x30075f08
lea eax, [ebp - 0x24]
jmp 0x3005289a
mov ecx, dword [esi + 0x54]
mov eax, dword [ebp - 0x18]
cmp ecx, dword [eax + 8]
jbe 0x3005294f
mov ecx, dword [esi + 0x58]
cmp ecx, dword [eax + 0xc]
mov byte [ebp - 0xd], 0
ja 0x30052953
mov byte [ebp - 0xd], 1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, byte [ebp - 0xd]
call fcn.3005737c
ret

Function at 0x30052bcd
Capabilities:
Write file on windows

Disassembly:
push 4
mov eax, 0x30070622
call fcn.300572a4
mov ecx, dword [ebp + 0xc]
and dword [ebp - 0x10], 0
call fcn.3002e3c3
mov ecx, dword [ebp + 0xc]
mov edi, eax
call fcn.3003d804
and dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
push ecx
inc eax
push eax
push edi
call fcn.30052ab3
test eax, eax
jge 0x30052c3b
push 0x5c
call fcn.3005682b
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x30052c24
push 0x80004005
call fcn.3002e62a
jmp 0x30052c26
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 0xc], eax
push 0x30075f08
lea eax, [ebp + 0xc]
push eax
call fcn.300566f2
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x30052c8c
push 0x5c
call fcn.3005682b
pop ecx
mov ecx, eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
mov dword [ebp - 4], 1
je 0x30052c79
push 0x80004005
call fcn.3002e62a
jmp 0x30052c7b
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], eax
push 0x30075f08
lea eax, [ebp + 8]
jmp 0x30052c35
call fcn.3005737c
ret 8
Function at 0x30057296
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x30083fbc]
jne 0x3005ced7
repz ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x30089178], eax
mov dword [0x30089174], ecx
mov dword [0x30089170], edx
mov dword [0x3008916c], ebx
mov dword [0x30089168], esi
mov dword [0x30089164], edi
mov word [0x30089190], ss
mov word [0x30089184], cs
mov word [0x30089160], ds
mov word [0x3008915c], es
mov word [0x30089158], fs
mov word [0x30089154], gs
pushfd
pop dword [0x30089188]
mov eax, dword [ebp]
mov dword [0x3008917c], eax
mov eax, dword [ebp + 4]
mov dword [0x30089180], eax
lea eax, [ebp + 8]
mov dword [0x3008918c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x300890c8], 0x10001
mov eax, dword [0x30089180]
mov dword [0x3008907c], eax
mov dword [0x30089070], 0xc0000409
mov dword [0x30089074], 1
mov eax, dword [0x30083fbc]
mov dword [ebp - 0x328], eax
mov eax, dword [0x30083fc0]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x300890c0], eax
push 1
call fcn.3005af1b
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x3000c088
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x300890c0], 0
jne 0x3005cfc7
push 1
call fcn.3005af1b
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x30057903
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x30057930
call fcn.3005b37e
mov dword [eax], esi
call fcn.3005b36b
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.300566be
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x3005790c
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x3005795f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.3005b391
pop ecx
call fcn.3005b36b
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x30057986
test al, 1
je 0x30057986
test byte [esp + 0xc], 2
je 0x30057986
call fcn.3005b37e
mov dword [eax], 5
call fcn.3005b36b
mov dword [eax], 0xd
jmp 0x30057956
xor eax, eax
pop esi
ret
Function at 0x300617d5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.3005a711
xor ebx, ebx
cmp dword [0x300893dc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x300618aa
push 0x3000c278
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x30061815
xor eax, eax
jmp 0x3006196e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x3000c26c
push edi
call esi
cmp eax, ebx
je 0x3006180e
push eax
call fcn.3005a6ae
mov dword [esp], 0x3000c25c
push edi
mov dword [0x300893dc], eax
call esi
push eax
call fcn.3005a6ae
mov dword [esp], 0x3000c248
push edi
mov dword [0x300893e0], eax
call esi
push eax
call fcn.3005a6ae
mov dword [0x300893e4], eax
lea eax, [ebp - 8]
push eax
call fcn.300580ab
test eax, eax
pop ecx
pop ecx
je 0x30061878
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.300565c2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x300618aa
push 0x3000c22c
push edi
call esi
push eax
call fcn.3005a6ae
cmp eax, ebx
pop ecx
mov dword [0x300893ec], eax
je 0x300618aa
push 0x3000c214
push edi
call esi
push eax
call fcn.3005a6ae
pop ecx
mov dword [0x300893e8], eax
mov eax, dword [0x300893e8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x30061923
cmp dword [0x300893ec], esi
je 0x30061923
push eax
call fcn.3005a71a
pop ecx
call eax
cmp eax, ebx
je 0x300618f0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x300893ec]
call fcn.3005a71a
pop ecx
call eax
test eax, eax
je 0x300618f0
test byte [ebp - 0x18], 1
jne 0x30061923
lea eax, [ebp - 0xc]
push eax
call fcn.300580e2
test eax, eax
pop ecx
je 0x3006190b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.300565c2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x3006191a
or dword [ebp + 0x10], 0x200000
jmp 0x30061954
or dword [ebp + 0x10], 0x40000
jmp 0x30061954
mov eax, dword [0x300893e0]
cmp eax, esi
je 0x30061954
push eax
call fcn.3005a71a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x30061954
mov eax, dword [0x300893e4]
cmp eax, esi
je 0x30061954
push dword [ebp - 4]
push eax
call fcn.3005a71a
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x300893dc]
call fcn.3005a71a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408956
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov eax, dword [esp]
add esp, 4
sub esi, esi
inc edi
call fcn.00408983
add esi, 0x8943804c
xor dword [ecx], eax
sub esi, 0xe10a94ba
inc ecx
mov edi, esi
add edi, edi
cmp ecx, ebx
jne fcn.00408956
or esi, edi
ret
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7e811285
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x38bb6039
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x7720c351
Capabilities:
Encode data using xor

Disassembly:
call 0x7720c2ca
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 0x7720c2fa
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 0x7720c316
xor edx, 0
jmp 0x7720c321
xor edx, edx
jmp 0x7720c338
jmp 0x7720c344
xor eax, eax
push 0x8427d7c0
call 0x7720c351
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x7720c38d
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 0x7720c366
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 0x7720c3a4
add eax, 0
jno 0x7720c3a9
add esi, 0
ret 0x10

Function at 0x7720d112
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 0x7720d134
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 0x7720d2d6
cmp edi, dword [ebp + 0x10]
jb 0x7720d2d6
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.7720cbfe
inc edi
jmp 0x7720d1bd
jmp 0x7720d1ca
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.7720cbfe
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.7720cbfe
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 0x7720d21e
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 0x7720d202
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.7720d24c
add dword [eax], 0x39
jle 0x7720d228
sub al, 0xf5
mov ch, al
call fcn.7720d261
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x7720ef39
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 0x7720ef4f
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 0x7720ef60
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.7720efa1
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 0x7721130d
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 0x77211256
add ebx, 0
push ecx
call 0x7721126b
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, 0x6cc19055
sub ebx, dword [0x6cc38894]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6cc38884
call fcn.7720cd35
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.7720c243
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x772113c9
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x772113c9
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 0x77211380
mov eax, 1
lock xchg dword [0x6cc38890], eax
push 0x3dd1fc71
call 0x7721130d
push esi
add esp, 8
cmp eax, 0
jne 0x772112f6
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7721131c
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x77211331
cmp ecx, edx
cmp eax, 0
je 0x77211356
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 0x77211340
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7721136f
dec eax
loope 0x77211372
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6cc38890], 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 0x772113a6
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x772113bb
jmp 0x772113c6
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x772112b4
Function at 0x7721842e
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 0x77218704
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6cc25508
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6cc1c4ce
push 0xffffffffffffffff
call fcn.7720f62e
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 0x77218498
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.772184b0
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 0x772186f8
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x772186cc