joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009b454
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1014fef1
call fcn.10147df8
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.1008f6dc
xor ebx, ebx
mov dword [esi], vtable.ScObjects::Thread.0
push 0x10
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call fcn.100fc554
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x1009b49b
mov dword [eax], vtable.ScObjects::ThreadData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x1009b49d
mov eax, ebx
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x1009b680
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
cmp ecx, 0xffffffff
jne 0x1009b4d0
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0x20
mov dword [esi + 0xc], ebx
mov dword [eax + 4], ebx
jmp 0x1009b4dc
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
mov dword [eax + 4], ecx
mov eax, esi
call fcn.10147dc1
ret

Function at 0x1009b790
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0x10], 0
jne 0x1009b7a2
mov eax, dword [ecx + 8]
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x100a1d60
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x2c
mov eax, 0x10150bd0
call fcn.10147e2c
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x38], esi
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], edi
call fcn.1009b955
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 1
call fcn.100a1e88
test eax, eax
jne 0x100a1da4
push 0xffffffffffffffff
push 0x10159980
mov ecx, esi
call fcn.100fc554
jmp 0x100a1dea
lea ecx, [ebp - 0x20]
push ecx
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ecx, esi
push 0xffffffffffffffff
push 0x10159980
test eax, eax
je 0x100a1d9d
call fcn.100fc554
movzx eax, byte [ebp + edi - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x10165c80
push eax
call fcn.100fc554
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.100fc554
add esp, 0x14
inc edi
cmp edi, 0x10
jb 0x100a1dc3
mov eax, esi
call fcn.10147dd6
ret

Function at 0x100a1e88
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push esi
mov esi, dword [0x107d4410]
test esi, esi
jne 0x100a1edc
push edi
push esi
push 1
push esi
push esi
mov edi, 0x107d4410
push edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x100a1ed5
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x100a1ed5
push 8
push 1
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x100a1ed5
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [0x107d4410], esi
jmp 0x100a1edb
mov esi, dword [0x107d4410]
pop edi
mov eax, esi
pop esi
ret
Function at 0x100a2070
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x54
mov eax, 0x10150c7f
call fcn.10147e2c
mov ebx, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], eax
call fcn.100a1e88
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], eax
call fcn.1009b955
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.1009b955
push edi
mov eax, 0x10165d08
mov dword [ebp - 0x44], 1
push eax
push esi
push eax
push edi
push ebx
call fcn.100fc554
pop ecx
pop ecx
push eax
call fcn.100fc554
pop ecx
pop ecx
push eax
call fcn.100fc554
pop ecx
pop ecx
push eax
call fcn.100fc554
pop ecx
pop ecx
push eax
call fcn.100fc554
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
test eax, eax
jne 0x100a2105
push 0xffffffffffffffff
push 0x10159980
mov ecx, ebx
call fcn.100fc554
jmp 0x100a21c1
lea ecx, [ebp - 0x3c]
xor esi, esi
push ecx
push esi
push esi
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100a20f2
push esi
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100a20f2
push 4
pop ecx
push esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x40], esi
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
push eax
push ecx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x100a20f2
push dword [ebp - 0x40]
call fcn.100fc554
mov edi, eax
pop ecx
test edi, edi
je 0x100a20f2
push esi
lea eax, [ebp - 0x40]
push eax
push edi
push 2
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, ebx
push 0xffffffffffffffff
push 0x10159980
test eax, eax
jne 0x100a2185
call fcn.100fc554
jmp 0x100a21ba
call fcn.100fc554
cmp dword [ebp - 0x40], esi
jbe 0x100a21ba
cmp esi, 0x28
jae 0x100a21ba
movzx eax, byte [esi + edi]
push eax
lea eax, [ebp - 0x38]
push 0x10165c80
push eax
call fcn.100fc554
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.100fc554
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x100a218f
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
pop ecx
cmp dword [ebp - 0x3c], 0
je 0x100a21d0
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x60]
call fcn.100fc554
mov eax, ebx
call fcn.10147dd6
ret
Function at 0x100afdae
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x10152d8e
call fcn.10147df8
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x10191e8c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100ab64a
xor ebx, ebx
mov dword [esi], vtable.WinInterAppStream.0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.1009b955
lea eax, [esi + 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100fc554
pop ecx
pop ecx
push eax
call fcn.100fc554
push 0xc
lea edi, [esi + 0x56]
push ebx
push edi
call sub.VCRUNTIME140.dll_memset
push edi
mov ecx, ebx
call fcn.100fc554
add esp, 0x18
test al, al
je 0x100afe21
cmp dword [esi + 0x5a], ebx
cmovne ecx, edi
push ecx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_CreateMailslotA]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x52], eax
call fcn.100fc554
mov eax, esi
call fcn.10147dc1
ret 8

Function at 0x100affb0
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x101509dd
call fcn.10147df8
mov esi, ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008f6a9
and dword [ebp - 4], 0
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1009b803
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
push dword [eax + 8]
push dword [eax + 4]
call fcn.100fc554
push 0
xor ecx, ecx
lea eax, [esi + 0x56]
cmp dword [esi + 0x5a], ecx
push 0x80
push 3
cmovne ecx, eax
push ecx
push ebx
push 0x40000000
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_CreateFileA]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x100b004b
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push 0
push ecx
push dword [edi + 8]
push dword [edi + 4]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x100b004b
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi + 8]
je 0x100b004d
xor bl, bl
lea ecx, [ebp - 0x2c]
call fcn.100fc554
lea ecx, [ebp - 0x1c]
call fcn.100fc554
mov al, bl
call fcn.10147dc1
ret 8
Function at 0x100fc554
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x100fc563
pop dword [ebp - 0x14]
mov eax, 0x131ddc05
add eax, 0xfcf1e95e
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xba88dc7d
sub dword [ebp - 0x24], 0x6c369732
mov dword [ebp - 0x20], 0x68110ea6
sub dword [ebp - 0x20], 0x35ddc261
mov dword [ebp - 0x1c], 0x4a97770
add dword [ebp - 0x1c], 0x47a2ccbe
mov dword [ebp - 0x18], 0xb61dab7b
add dword [ebp - 0x18], 0x49e25485
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x7be3a578
sub dword [ebp - 0x24], 0x7713c22
mov dword [ebp - 0x20], 0xfda5308b
sub dword [ebp - 0x20], 0xbc38cf16
mov dword [ebp - 0x1c], 0x48096841
sub dword [ebp - 0x1c], 0xe499fbd5
mov dword [ebp - 0x18], 0xfb995851
sub dword [ebp - 0x18], 0xfb995851
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xfef3957e
add eax, 0x1121bd1e
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x7391e
push 0
call eax
mov ecx, 0xc750ea16
add ecx, 0x38af60b9
xor ebx, ebx
add ebx, eax
mov esi, 0x107ec400
add esi, dword [ebp - 0x14]
mov edx, 0x9eb4769e
sub edx, 0xf891108d
add dword [ebp - 0x10], 0x3e84fb95
mov edi, dword [esi]
add dword [ebp - 4], eax
add edi, edx
add dword [ebp - 8], 0x39c8b4df
mov dword [ebx], edi
xor dword [ebp - 0xc], 0x5b6a2e24
add ebx, 0xdb62b0db
sub ebx, 0xdb62b0d7
add esi, 0x6d68ccb9
sub esi, 0x6d68ccb5
loop 0x100fc67c
add eax, 0x9ea8d1c
sub eax, 0x9e96f0d
mov ebx, eax
add eax, 5
mov ecx, 0xe1a554c6
add ecx, 0x2e5aab3a
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10127680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1012771b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x101276d2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x101276d2
cmp esi, ebx
jge 0x101276d2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10127715
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10127715
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x10155aa8]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1012772d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x10127950
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d44f4], 0
mov eax, dword [ebp + 8]
je 0x10127978
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10127992
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.100fc554
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10147db0
leave
ret 4

