joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002b5d
Capabilities:
Delete file
Set current directory
Set file attributes

Disassembly:
jmp 0x10049ae
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, dword [0x100ae80]
xor ebp, ebp
push edi
cmp esi, ebp
mov edi, esi
je 0x1004a01
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [0x100aaa4], ebp
jne 0x10049f1
cmp dword [0x100b6d0], ebp
jne 0x10049f1
push pe_nt_image_headers32
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [edi]
mov esi, dword [esi + 4]
call ebx
push edi
call ebx
cmp esi, ebp
mov edi, esi
jne 0x10049cc
cmp dword [0x100aaa0], ebp
je 0x1004a51
cmp dword [0x100aaa4], ebp
jne 0x1004a51
cmp dword [0x100b6d0], ebp
jne 0x1004a51
lea eax, [esp + 0x10]
push 0x100ae84
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test byte [0x100b6d4], 0x20
je 0x1004a3c
lea eax, [esp + 0x10]
push eax
call fcn.01005ada
push 0x1001318
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [esp + 0x10]
push eax
call fcn.01001f8c
cmp word [0x100bc04], 1
je 0x1004a68
cmp dword [0x100aaa0], ebp
je 0x1004a68
call fcn.01001c57
pop edi
mov dword [0x100aaa0], ebp
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x10038ee
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor esi, esi
push 1
cmp dword [ebp + 8], esi
pop ebx
jne 0x100390a
xor eax, eax
jmp 0x10039e2
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push esi
push esi
push 0x20
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100399a
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [0x100aaa8], esi
mov ecx, dword [ebp + 0xc]
jne 0x1003974
mov al, byte [0x100b6cc]
test bl, al
je 0x1003974
test al, 2
jne 0x1003974
mov eax, ecx
and eax, 0xff000000
cmp eax, 0xaa000000
jne 0x1003974
mov dword [0x100b6cc], ecx
push ecx
call fcn.010039e8
push dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x10]
call edi
test byte [0x100b6d5], 4
je 0x10039df
cmp dword [ebp + 0xc], esi
jge 0x10039df
jmp 0x10039dd
call fcn.0100574c
mov dword [0x100b704], eax
push esi
lea eax, [ebp - 0x210]
push 0x200
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
lea eax, [ebp - 0x210]
push 0x10
push eax
push dword [ebp + 8]
push 0x4c4
push esi
call fcn.01003cc5
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1003ac5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push str.SHELL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x14], edi
je 0x1003bdf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SHBrowseForFolder
push edi
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x1003bcc
push 0xc3
push edi
call esi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1003bcc
push str.SHGetPathFromIDList
push edi
call esi
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x1003bcc
cmp byte [0x100b720], bl
mov esi, 0x100b720
jne 0x1003b69
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.USER32.dll_CharPrevA]
add eax, esi
push eax
push esi
call edi
cmp byte [eax], 0x5c
mov dword [ebp - 4], eax
jne 0x1003b69
push eax
push esi
call edi
cmp byte [eax], 0x3a
je 0x1003b69
mov eax, dword [ebp - 4]
mov byte [eax], bl
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
mov byte [edi], bl
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0x1003aa4
mov dword [ebp - 0x1c], esi
call dword [ebp - 8]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x1003bba
push esi
push eax
call dword [ebp - 0xc]
cmp byte [0x100b720], bl
je 0x1003bb4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 8]
call dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
cmp byte [edi], bl
setne al
jmp 0x1003bf3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
push 0x10
push ebx
push ebx
push 0x4c1
jmp 0x1003be9
push ebx
push 0x10
push ebx
push ebx
push 0x4c2
push dword [ebp + 8]
call fcn.01003cc5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1003e1f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push edi
push 0xa
xor edi, edi
push dword [ebp + 8]
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, dword [ebp + 0x10]
ja 0x1003e88
cmp dword [ebp + 0xc], edi
je 0x1003e88
cmp ebx, edi
je 0x1003e68
push 0xa
push dword [ebp + 8]
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
jne 0x1003e6c
xor eax, eax
jmp 0x1003e8a
mov edi, dword [ebp + 0xc]
mov ecx, ebx
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1003f1f
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push 1
pop ebx
push edi
mov esi, ebx
call fcn.01005a4b
test eax, eax
jne 0x1003f39
mov eax, ebx
jmp 0x1003f98
cmp dword [0x100ae7c], 0
jne 0x1003f86
test byte [0x100aab8], bl
jne 0x1003f86
push 6
push 0
push 0x1002ecc
mov dword [0x100b0a4], edi
push dword [0x100aa78]
push 0x7d3
push dword [0x100b6dc]
call fcn.01005979
sub eax, 6
je 0x1003f84
dec eax
je 0x1003f9e
sub eax, 0x832
jne 0x1003f86
mov dword [0x100ae7c], ebx
mov esi, ebx
test esi, esi
je 0x1003f96
push pe_nt_image_headers32
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop edi
pop esi
pop ebx
ret 4
xor esi, esi
jmp 0x1003f86

