joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1013e51f
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
ja 0x1013e531
xor eax, eax
jmp 0x1013e5d1
cmp dword [esi + 0x20014], ebx
jle 0x1013e540
mov ecx, esi
call fcn.1013e0a4
mov eax, dword [esi + 0x20008]
mov edx, 0x10000
cmp eax, edx
push edi
jg 0x1013e5c2
cmp eax, ebx
jl 0x1013e5c2
mov ecx, dword [esi + 0x20014]
cmp ecx, eax
jg 0x1013e566
cmp ecx, edx
jge 0x1013e566
cmp ecx, ebx
jge 0x1013e572
mov dword [esi + 0x20008], ebx
mov dword [esi + 0x20014], ebx
mov ecx, dword [esi + 0x20014]
mov eax, dword [esi + 0x20008]
push ebx
sub eax, ecx
push eax
lea eax, [ecx + esi + 8]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
je 0x1013e59f
add dword [esi + 0x20014], edi
jmp 0x1013e5a5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov eax, dword [esi + 0x20014]
cmp eax, dword [esi + 0x20008]
jl 0x1013e5bd
cmp edi, 0xffffffff
je 0x1013e5bd
xor eax, eax
inc eax
jmp 0x1013e5c4
xor eax, eax
inc eax
jmp 0x1013e5d0
xor eax, eax
mov dword [esi + 0x20008], ebx
mov dword [esi + 0x20014], ebx
pop edi
pop esi
pop ebx
ret

Function at 0x10144e68
Capabilities:
Delete file

Disassembly:
mov eax, 0x101872ea
call fcn.10166ba4
sub esp, 0x494
mov eax, dword [0x101cb280]
mov ecx, dword [0x10a1f7a4]
push 3
mov dword [ebp - 0x10], eax
push 0x66
lea eax, [ebp - 0x4a0]
push eax
call fcn.10096c3d
and dword [ebp - 4], 0
mov ecx, eax
call fcn.10152000
push eax
lea ecx, [ebp - 0x180]
call fcn.101521f0
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 2
call fcn.101521c0
lea ecx, [ebp - 0x180]
call fcn.10152010
test al, al
je 0x10144edf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.101521c0
jmp 0x10144f93
push esi
mov esi, str.._system_SaveID.bin
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x3a0]
call fcn.10153770
push 0x16
push esi
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 3
call fcn.10153c90
test al, al
je 0x10144f74
lea ecx, [ebp - 0x180]
call fcn.10151ff0
mov esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x180]
call fcn.10152000
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10166e90
push 0x35
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10165d70
add esp, 0x18
xor eax, eax
test esi, esi
jle 0x10144f58
mov cl, byte [ebp + eax - 0x80]
not cl
mov byte [ebp + eax - 0x48], cl
inc eax
cmp eax, esi
jl 0x10144f49
push 0x35
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3a0]
call fcn.10153980
lea ecx, [ebp - 0x3a0]
call fcn.101537b0
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 2
call fcn.10153c40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.101521c0
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10165cbe
leave
ret
Function at 0x10146dc5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x10187433
call fcn.10166ba4
sub esp, 0x30c
cmp byte [ecx], 1
mov eax, dword [0x101cb280]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x314], ecx
je 0x10147016
cmp dword [0x10a19d54], 5
jne 0x10147016
lea ecx, [ebp - 0x210]
call fcn.101521d0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x310]
call fcn.101521d0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.101521d0
mov eax, dword [0x10a1f6bc]
mov eax, dword [eax + 0x1144]
sub eax, 0
mov byte [ebp - 4], 2
je 0x10146eed
dec eax
je 0x10146ec6
dec eax
je 0x10146e9f
dec eax
je 0x10146e78
dec eax
jne 0x10146f1d
push str.systemTantraParam_5.tpa
lea ecx, [ebp - 0x210]
call fcn.101520c0
push str.systemHTQuest_5.sys
lea ecx, [ebp - 0x310]
call fcn.101520c0
push str.systemHTScript_5.sys
jmp 0x10146f12
push str.systemTantraParam_4.tpa
lea ecx, [ebp - 0x210]
call fcn.101520c0
push str.systemHTQuest_4.sys
lea ecx, [ebp - 0x310]
call fcn.101520c0
push str.systemHTScript_4.sys
jmp 0x10146f12
push str.systemTantraParam_3.tpa
lea ecx, [ebp - 0x210]
call fcn.101520c0
push str.systemHTQuest_3.sys
lea ecx, [ebp - 0x310]
call fcn.101520c0
push str.systemHTScript_3.sys
jmp 0x10146f12
push str.systemTantraParam_2.tpa
lea ecx, [ebp - 0x210]
call fcn.101520c0
push str.systemHTQuest_2.sys
lea ecx, [ebp - 0x310]
call fcn.101520c0
push str.systemHTScript_2.sys
jmp 0x10146f12
push str.systemTantraParam_1.tpa
lea ecx, [ebp - 0x210]
call fcn.101520c0
push str.systemHTQuest_1.sys
lea ecx, [ebp - 0x310]
call fcn.101520c0
push str.systemHTScript_1.sys
lea ecx, [ebp - 0x110]
call fcn.101520c0
push ebx
push esi
lea ecx, [ebp - 0x210]
mov bl, 1
call fcn.10152000
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call esi
cmp eax, 0xffffffff
jne 0x10146f3c
xor bl, bl
lea ecx, [ebp - 0x310]
call fcn.10152000
push eax
call esi
cmp eax, 0xffffffff
jne 0x10146f51
xor bl, bl
lea ecx, [ebp - 0x110]
call fcn.10152000
push eax
call esi
cmp eax, 0xffffffff
jne 0x10146f66
xor bl, bl
cmp bl, 1
jne 0x10146fde
mov ecx, dword [0x10a1f6c0]
test ecx, ecx
je 0x10146f83
mov esi, ecx
call fcn.1000e2cb
push esi
call fcn.10166fb4
pop ecx
and dword [0x10a1f6c0], 0
push 0x1e4
call fcn.101656a0
pop ecx
mov dword [ebp - 0x318], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x10146fac
mov ecx, eax
call fcn.1000ea15
jmp 0x10146fae
xor eax, eax
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [0x10a1f6c0], eax
call fcn.1000f09d
mov ecx, dword [0x10a1f6c0]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.1000f3ba
mov eax, dword [ebp - 0x314]
lea ecx, [ebp - 0x110]
mov byte [eax], 1
mov byte [ebp - 4], 1
call fcn.101521c0
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 0
call fcn.101521c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.101521c0
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10165cbe
leave
ret
Function at 0x10153ad0
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x204
push ebp
push esi
push edi
mov edx, ecx
xor eax, eax
mov word [esp + 0x10], 0x5c
mov ecx, 0x3f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x214]
stosw word es:[edi], ax
lea eax, [esp + 0x110]
push eax
lea esi, [edx + 8]
lea ebp, [edx + 0x108]
push str.PATH
push ecx
mov dword [esp + 0x18], esi
mov byte [esi], 0
mov byte [ebp], 0
call fcn.1016c423
add esp, 0xc
lea edx, [esp + 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
jne 0x10153b5d
lea eax, [esp + 0x110]
mov edx, ebp
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10153b42
pop edi
mov word [esi], 0x5c
pop esi
pop ebp
add esp, 0x204
ret 4
cmp eax, 0xffffffff
je 0x10153c32
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x114]
push eax
call fcn.1016a009
add esp, 8
mov edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x10153b80
lea ecx, [esp + 0x10]
push ecx
push 0
call fcn.1016a009
add esp, 8
test eax, eax
je 0x10153c32
push ebx
jmp 0x10153ba8
mov esi, dword [esp + 0x10]
mov ecx, esi
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10153bb0
sub ecx, esi
mov edi, ebp
mov edx, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10153bc0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov edx, ecx
lea esp, [esp]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x10153be0
sub ecx, edx
mov edi, ebp
mov esi, edx
mov edx, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10153bf0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10153c10
lea edx, [esp + 0x14]
push edx
push 0
call fcn.1016a009
add esp, 8
test eax, eax
jne 0x10153ba4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x204
ret 4
Function at 0x101585d0
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x864
mov eax, dword [0x101cb280]
push ebx
mov dword [esp + 0x864], eax
mov eax, dword [ecx + 4]
xor ebx, ebx
cmp eax, ebx
push esi
push edi
jne 0x1015860b
xor eax, eax
mov ecx, dword [esp + 0x86c]
call fcn.10165cbe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax*4 + 0x101c5e20]
push ecx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, byte [0x1018dc66]
mov byte [esp + 0x68], al
xor eax, eax
mov ecx, 0x1ff
lea edi, [esp + 0x69]
rep stosd dword es:[edi], eax
push 0xf0000000
push 1
push ebx
stosw word es:[edi], ax
push ebx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10158768
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10158758
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10158690
sub eax, edx
mov edx, dword [esp + 0x10]
push ebx
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10158747
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push 1
push ecx
push 0x6801
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x10158747
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x6c]
push edx
push ebx
push 1
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x10158714
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x68]
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x10158730
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x1015875c
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x1015875c
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x86c]
mov eax, dword [esp + 0xc]
call fcn.10165cbe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10158a20
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
push 1
push 0
mov esi, ecx
push 0
lea eax, [esp + 0x18]
push eax
mov dword [esi], 0x1019de8c
mov dword [esi + 4], 0
call edi
test eax, eax
jne 0x10158a68
push 8
push 1
push eax
push eax
lea ecx, [esp + 0x18]
push ecx
call edi
test eax, eax
jne 0x10158a68
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
pop ecx
ret
mov edx, dword [esp + 8]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 1
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x10158fa0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, 0x48
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esp + 8], 0
mov dword [esi], eax
mov dword [esi + 0x24], 0x1111ff1f
mov dword [esi + 0x38], eax
lea ecx, [esi + 0xf8]
mov dword [ecx], eax
inc eax
add ecx, 4
cmp eax, 0xa
jb 0x10158fcc
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0xa0], eax
jne 0x1015900f
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x10159006
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 1
pop edi
mov eax, 1
pop esi
pop ecx
ret
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x1015b0a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xa4], eax
jne 0x10159050
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x10159047
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 4
pop edi
mov eax, 1
pop esi
pop ecx
ret
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x10159060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019de90
push 0x10165b44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x6f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xbf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dl, 0x58
mov byte [ebp - 0x70], dl
mov byte [ebp - 0x6f], 0x54
mov cl, 0x72
mov byte [ebp - 0x6e], cl
mov al, 0x61
mov byte [ebp - 0x6d], al
mov byte [ebp - 0x6c], 0x70
mov byte [ebp - 0x6b], 0x56
mov byte [ebp - 0x6a], al
mov byte [ebp - 0x69], 0x2e
mov byte [ebp - 0x68], 0x64
mov al, 0x6c
mov byte [ebp - 0x67], al
mov byte [ebp - 0x66], al
mov byte [ebp - 0x65], bl
mov byte [ebp - 0xc0], dl
mov byte [ebp - 0xbf], 0x50
mov byte [ebp - 0xbe], cl
mov byte [ebp - 0xbd], 0x6f
mov byte [ebp - 0xbc], 0x63
mov byte [ebp - 0xbb], 0x34
mov byte [ebp - 0xba], bl
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x101591d2
lea edx, [ebp - 0xc0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x101591d2
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x2c]
push ecx
call eax
add esp, 0x14
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
je 0x101591cb
not eax
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x78]
push edx
call eax
add esp, 0x14
mov eax, dword [ebp - 0x74]
mov dword [0x10a6dba0], eax
mov ecx, dword [ebp - 0x78]
mov dword [0x10a6dba4], ecx
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10159ada
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0x202
mov dword [esi], 0x1019de9c
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x10159b00
cmp byte [esp + 4], 2
jne 0x10159b00
mov dword [esi + 8], 0xffffffff
mov eax, esi
pop esi
add esp, 0x190
ret
Function at 0x1015bc10
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x10a6e4d8
push 8
push edi
call fcn.1015bc70
add esp, 8
mov edx, 8
shl eax, 0x18
mov dword [esi], eax
mov ebx, eax
mov ecx, ebx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
dec edx
mov ebx, eax
jne 0x1015bc31
push 0x20
push eax
mov dword [esi], ebx
call fcn.1015bc70
mov dword [esi], eax
add esp, 8
add esi, 4
inc edi
cmp esi, 0x10a6e8d4
jle 0x1015bc1a
pop edi
pop esi
pop ebx
ret

