joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001148
Capabilities:
Unmount volume via ioctl

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, str.._:
lea edi, [ebp - 8]
mov al, byte [ebp + 8]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
mov byte [ebp - 4], al
push esi
push esi
push 3
push esi
push 3
lea eax, [ebp - 8]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10001192
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
or eax, ebx
jmp 0x10001224
lea eax, [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
push eax
push esi
push esi
push esi
push esi
push 0x90018
push ebx
call edi
test eax, eax
jne 0x100011b7
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push esi
push 0x90020
push ebx
call edi
test eax, eax
jne 0x100011d6
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push esi
push 0x2d4808
push ebx
call edi
test eax, eax
jne 0x100011f2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push esi
push 0x9001c
push ebx
call edi
test eax, eax
jne 0x10001211
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 4]
push eax
call fcn.1000102b
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001229
Capabilities:
Unmount volume via ioctl

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, str.._:
lea edi, [ebp - 8]
mov al, byte [ebp + 8]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
mov byte [ebp - 4], al
push esi
push 0x20000000
push 3
push esi
push 3
lea eax, [ebp - 8]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10001277
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
or eax, ebx
jmp 0x1000130d
lea eax, [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
push eax
push esi
push esi
push esi
push esi
push 0x90018
push ebx
call edi
test eax, eax
jne 0x1000129c
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push esi
push 0x90020
push ebx
call edi
test eax, eax
jne 0x100012bb
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push esi
push 0x2d480c
push ebx
call edi
test eax, eax
jne 0x100012db
push str.ISODrive:
call fcn.10001000
pop ecx
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push esi
push 0x9001c
push ebx
call edi
test eax, eax
jne 0x100012fa
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 4]
push eax
call fcn.1000102b
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001312
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
push ebx
push esi
push edi
mov esi, str.._:
lea edi, [ebp - 8]
mov al, byte [ebp + 8]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ebx, ebx
push ebx
push ebx
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 3
mov byte [ebp - 4], al
push ebx
mov edi, SysReAllocString
push 3
lea eax, [ebp - 8]
push edi
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x1000138a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1000137e
lea eax, [ebp - 4]
push eax
call fcn.100010cd
pop ecx
lea eax, [ebp - 8]
push ebx
push ebx
push 3
push ebx
push 3
push edi
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x1000138a
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
jmp 0x100013d4
mov esi, 0x226
lea eax, [ebp - 0x234]
push esi
push ebx
push eax
call fcn.100058d0
add esp, 0xc
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x234]
push esi
push eax
push ebx
push ebx
push 0x23310
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100013d9
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x10001451
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xff
lea eax, [ebp - 0x334]
push esi
push ebx
push eax
call fcn.100058d0
add esp, 0xc
lea eax, [ebp - 0x334]
push ebx
push ebx
push esi
push eax
movzx eax, word [ebp - 0x36]
shr eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movzx ecx, word [ebp - 0x32]
mov eax, dword [ebp + 0xc]
cmp word [ebp - 0x36], bx
mov dword [eax + 8], ecx
jne 0x1000142d
mov byte [eax + 0xc], bl
jmp 0x1000143d
cmp word [ebp - 0x34], bx
je 0x10001439
mov byte [eax + 0xc], 1
jmp 0x1000143d
mov byte [eax + 0xc], 2
lea ecx, [ebp - 0x334]
add eax, 0xe
push ecx
push eax
call fcn.100057e0
pop ecx
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000172f
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0xc]
mov dword [esi + 0x70], 0x100090d8
mov dword [0x1000a668], esi
push dword [ebp + 8]
mov dword [esi], 0x84
mov dword [esi + 0x64], 0x300
push esi
call fcn.100035be
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x1000177c
push 0x10
push dword [ebp + 0x10]
push 0x1000a658
call fcn.10005930
add esp, 0xc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov edi, 0x94
mov dword [esi + 0x18], eax
push edi
lea eax, [ebp - 0xb8]
push ebx
push eax
call fcn.100058d0
add esp, 0xc
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0xa8], 2
jne 0x100017cd
cmp dword [ebp - 0xb4], 5
jae 0x10001823
mov eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x10001823
or dword [esi + 0x74], 0xffffffff
add eax, eax
xor ecx, ecx
test eax, 0x80000000
jne 0x100017ef
shr dword [esi + 0x74], 1
shl eax, 1
inc ecx
cmp ecx, 0x20
jl 0x100017dd
shr dword [esi + 0x74], 1
mov eax, dword [esi + 0x74]
lea eax, [eax*4 + 4]
push eax
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x78], eax
xor edi, edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [esi + 0x78]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esi + 0x74]
jbe 0x1000180c
jmp 0x10001829
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x10001ffe
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [esp + 0xc]
push 1
push 0
push dword [esp + 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8

Function at 0x100025b2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x100025cc
xor esi, esi
jmp 0x100025fa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.10005c70
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x10002635
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x1000262e
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x100026ca
xor esi, esi
jmp 0x100026ca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x10002658
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x1000266b
xor esi, esi
jmp 0x100026c1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x1000267d
jmp 0x10002648
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x100026c1
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x100026b3
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.10005c70
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.10005930
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.10002731
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x100030a9
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 4]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.10001edd
mov edi, eax
cmp edi, esi
je 0x100030e9
cmp dword [ebp - 4], esi
je 0x100030e2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10003186
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 8], 0x100
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x1000315a
lea eax, [ebp - 0x114]
lea ecx, [ebp - 4]
push eax
call fcn.100030a9
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x10003147
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x100
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
jmp 0x1000310c
cmp dword [ebp - 4], esi
je 0x10003155
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x10003186
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1000316d
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x10003184
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000318d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.10005c70
push ebx
push esi
lea eax, [ebp - 0x2014]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
call fcn.1000288a
xor edi, edi
cmp eax, edi
jl 0x10003345
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.10003352
pop ecx
test eax, eax
pop ecx
jne 0x100031d8
mov eax, 0x80020009
jmp 0x10003345
mov ecx, esi
call fcn.10002862
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.1000288a
cmp eax, edi
jl 0x10003345
movzx eax, word [ebp - 0xa]
sub eax, 8
je 0x1000330d
sub eax, 9
je 0x10003272
dec eax
dec eax
jne 0x10003334
lea eax, [ebp - 0x1014]
test eax, eax
jne 0x1000321d
xor ebx, ebx
jmp 0x10003252
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.10005c70
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x1014]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
jmp 0x10003325
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 8], eax
jne 0x100032ae
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.10005c70
mov dword [ebp - 4], esp
push ebx
push edi
push dword [ebp - 4]
call fcn.100058d0
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x100032b8
mov eax, 0x80004005
jmp 0x10003345
cmp dword [ebp - 8], 0
jle 0x100032f2
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi - 0x1014]
push eax
call fcn.100033d9
pop ecx
mov ecx, edi
push 4
and ecx, 1
shl ecx, 2
mov edx, ecx
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 8]
jl 0x100032be
mov eax, dword [ebp + 8]
push ebx
push dword [ebp - 4]
mov eax, dword [eax]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
jmp 0x10003334
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.1000288a
cmp eax, edi
jl 0x10003345
xor eax, eax
lea esp, [ebp - 0x2020]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1000576f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
push esi
mov esi, ecx
call fcn.100053f9
test eax, eax
jne 0x100055d2
push 0x40
push 0x10009248
push str.UltraISO_not_found_
push dword [esi + 0x364]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100057a9
push ebx
push edi
push 0x370
lea eax, [ebp - 0x474]
push 0
push eax
call fcn.100058d0
mov eax, dword [ebp + 8]
add esp, 0xc
dec eax
cmp eax, 0xa
ja case.default.0x100055f7
jmp dword [eax*4 + 0x100057b0]
push dword [esi + 0x320]
add esi, 0x114
push esi
push str.__s___infrom__mount__d
jmp 0x1000577f
push dword [esi + 0x320]
lea eax, [esi + 0x10]
add esi, 0x114
push eax
push esi
push str.__s___infile___s___mount__d
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x10005745
push str.Extract_to...
mov ecx, esi
call fcn.1000551f
cmp byte [esi + 0x218], 0
lea eax, [esi + 0x218]
je case.default.0x100055f7
push eax
lea eax, [esi + 0x10]
push eax
jmp 0x100056ac
lea edi, [esi + 0x10]
lea eax, [ebp - 0x104]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5c
jmp 0x1000568b
lea edi, [esi + 0x10]
lea eax, [ebp - 0x104]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x2e
lea eax, [ebp - 0x104]
push eax
call fcn.10005d50
pop ecx
test eax, eax
pop ecx
je case.default.0x100055f7
and byte [eax], 0
lea eax, [ebp - 0x104]
push eax
push edi
add esi, 0x114
push esi
push str.__s___in___s___extract___s_
jmp 0x1000562b
lea eax, [esi + 0x10]
add esi, 0x114
push eax
push esi
push str.__s___ilong__jlong__directory___s___addto
jmp 0x1000577f
lea ebx, [esi + 0x10]
push ebx
push str._s.iso
jmp 0x100056e6
lea ebx, [esi + 0x10]
push ebx
push str._s.isz
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x104]
push eax
call edi
push 0x5c
push ebx
call fcn.10005d50
add esp, 0x14
test eax, eax
je 0x10005728
lea ecx, [ebp - 0x104]
inc eax
push ecx
push ebx
add esi, 0x114
push eax
push esi
lea eax, [ebp - 0x474]
push str.__s___volume___s___ilong__jlong__directory___s___out___s_
push eax
call edi
add esp, 0x18
jmp case.default.0x100055f7
lea eax, [ebp - 0x104]
add esi, 0x114
push eax
push ebx
push esi
lea eax, [ebp - 0x474]
push str.__s___ilong__jlong__directory___s___out___s_
push eax
call edi
add esp, 0x14
jmp case.default.0x100055f7
movsx eax, byte [esi + 0x10]
add esi, 0x114
push eax
push esi
push str.__s___copy__c:__createto
jmp 0x1000577f
lea eax, [esi + 0x10]
add esi, 0x114
push eax
push esi
push str.__s___ilong__jlong__directory___s___burnto
jmp 0x1000577f
lea eax, [esi + 0x10]
add esi, 0x114
push eax
push esi
push str.__s___infile___s___burnto
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp byte [ebp - 0x474], 0
pop edi
pop ebx
je 0x100057a9
lea eax, [ebp - 0x474]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
xor eax, eax
pop esi
leave
ret 4
Function at 0x405040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40504f
pop dword [ebp - 0x4c]
mov eax, 0xd60f8660
add eax, 0x2a30c9ef
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xd53f0066
sub dword [ebp - 0x5c], 0x86ecbb1b
mov dword [ebp - 0x58], 0xb55e9f1c
sub dword [ebp - 0x58], 0x832b52d7
mov dword [ebp - 0x54], 0x84ecb5c6
sub dword [ebp - 0x54], 0x38a07198
mov dword [ebp - 0x50], 0xb60a8c64
add dword [ebp - 0x50], 0x49f5739c
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x539d919b
sub eax, 0x535d017f
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x917667fb
add dword [ebp - 0x5c], 0xe2fc015b
mov dword [ebp - 0x58], 0x27b51186
add dword [ebp - 0x58], 0x19b74fef
mov dword [ebp - 0x54], 0x825d46ca
sub dword [ebp - 0x54], 0x1eedda5e
mov dword [ebp - 0x50], 0xe61eb1ac
sub dword [ebp - 0x50], 0xe61eb1ac
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3f563
push 0
call eax
mov ecx, 0x5975
mov edx, eax
mov ebx, 0x40d800
add ebx, dword [ebp - 0x4c]
mov edi, 0xf02f61e7
sub edi, 0x2049d7e9
mov dword [ebp - 0x44], 0x4e8253db
mov esi, dword [ebx]
sub dword [ebp - 0xc], 0xeb5aa0df
add esi, edi
xor dword [ebp - 0x18], ebx
mov dword [edx], esi
xor dword [ebp - 8], ecx
add edx, 0xda994143
sub edx, 0xda99413f
add ebx, 4
loop 0x405160
add eax, 0x158a7
xor ebx, ebx
add ebx, eax
add eax, 0xad2034c3
add eax, 0x52dfcb42
mov ecx, 0xac7ef666
add ecx, 0x53c1099a
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x40656e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b018]
jne 0x406578
repz ret
jmp fcn.004069b9
Function at 0x4282b5
Capabilities:
Encode data using xor

Disassembly:
sub ecx, dword [eax - 0xe]
stc
cmc
mov eax, dword [0x3a66d20d]
sar dword fs:[ecx - 0x7f], cl
out 0xe3, al
xor ebp, dword [edx + 0x3b]
add ch, byte [edx - 0xc6acc22]
xchg esp, eax
fidiv word [ebx]
xchg ebp, eax
xchg esp, eax
mov esp, fs
or al, byte [ebx]
cmpsd dword [esi], dword es:[edi]
sbb esi, dword [ebp + 0x11]
sar byte [ecx + 0x5c4faf5b], 0xba
les ecx, [eax]
mov esp, 0x294464b
mov eax, dword [0x7cf4706b]
mov byte [edx + 0x4481de9b], 0x10
inc esp
adc byte [ecx], dh
sahf
sub al, ah
push esp
pop ebx
inc esp
adc byte [ecx], dh
sahf
sub al, ah
push esp
pop ebx
mov al, byte [0xf0212021]
cmp eax, 0x79e5cf9a
jg 0x42829a
pop eax
dec ebx
jae 0x42827b
jge 0x4282d0
push esp
setne byte [ecx + 0x18]
push eax
adc eax, 0x3e594aa7
adc dh, cl
push eax
test eax, 0x2ebc2c45
xchg esp, eax
sbb ch, byte [ebp - 0x4f]
pop es
inc esi
mov ebp, 0x7b69625b
or byte [ebp - 0x31c2f05b], dl
pop ss
jl 0x428324
xchg ebp, eax
movsd dword es:[edi], dword [esi]
invalid
mov esp, 0x3d93540f
lodsd eax, dword [esi]
or ebp, dword [esi - 0x4c172ae7]
in al, dx
sub edx, dword [ecx]
dec ecx
push esp
push ebx
push eax
push ss
loope 0x428290
ret 0xe35a
stosb byte es:[edi], al
into
adc eax, 0x9037e37f
mov ebp, 0x1c5ace49
lea eax, [ecx + 0x7d]
sub eax, 0x5b76f555
sbb bl, byte [edi + ebp*2 + 0x38a15036]
fcompi st(4)
jbe 0x4282ee
jecxz 0x428365
jge 0x4283a5
sahf
das
mov al, byte [0xc64a361f]
shl dword [edx + 0x571736c0], cl
pop ebx
pop es
inc eax
test eax, 0x466d54d5
out dx, eax
inc ebx
into
aaa
je 0x4283a2
in al, 0xe3
les ecx, [ebx + 0x50]
or edx, dword gs:[ecx]
cmp eax, 0xdbfc0a97
mov eax, 0xbd487a98
sbb dword [edx + 7], esi
add dl, byte [edx + 0x67]
add al, byte [ecx]
std
and byte [esi - 0x81b1e0b], bl
bnd je 0x428343
and ch, byte [ecx]
outsd dx, dword [esi]
jae 0x428400
cwde
inc eax
add eax, 0xf10a43ef
invalid
cmp ah, byte [ecx + 0x194f32d6]
xor cl, byte [edi + 0x19]
pop edi
mov bl, ah
sub byte [ebx], dh
xor eax, 0x46de9b8a
mov cl, 0x5f
push ds
mov eax, 0x9a336629
xchg dword [ecx + 0x79], esp
sbb eax, 0x75975cb6
pop ax
adc bl, byte [esi - 0x713952c2]
cmp al, 0x59
sub ebp, dword [esi + 0x535bc6e6]
push edx
sub bl, bl
fst qword [ebx - 0x35]
stosb byte es:[edi], al
push 0x60
pop eax
sub ebx, dword [edx + eax*8 + 0x551ec429]
xchg ebx, eax
add ecx, dword [eax]
hlt
invalid
Function at 0x10001000
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x1000100e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 8
push edi
not eax
mov edx, 0xff
jl 0x100010f8
mov edi, esi
shr edi, 3
mov ebx, edi
neg ebx
lea esi, [esi + ebx*8]
mov dword [ebp + 0x10], esi
movzx ebx, byte [ecx]
mov esi, eax
and esi, edx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x100091cc]
xor eax, ebx
inc ecx
mov esi, eax
movzx ebx, byte [ecx]
and esi, edx
xor esi, ebx
movzx ebx, byte [ecx + 1]
mov esi, dword [esi*4 + 0x100091cc]
shr eax, 8
xor esi, eax
inc ecx
mov eax, esi
and eax, edx
xor eax, ebx
movzx ebx, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100091cc]
shr esi, 8
xor eax, esi
inc ecx
mov esi, eax
and esi, edx
xor esi, ebx
movzx ebx, byte [ecx + 1]
mov esi, dword [esi*4 + 0x100091cc]
shr eax, 8
xor esi, eax
inc ecx
mov eax, esi
and eax, edx
xor eax, ebx
movzx ebx, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100091cc]
shr esi, 8
xor eax, esi
inc ecx
mov esi, eax
and esi, edx
xor esi, ebx
movzx ebx, byte [ecx + 1]
mov esi, dword [esi*4 + 0x100091cc]
shr eax, 8
xor esi, eax
inc ecx
mov eax, esi
and eax, edx
xor eax, ebx
movzx ebx, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100091cc]
shr esi, 8
xor eax, esi
inc ecx
mov esi, eax
and esi, edx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x100091cc]
xor eax, esi
inc ecx
dec edi
jne 0x10001036
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10001115
movzx ebx, byte [ecx]
mov edi, eax
and edi, edx
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x100091cc]
xor eax, edi
inc ecx
dec esi
jne 0x100010fc
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x100014a7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100095d8
push 0x10008170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
push 1
pop edi
push edi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
jne 0x10001511
mov dword [ebp - 0x20], esi
cmp word [esi], 0x5a4d
jne 0x10001511
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x24], eax
cmp dword [eax], 0x4550
jne 0x10001511
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], edi
jmp 0x10001515
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret