joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4019e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40b068]
test esi, esi
jle 0x401b00
mov eax, dword [0x40b06c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x401a14
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401a97
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401a00
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401b27
mov eax, dword [0x40b06c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x40b06c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401b07
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401a90
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x401aa0
add dword [0x40b068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x40b06c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401a90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x401a1e
mov eax, dword [0x40b06c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop

Function at 0x401fe0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x40b084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40b07c]
sub esp, 4
test ebx, ebx
je 0x402035
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40202e
test esi, esi
je 0x40202e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402010
mov dword [esp], 0x40b084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x406cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x653ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
call fcn.004a6860
mov dword [esi + 0x6d9e30], eax
add esi, 4
cmp esi, 0x10
jb 0x406cd3
push 0
push 0x4a
call fcn.00407200
push 1
push 0x79
mov byte [ebp - 0x28], al
call fcn.00407200
push 2
push 0x54
mov byte [ebp - 0x27], al
call fcn.00407200
push 3
push 0x78
mov byte [ebp - 0x26], al
call fcn.00407200
push 4
push 0x74
mov byte [ebp - 0x25], al
call fcn.00407200
push 5
push 0x48
mov byte [ebp - 0x24], al
call fcn.00407200
push 6
push 0x6c
mov byte [ebp - 0x23], al
call fcn.00407200
push 7
push 0x6a
mov byte [ebp - 0x22], al
call fcn.00407200
add esp, 0x40
mov byte [ebp - 0x21], al
push 8
push 0x48
call fcn.00407200
push 9
push 0x4a
mov byte [ebp - 0x20], al
call fcn.00407200
push 0xa
push 0x6c
mov byte [ebp - 0x1f], al
call fcn.00407200
push 0xb
push 0x56
mov byte [ebp - 0x1e], al
call fcn.00407200
push 0xc
push 0x4a
mov byte [ebp - 0x1d], al
call fcn.00407200
push 0xd
push 0x48
mov byte [ebp - 0x1c], al
call fcn.00407200
push 0xe
push 0x6f
mov byte [ebp - 0x1b], al
call fcn.00407200
push 0xf
push 0x72
mov byte [ebp - 0x1a], al
call fcn.00407200
add esp, 0x40
mov byte [ebp - 0x19], al
push 0x10
push 0x52
call fcn.00407200
push 0x11
push 0x4d
mov byte [ebp - 0x18], al
call fcn.00407200
push 0x12
push 0x33
mov byte [ebp - 0x17], al
call fcn.00407200
push 0x13
push 0x30
mov byte [ebp - 0x16], al
call fcn.00407200
push 0x14
push 0x31
mov byte [ebp - 0x15], al
call fcn.00407200
push 0x15
push 0x76
mov byte [ebp - 0x14], al
call fcn.00407200
push 0x16
push 0x66
mov byte [ebp - 0x13], al
call fcn.00407200
push 0x17
push 0x40
mov byte [ebp - 0x12], al
call fcn.00407200
add esp, 0x40
mov byte [ebp - 0x11], al
push 0x18
push 0x34
call fcn.00407200
push 0x19
push 0x66
mov byte [ebp - 0x10], al
call fcn.00407200
push 0x1a
push 0x76
mov byte [ebp - 0xf], al
call fcn.00407200
push 0x1b
push 0x6a
mov byte [ebp - 0xe], al
call fcn.00407200
push 0x1c
push 0x31
mov byte [ebp - 0xd], al
call fcn.00407200
push 0x1d
push 0x30
mov byte [ebp - 0xc], al
call fcn.00407200
push 0x1e
push 0x2d
mov byte [ebp - 0xb], al
call fcn.00407200
push 0x1f
push 0x76
mov byte [ebp - 0xa], al
call fcn.00407200
add esp, 0x40
mov byte [ebp - 9], al
mov byte [ebp - 8], 0
xor eax, eax
pop esi
nop dword [eax]
lea ecx, [eax + 0x30]
xor byte [ebp + eax - 0x28], cl
inc eax
cmp eax, 0x20
jb 0x406e80
push 0x10
lea eax, [ebp - 0x28]
mov byte [ebp - 8], 0
push eax
push 0x6d9e30
push 0x6d9e14
call fcn.004a6cc0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret
Function at 0x408e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x653ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
mov esi, ecx
push eax
push 3
call fcn.004b53c0
test al, al
je 0x408f50
mov ecx, esi
call fcn.004b5310
movzx ecx, word [ebp - 0x1f]
cmp ecx, eax
jg 0x408f50
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push 7
call fcn.004b5590
test al, al
je 0x408e8c
mov eax, dword [ebp - 0x2b]
mov ecx, dword [ebp - 0x29]
add eax, 0xfffffff9
movzx ebx, ax
push ebx
mov dword [ebp - 0x24], ecx
call fcn.00553626
add esp, 4
mov edi, eax
mov ecx, esi
push edi
push ebx
call fcn.004b5590
test al, al
jne 0x408e9f
push edi
call fcn.0055362f
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret
cmp dword [0x657750], 0x10
mov eax, 0x65773c
cmovae eax, dword [0x65773c]
push eax
call fcn.004a7210
mov ecx, dword [ebp - 0x24]
add esp, 4
call fcn.00407f70
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407310
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x61eb9c
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.00583766
mov esi, eax
add esp, 8
test esi, esi
jne 0x408eef
xor bl, bl
jmp 0x408f04
push esi
push 1
push ebx
push edi
call fcn.0058399c
push esi
call fcn.00583a76
add esp, 0x14
mov bl, 1
push edi
call fcn.0055362f
mov edx, dword [ebp - 8]
add esp, 4
cmp edx, 0x10
jb 0x408f3d
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408f33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f63
push edx
push ecx
call fcn.00553618
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00553607
mov esp, ebp
pop ebp
ret
call fcn.0058352a
int3
Function at 0x409d10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 1
call dword [fcn.005f4064]
push dword [ebp - 4]
call dword [fcn.005f4034]
push 0x600
call dword [fcn.005f4030]
push 0x602
call dword [fcn.005f4038]
mov edi, dword [ebp + 8]
push edi
push 0
call dword [fcn.005f403c]
test al, al
jne 0x409d66
mov eax, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [eax], 2
xor al, al
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [fcn.005f4040]
push 0xde4
call esi
cmp eax, 0x40
je 0x409d8d
mov eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov dword [eax], 3
xor al, al
mov esp, ebp
pop ebp
ret 8
push 0xde5
call esi
cmp eax, 0x80
je 0x409daf
mov eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov dword [eax], 4
xor al, al
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
push eax
push 1
call dword [fcn.005f404c]
call dword [fcn.005f4050]
push 0x61ebcc
push edi
call fcn.00583766
mov esi, eax
add esp, 8
test esi, esi
jne 0x409dde
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 2
push 2
push 0
push esi
call fcn.00583dd1
push esi
call fcn.0058446f
push 0
push 0
push esi
mov dword [ebx + 0x390], eax
call fcn.00583dd1
push dword [ebx + 0x390]
call fcn.00553626
push esi
push 1
push dword [ebx + 0x390]
mov dword [ebx + 0x398], eax
push eax
call fcn.00584660
push esi
call fcn.00583a76
push edi
call fcn.004a7b90
add esp, 0x38
mov dword [ebx + 0x394], eax
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x414900
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp ecx, edx
jbe 0x414910
mov eax, ecx
mov ecx, edx
mov edx, eax
push esi
push edi
mov dword [ebp - 4], edx
xor eax, eax
lea edx, [ebp - 8]
mov dword [ebp - 8], ecx
mov edi, edx
lea ecx, [ebp]
xor esi, esi
cmp ecx, edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 8
je 0x414943
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x414930
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418f20
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e31ff
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x653ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [0x6d994c], ebx
mov dword [ebp - 4], 0
lea esi, [ebx + 4]
mov dword [ebx], 0x61f650
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040ffb0
mov dword [esi], eax
lea esi, [ebx + 0xc]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040ffb0
mov dword [esi], eax
lea edi, [ebx + 0x14]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], edi
mov ecx, edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004162a0
mov dword [edi], eax
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
mov byte [ebp - 4], 4
lea esi, [ebx + 0x34]
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004199a0
mov dword [esi], eax
push 0x61f604
mov byte [ebp - 4], 5
call fcn.0058c75e
mov esi, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x10], 0
push esi
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00416770
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x1900
jb 0x419005
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ae40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ae50
Function at 0x41ae50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi + 0x20]
mov byte [edi + 0x20], al
lea ecx, [edi + 0x18]
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
lea eax, [esi + 0x18]
push eax
call fcn.00407630
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0x78], eax
movzx eax, word [esi + 0x7c]
mov word [edi + 0x7c], ax
movzx eax, word [esi + 0x9c]
mov word [edi + 0x9c], ax
movzx eax, byte [esi + 0x9e]
mov byte [edi + 0x9e], al
mov eax, dword [esi + 0xa0]
mov dword [edi + 0xa0], eax
mov eax, dword [esi + 0xa4]
mov dword [edi + 0xa4], eax
mov eax, dword [esi + 0xa8]
mov dword [edi + 0xa8], eax
cmp edi, esi
je 0x41af51
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41af46
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.004073c0
lea eax, [esi + 0x80]
lea ecx, [edi + 0x80]
cmp ecx, eax
je 0x41af74
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41af6b
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.004073c0
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x460940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x653ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x460970
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4609ac
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4609ac
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x460a7b
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4609d4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x460a07
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0058ef6c
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret 4
mov al, bl
mov byte [ebp - 0x25], al
mov edx, dword [ecx]
cmp edx, 0x600bb8
jne 0x460a91
lea ecx, [ebp - 0x25]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
push dword [esi + 0x4c]
movsx eax, al
push eax
call fcn.0058ef6c
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x460a6b
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0058399c
add esp, 0x10
cmp edi, eax
jne 0x460a7b
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x460997
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00553607
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x460a7b
cmp eax, 1
jle 0x460a4e
cmp eax, 3
jne 0x460a7b
mov al, byte [ebp - 0x25]
jmp 0x460a22
Function at 0x461130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x653ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x4611c7
cmp byte [esi + 0x3d], 0
je 0x4611c7
push 0xffffffffffffffff
call fcn.00460940
cmp eax, 0xffffffff
je 0x461180
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
cmp edx, 0x600bb8
jne 0x4611d9
lea edi, [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x28], edi
sub eax, 0
je 0x461192
sub eax, 1
je 0x461196
sub eax, 2
je 0x4611c7
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4611b0
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0058399c
add esp, 0x10
cmp edi, eax
jne 0x461180
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00553607
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
mov edi, dword [ebp - 0x28]
jmp 0x461171