Function at 0x10127b60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d44f4], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10127b96
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10127bf5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.100fc554
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.100fc554
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.100fc554
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10147db0
leave
ret 0x10
Function at 0x10127c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d44f4], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x10127c3c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x10127c6d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x10127c6b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.100fc554
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x10127c6d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10147db0
leave
ret 8
Function at 0x10136c00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
xor ebx, ebx
inc edx
mov edi, dword [esi]
cmp dword [edi + 0x254], ebx
je 0x10136c60
cmp dword [edi + 0x264], ebx
je 0x10136c59
cmp byte [0x107d44f4], 0
push edi
push dword [edi + 0x250]
je 0x10136c48
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x10136c4e
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov ecx, dword [esi]
xor edx, edx
inc edx
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
jmp 0x10136d40
mov eax, dword [edi + 0x25c]
test eax, eax
je 0x10136dcf
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
pop ecx
pop ecx
mov ecx, dword [esi]
cmp dword [ecx + 0x260], ebx
je 0x10136cae
lea eax, [ebp - 0x234]
push eax
call fcn.100fc554
mov eax, dword [esi]
push dword [eax + 0x260]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
mov ecx, dword [esi]
add esp, 0xc
test byte [ecx + 0x268], 1
push 0x10
pop eax
lea edx, [eax + 0x70]
cmove eax, edx
mov dword [ecx], eax
cmp byte [0x107d44f4], 0
je 0x10136cda
push dword [esi]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x10136cfc
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100fc554
push dword [esi]
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x250], eax
xor eax, eax
mov ecx, dword [esi]
cmp dword [ecx + 0x250], 0xffffffff
setne al
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x10136d2a
mov dword [eax + 0x250], ebx
mov eax, dword [esi]
xor edx, edx
inc edx
mov dword [eax + 0x254], edx
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x10136d40
mov dword [esi + 4], edx
mov ecx, eax
cmp dword [eax + 0x264], ebx
je 0x10136d67
cmp byte [0x107d44f4], 0
jne 0x10136d67
push dword [eax + 0x258]
add eax, 0x2c
push eax
call fcn.100fc554
mov ecx, dword [esi]
xor edx, edx
inc edx
mov eax, dword [ecx]
mov dword [ecx + 0x26c], eax
mov edi, dword [esi]
mov ebx, dword [edi + 0x26c]
shr ebx, 4
and ebx, edx
je 0x10136d9c
push esi
xor ebx, ebx
call fcn.100fc554
xor edx, edx
inc edx
cmp word [eax], 0x2e
je 0x10136d98
test byte [edi + 0x268], 3
jne 0x10136da6
mov ebx, edx
jmp 0x10136da6
test byte [edi + 0x268], 1
cmovne ebx, edx
mov eax, dword [edi + 0x264]
test eax, eax
je 0x10136dca
push 0
test ebx, ebx
pop ebx
jne 0x10136c20
test byte [edi + 0x26c], 2
jne 0x10136c20
test eax, eax
setne al
jmp 0x10136dd1
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10147db0
leave
ret 4
Function at 0x415800
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x41bac0], ecx
add edx, 1
cmp edx, 0x100
jb 0x415802
cmp edx, 0x800
jae 0x4158eb
mov edi, edi
mov eax, dword [edx*4 + 0x41b6c0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x41bac0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x41babc], eax
jb 0x4158c0
mov dword [0x41ba94], 0x415f40
call fcn.00415a30
test eax, eax
jne 0x415908
mov dword [0x41ba94], 0x415e60
ret

Function at 0x427b60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
or ebp, 0xffffffff
jmp 0x427b82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427b78
mov eax, 1
add ebx, ebx
jne 0x427b9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427b90
jne 0x427bac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427b90
xor ecx, ecx
sub eax, 3
jb 0x427bc0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427c32
mov ebp, eax
add ebx, ebx
jne 0x427bcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427bd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427bfc
inc ecx
add ebx, ebx
jne 0x427be8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427bdd
jne 0x427bf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427bdd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427c1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427c0d
jmp 0x427b7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427c1c
add edi, ecx
jmp 0x427b7e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427c3a
cmp byte [edi], 0
jne 0x427c3a
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 0x427c3f
lea edi, [esi + 0x25000]
Function at 0x1000adde
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x1003ae80]
add edx, 0xffffd94f
mov dword [0x1003ae7c], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
jmp 0x1000aeac
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1000af44
mov eax, dword [ebp - 0x24]
add eax, 0xffffe7d7
mov dword [0x1003ae7c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000af14
jmp 0x1000ae24
mov eax, 1
mov dword [0x1003ae7c], 0xb63
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x1000af44
jmp 0x1000ae24
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [0x1003ae7c], ecx
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
je 0x1000aef2
jmp 0x1000ae24
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1000af2c
jmp 0x1000ae24
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, eax
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x14]
cmp word [esi + ecx*2], 0
mov edi, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edi
je 0x1000ae77
mov eax, dword [ebp - 0x34]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jl 0x1000aeac
jmp 0x1000ae77
mov dword [0x1003ae80], 0x7a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000ae2e
jmp 0x1000ae24
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1000ae94
jmp 0x1000ae24
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1000ae50
jmp 0x1000ae24
mov eax, dword [ebp - 0x20]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x1000af63
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1000b855
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x1003ae7c]
add edi, 0x20f3
mov dword [0x1003ae7c], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1003ae80], 0x1487
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1000b097
jmp 0x1000afee
mov eax, dword [ebp - 0x28]
add eax, 1
mov cl, byte [ebp - 0x29]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x30], eax
jne 0x1000b01a
jmp 0x1000b043
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x29], bh
mov byte [ebp - 0x2a], cl
jne 0x1000afc4
mov al, byte [ebp - 0x2a]
test al, 1
jne 0x1000b072
jmp 0x1000b04c
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], eax
jb 0x1000b000
jmp 0x1000b097
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1003ae7c], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret