joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406784
Capabilities:
Check if file exists
Get file system object information
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8a8
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x98
xor eax, eax
cmp dword [0x40d080], ebx
lea edi, [ebp - 0x494]
mov dword [ebp - 0x498], ebx
mov dword [ebp - 8], ebx
rep stosd dword es:[edi], eax
je 0x406994
lea eax, [ebp - 0x2c]
push eax
push dword [0x47d9dc]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
sub eax, dword [ebp - 0x28]
push ebx
push ebx
push 0x1042
push dword [0x47d9c8]
sub eax, 0x10
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
call edi
cmp eax, 0xffffffff
je 0x406994
imul eax, eax, 0x210
add eax, dword [0x47eed4]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push eax
lea eax, [ebp - 0x234]
push eax
call esi
push ebx
push ebx
push 0x1004
push dword [0x47d9c8]
call edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x6a0]
push eax
push 0x208
push 0xd
push dword [0x47d9dc]
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [ebp - 0x234]
mov edi, 0x40e168
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
jne 0x406870
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x8a8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x406994
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x8a8]
push eax
call esi
lea eax, [ebp - 0x234]
push eax
push edi
call esi
cmp dword [ebp - 0xc], ebx
je 0x406994
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4068ce
lea eax, [ebp - 0x1c]
push ebx
push eax
mov dword [ebp - 0x1c], ebx
push dword [0x47ef28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x1e
mov dword [ebp - 0x10], 0x14
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x406994
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push 0xffffffffffffffff
push str..exe
push 0xffffffffffffffff
push eax
push 1
pop edi
push edi
push 0x400
call dword [sym.imp.KERNEL32.DLL_CompareStringA]
cmp eax, 2
jne 0x4068fc
mov dword [ebp - 8], edi
push dword [0x47ef28]
call dword [sym.imp.USER32.dll_GetDC]
cmp dword [0x47cdf0], ebx
mov esi, eax
je 0x406932
cmp dword [ebp - 8], ebx
je 0x406932
push 3
cmp dword [0x47d744], ebx
push dword [0x47ee54]
push ebx
push 0x10
push 0x10
push dword [0x47cdf4]
jmp 0x40696a
push 0x101
lea eax, [ebp - 0x498]
push 0x264
push eax
lea eax, [ebp - 0x234]
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 3
cmp dword [0x47d744], ebx
push dword [0x47ee54]
push ebx
push 0x10
push 0x10
push dword [ebp - 0x498]
push dword [ebp - 4]
je 0x406973
push 2
jmp 0x406974
push edi
push esi
call dword [sym.imp.USER32.dll_DrawIconEx]
push esi
push dword [0x47ef28]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x498]
call dword [sym.imp.USER32.dll_DestroyIcon]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4077b9
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
and byte [ebp - 0x9c], 0
push edi
push 0x26
xor eax, eax
pop ecx
lea edi, [ebp - 0x9b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x9c]
push eax
call fcn.00406408
cmp byte [ebp - 0x9c], 0
pop ecx
pop edi
je 0x40782c
push esi
lea eax, [ebp - 0x9c]
lea esi, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeA]
cmp eax, 2
je 0x407821
push 0
push esi
push dword [ebp + 8]
call fcn.0040155b
add esp, 0xc
inc dword [0x42ebb8]
mov dword [ebp + 8], eax
add esi, 6
mov eax, esi
cmp byte [esi], 0
jne 0x4077fe
pop esi
mov eax, dword [ebp + 8]
leave
ret

Function at 0x407831
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
mov edi, 0xffff8000
test di, ax
je 0x407850
or byte [0x47d4b4], 2
jmp 0x407859
and word [0x47d4b4], 0xfffd
push 0x12
call esi
test di, ax
je 0x40786b
or byte [0x47d4b4], 1
jmp 0x407874
and word [0x47d4b4], 0xfffe
push 0x10
call esi
test di, ax
je 0x407886
or byte [0x47d4b4], 4
jmp 0x40788f
and word [0x47d4b4], 0xfffb
push 0x5c
call esi
test di, ax
jne 0x4078ac
push 0x5b
call esi
test di, ax
jne 0x4078ac
and word [0x47d4b4], 0xfff7
jmp 0x4078b3
or byte [0x47d4b4], 8
pop edi
pop esi
ret
Function at 0x408360
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrA]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x40dc44
push esi
push edi
call ebx
test eax, eax
je 0x408391
push 0x47dc0c
push esi
push edi
call fcn.00409d20
add esp, 0xc
push 0x40dc40
push edi
call ebx
test eax, eax
je 0x4083c9
and byte [ebp - 4], 0
xor eax, eax
lea edi, [ebp - 3]
mov esi, 0x47dc0c
stosw word es:[edi], ax
lea eax, [ebp - 4]
lea edi, [ebp - 4]
push eax
push 0x40dc40
push dword [ebp + 8]
movsw word es:[edi], word [esi]
call fcn.00409d20
mov edi, dword [ebp + 8]
add esp, 0xc
mov esi, 0x40dc3c
push esi
push edi
call ebx
test eax, eax
je 0x40840b
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x404]
push eax
push esi
push edi
call fcn.00409d20
add esp, 0xc
mov esi, str._pipe
push esi
push edi
call ebx
test eax, eax
je 0x408427
push 0x40dc30
push esi
push edi
call fcn.00409d20
add esp, 0xc
mov esi, str._pathfile
push esi
push edi
call ebx
test eax, eax
je 0x408443
push 0x47de14
push esi
push edi
call fcn.00409d20
add esp, 0xc
mov esi, str._instantfile
push esi
push edi
call ebx
test eax, eax
je 0x40845f
push 0x47ec4c
push esi
push edi
call fcn.00409d20
add esp, 0xc
mov esi, str._scanfile
push esi
push edi
call ebx
test eax, eax
je 0x40847b
push 0x47e01c
push esi
push edi
call fcn.00409d20
add esp, 0xc
mov esi, str._initfile
push esi
push edi
call ebx
test eax, eax
je 0x408497
push 0x47e42c
push esi
push edi
call fcn.00409d20
add esp, 0xc
mov esi, str._cmddir
push esi
push edi
call ebx
test eax, eax
je 0x4084b3
push 0x47e634
push esi
push edi
call fcn.00409d20
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x40863a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, dword [edi + 4]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x40865b
xor eax, eax
jmp 0x408717
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push str.input.ini
push 0x47e83c
lea eax, [ebp - 0x418]
push 0x40d97c
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x418]
push esi
push 0x8000080
push 2
push esi
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
dec eax
test eax, eax
mov dword [ebp - 4], eax
jle 0x4086e8
mov eax, dword [edi]
push dword [eax + esi*4]
lea eax, [ebp - 0x210]
push str._s_r_n
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 8]
push 0
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
inc esi
cmp esi, dword [ebp - 4]
jl 0x4086a8
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [edi]
shl esi, 2
push dword [esi + eax]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
mov eax, dword [edi]
push dword [esi + eax]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x408b99
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
call fcn.00407831
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov ax, word [0x47ef2c]
push eax
call fcn.00406f2d
movzx eax, byte [0x47ef2c]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 0xc
push eax
call esi
test ax, 0x8000
je 0x408bfa
movzx eax, word [0x47d4b4]
cmp eax, dword [ebp - 4]
jne 0x408bfa
mov eax, dword [ebp + 8]
mov dword [0x47d710], 1
mov dword [eax], 0x26
jmp 0x408c49
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov ax, word [0x47eee8]
push eax
call fcn.00406f2d
movzx eax, byte [0x47eee8]
add esp, 0xc
push eax
call esi
test ax, 0x8000
je 0x408c42
movzx eax, word [0x47d4b4]
cmp eax, dword [ebp - 4]
jne 0x408c42
mov eax, dword [ebp + 8]
mov dword [0x47d710], 1
mov dword [eax], 0x28
jmp 0x408c49
and dword [0x47d710], 0
pop esi
leave
ret

Function at 0x408c4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
call fcn.00407831
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov ax, word [0x47ef2c]
push eax
call fcn.00406f2d
movzx eax, byte [0x47ef2c]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 0xc
push eax
call esi
test ax, 0x8000
je 0x408c98
movzx eax, word [0x47d4b4]
cmp eax, dword [ebp - 4]
je 0x408ccb
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov ax, word [0x47eee8]
push eax
call fcn.00406f2d
movzx eax, byte [0x47eee8]
add esp, 0xc
push eax
call esi
test ax, 0x8000
je 0x408cd0
movzx eax, word [0x47d4b4]
cmp eax, dword [ebp - 4]
jne 0x408cd0
push 1
pop eax
jmp 0x408cd2
xor eax, eax
pop esi
leave
ret

Function at 0x408d12
Capabilities:
Accept command line arguments
Create process on windows
Set current directory
Set registry value
Terminate process

Disassembly:
mov dword [0x47d714], 1
jmp fcn.00406999

