joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100206a0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x3c
mov esi, ecx
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x10004f60
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x10004f6c
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test edi, edi
je 0x1002080e
test ebx, ebx
je 0x1002080e
push 0x10004f7c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10004f8c
push edi
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10004f9c
push edi
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10004fb4
push edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10004fd8
push edi
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10004ffc
push edi
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10005018
push edi
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10005034
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10005058
push edi
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10005078
push edi
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10005094
push ebx
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [esi + 0x18], 0
mov dword [esi + 0x38], eax
je 0x1002080e
cmp dword [esi + 0x10], 0
je 0x1002080e
cmp dword [esi + 0x14], 0
je 0x1002080e
cmp dword [esi + 0x20], 0
je 0x1002080e
cmp dword [esi + 0x1c], 0
je 0x1002080e
mov ecx, dword [esi + 0x24]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x1002080e
cmp dword [esi + 0x28], 0
je 0x1002080e
cmp dword [esi + 0x2c], 0
je 0x1002080e
cmp dword [esi + 0x30], 0
je 0x1002080e
cmp dword [esi + 0x34], 0
je 0x1002080e
test eax, eax
je 0x1002080e
push 0
push 0
lea eax, [esi + 0xc]
push eax
call dword [0x100ae518]
call dword [ebp - 4]
test eax, eax
je 0x1002080e
push dword [ebp - 8]
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi], 0
jne 0x10020821
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100246a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [edi], 0x10001068
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], 0
test eax, eax
jne 0x100246e7
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100ae518]
call esi
xor eax, eax
lea ecx, [eax + 1]
jmp 0x100246ee
mov eax, 1
xor ecx, ecx
mov dword [edi + 4], ecx
lea esi, [edi + 0x84]
mov dword [edi + 8], eax
push 0xdc
push 0
push esi
mov dword [edi], 0x10001060
mov dword [edi + 0x1c], 0x1000104c
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x1a0], 0xffffffff
mov dword [edi + 0x1b0], 0
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0xc]
add esp, 0xc
mov eax, dword [eax + 0x208]
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0xc0], 0xcc0020
mov dword [edi + 0x15c], 0x80004005
mov dword [edi + 0x1b4], eax
mov dword [edi + 0x1b8], eax
lea eax, [ebp - 4]
push eax
push 0x10004068
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10024840
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10005480
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10024804
cmp dword [ebp - 0xc], eax
je 0x10024804
or dword [edi + 0x194], 1
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10005490
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10024837
cmp dword [ebp - 0xc], eax
je 0x10024837
or dword [edi + 0x194], 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
mov dword [edi + 0x198], 0
push eax
push 0x1000549c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1002489b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x100054bc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10024892
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x198], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100054d0
push 0
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [edi + 0x1ac], eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100387f0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
call fcn.10038580
mov edi, eax
add esp, 4
test edi, edi
jne 0x10038822
push 0x10005690
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0x80004005
pop edi
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0x14]
push esi
test ebx, ebx
je 0x10038877
mov esi, dword [edi + 0x24]
test esi, esi
je 0x10038838
mov esi, dword [esi + 8]
inc esi
jmp 0x1003883a
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx], eax
test eax, eax
jne 0x1003886f
push 0x10005690
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [edi + 0x18]
push ecx
mov ecx, edi
call fcn.10038750
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret 0x10
push eax
mov ecx, edi
call fcn.100388a0
mov esi, dword [edi + 0x18]
push ecx
mov ecx, edi
call fcn.10038750
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret 0x10

