joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4140b3
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4140ee
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4140d5
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4140e6
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4140f0
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4140cb
xor eax, eax
pop edi
pop esi
ret

Function at 0x414d23
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ss
cwde
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x414d67

Function at 0x4163b3
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x54
mov eax, 0x46817e
call fcn.0043fa2a
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x48]
push eax
push 1
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], ecx
push eax
movlpd qword [ebp - 0x48], xmm0
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x416426
push dword [ebp - 0x48]
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.0041173c
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [esi]
call fcn.00440e10
add esp, 0xc
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.0043f9d9
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004167e7
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], edi
push str.decryption_failed__sysError
push eax
call fcn.0040227b
add esp, 0x18
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00402d4f
push 0x48a83c
lea eax, [ebp - 0x60]
push eax
call fcn.004417dd
int3
Function at 0x416550
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x54
mov eax, 0x46817e
call fcn.0043fa2a
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x50], eax
xor eax, eax
push 5
inc eax
mov dword [ebp - 0x4c], ecx
cmp dword [ebp + 0x14], eax
pop ecx
cmove eax, ecx
movlpd qword [ebp - 0x48], xmm0
lea ecx, [ebp - 0x48]
push ecx
push eax
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x4165ce
push dword [ebp - 0x48]
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.0041173c
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [esi]
call fcn.00440e10
add esp, 0xc
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.0043f9d9
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004167e7
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], edi
push str.encryption_failed__sysError
push eax
call fcn.0040227b
add esp, 0x18
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00402d4f
push 0x48a83c
lea eax, [ebp - 0x60]
push eax
call fcn.004417dd
int3
Function at 0x42a219
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x6c
mov eax, 0x46b25a
call fcn.0043fa2a
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x58]
and dword [ebp - 0x58], 0
push edx
push dword [ebp + 0xc]
push eax
push dword [ecx + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42a24c
mov eax, dword [ebp - 0x58]
call fcn.0043f9d9
ret 8
push str.InternetReadFile_failed
lea ecx, [ebp - 0x28]
call fcn.00402913
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2c9
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x78]
call fcn.00427bb1
mov esi, eax
push 0x2eb
push str.HttpConnection::Response::readContent
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00402aa6
push eax
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0042763d
add esp, 0xc
lea eax, [ebp - 0x54]
push 0x48e338
push eax
call fcn.004417dd
int3

Function at 0x42a906
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x46b348
call fcn.0043f9f7
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
push esi
call fcn.0042a9fa
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
push esi
call fcn.0042a9fa
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
push ecx
push esi
call fcn.0042a9fa
push 0x409
push esi
call fcn.0042a9fa
add esp, 0x10
mov eax, esi
call fcn.0043f9c5
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pop eax
and bl, ch
or ebx, ebp
cmp dl, byte [ecx]
or al, 0x4d
inc eax
push ebx
xchg ecx, eax

Function at 0x407530
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x56a2b5f0
push 0
push ebx
call ebp
adc byte [eax], al
add byte [ebx - 0x6174ebe0], cl
adc al, 0x8b
sahf
mov esi, 0x6385e445
je 0x407570
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 1]
cmp ecx, 0xef060212
jb 0x40755c
mov eax, 0x111
cmp dword [ebp - 4], eax
jae 0x40753f
dec esi
xor eax, edi
xor byte [ebx + 0x3bbefc4d], cl
enter 0x4d1f, 0xffffffffffffffe4
jb 0x407561
inc ebp
aam 0x85
ror byte [edi], 0x84
mov byte [edx], 0
add byte [eax - 0x4c52cf5e], al
add byte [edx], 0xb3
add byte [esi - 0x3a], cl
push es
xor cl, ch
pop ecx
add al, byte [eax]
add byte [ebp - 0x74e08a40], al
push ebx
add al, 0x8b
add ecx, dword [ebp - 0x3c7c038b]
or byte [edx + 0x56e5758d], al
push ecx
push 4
push edx
push eax
call 0xc9d3e0
adc dword [ecx - 0x7cd114e8], 0xfffffff8
add esp, esi
adc byte [ebx - 0x388afd08], al
add dword [ebp + 0x66c03388], 0xffffff8b
inc ebx
cld
jmp 0x40759a
ret
Function at 0x10001020
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
sub eax, 0
je 0x10001097
sub eax, 1
jne 0x10001230
call fcn.10001f60
cmp dword [0x100055ec], 0
jne 0x10001061
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x100055ec], eax
xor eax, eax
mov ebx, 0x100055e8
xchg dword [ebx], eax
push ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
call fcn.10001fb0
call fcn.10001f60
cmp dword [0x100055ec], 0
je 0x1000122c
mov ecx, 1
call fcn.10001e60
jmp 0x1000122c
push esi
push edi
call fcn.10001f60
cmp dword [0x100055ec], 0
je 0x10001194
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test esi, esi
jne 0x100010c1
xor ecx, ecx
call fcn.10001e60
jmp 0x10001194
mov ecx, dword [0x10005608]
xor edx, edx
test ecx, ecx
je 0x10001194
mov edi, dword [0x10005600]
mov eax, edi
nop dword [eax]
cmp esi, dword [eax]
je 0x100010f1
inc edx
add eax, 0x2c
cmp edx, ecx
jb 0x100010e0
jmp 0x10001194
cmp edx, 0xffffffff
je 0x10001194
imul esi, edx, 0x2c
test byte [esi + edi + 0x14], 2
je 0x10001194
push 1
lea ecx, [ebp - 0x14]
call fcn.10001b70
add esp, 4
test eax, eax
jne 0x10001194
add esi, dword [0x10005600]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000118c
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10001164
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1000116a
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [esi + 0x14], 0xf9
lea ecx, [ebp - 0x14]
call fcn.10001d10
xor eax, eax
mov ebx, 0x100055e8
xchg dword [ebx], eax
call fcn.10001f60
cmp dword [0x100055ec], 0
je 0x1000122a
xor ecx, ecx
call fcn.10001e60
test eax, eax
jne 0x1000122a
mov eax, dword [0x1000560c]
mov dword [0x1000560c], 0
test eax, eax
je 0x100011e2
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov esi, dword [eax]
push 0x8000
push 0
push eax
call edi
mov eax, esi
test esi, esi
jne 0x100011d0
push dword [0x10005600]
push 0
push dword [0x100055ec]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [0x100055ec]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [0x100055ec], 0
mov dword [0x10005600], 0
mov dword [0x10005604], 0
mov dword [0x10005608], 0
pop edi
pop esi
xor ecx, ecx
xchg dword [ebx], ecx
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop ebx
call fcn.100025bd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10001b70
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
xor ebx, ebx
push ebx
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001cec
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10001c87
mov ebx, 1
cmp dword [ebp - 0x20], 0x10
jb 0x10001c4a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10001c4a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10001c4a
mov edx, dword [esi]
test edx, edx
jne 0x10001c16
push 0x200
push edx
push dword [0x100055ec]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10001c6f
jmp 0x10001c3e
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10001c3e
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x100055ec]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10001c6f
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10001bd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10001c87
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10001c87
push eax
push ebx
push dword [0x100055ec]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x10001cec
cmp dword [esi], 0
je 0x10001cd9
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10001cd9
nop
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10001cd3
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10001a00
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10001ca0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100025bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 9
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100025bd
mov esp, ebp
pop ebp
ret
Function at 0x10001d10
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x10001d5c
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10001d4b
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10001d44
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10001d21
pop edi
push dword [ebx]
push 0
push dword [0x100055ec]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret

Function at 0x10001d60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x10005600]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001dc1
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100025bd
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10001de2
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10001e03
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10001e03
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10001dfd
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10001e03
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x14], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.100025bd
mov esp, ebp
pop ebp
ret
Function at 0x10001e60
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x10005608]
sub esp, 0x10
push ebx
push esi
xor esi, esi
mov ebx, ecx
test edx, edx
je 0x10001e94
mov eax, dword [0x10005600]
add eax, 0x14
nop
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x10001e9c
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x10001e80
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp esi, 0xffffffff
je 0x10001f52
test ebx, ebx
lea ecx, [ebp - 0x10]
setne al
or edx, 0xffffffff
push eax
call fcn.10001b70
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x10001f52
mov ecx, dword [0x10005608]
push edi
cmp esi, ecx
jae 0x10001f0a
imul edi, esi, 0x2c
mov eax, dword [0x10005600]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x10001eff
mov edx, ebx
mov ecx, esi
call fcn.10001d60
mov dword [ebp - 4], eax
test eax, eax
jne 0x10001f0a
mov ecx, dword [0x10005608]
jmp 0x10001f02
mov eax, dword [ebp - 4]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10001ed4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10001f51
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10001f3f
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10001f39
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10001f18
push ebx
push 0
push dword [0x100055ec]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1678c40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf05000]
push edi
jmp 0x1678c5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1678c61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1678c50
mov eax, 1
add ebx, ebx
jne 0x1678c73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1678c84
jne 0x1678ca3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1678ca3
dec eax
add ebx, ebx
jne 0x1678c90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1678c68
add ebx, ebx
jne 0x1678c9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1678cf5
xor ecx, ecx
sub eax, 3
jb 0x1678cbb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1678d2a
sar eax, 1
mov ebp, eax
jmp 0x1678cc6
add ebx, ebx
jne 0x1678cc6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1678c94
inc ecx
add ebx, ebx
jne 0x1678cd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1678c94
add ebx, ebx
jne 0x1678ce1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1678cd6
jne 0x1678cf2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1678cd6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1678d14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1678d06
jmp 0x1678c56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1678d14
add edi, ecx
jmp 0x1678c56
pop esi
mov edi, esi
mov ecx, 0x1000
jmp 0x1678d65
mov al, byte [edi]
inc edi
cmp al, 0x80
jb 0x1678d45
cmp al, 0x8f
ja 0x1678d45
cmp byte [edi - 2], 0xf
je 0x1678d4b
sub al, 0xe8
cmp al, 1
ja 0x1678d6f
cmp ecx, 4
jb 0x1678d74
mov eax, dword [edi]
sub al, 0
jne 0x1678d6f
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
sub ecx, 4
stosd dword es:[edi], eax
sub ecx, 1
jb 0x1678d74
mov al, byte [edi]
inc edi
jmp 0x1678d45
sub ecx, 1
jae 0x1678d34
lea edi, [esi + 0x1276000]
mov eax, dword [edi]
or eax, eax
je 0x1678dbc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1295154]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12951c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1678d7a
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12951c8]
or eax, eax
je 0x1678db6
mov dword [ebx], eax
add ebx, 4
jmp 0x1678d97
call dword [esi + 0x12951c4]
mov ebp, dword [esi + 0x12951cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x15f]
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 0x1678df0
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x2e007c30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 8], eax
call fcn.2e013bb8
mov edi, eax
test edi, edi
jl 0x2e007ce6
push ebx
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.2e013bb8
mov edi, eax
test edi, edi
jne 0x2e007ce0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
xor ebx, ebx
inc ebx
mov edi, dword [ebp - 4]
movzx eax, word [edi]
push 0x2f
pop ecx
cmp cx, ax
je 0x2e007c9f
push 0x2d
pop ecx
cmp cx, ax
jne 0x2e007d03
add edi, 2
push edi
push 0x2e001894
call esi
test eax, eax
jne 0x2e007cb3
mov eax, dword [ebp + 0x10]
jmp 0x2e007cc2
push edi
push 0x2e001874
call esi
test eax, eax
jne 0x2e007cfb
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.2e013bb8
mov edi, eax
test edi, edi
je 0x2e007c89
test edi, edi
jl 0x2e007ce4
xor edi, edi
pop esi
pop ebx
cmp dword [ebp - 4], 0
je 0x2e007cf4
push dword [ebp - 4]
call fcn.2e010d00
mov eax, edi
pop edi
leave
ret 0x10
push edi
push 0x2e001850
call esi
mov edi, 0x80070057
jmp 0x2e007ce4
Function at 0x2e008c21
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x2e022064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x2e022f14], esi
jne 0x2e008d9d
push ebx
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x2e008c8c
push 0xffffffffffffffff
push 0x2e001c60
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.2e01431e
add esp, 0x10
cmp eax, 0x50
jne 0x2e008c88
mov esi, 0x8007007a
jmp 0x2e008d84
xor esi, esi
jmp 0x2e008ca8
call ebx
mov esi, eax
test esi, esi
jle 0x2e008ca2
and esi, 0xffff
or esi, 0x80070000
test esi, esi
jl 0x2e008d84
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x2e022f14], eax
test eax, eax
jne 0x2e008ce4
call ebx
mov esi, eax
test esi, esi
jle 0x2e008cd4
and esi, 0xffff
or esi, 0x80070000
test esi, esi
jl 0x2e008d84
mov esi, 0x80004005
jmp 0x2e008d84
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e001c54
push eax
call edi
mov dword [0x2e022f28], eax
test eax, eax
je 0x2e008cbe
push 0x2e001c4c
push dword [0x2e022f14]
call edi
mov dword [0x2e022f1c], eax
test eax, eax
je 0x2e008cbe
push 0x2e001c3c
push dword [0x2e022f14]
call edi
mov dword [0x2e022f20], eax
test eax, eax
je 0x2e008cbe
push 0x2e001c30
push dword [0x2e022f14]
call edi
mov dword [0x2e022f24], eax
test eax, eax
je 0x2e008cbe
lea eax, [ebp - 0x218]
push eax
push 0xffffffffffffffff
push 0x2e0088a0
push 0x2e00886a
push 0x2e00883f
push 0x2e0087fc
push 0x2e0087c5
push 0x2e0087b8
push 0x2e0087a9
call dword [0x2e022f28]
add esp, 0x24
mov dword [0x2e022f18], eax
test eax, eax
jne 0x2e008d80
mov esi, 0x80004005
test esi, esi
jge 0x2e008d9b
mov eax, dword [0x2e022f14]
test eax, eax
je 0x2e008d9b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [0x2e022f14], 0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.2e0142db
leave
ret