Function at 0x408d21
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
lea ecx, [ebp - 4]
push 0
push ecx
push esi
push eax
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x409be2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push esi
sub eax, ebx
push edi
je 0x409cb1
dec eax
je 0x409c59
dec eax
je 0x409c02
xor eax, eax
jmp 0x409d1b
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov edi, dword [ebp + 8]
xor esi, esi
test eax, eax
mov dword [ebp + 0x10], eax
mov byte [edi], 0x2a
jle 0x409c48
mov eax, dword [ebp + 0xc]
mov byte [esi + edi], 0x2a
inc esi
mov al, byte [ebx + eax]
push eax
call dword [sym.imp.KERNEL32.DLL_IsDBCSLeadByte]
test eax, eax
mov eax, dword [ebp + 0xc]
je 0x409c3b
mov cl, byte [ebx + eax]
mov byte [esi + edi], cl
inc esi
inc ebx
mov al, byte [ebx + eax]
mov byte [esi + edi], al
inc esi
inc ebx
cmp ebx, dword [ebp + 0x10]
jl 0x409c1a
lea eax, [esi + edi]
mov byte [eax], 0x2a
and byte [eax + 1], 0
mov eax, edi
jmp 0x409d1b
mov edi, dword [ebp + 0xc]
push 0x40d0cc
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov esi, dword [ebp + 8]
test eax, eax
mov byte [esi], 0x2a
je 0x409c97
push 1
pop eax
cmp byte [edi], 0
je 0x409cee
mov cl, byte [edi]
cmp cl, 0x5c
jne 0x409c90
mov byte [eax + esi], 0x2a
inc eax
mov byte [eax + esi], cl
inc eax
mov byte [eax + esi], 0x2a
jmp 0x409c93
mov byte [eax + esi], cl
inc edi
inc eax
jmp 0x409c75
and byte [esi + 1], 0
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
push esi
call edi
push 0x40d870
push esi
call edi
mov eax, esi
jmp 0x409d1b
mov edi, dword [ebp + 0xc]
push 0x40d0cc
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x409d00
mov esi, dword [ebp + 8]
push 2
pop eax
mov byte [esi], 0x2a
mov byte [esi + 1], 0x5c
cmp byte [edi], 0
je 0x409cee
mov cl, byte [edi]
cmp cl, 0x5c
jne 0x409ce7
mov byte [eax + esi], 0x2a
inc eax
mov byte [eax + esi], cl
jmp 0x409cea
mov byte [eax + esi], cl
inc edi
inc eax
jmp 0x409cd1
add eax, esi
push esi
mov byte [eax], 0x2a
and byte [eax + 1], 0
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
jmp 0x409cad
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x40d870
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x409e26
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x409e4f
cmp al, 0x22
je 0x409e47
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x409e3b
cmp byte [esi], 0x22
jne 0x409e59
inc esi
jmp 0x409e59
cmp al, 0x20
jle 0x409e59
inc esi
cmp byte [esi], 0x20
jg 0x409e53
mov al, byte [esi]
test al, al
je 0x409e63
cmp al, 0x20
jle 0x409e4c
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
call fcn.00409ed1
push 0x40d004
push section..data
call fcn.00409eb7
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x409e93
movzx eax, word [ebp - 0x14]
jmp 0x409e96
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00409ee9
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x10012830
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1001286e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10012866
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10012870
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10012856
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10012940
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10012971
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10012971
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x10012971
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1001738c
Capabilities:
Encode data using xor

Disassembly:
call 0x10017305
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10017335
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x10017351
xor edx, 0
jmp 0x1001735c
xor edx, edx
jmp 0x10017373
jmp 0x1001737f
xor eax, eax
push 0x8427d7c0
call 0x1001738c
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100173c8
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100173a1
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100173df
add eax, 0
jno 0x100173e4
add esi, 0
ret 0x10
Function at 0x1001814d
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1001816f
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x10018311
cmp edi, dword [ebp + 0x10]
jb 0x10018311
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10017c39
inc edi
jmp 0x100181f8
jmp 0x10018205
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10017c39
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10017c39
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x10018259
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1001823d
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.10018287
add dword [eax], 0x39
jle 0x10018263
sub al, 0xf5
mov ch, al
call fcn.1001829c
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10019f74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10019f8a
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10019f9b
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10019fdc
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x1001c348
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1001c291
add ebx, 0
push ecx
call 0x1001c2a6
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x72f5c21b
sub ebx, dword [0x72f7ba5a]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x72f7ba4a
call fcn.10017d70
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001727e
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1001c404
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1001c404
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1001c3bb
mov eax, 1
lock xchg dword [0x72f7ba56], eax
push 0x3dd1fc71
call 0x1001c348
push esi
add esp, 8
cmp eax, 0
jne 0x1001c331
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1001c357
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1001c36c
cmp ecx, edx
cmp eax, 0
je 0x1001c391
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1001c37b
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1001c3aa
dec eax
loope 0x1001c3ad
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x72f7ba56], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1001c3e1
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001c3f6
jmp 0x1001c401
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1001c2ef
Function at 0x10023469
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1002373f
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x72f686ce
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x72f5f694
push 0xffffffffffffffff
call fcn.1001a669
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100234d3
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100234eb
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x10023733
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10023707
Function at 0x10032f39
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10032f5b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10032f5b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10032f5b
ret
cmp word [ebx + 4], 0x14c
jne 0x10032f5b
test word [ebx + 0x16], 2
je 0x10032f5b
test word [ebx + 0x16], 0x100
je 0x10032f5b
cmp word [ebx + 0x18], 0x10b
jne 0x10032f5b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10032f5b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10032fe7
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10032f7b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10019ec6
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10032f5b
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10032fe7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10032f5b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10032f5b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10032f5b
ret
cmp word [ebx + 4], 0x14c
jne 0x10032f5b
test word [ebx + 0x16], 2
je 0x10032f5b
test word [ebx + 0x16], 0x100
je 0x10032f5b
cmp word [ebx + 0x18], 0x10b
jne 0x10032f5b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10032f5b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10032fe7
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10032f7b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10019ec6
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10032f5b
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8