Function at 0x1003b630
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2200
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100a80a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 0xc]
lea ebx, [edi + 0x10]
mov esi, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0xc], 0
mov dword [edi], esi
mov dword [ebp - 0x10], eax
mov edx, 0x14
test esi, esi
je 0x1003b711
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
jbe 0x1003b6bb
add eax, 0x20
je 0x1003b6e5
push eax
call fcn.1000efa0
mov edx, eax
add esp, 4
test edx, edx
jne 0x1003b6e7
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1003b6fc
push 0x1003b450
push fcn.1003b420
push esi
lea edi, [eax + 4]
mov dword [eax], esi
push 0x14
push edi
call fcn.100a1800
jmp 0x1003b6fe
xor edx, edx
mov eax, edx
mov ecx, 0x20
and eax, 0x1f
sub ecx, eax
mov dword [edx + ecx - 4], ecx
lea eax, [edx + ecx]
jmp 0x1003b6bd
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], edi
test edi, edi
je 0x1003b75c
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
xor edx, edx
test esi, esi
je 0x1003b736
xor eax, eax
jmp 0x1003b720
mov ecx, dword [ebx]
lea eax, [eax + 0x14]
mov esi, dword [ebp + 0x14]
inc edx
mov dword [eax + ecx - 4], esi
mov esi, dword [edi]
cmp edx, esi
jb 0x1003b720
mov eax, dword [ebp - 0x10]
inc eax
add ebx, 4
mov dword [ebp - 0x10], eax
cmp eax, 4
jb 0x1003b67f
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x10006a5c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1003b790
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 0x30
mov dword [esi], 0x10001adc
mov dword [esi + 0x28], 0
mov dword [esi + 0x18], 0x80004005
mov dword [esi + 4], 0
call fcn.1000efa0
mov edx, eax
add esp, 4
test edx, edx
jne 0x1003b7db
push 0x10006a88
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0xc
and eax, 0x1f
mov ecx, 0x20
sub ecx, eax
mov eax, dword [ebp + 0x10]
add edx, ecx
and eax, 1
mov dword [edx - 4], ecx
mov dword [edx + 8], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 0xc], eax
mov dword [esi + 0x24], edx
test edx, edx
jne 0x1003b822
push 0x10006a88
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x14], eax
test eax, eax
je 0x1003b85f
mov ecx, dword [eax]
add eax, 4
mov dword [esi + 0x14], eax
jmp 0x1003b861
xor ecx, ecx
mov dword [esi + 8], ecx
mov eax, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 4], 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10040cb0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0x424
call fcn.1000efa0
add esp, 4
test eax, eax
je 0x10040d62
push esi
mov ecx, eax
mov edx, 0x20
and ecx, 0x1f
sub edx, ecx
push edi
push 0x400
push 0
lea esi, [eax + edx]
mov dword [esi - 4], edx
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp + 0x10]
mov edx, 0x400
mov ecx, esi
push eax
push dword [ebp + 0xc]
call fcn.1003b040
push 0x1000a930
mov edx, 0x400
mov ecx, esi
call fcn.1003af90
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
je 0x10040d50
cmp dword [ecx], 0
jne 0x10040d22
mov dword [ecx], esi
mov eax, dword [ecx + 4]
test eax, eax
je 0x10040d2f
mov dword [eax + 0x400], esi
mov dword [ecx + 4], esi
lea edx, [esi + 1]
mov dword [esi + 0x400], 0
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10040d40
sub esi, edx
add dword [ecx + 8], esi
pop edi
pop esi
pop ebp
ret
sub esi, dword [esi - 4]
je 0x10040d4c
push esi
call fcn.1000efc0
add esp, 4
pop edi
pop esi
pop ebp
ret
push 0x10005690
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebp
ret
Function at 0x10048e50
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x10004068
push 0x80000002
mov esi, edx
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10048eb1
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10048eb1
cmp dword [ebp - 8], edi
jne 0x10048eb1
pop edi
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10048ec0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x100a80a4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x1000a9f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10049045
push esi
push edi
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, 0x104
jae 0x10049037
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0
push eax
push 0
push 0
push 2
lea eax, [ebp - 0x108]
push eax
push 0
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x10049005
mov edi, dword [ebp - 0x110]
add edi, 0xd
mov ecx, edi
call fcn.1000ee90
mov esi, eax
test esi, esi
je 0x10049037
lea eax, [ebp - 0x110]
push eax
push esi
push 0
push 2
lea eax, [ebp - 0x108]
push eax
push 0
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x10048ff5
push 0x1000aa34
mov edx, edi
mov ecx, esi
call fcn.1003af90
push 0x1000aa38
mov edx, edi
mov ecx, esi
call fcn.1003af90
push edi
push esi
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0x1000aa48
push 0x1000aa58
call dword [sym.imp.ntdll.dll_EtwEventWriteNoRegistration]
sub esi, dword [esi - 4]
je 0x10049037
push esi
call fcn.1000efc0
add esp, 4
jmp 0x10049037
push 0xd
push 0x1000aa38
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0x1000aa48
push 0x1000aa58
call dword [sym.imp.ntdll.dll_EtwEventWriteNoRegistration]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a1500
mov esp, ebp
pop ebp
ret
Function at 0x10049840
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x260]
mov eax, dword [eax + 0x14]
cmp eax, 4
jl 0x10049868
cmp eax, 6
jge 0x10049872
test dword [edi + 0x7c], 0xc00
jne 0x10049872
or dword [edi + 0x250], 0x2000
test dword [edi + 0x7c], 0x400
jne 0x10049885
or dword [edi + 0x250], 0x4000
mov eax, dword [edi + 0xcc]
mov ecx, dword [edi + 0x7f4]
test eax, eax
je 0x10049926
movzx eax, ax
mov dword [ecx + 0x13814], eax
test dword [edi + 0xcc], 0x80000
je 0x100498bb
mov eax, dword [edi + 0x7f4]
or dword [eax + 0x12fbc], 0x40
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0x10004068
push 0x80000002
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10049930
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x1000aa68
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10049930
cmp dword [ebp - 0xc], 4
jne 0x10049930
cmp dword [ebp - 0x10], esi
je 0x10049930
mov eax, dword [edi + 0x7f4]
or dword [eax + 0x12fbc], 0x40
jmp 0x10049930
mov dword [ecx + 0x13814], 1
mov eax, dword [edi + 0x7f4]
or dword [edi + 0x7f8], 0x800
mov dword [edi + 0x2d8], 0x11
mov dword [edi + 0x2dc], 6
mov dword [eax + 0x1328c], 0xffffffff
fld dword [edi + 0xb4]
fldz
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x100499a4
fld dword [edi + 0xbc]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x100499a4
fld dword [edi + 0xb8]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x100499a4
fld dword [edi + 0xc0]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10049a3c
jmp 0x100499a6
fstp st(0)
mov eax, dword [edi + 0x7f4]
mov dword [ebp - 0x10], 4
mov dword [ebp - 4], 0
or dword [eax + 0x12fbc], 2
mov eax, dword [edi + 0x7f4]
mov dword [eax + 0x1328c], 0xfffffff0
lea eax, [ebp - 4]
push eax
push 0x10004068
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10049a3c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x1000aa78
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10049a3c
cmp dword [ebp - 0xc], 4
jne 0x10049a3c
cmp dword [ebp - 8], esi
je 0x10049a3c
mov eax, dword [edi + 0x7f4]
and dword [eax + 0x12fbc], 0xfffffffd
mov eax, dword [edi + 0x7f4]
mov dword [eax + 0x1328c], 0xffffffff
mov eax, dword [edi + 0x7f4]
mov dword [edi + 0x800], 0
mov dword [edi + 0x804], 0
mov dword [edi + 0x808], 0x100a8000
mov dword [eax + 0x11b58], 0
mov ecx, dword [edi + 0x7f4]
mov eax, dword [edi + 0x260]
mov dword [edi + 0x7ec], 0
mov dword [edi + 0x7f0], 0xffffffff
pop edi
mov dword [ecx + 0x1381c], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10077210
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 0xc], edx
mov esi, 0x9e3779b9
mov dword [ebp - 4], ecx
xor edi, edi
mov dword [ebp - 8], eax
mov ebx, esi
cmp edx, 0xc
jb 0x100772cd
mov eax, 0xaaaaaaab
mul edx
shr edx, 3
add edi, dword [ecx + 8]
add esi, dword [ecx + 4]
mov eax, edi
mov ecx, dword [ecx]
shr eax, 0xd
sub ecx, edi
sub ecx, esi
sub esi, edi
add ebx, ecx
mov ecx, dword [ebp - 4]
xor ebx, eax
add ecx, 0xc
sub esi, ebx
mov dword [ebp - 4], ecx
mov eax, ebx
shl eax, 8
xor esi, eax
sub edi, esi
mov eax, esi
shr eax, 0xd
sub edi, ebx
xor edi, eax
sub ebx, edi
mov eax, edi
shr eax, 0xc
sub ebx, esi
xor ebx, eax
sub esi, edi
sub esi, ebx
mov eax, ebx
shl eax, 0x10
xor esi, eax
sub edi, esi
mov eax, esi
shr eax, 5
sub edi, ebx
xor edi, eax
sub ebx, edi
mov eax, edi
shr eax, 3
sub ebx, esi
xor ebx, eax
sub esi, edi
mov eax, ebx
sub esi, ebx
shl eax, 0xa
xor esi, eax
sub edi, esi
mov eax, esi
shr eax, 0xf
sub edi, ebx
xor edi, eax
mov eax, dword [ebp - 8]
sub eax, 0xc
mov dword [ebp - 8], eax
sub edx, 1
jne 0x10077242
mov edx, dword [ebp - 0xc]
dec eax
add edi, edx
cmp eax, 0xa
ja case.default.0x100772d5
jmp dword [eax*4 + 0x100773a4]
movzx eax, byte [ecx + 0xa]
shl eax, 0x18
add edi, eax
movzx eax, byte [ecx + 9]
shl eax, 0x10
add edi, eax
movzx eax, byte [ecx + 8]
shl eax, 8
add edi, eax
movzx eax, byte [ecx + 7]
shl eax, 0x18
add esi, eax
movzx eax, byte [ecx + 6]
shl eax, 0x10
add esi, eax
movzx eax, byte [ecx + 5]
shl eax, 8
add esi, eax
movzx eax, byte [ecx + 4]
add esi, eax
movzx eax, byte [ecx + 3]
shl eax, 0x18
add ebx, eax
movzx eax, byte [ecx + 2]
shl eax, 0x10
add ebx, eax
movzx eax, byte [ecx + 1]
shl eax, 8
add ebx, eax
movzx eax, byte [ecx]
add ebx, eax
sub ebx, edi
mov eax, edi
sub ebx, esi
shr eax, 0xd
xor ebx, eax
sub esi, edi
sub esi, ebx
mov eax, ebx
shl eax, 8
xor esi, eax
sub edi, esi
mov eax, esi
sub edi, ebx
shr eax, 0xd
xor edi, eax
sub ebx, edi
mov eax, edi
sub ebx, esi
shr eax, 0xc
xor ebx, eax
sub esi, edi
sub esi, ebx
mov eax, ebx
shl eax, 0x10
xor esi, eax
sub edi, esi
mov eax, esi
sub edi, ebx
shr eax, 5
xor edi, eax
sub ebx, edi
mov eax, edi
sub ebx, esi
shr eax, 3
xor ebx, eax
sub esi, edi
sub esi, ebx
mov ecx, ebx
shl ecx, 0xa
xor esi, ecx
sub edi, esi
shr esi, 0xf
sub edi, ebx
xor edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a1a30
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 0x100a1a6e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100a1a66
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100a1a70
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100a1a56
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100a1b50
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 0x100a1b81
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100a1b81
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x100a1b81
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x60fe10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x160000]
push edi
or ebp, 0xffffffff
jmp 0x60fe32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x60fe39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60fe28
mov eax, 1
add ebx, ebx
jne 0x60fe4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x60fe5c
jne 0x60fe7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60fe7b
dec eax
add ebx, ebx
jne 0x60fe68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x60fe40
add ebx, ebx
jne 0x60fe77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x60fecd
xor ecx, ecx
sub eax, 3
jb 0x60fe93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x60ff02
sar eax, 1
mov ebp, eax
jmp 0x60fe9e
add ebx, ebx
jne 0x60fe9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60fe6c
inc ecx
add ebx, ebx
jne 0x60feac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60fe6c
add ebx, ebx
jne 0x60feb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x60feae
jne 0x60feca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x60feae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x60feec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x60fede
jmp 0x60fe2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x60feec
add edi, ecx
jmp 0x60fe2e
pop esi
mov edi, esi
mov ecx, 0x3836
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x60ff0a
cmp byte [edi], 0x15
jne 0x60ff0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x60ff0f
lea edi, [esi + 0x20c000]
mov eax, dword [edi]
or eax, eax
je 0x60ff87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x223530]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2235f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x60ff3c
mov ecx, edi
jns 0x60ff6b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2235fc]
or eax, eax
je 0x60ff81
mov dword [ebx], eax
add ebx, 4
jmp 0x60ff59
call dword [esi + 0x2235f8]
mov ebp, dword [esi + 0x223600]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x60ffbb
sub esp, 0xffffff80
jmp 0x4706e1