joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414c19
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor esi, esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x414c69
test al, 7
je 0x414c47
push esi
push edi
call ebx
cmp dword [0x42c5d8], esi
je 0x414c69
lea eax, [ebp - 0x164]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x414c69
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
push 0x8000080
push 2
push esi
push 3
push 0x40000000
push edi
call fcn.0040b6bd
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x414ce3
cmp dword [ebp + 0x10], esi
je 0x414cf8
cmp dword [ebp + 0xc], 0x4b0
jne 0x414ca5
push esi
lea eax, [ebp - 8]
push eax
push 2
push 0x41e9f4
jmp 0x414cd1
cmp dword [ebp + 0xc], 0x4b1
jne 0x414cbc
push esi
lea eax, [ebp - 8]
push eax
push 2
push 0x41e9f0
jmp 0x414cd1
cmp dword [ebp + 0xc], 0xfde9
jne 0x414cdc
push esi
lea eax, [ebp - 8]
push eax
push 3
push 0x41e9ec
push edi
call fcn.0040b81e
add esp, 0x14
jmp 0x414cdf
mov eax, dword [ebp - 8]
cmp eax, esi
jne 0x414cf8
cmp dword [ebp - 4], 0xffffffff
je 0x414cf1
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
xor eax, eax
jmp 0x414e13
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x11
push 0x44a
push dword [0x42bf9c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0xc], 0x40ea94
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
call fcn.00412a76
pop ecx
pop ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp - 4], 0xffffffff
je 0x414d81
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
cmp dword [0x42c5d8], esi
je 0x414d81
push esi
push 0x2000000
push 3
push esi
push esi
push 0x100
push dword [ebp + 8]
call fcn.0040b6bd
mov ebx, eax
add esp, 0x1c
cmp ebx, 0xffffffff
je 0x414d81
lea eax, [ebp - 0x150]
push eax
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
call edi
mov ebx, dword [ebp + 8]
push 0x42c5f4
push ebx
call fcn.004129ec
mov edi, 0x42bfb8
cmp ebx, edi
pop ecx
pop ecx
je 0x414da3
push ebx
call fcn.00412c98
pop ecx
jmp 0x414dad
mov eax, dword [0x421d68]
cmp eax, dword [ebp + 0xc]
je 0x414dfa
cmp dword [0x421018], esi
je 0x414de1
call fcn.004086c1
call fcn.0040877d
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [0x42c5c0]
push ebx
call fcn.00408a67
add esp, 0xc
call fcn.00408c4c
cmp ebx, edi
je 0x414dfa
cmp dword [0x421018], esi
je 0x414df2
call fcn.004102af
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push esi
push eax
call fcn.0040aac5
pop ecx
xor eax, eax
pop ecx
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414e18
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor esi, esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x414e68
test al, 7
je 0x414e46
push esi
push edi
call ebx
cmp dword [0x42c5d8], esi
je 0x414e68
lea eax, [ebp - 0x274]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x414e68
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
push 0x8000080
push 2
push esi
push 3
push 0x40000000
push edi
call fcn.0040b729
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x414ee2
cmp dword [ebp + 0x10], esi
je 0x414ef7
cmp dword [ebp + 0xc], 0x4b0
jne 0x414ea4
push esi
lea eax, [ebp - 8]
push eax
push 2
push 0x41e9f4
jmp 0x414ed0
cmp dword [ebp + 0xc], 0x4b1
jne 0x414ebb
push esi
lea eax, [ebp - 8]
push eax
push 2
push 0x41e9f0
jmp 0x414ed0
cmp dword [ebp + 0xc], 0xfde9
jne 0x414edb
push esi
lea eax, [ebp - 8]
push eax
push 3
push 0x41e9ec
push edi
call fcn.0040b81e
add esp, 0x14
jmp 0x414ede
mov eax, dword [ebp - 8]
cmp eax, esi
jne 0x414ef7
cmp dword [ebp - 4], 0xffffffff
je 0x414ef0
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
xor eax, eax
jmp 0x415012
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x11
push 0x44a
push dword [0x42bf9c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0xc], 0x40ea94
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
call fcn.00412ace
pop ecx
pop ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp - 4], 0xffffffff
je 0x414f80
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
cmp dword [0x42c5d8], esi
je 0x414f80
push esi
push 0x2000000
push 3
push esi
push esi
push 0x100
push dword [ebp + 8]
call fcn.0040b729
mov ebx, eax
add esp, 0x1c
cmp ebx, 0xffffffff
je 0x414f80
lea eax, [ebp - 0x260]
push eax
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
call edi
mov ebx, dword [ebp + 8]
push 0x42c5f4
push ebx
call fcn.00412a31
mov edi, 0x42c0c0
cmp ebx, edi
pop ecx
pop ecx
je 0x414fa2
push ebx
call fcn.00412da1
pop ecx
jmp 0x414fac
mov eax, dword [0x421d68]
cmp eax, dword [ebp + 0xc]
je 0x414ff9
cmp dword [0x421018], esi
je 0x414fe0
call fcn.0040871f
call fcn.00408883
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [0x42c5c0]
push ebx
call fcn.00408b59
add esp, 0xc
call fcn.00408d58
cmp ebx, edi
je 0x414ff9
cmp dword [0x421018], esi
je 0x414ff1
call fcn.004103bf
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push esi
push eax
call fcn.0040ab24
pop ecx
xor eax, eax
pop ecx
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415017
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
je 0x4150e5
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x244]
push 0x41ea00
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4150ed
cmp byte [ebp - 0x114], 0x2e
jne 0x415089
cmp byte [ebp - 0x113], bl
je 0x4150cc
cmp byte [ebp - 0x113], 0x2e
jne 0x415089
cmp byte [ebp - 0x112], bl
je 0x4150cc
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x244]
push 0x41e9f8
push eax
call esi
add esp, 0x10
test byte [ebp - 0x140], 0x10
lea eax, [ebp - 0x244]
je 0x4150bf
push 1
push eax
call fcn.00415017
pop ecx
pop ecx
jmp 0x4150cc
push ebx
push ebx
push 3
push eax
call fcn.004143d7
add esp, 0x10
lea eax, [ebp - 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x415067
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x4150e8

Function at 0x4150f1
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
je 0x4151c3
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x458]
push str._s.
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4151cb
cmp word [ebp - 0x224], 0x2e
jne 0x415167
cmp word [ebp - 0x222], bx
je 0x4151aa
cmp word [ebp - 0x222], 0x2e
jne 0x415167
cmp word [ebp - 0x220], bx
je 0x4151aa
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x458]
push str._s_s
push eax
call esi
add esp, 0x10
test byte [ebp - 0x250], 0x10
lea eax, [ebp - 0x458]
je 0x41519d
push 1
push eax
call fcn.004150f1
pop ecx
pop ecx
jmp 0x4151aa
push ebx
push ebx
push 3
push eax
call fcn.004147f7
add esp, 0x10
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x415141
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x4151c6
Function at 0x415722
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
push edi
xor eax, eax
mov ebx, 0x42d510
push ebx
lea edi, [ebp - 8]
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x41ea3c
mov esi, 0x428e80
push esi
mov dword [ebp - 0xc], eax
call edi
add esp, 0xc
lea eax, [ebp - 0x14c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x4157e3
lea eax, [ebp - 0x120]
push eax
push ebx
push 0x41ea24
push esi
call edi
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp + 8], eax
je 0x4157c6
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0040ae26
lea eax, [ebp - 0x250]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x410a7d
push dword [ebp + 8]
call fcn.0040943d
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41576c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4157e8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
push ebx
push esi
push edi
xor eax, eax
mov ebx, 0x42d618
push ebx
lea edi, [ebp - 8]
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push str._sAkelFilesPlugs.dll
mov esi, 0x426110
push esi
mov dword [ebp - 0xc], eax
call edi
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x4158a9
lea eax, [ebp - 0x230]
push eax
push ebx
push str._sAkelFilesPlugs_s
push esi
call edi
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [ebp + 8], eax
je 0x41588c
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0040ae68
lea eax, [ebp - 0x464]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x410bc2
push dword [ebp + 8]
call fcn.0040943d
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x415832
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417eb4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push ebp
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x417f18
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
push esi
push edi
push 0xd
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x417eed
push esi
call edi
test eax, eax
je 0x417eed
push eax
push ebp
call fcn.0040fc49
jmp 0x417f05
push 1
call ebx
mov esi, eax
test esi, esi
je 0x417f0e
push esi
call edi
test eax, eax
je 0x417f0e
push eax
push ebp
call fcn.004156c5
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
ret

Function at 0x417f1a
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push dword [esp + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x417f5c
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x417f55
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x417f55
push eax
push dword [esp + 0xc]
call fcn.004156c5
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
ret
Function at 0x1002a4e0
Capabilities:
Create directory

Disassembly:
sub esp, 0x218
mov eax, dword [0x1003ec70]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x100433b4], 0
mov eax, dword [esp + 0x21c]
push esi
mov esi, dword [esp + 0x224]
je 0x1002a52c
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1002b4aa
add esp, 0x218
ret 8
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.1002a250
cmp dword [esp + 0x214], 0x104
jl 0x1002a564
push 0xa1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1002a571
push esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
cmp edx, eax
je 0x1002a596
mov ecx, edx
shr ecx, 0x10
test ecx, ecx
je 0x1002a596
cmp dword [esp + 4], 0xffffffff
je 0x1002a596
push edx
call fcn.1002dbc2
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1002b4aa
add esp, 0x218
ret 8

Function at 0x1002a6a0
Capabilities:
Delete file

Disassembly:
jmp 0x1002a6a0
sub esp, 0x218
mov eax, dword [0x1003ec70]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x100433b4], 0
mov eax, dword [esp + 0x21c]
je 0x1002a6e2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1002b4aa
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.1002a250
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
lea ecx, [esp + 0xc]
mov eax, dword [esp + 8]
cmp eax, ecx
je 0x1002a730
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x1002a730
cmp dword [esp + 4], 0xffffffff
je 0x1002a730
push eax
call fcn.1002dbc2
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1002b4aa
add esp, 0x218
ret 4

Function at 0x1002a910
Capabilities:
Get common file path

Disassembly:
sub esp, 0x21c
mov eax, dword [0x1003ec70]
xor eax, esp
mov dword [esp + 0x218], eax
cmp dword [0x100433b4], 0
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x224]
je 0x1002a95a
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.1002b4aa
add esp, 0x21c
ret 8
push esi
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.1002a040
mov eax, dword [esp + 0x218]
push dword [esp + 8]
add eax, eax
shr eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 4]
mov esi, eax
call fcn.1002a1e0
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
cmp edx, eax
je 0x1002a9ac
mov ecx, edx
shr ecx, 0x10
test ecx, ecx
je 0x1002a9ac
cmp dword [esp + 4], 0xffffffff
je 0x1002a9ac
push edx
call fcn.1002dbc2
add esp, 4
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1002b4aa
add esp, 0x21c
ret 8
Function at 0x1004d54a
Capabilities:
Encode data using xor

Disassembly:
call 0x1004d4c3
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 0x1004d4f3
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 0x1004d50f
xor edx, 0
jmp 0x1004d51a
xor edx, edx
jmp 0x1004d531
jmp 0x1004d53d
xor eax, eax
push 0x8427d7c0
call 0x1004d54a
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1004d586
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 0x1004d55f
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 0x1004d59d
add eax, 0
jno 0x1004d5a2
add esi, 0
ret 0x10

Function at 0x1004e30b
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 0x1004e32d
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 0x1004e4cf
cmp edi, dword [ebp + 0x10]
jb 0x1004e4cf
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.1004ddf7
inc edi
jmp 0x1004e3b6
jmp 0x1004e3c3
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004ddf7
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004ddf7
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 0x1004e417
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 0x1004e3fb
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1004e445
add dword [eax], 0x39
jle 0x1004e421
sub al, 0xf5
mov ch, al
call fcn.1004e45a
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x10050132
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 0x10050148
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 0x10050159
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1005019a
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 0x10052506
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 0x1005244f
add ebx, 0
push ecx
call 0x10052464
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, 0x100570e3
sub ebx, dword [0x10076922]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x10076912
call fcn.1004df2e
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1004d43c
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100525c2
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100525c2
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 0x10052579
mov eax, 1
lock xchg dword [0x1007691e], eax
push 0x3dd1fc71
call 0x10052506
push esi
add esp, 8
cmp eax, 0
jne 0x100524ef
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10052515
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1005252a
cmp ecx, edx
cmp eax, 0
je 0x1005254f
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 0x10052539
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10052568
dec eax
loope 0x1005256b
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x1007691e], 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 0x1005259f
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100525b4
jmp 0x100525bf
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100524ad
Function at 0x10059627
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 0x100598fd
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x10063596
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1005a55c
push 0xffffffffffffffff
call fcn.10050827
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 0x10059691
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100596a9
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 0x100598f1
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100598c5
Function at 0x100690f7
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 0x10069119
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10069119
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10069119
ret
cmp word [ebx + 4], 0x14c
jne 0x10069119
test word [ebx + 0x16], 2
je 0x10069119
test word [ebx + 0x16], 0x100
je 0x10069119
cmp word [ebx + 0x18], 0x10b
jne 0x10069119
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10069119
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100691a5
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10069139
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10050084
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10069119
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 0x100691a5
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 0x10069119
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10069119
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10069119
ret
cmp word [ebx + 4], 0x14c
jne 0x10069119
test word [ebx + 0x16], 2
je 0x10069119
test word [ebx + 0x16], 0x100
je 0x10069119
cmp word [ebx + 0x18], 0x10b
jne 0x10069119
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10069119
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100691a5
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10069139
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10050084
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10069119
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