Function at 0x1015bca0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
or eax, 0xffffffff
test edx, edx
je 0x1015bcd3
push ebx
push esi
lea esi, [edx]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10a6e4d8]
xor eax, edx
inc ecx
dec esi
jne 0x1015bcb3
pop esi
pop ebx
not eax
ret

Function at 0x1015bd40
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebx
push esi
push edi
xor esi, esi
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x150]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1015bd82
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x140
ret
mov edi, dword [esp + 0x154]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [edi], 1
lea edx, [esp + 0x10]
push edx
push ebx
call ebp
test eax, eax
jne 0x1015bdad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1015bdb8
mov edx, dword [edi]
inc edx
inc esi
cmp esi, 0x64
mov dword [edi], edx
jl 0x1015bd96
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x140
ret

Function at 0x1015bde0
Capabilities:
Create thread

Disassembly:
push ecx
push 0
push 0
push 0
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
jne 0x1015be19
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x10a6e47c]
mov dword [ecx + 4], eax
mov edx, dword [0x10a6e47c]
mov dword [edx + 8], 0x2005
pop ecx
ret
mov dword [0x10a6e45c], eax
lea eax, [esp]
push eax
push 0
push 0
push 0x1015be70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x1015be58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x10a6e47c]
mov dword [ecx + 4], eax
mov edx, dword [0x10a6e47c]
mov dword [edx + 8], 0x2006
pop ecx
ret
mov dword [0x10a6e458], eax
mov eax, dword [esp + 8]
mov dword [eax + 0x24], 2
pop ecx
ret
Function at 0x1015c6b0
Capabilities:
Create thread

Disassembly:
push ecx
push 0
push 0
push 0
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
jne 0x1015c6e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x10a6e47c]
mov dword [ecx + 4], eax
mov edx, dword [0x10a6e47c]
mov dword [edx + 8], 0x2005
pop ecx
ret
mov dword [0x10a6e468], eax
lea eax, [esp]
push eax
push 0
push 0
push 0x1015c740
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x1015c728
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x10a6e47c]
mov dword [ecx + 4], eax
mov edx, dword [0x10a6e47c]
mov dword [edx + 8], 0x2006
pop ecx
ret
mov dword [0x10a6e464], eax
mov eax, dword [esp + 8]
mov dword [eax + 0x24], 2
pop ecx
ret

Function at 0x1015f590
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
cdq
and edx, 0xf
add eax, edx
sar eax, 4
test eax, eax
jle 0x1015f641
mov ecx, dword [esp + 0x2c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
sub edi, ecx
mov esi, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], eax
jmp 0x1015f5c6
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
add edi, esi
mov ebp, 4
xor eax, eax
mov ebx, dword [ecx]
xor edx, edx
mov dl, byte [edi + eax]
shl ebx, 8
xor edx, ebx
inc eax
cmp eax, 4
mov dword [ecx], edx
jl 0x1015f5d3
add ecx, 4
add edi, 4
dec ebp
jne 0x1015f5d1
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.1015d2d0
add esp, 0xc
lea ebp, [esp + 0x20]
mov edx, 4
mov edi, dword [ebp]
xor eax, eax
mov ecx, 0x18
mov ebx, edi
sub ecx, eax
add eax, 8
shr ebx, cl
inc esi
cmp eax, 0x20
mov byte [esi - 1], bl
jl 0x1015f615
add ebp, 4
dec edx
jne 0x1015f610
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
jne 0x1015f5c2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x1015f650
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
cdq
and edx, 0xf
add eax, edx
sar eax, 4
test eax, eax
jle 0x1015f701
mov ecx, dword [esp + 0x2c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
sub edi, ecx
mov esi, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], eax
jmp 0x1015f686
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
add edi, esi
mov ebp, 4
xor eax, eax
mov ebx, dword [ecx]
xor edx, edx
mov dl, byte [edi + eax]
shl ebx, 8
xor edx, ebx
inc eax
cmp eax, 4
mov dword [ecx], edx
jl 0x1015f693
add ecx, 4
add edi, 4
dec ebp
jne 0x1015f691
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.1015e400
add esp, 0xc
lea ebp, [esp + 0x20]
mov edx, 4
mov edi, dword [ebp]
xor eax, eax
mov ecx, 0x18
mov ebx, edi
sub ecx, eax
add eax, 8
shr ebx, cl
inc esi
cmp eax, 0x20
mov byte [esi - 1], bl
jl 0x1015f6d5
add ebp, 4
dec edx
jne 0x1015f6d0
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
jne 0x1015f682
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x1015f710
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x38]
mov dword [esp], 0x12345678
cdq
and edx, 0xf
mov dword [esp + 4], 0x56785678
add eax, edx
mov dword [esp + 8], 0x9abc5678
sar eax, 4
test eax, eax
mov dword [esp + 0xc], 0xdeff5678
jle 0x1015f7e7
mov ecx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x38]
push ebp
push esi
push edi
mov esi, ecx
sub ebx, ecx
mov dword [esp + 0x48], eax
lea edi, [ebx + esi]
xor ecx, ecx
xor eax, eax
mov ebp, dword [esp + ecx + 0x20]
xor edx, edx
mov dl, byte [edi + eax]
shl ebp, 8
xor edx, ebp
inc eax
cmp eax, 4
mov dword [esp + ecx + 0x20], edx
jl 0x1015f763
mov eax, edx
mov edx, dword [esp + ecx + 0x10]
xor edx, eax
add edi, 4
mov dword [esp + ecx + 0x10], edx
add ecx, 4
cmp ecx, 0x10
jl 0x1015f761
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call fcn.1015d2d0
add esp, 0xc
xor ebp, ebp
mov edi, dword [esp + ebp + 0x30]
xor eax, eax
mov dword [esp + ebp + 0x10], edi
mov ecx, 0x18
mov edx, edi
sub ecx, eax
add eax, 8
shr edx, cl
inc esi
cmp eax, 0x20
mov byte [esi - 1], dl
jl 0x1015f7b5
add ebp, 4
cmp ebp, 0x10
jl 0x1015f7ab
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x48], eax
jne 0x1015f75c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x1015f7f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [esp + 0x48]
mov dword [esp], 0x12345678
cdq
and edx, 0xf
mov dword [esp + 4], 0x56785678
add eax, edx
mov dword [esp + 8], 0x9abc5678
sar eax, 4
test eax, eax
mov dword [esp + 0xc], 0xdeff5678
jle 0x1015f8d5
mov ecx, dword [esp + 0x4c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
sub esi, ecx
mov edi, ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], eax
jmp 0x1015f846
mov esi, dword [esp + 0x5c]
lea ecx, [esp + 0x20]
add esi, edi
mov ebp, 4
xor eax, eax
mov ebx, dword [ecx]
xor edx, edx
mov dl, byte [esi + eax]
shl ebx, 8
xor edx, ebx
inc eax
cmp eax, 4
mov dword [ecx], edx
jl 0x1015f853
add ecx, 4
add esi, 4
dec ebp
jne 0x1015f851
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.1015e400
add esp, 0xc
xor esi, esi
mov eax, dword [esp + esi + 0x30]
mov ecx, dword [esp + esi + 0x10]
xor eax, ecx
mov ecx, dword [esp + esi + 0x20]
mov dword [esp + esi + 0x40], eax
mov ebp, eax
mov dword [esp + esi + 0x10], ecx
xor eax, eax
mov ecx, 0x18
mov edx, ebp
sub ecx, eax
add eax, 8
shr edx, cl
inc edi
cmp eax, 0x20
mov byte [edi - 1], dl
jl 0x1015f8a3
add esi, 4
cmp esi, 0x10
jl 0x1015f889
mov eax, dword [esp + 0x58]
dec eax
mov dword [esp + 0x58], eax
jne 0x1015f842
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret