joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408e80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00409930
mov edi, dword [esp + 0x38]
xor ebp, ebp
push edi
mov ebx, eax
mov dword [esp + 0x18], ebp
call dword [0x443054]
add esp, 8
test ebx, ebx
je 0x408fc4
test eax, eax
je 0x408fc4
inc eax
push eax
call fcn.004153fe
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040a480
mov edi, eax
add esp, 0xc
test edi, edi
je 0x408ef2
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x408fb1
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.004153fe
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x408f7a
cmp eax, 0xea
jne 0x408f9d
push esi
call fcn.00415427
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004153fe
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x408f45
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x408f88
cmp eax, 2
jne 0x408f9d
push esi
call dword [0x443054]
push eax
push esi
call fcn.00409980
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call fcn.00415427
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.00415427
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x408fed
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x408ff9
mov esi, dword [esp + 0x40]
test esi, esi
je 0x408ff9
push esi
call dword [0x443054]
push eax
push esi
call fcn.00409980
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x409220
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x40923e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x409233
pop esi
ret

Function at 0x417dcb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x417e0d
call fcn.0041b11b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x417e0d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x417e04
xor eax, eax
jmp 0x417e15
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00417e1b
pop edi
pop esi
pop ebx
ret 4
Function at 0x418da6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x41c9b4
call fcn.0040afa4
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0041b11b
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x418de5
call fcn.0041b11b
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x418df3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x418e01
or eax, 0xffffffff
jmp 0x418ee9
mov ecx, esi
call fcn.00418d1c
mov dword [ebp - 0x14], eax
call fcn.00416413
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x418e38
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x418e38
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004163c7
push dword [ebp - 0x14]
call fcn.00415ef9
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00418ab4
cmp eax, edi
je 0x418eab
test byte [esi + 0x24], 0x10
je 0x418e79
push 4
mov ecx, esi
pop ebx
call fcn.004158f9
test ah, 1
je 0x418e71
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00417f1d
cmp dword [esi + 0x1c], edi
je 0x418eab
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041592d
jmp 0x418eab
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x418ebf
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x418ed8
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x418ed8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00418d56
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x41ac8d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41acbb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41acd9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041abf3
jmp 0x41acd9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41acd9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041abf3
test edi, edi
mov eax, edi
jne 0x41acc3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40642a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x406439
pop dword [ebp - 0x50]
mov eax, 0x406439
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xb78da53c
add dword [ebp - 0x60], 0x96c4a00f
mov dword [ebp - 0x5c], 0xf8617f75
sub dword [ebp - 0x5c], 0xc62e3330
mov dword [ebp - 0x58], 0xd7d43e7c
sub dword [ebp - 0x58], 0x8b87fa4e
mov dword [ebp - 0x54], 0xb6eb0012
add dword [ebp - 0x54], 0x4914ffee
lea eax, [ebp - 0x60]
push eax
mov eax, 0x42dfc65
sub eax, 0x3ed2c19
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xd23a5eef
add dword [ebp - 0x60], 0xa2380a67
mov dword [ebp - 0x5c], 0x19030c40
sub dword [ebp - 0x5c], 0xd796aacb
mov dword [ebp - 0x58], 0xdc8a343d
add dword [ebp - 0x58], 0x86e5382f
mov dword [ebp - 0x54], 0xd7a17f20
add dword [ebp - 0x54], 0x285e80e0
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x248775a4
add eax, 0xdbb95aa4
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3d8d3
push 0
call eax
mov ecx, 0xa5a40a9e
sub ecx, 0xa5a3b273
xor ebx, ebx
add ebx, eax
mov esi, 0xa0f6c6a3
sub esi, 0xa0b516a3
add esi, dword [ebp - 0x50]
mov edi, 0xda2ed779
sub edi, 0xf3228b3
add dword [ebp - 0x40], eax
mov edx, dword [esi]
add dword [ebp - 0x3c], 0x9c8ae47e
xor edx, edi
add dword [ebp - 0x44], ebx
mov dword [ebx], edx
add dword [ebp - 0x38], 0x96c2eea3
add ebx, 0xc80504b9
sub ebx, 0xc80504b5
add esi, 4
loop 0x406558
add eax, 0x7803fbf9
add eax, 0x87fd5786
xor ebx, ebx
add ebx, eax
add eax, 0xcd78976
add eax, 0xf328768f
mov ecx, 0x20abc3fa
add ecx, 0xdf943c06
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4010bd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and byte [ebp - 8], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.HeapFree
push str.kernel32.dll
mov byte [ebp - 0x14], 0x4b
mov byte [ebp - 0x13], 0x45
mov byte [ebp - 0x12], 0x52
mov byte [ebp - 0x11], 0x4e
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xf], 0x4c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
and byte [ebp - 0x16], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], 0x47
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x50
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x1e], 0x63
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x73
mov byte [ebp - 0x1a], 0x48
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x70
call esi
push eax
call edi
push dword [ebp + 8]
push 0
call eax
push eax
call dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x4011d1
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x41dce0
call fcn.00409e0c
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], esp
jne 0x40122b
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [ebp - 0x1c], esi
cmp dword [esi], 0x4550
jne 0x40122b
mov ebx, 0x2000
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push ebx
push dword [esi + 0x50]
push dword [esi + 0x34]
call edi
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x401232
push 4
push ebx
push dword [esi + 0x50]
push eax
call edi
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x401232
xor eax, eax
jmp 0x401367
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ecx
lea eax, [ebp - 0x20]
push 0x423b38
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], 0x3f
call fcn.00409e2b
mov eax, dword [ebp - 0x1c]
push 4
push 0x1000
push dword [eax + 0x50]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, 0x40128b
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x401376
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x41dcec
call fcn.00409e0c
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.VirtualAlloc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 0x10]
and dword [ebp - 0x14], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
lea esi, [ecx + eax + 0x18]
mov dword [ebp - 0x18], esi
mov eax, dword [edi]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x14], eax
jge 0x401471
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x401404
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jle 0x401463
mov eax, dword [esi + 0xc]
push 4
add eax, dword [ebp - 0x1c]
push 0x1000
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
push 0
push eax
mov dword [esi + 8], eax
call fcn.00409e70
add esp, 0xc
jmp 0x401463
push 4
push 0x1000
push eax
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
and dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push 0x423b38
push eax
mov dword [ebp - 0x24], 0x55
call fcn.00409e2b
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add eax, dword [ebp + 8]
push eax
push dword [ebp - 0x20]
call fcn.00409700
add esp, 0xc
mov eax, 0x401453
ret
inc dword [ebp - 0x14]
add esi, 0x28
mov dword [ebp - 0x18], esi
jmp 0x4013ba
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4015df
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x41dcf8
call fcn.00409e0c
sub esp, 0x4c
push ebx
push esi
and byte [ebp - 0x3c], 0
and byte [ebp - 0x4c], 0
push edi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x10], esp
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 0x48], 0x49
push eax
mov byte [ebp - 0x47], 0x73
mov byte [ebp - 0x46], 0x42
mov byte [ebp - 0x45], 0x61
mov byte [ebp - 0x44], 0x64
mov byte [ebp - 0x43], 0x52
mov byte [ebp - 0x42], 0x65
mov byte [ebp - 0x41], 0x61
mov byte [ebp - 0x40], 0x64
mov byte [ebp - 0x3f], 0x50
mov byte [ebp - 0x3e], 0x74
mov byte [ebp - 0x3d], 0x72
mov byte [ebp - 0x58], 0x4b
mov byte [ebp - 0x57], 0x45
mov byte [ebp - 0x56], 0x52
mov byte [ebp - 0x55], 0x4e
mov byte [ebp - 0x54], 0x45
mov byte [ebp - 0x53], 0x4c
mov byte [ebp - 0x52], 0x33
mov byte [ebp - 0x51], 0x32
mov byte [ebp - 0x50], 0x2e
mov byte [ebp - 0x4f], 0x64
mov byte [ebp - 0x4e], 0x6c
mov byte [ebp - 0x4d], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 1
mov eax, dword [esi]
mov ebx, dword [esi + 4]
add eax, 0x80
mov dword [ebp - 0x24], ebx
cmp dword [eax + 4], 0
jbe 0x4016d8
mov edi, dword [eax]
add edi, ebx
push 0x14
push edi
mov dword [ebp - 0x28], edi
call dword [ebp - 0x2c]
test eax, eax
jne 0x4016d8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4016d8
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x4016d4
mov eax, dword [esi + 0xc]
lea eax, [eax*4 + 4]
push eax
push dword [esi + 8]
call fcn.0040116f
pop ecx
mov dword [esi + 8], eax
test eax, eax
pop ecx
jne 0x4016ea
and dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*4], edx
inc dword [esi + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x401708
add eax, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x10]
add eax, ebx
jmp 0x401710
mov eax, dword [edi + 0x10]
add eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x4017e4
test eax, 0x80000000
je 0x401757
and eax, 0xffff
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
lea eax, [ebp - 0x34]
push 0x423b38
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x34], 0x42
call fcn.00409e2b
and dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push 0x423b38
push eax
mov dword [ebp - 0x30], 0x42
call fcn.00409e2b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
add eax, 2
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, 0x40173b
ret
cmp dword [ebp - 0x1c], 0
je 0x4016d8
add edi, 0x14
jmp 0x401693
Function at 0x41b61f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41b64d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41b66b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041b585
jmp 0x41b66b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41b66b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041b585
test edi, edi
mov eax, edi
jne 0x41b655
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x740635
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.007406b4
jae 0x740641
xor ecx, ecx
call fcn.007406b4
jae 0x74066b
xor eax, eax
call fcn.007406b4
jae 0x74067c
mov al, 0x10
call fcn.007406b4
adc al, al
jae 0x74065d
jne 0x7406a9
stosb byte es:[edi], al
jmp 0x740642
call fcn.007406c0
dec ecx
loop 0x740688
mov eax, ebp
call fcn.007406be
jmp 0x7406aa
lodsb al, byte [esi]
shr eax, 1
je 0x7406d0
adc ecx, 2
mov ebp, eax
jmp 0x7406aa
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.007406be
cmp eax, 0x7d00
jae 0x7406a8
cmp eax, 0x500
jae 0x7406a9
cmp eax, 0x7f
ja 0x7406aa
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x740642
pop ebp
ret 8
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001130
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.100a46bb
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.100a46bb
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.100a46bb
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0
call fcn.100a46d3
cmp dword [ebp - 0x20], esp
je 0x100011f7
push 0x19
push 0x4035571
push 6
call fcn.100a46c1
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, 0x102055bc
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001210
push ebx
call fcn.100a46b5
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 1
call fcn.100a46d3
cmp dword [ebp - 0x20], esp
je 0x10001249
push 0x5d
push 0x4035571
push 6
call fcn.100a46c1
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x102055cd
mov eax, 2
call fcn.100a46d3
cmp dword [ebp - 0x20], esp
je 0x1000127d
push 0x87
push 0x4035571
push 6
call fcn.100a46c1
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 3
call fcn.100a46d3
cmp dword [ebp - 0x20], esp
je 0x1000131b
push 0x185
push 0x4035571
push 6
call fcn.100a46c1
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 4
call fcn.100a46d3
cmp dword [ebp - 0x20], esp
je 0x1000134a
push 0x1c9
push 0x4035571
push 6
call fcn.100a46c1
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x10001352
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001363
push ebx
call fcn.100a46b5
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.100a46b5
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.100a46b5
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.100a46b5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret