joyce8/EMBER2024-capa huggingface dataset:
Function at 0x543137
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x54315e
call fcn.00546b65
mov dword [eax], esi
call fcn.00546b52
push 0x16
pop esi
mov dword [eax], esi
call fcn.0054beb2
mov eax, esi
jmp 0x5431b3
test dword [ebp + 0xc], 0xfffffff9
jne 0x543144
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x54318b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00546b78
pop ecx
call fcn.00546b52
mov eax, dword [eax]
jmp 0x5431b3
test al, 0x10
jne 0x5431b1
test al, 1
je 0x5431b1
test byte [ebp + 0xc], 2
je 0x5431b1
call fcn.00546b65
mov dword [eax], 5
call fcn.00546b52
mov dword [eax], 0xd
jmp 0x543182
xor eax, eax
pop esi
pop ebp
ret

Function at 0x559708
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5f6998]
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.0054b53b
and dword [ebp - 0x14], 0
cmp dword [0x603640], 0
mov dword [ebp - 0x18], eax
jne 0x5597bb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x559863
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5c0918
push ebx
call edi
test eax, eax
je 0x559863
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5c0908
push ebx
mov dword [0x603640], eax
call edi
push eax
call esi
push 0x5c08f4
push ebx
mov dword [0x603644], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x603648], eax
call edi
push eax
call esi
mov dword [0x603650], eax
test eax, eax
je 0x5597bb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x60364c], eax
mov eax, dword [0x60364c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x559814
cmp dword [0x603650], ecx
je 0x559814
push eax
call esi
push dword [0x603650]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x559814
test ebx, ebx
je 0x559814
call edi
test eax, eax
je 0x55980b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x55980b
test byte [ebp - 8], 1
jne 0x559814
or dword [ebp + 0x10], 0x200000
jmp 0x559847
mov eax, dword [0x603644]
cmp eax, dword [ebp - 0x18]
je 0x559847
push eax
call esi
test eax, eax
je 0x559847
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x559847
mov eax, dword [0x603648]
cmp eax, dword [ebp - 0x18]
je 0x559847
push eax
call esi
test eax, eax
je 0x559847
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x603640]
call esi
test eax, eax
je 0x559863
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x559865
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00542c3e
leave
ret
Function at 0x560f84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0
push esi
mov esi, dword [eax]
push edi
mov edi, dword [eax + 4]
jle 0x560fe5
push ebx
mov edx, 0xff
inc esi
and esi, edx
mov ecx, dword [eax + esi*4 + 8]
add edi, ecx
and edi, edx
mov dword [ebp - 4], edi
mov edi, dword [eax + edi*4 + 8]
mov dword [eax + esi*4 + 8], edi
mov dword [ebp - 8], edi
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov dword [eax + edi*4 + 8], ecx
mov edi, dword [ebp + 0xc]
add edi, dword [ebp + 8]
add ebx, ecx
and ebx, edx
mov cl, byte [eax + ebx*4 + 8]
xor byte [edi], cl
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jl 0x560fa3
pop ebx
mov dword [eax + 4], edi
pop edi
mov dword [eax], esi
pop esi
leave
ret

Function at 0x561a13
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret
Function at 0x561c7a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
cmp eax, ebx
je 0x561df4
cmp dword [esi + 8], ebx
je 0x561df4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptMsgOpenToDecode
push eax
call edi
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x10000
call eax
mov dword [esi + 4], eax
cmp eax, ebx
je 0x561df4
push str.CryptMsgUpdate
push dword [esi]
call edi
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call eax
test eax, eax
je 0x561df4
push str.CryptMsgGetParam
push dword [esi]
mov dword [ebp - 8], ebx
mov dword [ebp + 0xc], 4
call edi
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push ebx
push 0x11
push dword [esi + 4]
mov dword [ebp - 4], eax
call eax
test eax, eax
je 0x561df4
mov dword [ebp + 8], ebx
cmp dword [ebp - 8], ebx
jbe 0x561df4
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push 0x13
push dword [esi + 4]
call dword [ebp - 4]
test eax, eax
je 0x561de5
push ebx
push 1
push dword [ebp + 0xc]
call fcn.0056b267
add esp, 0xc
lea ecx, [ebp + 0xc]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push 0x13
push dword [esi + 4]
call dword [ebp - 4]
test eax, eax
je 0x561de5
push str.CertGetSubjectCertificateFromStore
push dword [esi]
call edi
push dword [ebp - 0xc]
push 0x10001
push dword [esi + 8]
call eax
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
call fcn.0056b2eb
pop ecx
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x561de5
mov eax, dword [ebp + 8]
push str.CryptAcquireCertificatePrivateKey
push dword [esi]
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x18], eax
call edi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push 0x10000
push dword [ebp - 0x10]
call eax
test eax, eax
je 0x561de5
push str.CryptMsgControl
push dword [esi]
call edi
lea ecx, [ebp - 0x24]
push ecx
push 2
push ebx
push dword [esi + 4]
call eax
test eax, eax
je 0x561de5
mov eax, dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
mov dword [eax], 0x18
push ebx
push 2
push dword [esi + 4]
call dword [ebp - 4]
test eax, eax
jne 0x561dfd
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
jb 0x561d17
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
xor eax, eax
inc eax
jmp 0x561df6
Function at 0x563be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 0x3c8]
push 0x10
push eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x24]
push eax
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x44], edi
call fcn.0056bd80
add esp, 0xc
test esi, esi
jle 0x563cdd
mov ecx, dword [ebp + 8]
lea eax, [esi - 1]
add ebx, 2
shr eax, 4
add ecx, 2
inc eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], eax
jmp 0x563c38
mov edi, dword [ebp - 0x44]
mov ebx, ecx
xor ecx, ecx
movzx eax, byte [ebx - 2]
movzx edx, byte [ebx - 1]
shl eax, 8
or eax, edx
movzx edx, byte [ebx]
shl eax, 8
or eax, edx
movzx edx, byte [ebx + 1]
shl eax, 8
or eax, edx
mov dword [ebp + ecx - 0x34], eax
mov dword [ebp + ecx - 0x14], eax
add ecx, 4
add ebx, 4
cmp ecx, 0x10
jl 0x563c3c
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.00563bcf
mov eax, dword [ebp - 0x38]
pop ecx
xor edi, edi
lea esi, [ebp + edi - 0x24]
mov dl, byte [esi]
lea ecx, [ebp + edi - 0x14]
xor dl, byte [ecx]
mov ecx, dword [ecx]
mov byte [eax + 1], dl
mov edx, dword [esi]
mov dword [ebp - 0x38], ecx
shr ecx, 8
shr edx, 8
xor dl, cl
mov ecx, dword [esi]
mov byte [eax], dl
mov edx, dword [ebp - 0x38]
shr ecx, 0x10
shr edx, 0x10
xor cl, dl
mov edx, dword [ebp - 0x38]
mov byte [eax - 1], cl
mov ecx, dword [esi]
shr ecx, 0x18
shr edx, 0x18
xor cl, dl
mov byte [eax - 2], cl
mov ecx, dword [ebp + edi - 0x34]
add edi, 4
add eax, 4
mov dword [esi], ecx
cmp edi, 0x10
jl 0x563c7e
dec dword [ebp - 0x3c]
mov ecx, ebx
mov dword [ebp - 0x38], eax
jne 0x563c35
push 0x10
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x40]
call fcn.0056bd80
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00542c3e
leave
ret
Function at 0x563d0e
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea eax, [ebx + 0x3c8]
push 0x10
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x1c], ebx
call fcn.0056bd80
add esp, 0xc
test edi, edi
jle 0x563dd2
mov ecx, dword [ebp + 8]
add esi, 2
add ecx, 2
dec edi
shr edi, 4
mov dword [ebp - 0x18], esi
inc edi
jmp 0x563d61
mov ebx, dword [ebp - 0x1c]
xor eax, eax
mov esi, ecx
movzx ecx, byte [esi - 2]
movzx edx, byte [esi - 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 1]
shl ecx, 8
or ecx, edx
xor dword [ebp + eax*4 - 0x14], ecx
inc eax
add esi, 4
cmp eax, 4
jl 0x563d65
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
call fcn.00563cfd
mov eax, dword [ebp - 0x18]
pop ecx
xor edx, edx
lea ecx, [ebp + edx*4 - 0x14]
mov bl, byte [ecx]
mov ecx, dword [ecx]
mov byte [eax + 1], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax], bl
mov ebx, ecx
shr ebx, 0x10
shr ecx, 0x18
mov byte [eax - 1], bl
mov byte [eax - 2], cl
inc edx
add eax, 4
cmp edx, 4
jl 0x563da1
dec edi
mov ecx, esi
mov dword [ebp - 0x18], eax
jne 0x563d5e
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call fcn.0056bd80
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00542c3e
leave
ret

Function at 0x5670f2
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x56d620
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00542dc0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x56d683
cmp dword [ebp - 0x108], 2
jne 0x56d683
cmp dword [ebp - 0x114], 6
jne 0x56d683
mov eax, 1
cmp dword [ebp - 0x110], eax
je 0x56d685
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00542c3e
mov esp, ebp
pop ebp
ret

Function at 0x5703d0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6038b8], 0
push edi
mov edi, dword [ebp + 8]
je 0x570418
push 0x60386c
lea eax, [edi + 0x1c]
push 0x20
push eax
call fcn.00546aad
mov cl, byte [0x603867]
add esp, 0xc
mov byte [edi + 0x17], cl
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00542c3e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov ecx, 0x6038d4
mov dword [ebp - 0x64], edx
call fcn.005701b0
mov eax, dword [eax]
cmp eax, dword [0x6038d8]
je 0x5704f0
movzx edx, word [0x5fbd60]
cmp dword [eax + 0x10], edx
jne 0x5704f0
push 0
lea eax, [ebp - 0x60]
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, 0xbf89
cmp word [0x5fbd60], cx
jne 0x5704c9
push 0x5c70b4
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x5704c9
call fcn.0056d620
test eax, eax
je 0x570495
push str.Meiryo_UI
jmp 0x5704f5
push esi
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, eax
test esi, esi
je 0x5704c8
push 0x5c
lea ecx, [ebp - 0x60]
push 0
push ecx
call fcn.00542dc0
add esp, 0xc
lea edx, [ebp - 0x60]
push edx
push 0x5c
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 0x1c]
push 0x20
push ecx
call fcn.00546aad
mov dl, byte [ebp - 0x49]
add esp, 0xc
mov byte [edi + 0x17], dl
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00542c3e
mov esp, ebp
pop ebp
ret
push 0x599080
lea eax, [edi + 0x1c]
push 0x20
push eax
call fcn.00546aad
mov ecx, dword [ebp - 4]
add esp, 0xc
mov byte [edi + 0x17], 1
xor ecx, ebp
pop edi
call fcn.00542c3e
mov esp, ebp
pop ebp
ret
Function at 0x571ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ac52
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x118], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 2
test eax, eax
je 0x571b26
add eax, 0xc
jmp 0x571b2b
mov eax, 0x58df78
lea edx, [ebp - 0x124]
push edx
mov ebx, 1
push ebx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x571ba2
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x120], 0x104
test eax, eax
je 0x571b62
add eax, 0xc
jmp 0x571b67
mov eax, 0x58df78
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x124]
lea ecx, [ebp - 0x11c]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x571ba2
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
call fcn.00568ba9
jmp 0x571bb0
push 0xffffffffffffffff
push 0x58df78
mov ecx, esi
call fcn.00568ba9
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x118], ebx
mov byte [ebp - 4], bl
call fcn.00567cb8
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0
call fcn.00567cb8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542c3e
mov esp, ebp
pop ebp
ret

Function at 0x571bf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ac90
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x571c30
add eax, 0xc
jmp 0x571c35
mov eax, 0x58df78
lea edx, [ebp - 0x11c]
push edx
push 0x20019
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x571cb8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x120], 0x104
cmp eax, ebx
je 0x571c6a
add eax, 0xc
jmp 0x571c6f
mov eax, 0x58df78
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x118]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x571cb8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00567cb8
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00567cb8
mov eax, 1
jmp 0x571cd4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00567cb8
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00567cb8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542c3e
mov esp, ebp
pop ebp
ret
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

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 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
nop
mov ecx, 0x2c4121a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4a806f29
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x6f0c80ee
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6f847018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x6f847018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6f0c8136
jmp 0x6f0c815e
jmp 0x6f0c8186
jmp 0x6f0c81ae
jmp 0x6f0c81d6
jmp 0x6f0c81fe
jmp 0x6f0c8226
jmp 0x6f0c824e
jmp 0x6f0c8276
jmp 0x6f0c829e
mov dword [ebp - 0x14], 0
jmp 0x6f0c82cd
jmp 0x6f0c82f5
jmp 0x6f0c831d
jmp 0x6f0c8345
jmp 0x6f0c836d
jmp 0x6f0c8395
jmp 0x6f0c83bd
jmp 0x6f0c83e5
jmp 0x6f0c840d
jmp 0x6f0c8435
mov dword [ebp - 0x18], 0
jmp 0x6f0c8464
jmp 0x6f0c848c
jmp 0x6f0c84b4
jmp 0x6f0c84dc
jmp 0x6f0c8504
jmp 0x6f0c852c
jmp 0x6f0c8554
jmp 0x6f0c857c
jmp 0x6f0c85a4
jmp 0x6f0c85cc
mov dword [ebp - 0x10], 0
jmp 0x6f0c85fb
jmp 0x6f0c8623
jmp 0x6f0c864b
jmp 0x6f0c8673
jmp 0x6f0c869b
jmp 0x6f0c86c3
jmp 0x6f0c86eb
jmp 0x6f0c8713
jmp 0x6f0c873b
jmp 0x6f0c8763
mov dword [ebp - 0x10], 0
jmp 0x6f0c8f87
jmp 0x6f0c8797
jmp 0x6f0c87bf
jmp 0x6f0c87e7
jmp 0x6f0c880f
jmp 0x6f0c8837
jmp 0x6f0c885f
jmp 0x6f0c8887
jmp 0x6f0c88af
jmp 0x6f0c88d7
jmp 0x6f0c88ff
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x6f847014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x6f0c8938
jmp 0x6f0c8960
jmp 0x6f0c8988
jmp 0x6f0c89b0
jmp 0x6f0c89d8
jmp 0x6f0c8a00
jmp 0x6f0c8a28
jmp 0x6f0c8a50
jmp 0x6f0c8a78
jmp 0x6f0c8aa0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x6f84701c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x6f0c8ad9
jmp 0x6f0c8b01
jmp 0x6f0c8b29
jmp 0x6f0c8b51
jmp 0x6f0c8b79
jmp 0x6f0c8ba1
jmp 0x6f0c8bc9
jmp 0x6f0c8bf1
jmp 0x6f0c8c19
jmp 0x6f0c8c41
mov eax, dword [0x6f847008]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [esp], edx
call eax
jmp 0x6f0c8c87
jmp 0x6f0c8caf
jmp 0x6f0c8cd7
jmp 0x6f0c8cff
jmp 0x6f0c8d27
jmp 0x6f0c8d4f
jmp 0x6f0c8d77
jmp 0x6f0c8d9f
jmp 0x6f0c8dc7
jmp 0x6f0c8def
add dword [ebp - 0xc], 0x28
jmp 0x6f0c8e1b
jmp 0x6f0c8e43
jmp 0x6f0c8e6b
jmp 0x6f0c8e93
jmp 0x6f0c8ebb
jmp 0x6f0c8ee3
jmp 0x6f0c8f0b
jmp 0x6f0c8f33
jmp 0x6f0c8f5b
jmp 0x6f0c8f83
add dword [ebp - 0x10], 1
mov eax, dword [0x6f847018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x6f0c876f
nop
leave
ret
Function at 0x418639
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x418678
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x418678
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x418678
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x418678
cmp dword [ecx + 0x74], 0xe
jbe 0x418678
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret