joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e8c2d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1011281c
push 0x10112814
push str.FlsGetValue
push 0x20
call fcn.100e89dc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100e8c64
push dword [ebp + 8]
mov ecx, esi
call dword [0x1010039c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100ec097
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100ec134
push ebx
push esi
call fcn.100ec060
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100ea7c7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100ec0e1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100ec133
push edi
push eax
call fcn.100e738a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100ec101
call fcn.100e7350
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100ec132
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100ea7c7
add esp, 0x20
test eax, eax
jne 0x100ec120
push edi
call fcn.100e7350
jmp 0x100ec128
push ebx
call fcn.100e7350
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100ec137
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100ec148
pop esi
ret
push ebx
push edi
push esi
call fcn.100ec060
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100e738a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100ec170
push ebx
push esi
push edi
call fcn.100cbb30
add esp, 0xc
push 0
call fcn.100e7350
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100ec534
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ec185
Function at 0x100f42e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100f430d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100f430d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100010cd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x10097a00
inc eax
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1009769c
push eax
push esi
push dword [ebp + 8]
call fcn.10097651
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1009769c
push eax
push esi
push dword [ebp + 8]
call fcn.10097651
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1009769c
push eax
push esi
push dword [ebp + 8]
call fcn.10097651
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1009768c
jmp 0x10097b57
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1009768c
test al, 0x8c
sub eax, 0xff7c858d
invalid

Function at 0x1000114a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x100985e0
test dword [edx + 0x21fffffc], ebx
Function at 0x10001596
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x10097db0
add byte [eax], al
add byte [eax], ah
Function at 0x10091a10
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, 0x2710
test edi, edi
je 0x10091ad5
push 0x100d71c8
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strspn]
add edi, eax
push ebx
mov al, byte [edi]
mov byte [ebp + 0xb], al
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ecx, dword [ebp - 4]
add esp, 0x14
mov edi, eax
mov dword [ebp - 8], edi
mov dl, byte [ecx]
inc ecx
mov dword [ebp - 4], ecx
cmp dl, 0x2e
jne 0x10091a96
mov edi, ecx
mov cl, byte [ecx]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x10091a93
test esi, esi
je 0x10091a93
movsx eax, cl
lea ecx, [edi + 1]
sub eax, 0x30
mov dword [ebp - 4], ecx
imul eax, esi
add ebx, eax
mov eax, 0x66666667
imul esi
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
jmp 0x10091a60
mov edi, dword [ebp - 8]
mov eax, edi
mov ecx, 0x7fffffff
cdq
sub ecx, ebx
mov esi, eax
mov eax, 0x14f8b589
xor esi, edx
sub esi, edx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jg 0x10091ad5
mov eax, ebx
neg eax
cmp byte [ebp + 0xb], 0x2d
cmovne eax, ebx
imul ecx, edi, 0x186a0
pop edi
pop esi
pop ebx
add eax, ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100976cc
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]
Function at 0x100aaa80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push 0xffffffffffffffff
push esi
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x100aaaf3
push ebx
push 2
push edi
call sub.avutil_56.dll_av_mallocz_array
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100aaac8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
pop ebx
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
pop ebp
ret
push edi
push ebx
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
push ebx
mov esi, eax
call sub.avutil_56.dll_av_free
add esp, 8
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
pop edi
pop esi
pop ebp
ret
Function at 0x10026031
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.100250f5
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
invalid
invalid
cdq

Function at 0x10027afa
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.100381a0
pop ecx
xor ecx, ecx
test eax, eax
jle 0x10027b15
xor byte [ecx + esi], 0xf
inc ecx
cmp ecx, eax
jl 0x10027b0c
pop esi
ret

Function at 0x10027c5d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x42c]
sub esp, 0x4ac
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x428], eax
push ebx
xor ebx, ebx
cmp dword [0x1006a468], ebx
jne 0x10027dbb
cmp dword [0x1006a464], ebx
jne 0x10027da5
cmp dword [0x10069bc4], ebx
jne 0x10027ca8
call fcn.1001ded4
test al, al
je 0x10027dbb
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10027cc3
cmp dword [ebp - 0x6c], 2
jb 0x10027d31
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x220]
push eax
push ebx
push ebx
push str.ExePath
push dword [0x10069bc4]
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10027d9d
lea eax, [ebp + 0x220]
push 0x5c
push eax
call fcn.10039560
pop ecx
pop ecx
cmp eax, ebx
je 0x10027d9d
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x220]
push eax
lea eax, [ebp + 0x18]
push str._sidmftype.dll
push eax
call fcn.100047e3
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x10027d98
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x11c]
push eax
push ebx
push ebx
push 0x10055cd4
push dword [0x10069bc4]
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10027d9d
lea eax, [ebp + 0x11c]
push 0x5c
push eax
call fcn.100394f0
pop ecx
pop ecx
cmp eax, ebx
je 0x10027d9d
mov byte [eax], bl
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp + 0x324]
push 0x10058764
push eax
call fcn.1003b332
add esp, 0xc
lea eax, [ebp + 0x324]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1006a464], eax
cmp dword [0x1006a464], ebx
je 0x10027dbb
push str.IDMFileType
push dword [0x1006a464]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006a468], eax
mov ecx, dword [ebp + 0x428]
xor ecx, ebp
pop ebx
call fcn.10037f27
add ebp, 0x42c
leave
ret
Function at 0x403000
Capabilities:
Get common file path
Get disk information
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x46a5e8]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [0x46a5ec]
push esi
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], edx
call fcn.00402ff0
mov edi, dword [ebp - 0xc]
mov ecx, dword [0x46a5f0]
mov edx, dword [0x46a5f4]
add edi, 0x23f
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0x20
lea esp, [esp]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov esi, dword [ebp - 8]
mov eax, dword [0x471dec]
shl esi, 4
add esi, dword [ebp - 0x1c]
cmp eax, 0xfa9
jne 0x40308c
mov dword [0x471de8], 0xedeb2e40
jmp 0x4030a7
cmp eax, 0x3eb
jne 0x4030a7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x471878], 0
mov eax, dword [ebp - 8]
lea ecx, [edi + eax]
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x20]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x471dec], 0x9e6
mov dword [0x471de4], 0xf4ea3dee
jne 0x4030e0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommError]
xor dword [ebp - 4], esi
cmp dword [0x471dec], 0x213
jne 0x40315c
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
lea eax, [ebp - 0x4c4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
lea ecx, [ebp - 0xcc4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x28]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub ebx, dword [ebp - 4]
cmp dword [0x471dec], 0xc
jne 0x403180
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalWire]
mov eax, ebx
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x14]
lea ecx, [edi + ebx]
xor esi, ecx
cmp dword [0x471dec], 0xb03
jne 0x4031bb
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
add edi, 0x61c88647
sub dword [ebp - 0x10], 1
jne 0x403060
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4031f0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x471dec]
mov ecx, dword [0x47187c]
shr eax, 3
test eax, eax
jbe 0x40327c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edi
mov edi, ecx
mov dword [ebp - 4], eax
lea ebx, [ebx]
cmp dword [0x471dec], 0x959
jne 0x40326a
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0
call esi
push 0
push 0
call esi
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push edi
call fcn.00403000
add edi, 8
sub dword [ebp - 4], 1
jne 0x403220
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40977b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x469748]
jne 0x409785
repz ret
jmp fcn.0040cfa1

Function at 0x40b68e
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.00407ebb
and dword [ebp - 4], 0
cmp dword [0x46f868], 0
mov ebx, eax
jne 0x40b73f
push 0x401ad8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b7f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401acc
push edi
call esi
test eax, eax
je 0x40b7f0
push eax
call fcn.00407e49
mov dword [esp], 0x401abc
push edi
mov dword [0x46f868], eax
call esi
push eax
call fcn.00407e49
mov dword [esp], 0x401aa8
push edi
mov dword [0x46f86c], eax
call esi
push eax
call fcn.00407e49
mov dword [esp], 0x401a8c
push edi
mov dword [0x46f870], eax
call esi
push eax
call fcn.00407e49
pop ecx
mov dword [0x46f878], eax
test eax, eax
je 0x40b73f
push 0x401a74
push edi
call esi
push eax
call fcn.00407e49
pop ecx
mov dword [0x46f874], eax
mov eax, dword [0x46f874]
cmp eax, ebx
je 0x40b797
cmp dword [0x46f878], ebx
je 0x40b797
push eax
call fcn.00407ec4
push dword [0x46f878]
mov esi, eax
call fcn.00407ec4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b797
test edi, edi
je 0x40b797
call esi
test eax, eax
je 0x40b78e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b78e
test byte [ebp - 0xc], 1
jne 0x40b797
or dword [ebp + 0x10], 0x200000
jmp 0x40b7d0
mov eax, dword [0x46f86c]
cmp eax, ebx
je 0x40b7d0
push eax
call fcn.00407ec4
pop ecx
test eax, eax
je 0x40b7d0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b7d0
mov eax, dword [0x46f870]
cmp eax, ebx
je 0x40b7d0
push eax
call fcn.00407ec4
pop ecx
test eax, eax
je 0x40b7d0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46f868]
call fcn.00407ec4
pop ecx
test eax, eax
je 0x40b7f0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b7f2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x56ded0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7b000]
push edi
jmp 0x56deea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56def1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56dee0
mov eax, 1
add ebx, ebx
jne 0x56df03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56df14
jne 0x56df33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56df33
dec eax
add ebx, ebx
jne 0x56df20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56def8
add ebx, ebx
jne 0x56df2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56df85
xor ecx, ecx
sub eax, 3
jb 0x56df4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56dfba
sar eax, 1
mov ebp, eax
jmp 0x56df56
add ebx, ebx
jne 0x56df56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56df24
inc ecx
add ebx, ebx
jne 0x56df64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56df24
add ebx, ebx
jne 0x56df71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56df66
jne 0x56df82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56df66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56dfa4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56df96
jmp 0x56dee6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56dfa4
add edi, ecx
jmp 0x56dee6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56dfc2
cmp byte [edi], 0x11
jne 0x56dfc2
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 0x56dfc7
lea edi, [esi + 0x164000]
mov eax, dword [edi]
or eax, eax
je 0x56e03f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x174658]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1747fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56dff4
mov ecx, edi
jns 0x56e023
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 + 0x174804]
or eax, eax
je 0x56e039
mov dword [ebx], eax
add ebx, 4
jmp 0x56e011
call dword [esi + 0x174800]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x56e070
cmp al, 0xef
ja 0x56e063
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x56e045
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x56e052
mov ebp, dword [esi + 0x174808]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x56e0a4
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x4010a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [esp + 0x80c]
push ebp
push esi
push edi
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401157
push 2
push ebp
push 0xffffff00
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x800
lea eax, [esp + 0x14]
push ebp
push eax
mov dword [esp + 0x18], ebp
call fcn.004560e0
add esp, 0xc
push ebp
lea ecx, [esp + 0x10]
push ecx
push 0x800
lea edx, [esp + 0x1c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401157
mov edx, dword [esp + 0xc]
cmp edx, 0x100
ja 0x401157
push ebx
shr edx, 1
lea ebx, [esp + 0x14]
call section..text
pop ebx
cmp eax, ebp
je 0x401150
cmp edi, ebp
je 0x401150
call fcn.00401060
test al, al
je 0x401150
mov ebp, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x810]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0045300b
add esp, 0x808
ret
Function at 0x402660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00401a13
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004019c8
invalid
invalid
inc dword [ebx - 0x7a76f33c]
invalid
cld
invalid
invalid
call fcn.00401a03
jno 0x4026a8
sahf
or eax, 0x10468
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x4026cc
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4026f7
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x4028c1
cmp dword [ebp + 0xc], 1
je 0x4028c1
cmp dword [ebp + 0xc], 8
jne 0x402889
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
inc dword [ecx]
call fcn.00401a03
stosb byte es:[edi], al
and dword [ecx], esi
inc ecx
and byte [ebp - 0x544], 0
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.00401a03
imul ebp, edi, 0xd0a5804f
std
invalid
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004019e1
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
invalid
invalid
xchg esi, eax
cld
invalid
invalid