Function at 0x10040c4
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov cl, byte [edi]
test cl, cl
je 0x1004128
mov al, byte [edi + 1]
lea esi, [edi + 1]
xor ebx, ebx
cmp al, 0x3a
jne 0x10040e8
cmp byte [edi + 2], 0x5c
jne 0x10040e8
lea esi, [edi + 3]
jmp 0x10040f7
cmp cl, 0x5c
jne 0x10040f7
cmp al, cl
jne 0x10040f7
push 2
lea esi, [edi + 2]
pop ebx
mov al, byte [esi]
test al, al
je 0x1004128
cmp al, 0x5c
jne 0x100411d
cmp byte [esi - 1], 0x3a
je 0x100411d
test ebx, ebx
je 0x100410e
dec ebx
jmp 0x100411d
and byte [esi], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x10040f7
pop edi
pop esi
pop ebx
ret 4

Function at 0x1004a79
Capabilities:
Check if file exists
Create directory
Delete directory
Delete file
Get common file path
Get file attributes

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, dword [esp + 0x118]
push edi
xor edi, edi
xor ebp, ebp
mov eax, edi
inc edi
push eax
lea eax, [esp + 0x14]
push 0x1001470
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esp + 0x118]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.01005a9b
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 0xffffffff
je 0x1004ae1
cmp edi, 0x190
jl 0x1004a8e
jmp 0x1004af4
xor ebp, ebp
push ebp
push esi
call ebx
test eax, eax
je 0x1004af4
push 1
pop ebp
mov dword [0x100aaa0], ebp
test ebp, ebp
jne 0x1004b1f
push esi
push ebp
push 0x100146c
push dword [esp + 0x124]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1004b1f
push 1
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push esi
call ebx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 8
Function at 0x1004b2e
Capabilities:
Create directory
Delete directory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
je 0x1004bbb
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 8]
call fcn.01004a79
test eax, eax
je 0x1004c18
lea eax, [ebp - 0x128]
mov esi, 0x100ae84
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test byte [0x100b6d4], 0x20
je 0x1004bae
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x24]
sub eax, ebx
je 0x1004ba3
dec eax
je 0x1004b9c
dec eax
je 0x1004b95
dec eax
jne 0x1004bae
push 0x1001494
jmp 0x1004ba8
push 0x100148c
jmp 0x1004ba8
push 0x1001484
jmp 0x1004ba8
push 0x100147c
push esi
call fcn.01005a9b
push 0x10012c4
push esi
call fcn.01005a9b
jmp 0x1004bca
push dword [ebp + 8]
mov esi, 0x100ae84
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.01004f13
test eax, eax
jne 0x1004bea
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1004c20
mov dword [0x100aaa0], 1
push ebx
push dword [ebp + 0x10]
push esi
call fcn.01004fb2
test eax, eax
je 0x1004c03
push 1
mov dword [0x100b704], ebx
pop eax
jmp 0x1004c1a
cmp dword [0x100aaa0], ebx
je 0x1004c18
push esi
mov dword [0x100aaa0], ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
pop esi
pop ebx
leave
ret 0xc
call fcn.0100574c
mov dword [0x100b704], eax
jmp 0x1004c18
Function at 0x1004f13
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x14
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
jne 0x1004f59
push ebp
push 0x10
push ebp
push ebp
push 0x4b5
push ebp
call fcn.01003cc5
call fcn.0100574c
mov dword [0x100b704], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10014ac
push esi
call fcn.01005a9b
push ebp
push 0x4000080
push 1
push ebp
push ebp
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp edi, 0xffffffff
je 0x1004f46
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1004f46
test al, 0x10
je 0x1004f46
push 1
mov dword [0x100b704], ebp
pop eax
jmp 0x1004f52
Function at 0x10056fd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x100573a
push eax
push 0x10
push eax
push eax
push 0x4f0
push eax
call fcn.01003cc5
call fcn.0100574c
mov dword [0x100b704], eax
xor eax, eax
leave
ret
push 2
lea eax, [ebp - 0x104]
push 2
push eax
call fcn.01004fb2
leave
ret

Function at 0x100576b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x24]
push edi
push 0x1001370
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], edi
call ebx
add esp, 0xc
lea eax, [ebp - 0x24]
push 0xa
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1005834
jmp 0x10057ae
xor edi, edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, edi
je 0x100581a
mov eax, dword [esi]
lea edi, [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax + edi + 1]
push eax
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [ebp + 8]
test eax, eax
je 0x1005829
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
inc dword [ebp - 4]
lea eax, [ebp - 0x24]
push dword [ebp - 4]
push 0x1001370
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x24]
push 0xa
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x10057ac
jmp 0x1005834
mov dword [0x100b704], 0x80070714
mov dword [ebp - 8], edi
jmp 0x1005834
and dword [ebp - 8], 0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1005919
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push 0x100ae84
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.01005a9b
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100596c
test al, 0x10
jne 0x100596c
push 8
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x1005975
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
leave
ret 4

Function at 0x1005a4b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1005a5e
xor eax, eax
jmp 0x1005a66
not eax
shr eax, 4
and eax, 1
ret 4
Function at 0x100743c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x1007483
cmp edx, 0x10
jl 0x100746f
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x100745c
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x1007483
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x100747b
and edx, 3
cmp edx, 3
jne 0x1007497
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x100749c
cmp edx, 2
jne 0x10074a8
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x10074ad
cmp edx, 1
jne 0x10074b3
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x505777
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp byte [ecx], bl
push edi
mov dword [ebp - 4], ebx
mov edx, ecx
je 0x505791
inc edx
cmp byte [edx], bl
jne 0x50578c
mov esi, dword [ebp + 0x10]
dec edx
mov edi, esi
cmp edx, ecx
jb 0x5057a3
mov al, byte [edx]
dec edx
mov byte [edi], al
inc edi
jmp 0x505797
mov byte [edi], bl
cmp byte [esi], bl
mov edx, esi
je 0x5057b0
inc edx
cmp byte [edx], bl
jne 0x5057ab
dec edx
cmp byte [ecx], bl
mov dword [ebp + 8], edx
mov edi, ecx
je 0x5057bf
inc edi
cmp byte [edi], bl
jne 0x5057ba
dec edi
cmp ecx, edi
jae 0x5057de
mov edx, esi
sub edx, ecx
mov al, byte [ecx]
xor byte [ecx + edx], al
movsx eax, byte [ecx + edx]
add dword [ebp - 4], eax
inc ecx
cmp ecx, edi
jb 0x5057c8
mov edx, dword [ebp + 8]
xor ebx, ebx
cmp esi, edx
mov ecx, esi
jae 0x5057ea
inc ecx
dec edx
cmp ecx, edx
jb 0x5057e4
mov eax, dword [ebp - 4]
push 0xa
lea edi, [ecx - 1]
xor edx, edx
pop ecx
div ecx
mov eax, dword [ebp + 0xc]
add dl, 0x61
cmp esi, edi
ja 0x505818
mov cl, byte [esi]
and cl, 0xf
add cl, dl
mov byte [eax], cl
mov cl, byte [esi]
sar cl, 4
inc eax
add cl, dl
mov byte [eax], cl
inc eax
inc esi
jmp 0x5057fd
pop edi
mov byte [eax], bl
pop esi
pop ebx
leave
ret

Function at 0x5244fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp byte [ecx], bl
push edi
mov dword [ebp - 4], ebx
mov edx, ecx
je 0x524516
inc edx
cmp byte [edx], bl
jne 0x524511
mov esi, dword [ebp + 0x10]
dec edx
mov edi, esi
cmp edx, ecx
jb 0x524528
mov al, byte [edx]
dec edx
mov byte [edi], al
inc edi
jmp 0x52451c
mov byte [edi], bl
cmp byte [esi], bl
mov edx, esi
je 0x524535
inc edx
cmp byte [edx], bl
jne 0x524530
dec edx
cmp byte [ecx], bl
mov dword [ebp + 8], edx
mov edi, ecx
je 0x524544
inc edi
cmp byte [edi], bl
jne 0x52453f
dec edi
cmp ecx, edi
jae 0x524563
mov edx, esi
sub edx, ecx
mov al, byte [ecx]
xor byte [ecx + edx], al
movsx eax, byte [ecx + edx]
add dword [ebp - 4], eax
inc ecx
cmp ecx, edi
jb 0x52454d
mov edx, dword [ebp + 8]
xor ebx, ebx
cmp esi, edx
mov ecx, esi
jae 0x52456f
inc ecx
dec edx
cmp ecx, edx
jb 0x524569
mov eax, dword [ebp - 4]
push 0xa
lea edi, [ecx - 1]
xor edx, edx
pop ecx
div ecx
mov eax, dword [ebp + 0xc]
add dl, 0x61
cmp esi, edi
ja 0x52459d
mov cl, byte [esi]
and cl, 0xf
add cl, dl
mov byte [eax], cl
mov cl, byte [esi]
sar cl, 4
inc eax
add cl, dl
mov byte [eax], cl
inc eax
inc esi
jmp 0x524582
pop edi
mov byte [eax], bl
pop esi
pop ebx
leave
ret
Function at 0x401140
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push 0x411b7c
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 0x411b80
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], 0
test eax, eax
je 0x4011d2
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0x411c20
push 0x411c30
call eax
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4011ca
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x411c40
push str.v4.0.30319
push ecx
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4011ca
mov eax, dword [ecx]
lea edx, [esp + 4]
push edx
push 0x411bf0
push 0x411c10
push ecx
call dword [eax + 0x24]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4011f1
lea eax, [esp + 4]
push eax
push 0x411bf0
push 0x411c10
push 0
push 0
push 0
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 0x411c00
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push str._RESOLVER
call fcn.00401010
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
push str._ENTRYPOINT
call fcn.00401010
add esp, 4
mov esp, ebp
pop ebp
ret 0x10

Function at 0x710c6e
Capabilities:
Encode data using xor

Disassembly:
push 0x7109ec
pop ebx
sub ecx, ecx
add edi, 0x718a6243
call fcn.00710caf
or ecx, ecx
or edi, ecx
or edi, ecx
xor dword [esi], ebx
add ecx, 0xa96dbe48
sub edi, 0x5372449d
inc esi
add edi, edi
cmp esi, edx
jne fcn.00710c6e
sub edi, ecx
sub ecx, 1
ret
Function at 0x100069a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0xd6a1c48], 0
jne 0x10006a45
xor ecx, ecx
nop
mov eax, ecx
shr eax, 1
test cl, 1
je 0x100069be
xor eax, 0xedb88320
test al, 1
je 0x100069cb
shr eax, 1
xor eax, 0xedb88320
jmp 0x100069cd
shr eax, 1
test al, 1
je 0x100069da
shr eax, 1
xor eax, 0xedb88320
jmp 0x100069dc
shr eax, 1
test al, 1
je 0x100069e9
shr eax, 1
xor eax, 0xedb88320
jmp 0x100069eb
shr eax, 1
test al, 1
je 0x100069f8
shr eax, 1
xor eax, 0xedb88320
jmp 0x100069fa
shr eax, 1
test al, 1
je 0x10006a07
shr eax, 1
xor eax, 0xedb88320
jmp 0x10006a09
shr eax, 1
test al, 1
je 0x10006a16
shr eax, 1
xor eax, 0xedb88320
jmp 0x10006a18
shr eax, 1
test al, 1
je 0x10006a25
shr eax, 1
xor eax, 0xedb88320
jmp 0x10006a27
shr eax, 1
mov dword [ecx*4 + 0xd6a1c50], eax
inc ecx
cmp ecx, 0x100
jl 0x100069b0
mov dword [0xd6a1c48], 1
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
test edx, edx
je 0x10006a72
push esi
mov esi, dword [esp + 8]
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0xd6a1c50]
dec edx
jne 0x10006a56
pop esi
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48b004]
jne 0x401010
repz ret
jmp fcn.004017e1

Function at 0x406b7e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040250a
and dword [ebp - 4], 0
cmp dword [0x48cffc], 0
mov ebx, eax
jne 0x406c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406ce0
push eax
call fcn.00402498
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48cffc], eax
call esi
push eax
call fcn.00402498
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48d000], eax
call esi
push eax
call fcn.00402498
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48d004], eax
call esi
push eax
call fcn.00402498
pop ecx
mov dword [0x48d00c], eax
test eax, eax
je 0x406c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402498
pop ecx
mov dword [0x48d008], eax
mov eax, dword [0x48d008]
cmp eax, ebx
je 0x406c87
cmp dword [0x48d00c], ebx
je 0x406c87
push eax
call fcn.00402513
push dword [0x48d00c]
mov esi, eax
call fcn.00402513
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406c87
test edi, edi
je 0x406c87
call esi
test eax, eax
je 0x406c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406c7e
test byte [ebp - 0xc], 1
jne 0x406c87
or dword [ebp + 0x10], 0x200000
jmp 0x406cc0
mov eax, dword [0x48d000]
cmp eax, ebx
je 0x406cc0
push eax
call fcn.00402513
pop ecx
test eax, eax
je 0x406cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406cc0
mov eax, dword [0x48d004]
cmp eax, ebx
je 0x406cc0
push eax
call fcn.00402513
pop ecx
test eax, eax
je 0x406cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48cffc]
call fcn.00402513
pop ecx
test eax, eax
je 0x406ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x483f60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push edi
cmp ebp, 0x19f
jne 0x483f81
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
test ebp, ebp
jle 0x483fd6
push esi
jmp 0x483f90
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.00483f50
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
movsx eax, byte [edi + ebx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor dword [esp + 0x18], eax
mov cl, byte [esp + 0x18]
mov byte [edi + ebx], cl
inc edi
cmp edi, ebp
jl 0x483f90
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x483ff1
mov dword [0x2b8b218], 0xa62e7790
mov dword [0x2b8b21c], 0xffffffff
add esp, 8
ret