joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431aae
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x431ad2
cmp dword [esi + 8], edi
jge 0x431aca
push esi
call fcn.0042d40b
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x431afb
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x431ade
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x431b15
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x431b06
xor dl, dl
jmp 0x431b0b
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x431afd
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x431b4a
push str.zlib_corrupt
call fcn.0042d334
add esp, 4
jmp 0x431b8a
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x431b5a
push str.read_past_buffer
jmp 0x431b40
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x431b74
push edi
push ecx
push esi
call fcn.00434677
add esp, 0xc
test eax, eax
je 0x431b8a
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004a5b90
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x43aa45
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x43ab04
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4da7b8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4da7b8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4da7b8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4da7b8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4da7b8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4da7b8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4da7b8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4da7b8]
sub edi, 1
jne 0x43aa5d
pop edi
test esi, esi
je 0x43ab20
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4da7b8]
inc edx
sub esi, 1
jne 0x43ab08
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x4630e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.00463100
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.004bfaf6

Function at 0x468600
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x468649
mov al, byte [esi]
push eax
call fcn.00474620
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x468627
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x469880
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x46989e
cmp dword [esi + 0x6c], 0
je 0x46989e
push 2
push 3
push esi
call fcn.00462f20
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00474c70
add esp, 4
test esi, esi
je 0x4698be
cmp dword [esi + 0x6c], 0
je 0x4698be
push 3
push esi
call fcn.00462f60
add esp, 8
pop esi
pop ebp
ret

Function at 0x472190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x1d0], 0
je 0x4721d4
push esi
push 1
push edi
call fcn.00464b70
push dword [edi + 0x15c]
mov eax, dword [edi + 0x1d0]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.00464b70
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x47220a
push dword [edi + 0x158]
lea eax, [eax + eax*2]
push 1
add eax, 0x4e4e70
push 2
push eax
call fcn.004b633b
push dword [edi + 0x158]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004b633b
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret
Function at 0x47f540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.004a907b
add esp, 0x18
test eax, eax
je 0x47f562
cmp eax, 0xffffffff
jne 0x47f564
xor eax, eax
pop ebp
ret
Function at 0x486c30
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [ecx - 0xc8]
mov edx, dword [edi]
cmp eax, 0x64
jb 0x486c5f
push 0x4e7ebc
push edx
call fcn.00472210
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebp
ret
cmp ecx, 0xc8
je 0x486c76
push ecx
push 0x4e7ed8
push edx
call fcn.004722f0
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x486c8d
push edi
call fcn.00486990
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x14
jne 0x486ca1
push edi
call fcn.004859f0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x15
jne 0x486cb5
push edi
call fcn.00486970
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x16
jne 0x486cc5
push edi
call fcn.00486b10
mov esi, eax
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x496db0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
pop ebp
ret
Function at 0x496ed0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x506384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x128], edi
mov eax, dword [edi + 8]
mov dword [ebp - 0x108], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x120], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x110], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x11c], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0xc]
add eax, 2
nop
movzx edx, byte [eax - 2]
lea eax, [eax + 4]
movzx ecx, byte [eax - 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 3]
shl edx, 8
or edx, ecx
mov dword [ebp + esi*4 - 0x104], edx
inc esi
cmp esi, 0x10
jl 0x496f40
lea ebx, [ebp - 0xcc]
mov edi, 0x30
nop word [eax + eax]
mov ecx, dword [ebx - 0x34]
lea ebx, [ebx + 4]
mov edx, dword [ebx - 4]
mov esi, ecx
mov eax, ecx
rol esi, 0xe
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub edi, 1
jne 0x496f80
mov edi, dword [ebp - 0x128]
xor ebx, ebx
mov ecx, dword [ebp - 0x11c]
nop dword [eax]
mov esi, dword [ebp - 0x108]
mov edx, ecx
mov eax, ecx
ror edx, 0xb
rol eax, 7
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 0x114]
xor eax, dword [ebp - 0x118]
and eax, ecx
mov ecx, esi
xor eax, dword [ebp - 0x118]
add edx, eax
ror ecx, 0xd
add edx, dword [ebx + 0x4ebc10]
mov eax, esi
add edx, dword [ebp + ebx - 0x104]
add ebx, 4
add edx, dword [ebp - 0x124]
add dword [ebp - 0x10c], edx
rol eax, 0xa
xor ecx, eax
mov eax, esi
ror eax, 2
xor ecx, eax
mov eax, dword [ebp - 0x120]
mov esi, eax
add ecx, edx
and eax, dword [ebp - 0x108]
or esi, dword [ebp - 0x108]
and esi, dword [ebp - 0x110]
mov edx, dword [ebp - 0x108]
or esi, eax
mov eax, dword [ebp - 0x118]
add esi, ecx
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x108], esi
cmp ebx, 0x100
jl 0x496fd0
add dword [edi + 8], esi
add dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10c]
add dword [edi + 0x14], eax
mov eax, dword [ebp - 0x114]
add dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x118]
add dword [edi + 0x20], eax
add dword [edi + 0x18], ecx
mov eax, dword [ebp - 0x124]
add dword [edi + 0x24], eax
xor eax, eax
add dword [edi + 0xc], edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a27ce
mov esp, ebp
pop ebp
ret
Function at 0x497e00
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x506318]
mov edi, eax
add esp, 4
test edi, edi
jne 0x497e2d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x497e74
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x497e7a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x497edb
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x497ea0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x497f07
mov eax, dword [esi + 4]
push 1
push 0x4ebe16
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x4ebe17
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x497ee0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c541d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c529c
Function at 0x302d5b0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x302d5c7
push 0x57
call fcn.03059330
jmp 0x302d624
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x302d5ea
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jae 0x302d622
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x302d617
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 0x10], ecx
jae 0x302d617
mov eax, dword [ebp - 4]
jmp 0x302d624
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x302d5e1
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x3037260
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x14], 0
jne 0x3037286
cmp dword [ebp + 0x18], 0
je 0x303727a
cmp dword [ebp + 0x1c], 0
jne 0x3037286
push 0x57
call fcn.03059330
jmp 0x30373d5
mov eax, dword [ebp + 8]
push eax
call fcn.03059330
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x30372a4
push 6
call fcn.03059330
jmp 0x30373d5
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.03059330
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x30372cc
push 0x7e
call fcn.03059330
jmp 0x30373d5
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x303738b
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 0x14]
push ecx
call dword [0x31185fc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x303730e
push 0x57
call fcn.03059330
jmp 0x30373d5
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_GetFileSize]
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0x1c], 0
jne 0x3037339
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x57
call fcn.03059330
jmp 0x30373d5
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.03059330
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x303737f
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x303737f
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x1c]
je 0x303737f
mov ecx, dword [ebp - 4]
push ecx
call fcn.03059330
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x30373b1
mov eax, dword [ebp + 0x1c]
push eax
call fcn.03059330
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x30373b1
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x30373c0
push 0x57
call fcn.03059330
jmp 0x30373d5
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.03059330
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100a7706
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100a7715
pop dword [ebp - 0x28]
mov eax, 0x100a7715
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xc5462a64
sub dword [ebp - 0x38], 0x76f3e519
mov dword [ebp - 0x34], 0x748ae7a1
add dword [ebp - 0x34], 0xbda864a4
mov dword [ebp - 0x30], 0x3f7b536f
sub dword [ebp - 0x30], 0xf32f0f41
mov dword [ebp - 0x2c], 0xf8b3ce1e
add dword [ebp - 0x2c], 0x74c31e2
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xf3d3d5ee
add dword [ebp - 0x38], 0x809e9368
mov dword [ebp - 0x34], 0x3c1ec06
add dword [ebp - 0x34], 0x3daa756f
mov dword [ebp - 0x30], 0x8f7497c9
sub dword [ebp - 0x30], 0x2c052b5d
mov dword [ebp - 0x2c], 0x7b3f96d
sub dword [ebp - 0x2c], 0x7b3f96d
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x6a0ef
push 0
call eax
mov ecx, 0x83e7a5da
sub ecx, 0x83e75630
xor esi, esi
add esi, eax
mov edi, 0x101d86e1
sub edi, 0xffa212e1
add edi, dword [ebp - 0x28]
mov edx, 0xe0ef0356
add edx, 0x93c727cc
xor dword [ebp - 0x18], 0x790e82bc
mov ebx, dword [edi]
mov dword [ebp - 0x24], 0xd6ed160d
xor ebx, edx
xor dword [ebp - 0x14], 0xbf6515d1
mov dword [esi], ebx
sub dword [ebp - 0x20], 0x5de2a42f
add esi, 0xc6aa729b
add esi, 0x39558d69
add edi, 4
loop 0x100a782a
add eax, 0x1317b
xor ebx, ebx
add ebx, eax
add eax, 0xc26d211c
add eax, 0x3d92dee9
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x40fb23
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0x20
mov eax, 0x450ef7
call fcn.00421b67
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
call fcn.004037a4
push eax
lea ecx, [ebp - 0x14]
call fcn.0040216e
mov esi, str.FQ
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
push esi
push eax
call fcn.0040fe8d
pop ecx
pop ecx
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00404f20
push eax
lea ecx, [ebp - 0x18]
call fcn.0040221f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00404a45
mov dword [ebp - 0x10], ebx
call fcn.004037a4
push eax
lea ecx, [ebp - 0x10]
call fcn.0040216e
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push esi
push eax
call fcn.0040fe8d
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
push ecx
push ebx
mov ecx, eax
call fcn.00404f20
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00418bdd
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0040dd87
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00403c62
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00404a45
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x40fc73
cmp dword [esi - 0xc], 0
lea ecx, [ebp - 0x10]
jne 0x40fc05
lea eax, [ebp - 0x14]
push eax
call fcn.0040dd87
mov esi, dword [ebp - 0x10]
jmp 0x40fc2a
push edi
call fcn.0040ed11
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40fc1e
test al, 0x10
jne 0x40fc2a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40fc63
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
call fcn.00418bdd
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0040dd87
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.00403c62
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], ebx
jne 0x40fbee
jmp 0x40fc73
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0xb7
cmovne ebx, eax
lea ecx, [esi - 0x10]
call fcn.00403c62
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00403c62
lea ecx, [edi - 0x10]
call fcn.00403c62
mov eax, ebx
call fcn.00421b35
ret
Function at 0x40fd75
Capabilities:
Encode data using xor

Disassembly:
push 0xac
mov eax, 0x450f69
call fcn.00421b9a
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov ebx, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
call fcn.004021db
mov edi, ebx
xor eax, eax
xor ecx, ecx
xor edx, edx
inc ecx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x2c], ecx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 3
push dword [ebp - 0x24]
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb8], eax
call fcn.00403870
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push dword [ebp - 0xb8]
call fcn.00402197
call fcn.004104f4
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 2
pop ecx
pop ecx
cmp dword [ebp - 0xb8], eax
je 0x40fe2c
push dword [ebp - 0xb8]
call fcn.0041ecf3
pop ecx
mov ebx, dword [ebp - 0x18]
xor edi, edi
mov eax, dword [ebp - 0x1c]
sub ebx, eax
je 0x40fe61
mov al, byte [eax + edi]
xor al, byte [esi + str.IFNOEODUMVVPCVHBZMEGFJUCZWIKGF]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x1d]
push eax
call fcn.0041ce2a
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, ebx
jb 0x40fe38
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x1d]
push eax
mov byte [ebp - 0x1d], 0
call fcn.0041ce2a
lea ecx, [ebp - 0x1c]
call fcn.00404a45
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00403c62
mov eax, dword [ebp - 0x28]
call fcn.00421b49
ret
Function at 0x40fe8d
Capabilities:
Encode data using xor

Disassembly:
push 0xa8
mov eax, 0x450648
call fcn.00421b9a
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov ebx, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
call fcn.0040221f
mov edi, ebx
xor eax, eax
xor ecx, ecx
xor edx, edx
inc ecx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x2c], ecx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 3
push dword [ebp - 0x24]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], eax
call fcn.00403870
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push dword [ebp - 0xb4]
call fcn.00402197
call fcn.004104f4
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 2
pop ecx
pop ecx
cmp dword [ebp - 0xb4], eax
je 0x40ff44
push dword [ebp - 0xb4]
call fcn.0041ecf3
pop ecx
mov edi, dword [ebp - 0x18]
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
sub edi, eax
je 0x40ff82
movzx ecx, byte [eax + ebx]
movsx ax, byte [esi + str.IFNOEODUMVVPCVHBZMEGFJUCZWIKGF]
xor cx, ax
movzx eax, cx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040677c
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
mov eax, dword [ebp - 0x1c]
inc ebx
cmp ebx, edi
jb 0x40ff50
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
and dword [ebp - 0x20], 0
push eax
call fcn.0040677c
lea ecx, [ebp - 0x1c]
call fcn.00404a45
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00403c62
mov eax, dword [ebp - 0x28]
call fcn.00421b49
ret