joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1711460
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xecf000]
push edi
or ebp, 0xffffffff
jmp 0x1711482
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1711489
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1711478
mov eax, 1
add ebx, ebx
jne 0x171149b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x17114ac
jne 0x17114cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17114cb
dec eax
add ebx, ebx
jne 0x17114b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1711490
add ebx, ebx
jne 0x17114c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x171151d
xor ecx, ecx
sub eax, 3
jb 0x17114e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1711552
sar eax, 1
mov ebp, eax
jmp 0x17114ee
add ebx, ebx
jne 0x17114ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17114bc
inc ecx
add ebx, ebx
jne 0x17114fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17114bc
add ebx, ebx
jne 0x1711509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x17114fe
jne 0x171151a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x17114fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x171153c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x171152e
jmp 0x171147e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x171153c
add edi, ecx
jmp 0x171147e
pop esi
mov edi, esi
mov ecx, 0x6d057
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x171155a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x171155f
lea edi, [esi + 0x130d000]
mov eax, dword [edi]
or eax, eax
je 0x17115d0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x133d90c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x133dacc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1711585
mov ecx, edi
jns 0x17115b4
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 + 0x133dad4]
or eax, eax
je 0x17115ca
mov dword [ebx], eax
add ebx, 4
jmp 0x17115a2
call dword [esi + 0x133dad0]
mov ebp, dword [esi + 0x133dad8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
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 0x1711604
sub esp, 0xffffff80
jmp 0xf4a4f6
Function at 0x699f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x6ae9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x69a002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0069ddff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x69a002
lea edx, [esp + 0x14]
push edx
push 0x6b4140
call fcn.006956e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0069e20b
push 0x10
call fcn.0069e1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x699fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.0068a1c0
jmp 0x699fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00699b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x699ff0
mov ecx, edi
call fcn.0068a2c0
push edi
call fcn.0069e1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x69a021
inc ebx
cmp ebx, 0x20
jb 0x699f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x69d1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0069d140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0069d140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0069d140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0069d140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x69d230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x69d2d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x69d2ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.0069d230
mov esi, eax
add esp, 8
test esi, esi
jne 0x69d2ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x69d27e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x69d2ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x69dbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x69dc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6af87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x69dc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x69dc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40619b
Capabilities:
Create pipe
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8bfc58]
mov ecx, dword [0x8bebac]
sub esp, 0xe84
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40629e
mov ebx, ecx
mov dword [ebp - 8], eax
cmp dword [0x8bfc58], 0x959
jne 0x40628c
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x405910
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x405968
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0xe80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.00405fa8
add ebx, 8
dec dword [ebp - 8]
jne 0x4061c4
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4088ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80e718]
jne 0x4088b5
repz ret
jmp fcn.0041014c

Function at 0x411ec7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040a02d
and dword [ebp - 4], 0
cmp dword [0x8107a0], 0
mov ebx, eax
jne 0x411f78
push 0x40391c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x412029
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403910
push edi
call esi
test eax, eax
je 0x412029
push eax
call fcn.00409fbb
mov dword [esp], 0x403900
push edi
mov dword [0x8107a0], eax
call esi
push eax
call fcn.00409fbb
mov dword [esp], 0x4038ec
push edi
mov dword [0x8107a4], eax
call esi
push eax
call fcn.00409fbb
mov dword [esp], 0x4038d0
push edi
mov dword [0x8107a8], eax
call esi
push eax
call fcn.00409fbb
pop ecx
mov dword [0x8107b0], eax
test eax, eax
je 0x411f78
push 0x4038b8
push edi
call esi
push eax
call fcn.00409fbb
pop ecx
mov dword [0x8107ac], eax
mov eax, dword [0x8107ac]
cmp eax, ebx
je 0x411fd0
cmp dword [0x8107b0], ebx
je 0x411fd0
push eax
call fcn.0040a036
push dword [0x8107b0]
mov esi, eax
call fcn.0040a036
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x411fd0
test edi, edi
je 0x411fd0
call esi
test eax, eax
je 0x411fc7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x411fc7
test byte [ebp - 0xc], 1
jne 0x411fd0
or dword [ebp + 0x10], 0x200000
jmp 0x412009
mov eax, dword [0x8107a4]
cmp eax, ebx
je 0x412009
push eax
call fcn.0040a036
pop ecx
test eax, eax
je 0x412009
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x412009
mov eax, dword [0x8107a8]
cmp eax, ebx
je 0x412009
push eax
call fcn.0040a036
pop ecx
test eax, eax
je 0x412009
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x8107a0]
call fcn.0040a036
pop ecx
test eax, eax
je 0x412029
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41202b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401cca
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
mov esi, ebx
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0x50
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xf6
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xea
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0x33
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xdd
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x67
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0xf4
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x57
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x38
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0x14
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xf1
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x8c
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xfa
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0x73
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0xec
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x8a
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xa
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xb1
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x54
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0xf2
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xd6
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x29
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xdc
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x5f
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x28
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x4a
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0x41
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x3b
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xde
inc esi
cmp esi, 0x24600
jb 0x401cd7
pop edi
pop esi
pop ebx
ret
Function at 0x401e44
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x10]
mov edi, dword [eax]
mov ebp, edi
xor ebp, 0x14d
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x14], 0x10
jb 0x401e66
mov esi, dword [esi]
shr edi, 2
xor ebx, ebx
mov dword [esp + 0x18], edi
test edi, edi
je 0x401ec3
mov dword [esp + 0x14], edi
mov edi, esi
push ebx
call dword [sym.imp.ADVAPI32.dll_IsValidAcl]
push 4
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00408b60
imul ecx, dword [esp + 0x1c], 0x5bd1e991
add esp, 0xc
imul ebp, ebp, 0x5bd1e991
add edi, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebp, eax
mov dword [esp + 0x10], eax
sub dword [esp + 0x14], 1
jne 0x401e79
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
and eax, 3
sub eax, 1
je 0x401ee9
sub eax, 1
je 0x401edf
sub eax, 1
jne 0x401ef7
movsx ebx, byte [esi + edi*4 + 2]
shl ebx, 0x10
movsx eax, byte [esi + edi*4 + 1]
shl eax, 8
xor ebx, eax
movsx eax, byte [esi + edi*4]
xor eax, ebx
imul eax, eax, 0x5bd1e991
xor ebp, eax
mov eax, ebp
shr eax, 0xd
xor eax, ebp
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 0x10
ret

Function at 0x401f13
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
mov eax, dword [0x435018]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [0x45c600]
xor ebx, ebx
push edi
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x401f82
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.0040249c
test esi, esi
je 0x401f6f
lea ecx, [esp + 0x1c]
call fcn.00401e44
test eax, eax
je 0x401f6f
cmp eax, dword [esp + 0x14]
je 0x401f9a
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00402d5a
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x401f4a
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00407f54
add esp, 0x2c
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00402d5a
jmp 0x401f84
Function at 0x41b170
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x41b192
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41b199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41b188
mov eax, 1
add ebx, ebx
jne 0x41b1ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41b1a0
jne 0x41b1bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b1a0
xor ecx, ecx
sub eax, 3
jb 0x41b1d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41b242
mov ebp, eax
add ebx, ebx
jne 0x41b1db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41b1e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41b20c
inc ecx
add ebx, ebx
jne 0x41b1f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41b1ed
jne 0x41b209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b1ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41b22c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41b21d
jmp 0x41b18e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41b22c
add edi, ecx
jmp 0x41b18e
pop esi
mov edi, esi
mov ecx, 0x6b8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41b24a
cmp byte [edi], 6
jne 0x41b24a
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 0x41b24f
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41b2be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1be54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1bf2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41b27c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1bf34]
or eax, eax
je 0x41b2b8
mov dword [ebx], eax
add ebx, 4
jmp 0x41b299
call dword [esi + 0x1bf30]
mov ebp, dword [esi + 0x1bf38]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41b2f2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x4096e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
jmp 0x409789
cmp dword [esi + 0x10], 0x1000
jne 0x409775
test byte [esi + 0x15], 1
jne 0x409775
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409734
cmp eax, 2
je 0x409734
cmp eax, 0x10
je 0x409734
cmp eax, 0x20
jne 0x409749
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409749
mov bl, 1
xor ebp, ebp
jmp 0x40975a
mov eax, dword [esi]
add eax, ebp
call fcn.004096d8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40974d
test bl, bl
je 0x409775
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40970c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40158f
Capabilities:
Enumerate pe sections
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push esi
push edi
call sub.KERNEL32.dll_GetTickCount
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.dll_GetTempPathA

Function at 0x4015b0
Capabilities:
Enumerate pe sections

Disassembly:
cmp byte [ebp - 0x104], 0
jne 0x4016ff
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
rcl byte [edi - 0x73], cl
inc esp
or byte [eax], bl
cmp byte [ebp - 0x104], 0
jne 0x40188e
add byte [eax], al
add byte [ebx - 0x3ca2e73c], al
int3
push 0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_GetFileAttributesExA
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov ecx, dword [0x423dd2]
inc ecx
cdq
idiv ecx
mov edi, eax
and edi, 0xffffffa8
mov dword [ebp - 0x108], edi
or esi, esi
jne 0x4019d7
or ebp, dword [eax]
add dword [eax], eax
add bh, bh
jne 0x4018dc
push edx
jmp 0x4018e6
pop ss
push 0x100
push dword [ebp + 0xc]
push ecx
push dword [0x662a2010]
call dword [0x662a1034]
jmp 0x4018fc
pop esi
pop ebp
ret 8
mov eax, dword [ebp - 0x108]
pop edi
pop esi
leave
ret
Function at 0x401166
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1888140]
jne 0x401170
repz ret
jmp fcn.004014af

Function at 0x407328
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1888140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402976
and dword [ebp - 0x14], 0
cmp dword [0x188bb2c], 0
mov dword [ebp - 0x18], eax
jne 0x4073db
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407483
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407483
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x188bb2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x188bb30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x188bb34], eax
call edi
push eax
call esi
mov dword [0x188bb3c], eax
test eax, eax
je 0x4073db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x188bb38], eax
mov eax, dword [0x188bb38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x407434
cmp dword [0x188bb3c], ecx
je 0x407434
push eax
call esi
push dword [0x188bb3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407434
test ebx, ebx
je 0x407434
call edi
test eax, eax
je 0x40742b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40742b
test byte [ebp - 8], 1
jne 0x407434
or dword [ebp + 0x10], 0x200000
jmp 0x407467
mov eax, dword [0x188bb30]
cmp eax, dword [ebp - 0x18]
je 0x407467
push eax
call esi
test eax, eax
je 0x407467
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407467
mov eax, dword [0x188bb34]
cmp eax, dword [ebp - 0x18]
je 0x407467
push eax
call esi
test eax, eax
je 0x407467
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x188bb2c]
call esi
test eax, eax
je 0x407483
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407485
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401166
leave
ret