joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407ca4
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffc0
call sub.kernel32.dll_GetCurrentProcess
push esp
push 0x28
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 8]
push eax
push 0x407d24
push 0x407d38
call sub.advapi32.dll_LookupPrivilegeValueA
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 2
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
push 0x10
lea eax, [esp + 0x20]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
add esp, 0x40
ret

Function at 0x408760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40880b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403aec
xor ebx, ebx
xor esi, esi
xor edx, edx
mov dword [ebp - 8], edx
test eax, eax
jle 0x4087f2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x10]
push eax
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00403d4c
mov eax, dword [ebp - 0x10]
movzx edi, byte [eax]
mov eax, ebx
call fcn.00408744
imul edi
xor dword [ebp - 8], eax
mov eax, esi
call fcn.00408744
imul edi
xor dword [ebp - 8], eax
lea eax, [ebx + 7]
mov ecx, 0x13
cdq
idiv ecx
mov ebx, edx
lea eax, [esi + 0xd]
mov ecx, 0x17
cdq
idiv ecx
mov esi, edx
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x40879e
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408812
lea eax, [ebp - 0x10]
call fcn.0040383c
ret

Function at 0x4089d8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x408a70
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0x32
lea eax, [ebp - 0x37]
push eax
push esi
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x37]
mov ecx, 0x33
call fcn.00403a80
mov eax, dword [ebp - 0x3c]
mov edx, edi
call fcn.00403c38
jne 0x408a55
push 0x32
lea eax, [ebp - 0x37]
push eax
push esi
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x37]
mov ecx, 0x33
call fcn.00403a80
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00403e30
test eax, eax
je 0x408a55
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a77
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00403860
ret
Function at 0x4090cc
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
call fcn.00403cec
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402c68
test ebx, ebx
je 0x409117
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x409128
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403cdc
xor eax, eax
push ebp
push 0x4091cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x409178
xor ebx, ebx
jmp 0x4091b7
mov word [ebp - 0x1a4], 2
push edi
call sub.wsock32.dll_htons
mov word [ebp - 0x1a2], ax
mov eax, dword [ebp - 4]
call fcn.004090cc
mov dword [ebp - 0x1a0], eax
push 0x10
lea eax, [ebp - 0x1a4]
push eax
push ebx
call sub.wsock32.dll_connect
test eax, eax
jne 0x4091b5
mov dword [esi], ebx
mov bl, 1
jmp 0x4091b7
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4091d4
lea eax, [ebp - 4]
call fcn.0040383c
ret

Function at 0x4091ec
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403cdc
xor eax, eax
push ebp
push 0x40925d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403cec
mov edx, eax
lea eax, [ebp - 0x1005]
call fcn.00408e40
push 4
lea eax, [ebp - 0x1005]
call fcn.00408e28
push eax
lea eax, [ebp - 0x1005]
push eax
push ebx
call sub.wsock32.dll_send
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409264
lea eax, [ebp - 4]
call fcn.0040383c
ret
Function at 0x4110d8
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x412898]
cmp dword [eax], 0
jne 0x4110fe
push 0
mov eax, dword [0x413650]
push eax
push 0x4110b8
push 3
call sub.user32.dll_SetWindowsHookExA
mov edx, dword [0x412898]
mov dword [edx], eax
ret
Function at 0x4019dd
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x254
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edi, [esi + eax*2]
push 0x4082b0
push edi
call ebp
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
and word [edi], bx
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x401a26
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401ae3
lea eax, [esp + 0x40]
push 0x4082ac
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x401a96
lea eax, [esp + 0x40]
push 0x4082a4
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x401a96
lea eax, [esp + 0x40]
push eax
push edi
call ebp
test byte [esp + 0x14], 0x10
je 0x401a76
push 0x408260
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, esi
call fcn.004019dd
jmp 0x401a90
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401a92
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x401abc
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401a26
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
jne 0x401abc
xor ebx, ebx
push dword [esp + 0x10]
and word [edi], 0
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x401ae1
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x401ae1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret

Function at 0x403cf5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
xor esi, esi
mov edx, 0x409040
mov ecx, 0x409440
push 8
mov eax, esi
pop edi
mov ebx, eax
and ebx, 1
neg ebx
and ebx, 0xedb88320
shr eax, 1
xor eax, ebx
dec edi
jne 0x403d09
mov dword [edx], eax
add edx, 4
inc esi
cmp edx, ecx
jb 0x403d04
pop edi
pop esi
pop ebx
mov eax, dword [ecx - 0x400]
mov edx, eax
and edx, 0xff
shr eax, 8
mov edx, dword [edx*4 + 0x409040]
xor edx, eax
mov dword [ecx], edx
add ecx, 4
cmp ecx, 0x40c040
jb 0x403d2a
ret
Function at 0x403d52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
mov edx, dword [ebp + 0xc]
push edi
test esi, esi
mov eax, ecx
je 0x403d87
test bl, 3
je 0x403d87
movzx edi, byte [ebx]
mov ecx, eax
and ecx, 0xff
xor ecx, edi
shr eax, 8
mov ecx, dword [edx + ecx*4]
xor eax, ecx
dec esi
inc ebx
test esi, esi
jne 0x403d67
cmp esi, 0xc
lea ecx, [ebx + esi]
jb 0x403e48
sub ecx, 0xc
mov dword [ebp - 4], ecx
xor eax, dword [ebx]
xor ecx, ecx
add ebx, 0xc
mov dword [ebp + 0xc], eax
mov eax, dword [ebx - 8]
mov dword [ebp + 8], eax
mov cl, ah
xor eax, eax
mov al, byte [ebp + 0xa]
mov esi, dword [edx + ecx*4 + 0x1800]
xor ecx, ecx
xor esi, dword [edx + eax*4 + 0x1400]
mov eax, dword [ebp + 8]
shr eax, 0x18
mov cl, byte [ebp + 0xe]
xor esi, dword [edx + eax*4 + 0x1000]
movzx eax, byte [ebp + 8]
xor esi, dword [edx + eax*4 + 0x1c00]
mov eax, dword [ebx - 4]
mov dword [ebp + 8], eax
xor eax, eax
mov al, byte [ebp + 0xd]
mov edi, dword [edx + eax*4 + 0x2800]
mov eax, dword [ebp + 8]
xor edi, dword [edx + ecx*4 + 0x2400]
xor ecx, ecx
mov cl, ah
xor edi, dword [edx + ecx*4 + 0x800]
xor ecx, ecx
mov cl, byte [ebp + 0xa]
xor edi, dword [edx + ecx*4 + 0x400]
mov ecx, dword [ebp + 0xc]
shr ecx, 0x18
xor edi, dword [edx + ecx*4 + 0x2000]
movzx ecx, byte [ebp + 0xc]
xor edi, dword [edx + ecx*4 + 0x2c00]
movzx ecx, al
shr eax, 0x18
xor edi, dword [edx + ecx*4 + 0xc00]
mov ecx, dword [ebp - 4]
xor edi, dword [edx + eax*4]
xor edi, esi
cmp ebx, ecx
mov eax, edi
jbe 0x403d99
add ecx, 0xc
cmp ebx, ecx
jae 0x403e64
movzx edi, byte [ebx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [edx + esi*4]
xor eax, esi
inc ebx
jmp 0x403e48
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x403ee6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], edx
mov ebx, ecx
mov edi, dword [esi]
and dword [esi], 0
test edi, edi
je 0x403f3f
mov eax, 0x400000
cmp edi, eax
ja 0x403f09
mov eax, edi
lea ecx, [ebp + 8]
push 0
and dword [ebp + 8], 0
push ecx
push eax
push dword [ebp - 4]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add dword [ebp - 4], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x403f37
test ecx, ecx
je 0x403f3f
test edi, edi
jbe 0x403f3f
jmp 0x403efe
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403f41
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403f48
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], edx
mov ebx, ecx
mov edi, dword [esi]
and dword [esi], 0
test edi, edi
je 0x403fa1
mov eax, 0x400000
cmp edi, eax
ja 0x403f6b
mov eax, edi
lea ecx, [ebp + 8]
push 0
and dword [ebp + 8], 0
push ecx
push eax
push dword [ebp - 4]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
add dword [ebp - 4], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x403f99
test ecx, ecx
je 0x403fa1
test edi, edi
jbe 0x403fa1
jmp 0x403f60
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403fa3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x405668
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x4056a8
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4056a8
push 0xc00
call eax
test eax, eax
jne 0x405735
lea eax, [ebp - 0x2d0]
push 0x106
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x405735
cmp eax, 0x104
ja 0x405735
cmp word [ebp + eax*2 - 0x2d2], 0x5c
je 0x4056db
mov word [ebp + eax*2 - 0x2d0], 0x5c
inc eax
mov esi, dword [str.userenv]
cmp byte [esi], 0
je 0x405735
push edi
lea edi, [ebp + eax*2 - 0x2d0]
mov eax, edi
mov cl, byte [esi]
inc esi
test cl, cl
je 0x405702
movzx cx, cl
mov word [eax], cx
inc eax
inc eax
jmp 0x4056f0
and word [eax + 8], 0
mov word [eax], 0x2e
mov word [eax + 2], 0x64
mov word [eax + 4], 0x6c
mov word [eax + 6], 0x6c
push 8
lea eax, [ebp - 0x2d0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp byte [esi], 0
jne 0x4056ee
pop edi
pop esi
leave
ret
Function at 0x407d14
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408348
push 0x407e50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40c040], 0xffffffff
or dword [0x40c044], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40902c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x409028]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40c048], eax
call fcn.00407e45
cmp dword [0x409010], 0
jne 0x407d97
push 0x407e42
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00407e30
push 0x40900c
push 0x409008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x409024]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x409020]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x409004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call section..text
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x100c21c7
Capabilities:
Encode data using xor

Disassembly:
call 0x100c2140
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 0x100c2170
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 0x100c218c
xor edx, 0
jmp 0x100c2197
xor edx, edx
jmp 0x100c21ae
jmp 0x100c21ba
xor eax, eax
push 0x8427d7c0
call 0x100c21c7
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100c2203
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 0x100c21dc
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 0x100c221a
add eax, 0
jno 0x100c221f
add esi, 0
ret 0x10

Function at 0x100c2f88
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 0x100c2faa
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 0x100c314c
cmp edi, dword [ebp + 0x10]
jb 0x100c314c
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.100c2a74
inc edi
jmp 0x100c3033
jmp 0x100c3040
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100c2a74
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100c2a74
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 0x100c3094
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 0x100c3078
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100c30c2
add dword [eax], 0x39
jle 0x100c309e
sub al, 0xf5
mov ch, al
call fcn.100c30d7
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x100c4daf
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 0x100c4dc5
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 0x100c4dd6
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100c4e17
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 0x100c7183
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 0x100c70cc
add ebx, 0
push ecx
call 0x100c70e1
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, 0x73b7134c
sub ebx, dword [0x73b90b8b]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73b90b7b
call fcn.100c2bab
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100c20b9
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100c723f
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100c723f
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 0x100c71f6
mov eax, 1
lock xchg dword [0x73b90b87], eax
push 0x3dd1fc71
call 0x100c7183
push esi
add esp, 8
cmp eax, 0
jne 0x100c716c
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100c7192
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100c71a7
cmp ecx, edx
cmp eax, 0
je 0x100c71cc
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 0x100c71b6
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100c71e5
dec eax
loope 0x100c71e8
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73b90b87], 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 0x100c721c
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100c7231
jmp 0x100c723c
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100c712a
Function at 0x100ce2a4
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 0x100ce57a
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73b7d7ff
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x73b747c5
push 0xffffffffffffffff
call fcn.100c54a4
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 0x100ce30e
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100ce326
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 0x100ce56e
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100ce542
Function at 0x100ddd74
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 0x100ddd96
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100ddd96
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100ddd96
ret
cmp word [ebx + 4], 0x14c
jne 0x100ddd96
test word [ebx + 0x16], 2
je 0x100ddd96
test word [ebx + 0x16], 0x100
je 0x100ddd96
cmp word [ebx + 0x18], 0x10b
jne 0x100ddd96
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100ddd96
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100dde22
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100dddb6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100c4d01
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100ddd96
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 0x100dde22
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 0x100ddd96
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100ddd96
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100ddd96
ret
cmp word [ebx + 4], 0x14c
jne 0x100ddd96
test word [ebx + 0x16], 2
je 0x100ddd96
test word [ebx + 0x16], 0x100
je 0x100ddd96
cmp word [ebx + 0x18], 0x10b
jne 0x100ddd96
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100ddd96
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100dde22
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100dddb6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100c4d01
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100ddd96
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