Function at 0x469760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x58edadb9
xor ecx, ecx
cmp byte [ebp - 4], cl
jbe 0x46979b
mov eax, dword [ebp - 4]
xor eax, 0x80164043
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub eax, 0x29e08a43
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ecx*4 + 0x6dc480], eax
inc ecx
movzx eax, byte [ebp - 4]
cmp ecx, eax
jb 0x469772
movups xmm0, xmmword [0x6dc51d]
push esi
xor esi, esi
movups xmmword [0x6d9e30], xmm0
nop dword [eax]
call fcn.004a6860
mov dword [esi + 0x6d9e30], eax
add esi, 4
cmp esi, 0x10
jb 0x4697b0
push 0x10
push 0x6dc4a5
push 0x6d9e30
push 0x6d9e14
call fcn.004a6cc0
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x488560
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x61ebcc
push 0x62f154
mov edi, ecx
call fcn.00583766
mov esi, eax
add esp, 8
test esi, esi
jne 0x488581
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2630]
push 1
push eax
call fcn.00584660
push esi
call fcn.00583a76
add esp, 0x14
mov al, 1
pop edi
pop esi
ret

Function at 0x4885b0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x262c], 0
je 0x48861f
push edi
push 0x61e8e8
call dword [fcn.005f48a0]
push eax
push 0x62f13c
push dword [esi + 0x262c]
call fcn.00548300
push 0x61eb9c
push 0x62f154
call fcn.00583766
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x488601
push 0x62f164
call fcn.004a4cc0
add esp, 4
pop edi
pop esi
ret
push edi
push 0xc8
lea eax, [esi + 0x2630]
push 1
push eax
call fcn.0058399c
push edi
call fcn.00583a76
add esp, 0x14
pop edi
pop esi
ret

Function at 0x48db00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6be4
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x653ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6dc0e4], edi
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [edi], 0x62f624
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040ffb0
mov dword [esi], eax
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040ffb0
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040ffb0
mov dword [esi], eax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 3
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00429620
mov dword [esi], eax
lea esi, [edi + 0x24]
mov byte [ebp - 4], 4
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00429620
mov dword [esi], eax
mov ecx, edi
mov dword [edi + 0x2c], 0x62f614
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
call fcn.0048da30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a68d0
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x20
mov edx, edi
mov ecx, edi
shl ecx, 4
dec ebx
shr edx, 5
xor edx, ecx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
add ecx, eax
sub eax, 0x61c88647
xor edx, ecx
add esi, edx
mov edx, esi
mov ecx, esi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0xc]
add ecx, eax
xor edx, ecx
add edi, edx
test ebx, ebx
jne 0x4a68e3
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4a6990
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0xc6ef3720
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x20
mov edx, esi
mov ecx, esi
shl ecx, 4
dec ebx
shr edx, 5
xor edx, ecx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
add ecx, eax
add eax, 0x61c88647
xor edx, ecx
sub edi, edx
mov edx, edi
mov ecx, edi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0xc]
add ecx, eax
xor edx, ecx
sub esi, edx
test ebx, ebx
jne 0x4a69a6
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4a6a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 0x20], 1
mov dword [ebp + 0x18], 0x6e5771b9
pop ebp
jmp fcn.004a6a50

Function at 0x4a6a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 0x20], 1
mov dword [ebp + 0x18], 0x6e5771b9
pop ebp
jmp fcn.004a6b00

Function at 0x4a7860
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
or eax, 0xffffffff
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x10
jb 0x4a78f2
mov ecx, edi
shr ecx, 4
push ebx
mov dword [ebp + 0xc], ecx
push esi
lea esi, [edx + 1]
mov ebx, 4
nop dword [eax + eax]
movsx ecx, byte [esi - 1]
lea esi, [esi + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6522c0]
movsx ecx, byte [esi - 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6522c0]
movsx ecx, byte [esi - 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6522c0]
movsx ecx, byte [esi - 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6522c0]
sub ebx, 1
jne 0x4a7890
add edx, 0x10
sub edi, 0x10
sub dword [ebp + 0xc], 1
jne 0x4a7880
pop esi
pop ebx
test edi, edi
je 0x4a7910
movsx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6522c0]
sub edi, 1
jne 0x4a78f6
not eax
pop edi
pop ebp
ret