joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59feb7
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005924ae
mov dword [ebp - 0x14], eax
cmp dword [0x64e8c8], esi
jne 0x59ffaa
push 0x800
push esi
push 0x60a1b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x59ff37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5a008a
push esi
push esi
push 0x60a1b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5a008a
push 0x60a1c8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5a008a
push eax
call ebx
push 0x60a1d4
push edi
mov dword [0x64e8c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x60a1e4
push edi
mov dword [0x64e8cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x64e8d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x64e8d8], eax
test eax, eax
je 0x59ffa7
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x64e8d4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x59ffcf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x59ffc2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x59ffe4
push 4
pop eax
jmp 0x5a008c
cmp dword [ebp - 0x14], esi
je 0x59ffe4
push dword [0x64e8c8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x59ffc9
mov eax, dword [0x64e8d4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5a0042
cmp dword [0x64e8d8], edi
je 0x5a0042
push eax
call ebx
push dword [0x64e8d8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5a0042
test eax, eax
je 0x5a0042
call ecx
test eax, eax
je 0x5a0037
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5a0037
test byte [ebp - 8], 1
jne 0x5a0042
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5a0072
mov eax, dword [0x64e8cc]
cmp eax, edi
je 0x5a006f
push eax
call ebx
test eax, eax
je 0x5a006f
call eax
mov esi, eax
test esi, esi
je 0x5a006f
mov eax, dword [0x64e8d0]
cmp eax, edi
je 0x5a006f
push eax
call ebx
test eax, eax
je 0x5a006f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x64e8c8]
call ebx
test eax, eax
je 0x5a008a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5a008c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00587d2b
mov esp, ebp
pop ebp
ret
Function at 0x5afd8c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x401920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47f61d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b3dbc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call dword [0x484408]
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x20], edi
call dword [0x484408]
lea ebp, [esi + 0xc]
mov ecx, ebp
call dword [0x484408]
lea ecx, [esi + 0x30]
call dword [0x484408]
push 0x4852cc
mov ecx, esi
mov byte [esp + 0x24], 3
call dword [str.MainVersionINI]
push 0x4852cc
mov ecx, ebx
call dword [str.MainVersionINI]
push 0x4852cc
mov ecx, ebp
mov dword [esi + 8], edi
call dword [str.MainVersionINI]
push 0x4852cc
lea ecx, [esi + 0x30]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
call dword [str.MainVersionINI]
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x403a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47fa91
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b3dbc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call dword [0x4843f0]
lea eax, [edi + 4]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x1c], 0
call dword [0x4843f0]
mov ecx, dword [edi + 8]
lea edx, [edi + 0xc]
mov dword [esi + 8], ecx
push edx
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call dword [0x4843f0]
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
lea edx, [edi + 0x30]
mov dword [esi + 0x2c], ecx
push edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 2
call dword [0x4843f0]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x407050
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x480031
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b3dbc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call dword [0x4843f0]
lea eax, [edi + 4]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x1c], 0
call dword [0x4843f0]
lea ecx, [edi + 8]
push ecx
lea ecx, [esi + 8]
mov byte [esp + 0x1c], 1
call dword [0x4843f0]
lea edx, [edi + 0xc]
push edx
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 2
call dword [0x4843f0]
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 3
call dword [0x4843f0]
lea ecx, [edi + 0x14]
push ecx
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 4
call dword [0x4843f0]
lea edx, [edi + 0x18]
push edx
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 5
call dword [0x4843f0]
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 6
call dword [0x4843f0]
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 7
call dword [0x4843f0]
lea edx, [edi + 0x24]
push edx
lea ecx, [esi + 0x24]
mov byte [esp + 0x1c], 8
call dword [0x4843f0]
lea eax, [edi + 0x28]
push eax
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 9
call dword [0x4843f0]
lea ecx, [edi + 0x2c]
push ecx
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 0xa
call dword [0x4843f0]
lea edx, [edi + 0x30]
push edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 0xb
call dword [0x4843f0]
lea eax, [edi + 0x34]
push eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 0xc
call dword [0x4843f0]
lea ecx, [edi + 0x38]
push ecx
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 0xd
call dword [0x4843f0]
lea edx, [edi + 0x3c]
push edx
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 0xe
call dword [0x4843f0]
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x40]
mov byte [esp + 0x1c], 0xf
call dword [0x4843f0]
lea ecx, [edi + 0x44]
push ecx
lea ecx, [esi + 0x44]
mov byte [esp + 0x1c], 0x10
call dword [0x4843f0]
lea edx, [edi + 0x48]
push edx
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 0x11
call dword [0x4843f0]
add edi, 0x4c
push edi
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 0x12
call dword [0x4843f0]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x40afc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480859
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4b3dbc]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4b3dbc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x10]
call dword [0x484530]
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call dword [0x4844d4]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x40], 1
call fcn.00413770
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call dword [0x4844f8]
mov eax, dword [esp + 0x14]
mov esi, 0x10
cmp dword [esp + 0x28], esi
jae 0x40b04e
lea eax, [esp + 0x14]
push eax
push pe_nt_image_headers32
push 0x4b3fb0
call dword [0x48464c]
add esp, 0xc
push edi
lea ecx, [esp + 0x10]
call dword [0x4844d4]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x40], 2
call fcn.00413770
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call dword [0x4844f8]
cmp dword [esp + 0x28], esi
mov eax, dword [esp + 0x14]
jae 0x40b0a1
lea eax, [esp + 0x14]
push eax
call fcn.0040aae0
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call dword [0x48451c]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00473ebe
add esp, 0x30
ret 8

Function at 0x40c8a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
push 0x40
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
push ecx
add eax, 0x1c
push eax
call fcn.0047403c
add esp, 0xc
ret
Function at 0x41d7ee
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x41d82b
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x41d808
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x41d847
dec esi
je 0x41d840
dec esi
jne 0x41d84c
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x437350
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00474010
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x28]
je 0x437475
test esi, esi
mov ebx, dword [esp + 0x20]
je 0x4373af
jmp 0x437380
test ebx, ebx
je 0x4373af
mov edx, dword [esp + 0x18]
mov cl, byte [edx]
xor byte [esi + edi], cl
mov al, byte [esi + edi]
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
add ecx, 1
add edx, 1
add esi, 1
sub ebx, 1
jmp 0x4373a3
and esi, 0xf
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jne 0x437380
cmp ebx, 0x10
jb 0x43742d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edx
sub eax, edi
mov dword [esp + 0x30], eax
mov eax, ebx
shr eax, 4
mov ebp, ecx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebp, edi
add edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
push edx
push edi
push edi
call dword [esp + 0x40]
add esp, 0xc
cmp esi, 0x10
jae 0x437419
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
add ecx, 1
mov edx, dword [esp + 0x30]
mov edx, dword [edx + eax]
xor dword [eax], edx
mov edx, dword [eax]
mov dword [eax + ebp], edx
add eax, 4
sub ecx, 1
jne 0x437403
add dword [esp + 0x30], 0x10
sub ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x10], 1
jne 0x4373e0
test ebx, ebx
je 0x43757c
mov eax, dword [esp + 0x24]
push eax
push edi
push edi
call dword [esp + 0x40]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esi + edi]
sub ebp, edi
sub ecx, edi
add esi, ebx
movzx edx, byte [eax + ebp]
xor byte [eax], dl
mov dl, byte [eax]
sub ebx, 1
mov byte [eax + ecx], dl
adc al, 8
add eax, 1
test ebx, ebx
jne 0x437454
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
test esi, esi
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
je 0x4374b2
test ebp, ebp
je 0x4374aa
mov dl, byte [esi + edi]
mov al, byte [ebx]
mov ecx, dword [esp + 0x1c]
xor dl, al
mov byte [ecx], dl
mov byte [esi + edi], al
add ecx, 1
add esi, 1
add ebx, 1
sub ebp, 1
and esi, 0xf
mov dword [esp + 0x1c], ecx
jne 0x437481
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebp
cmp ebp, 0x10
jb 0x43753a
mov eax, dword [esp + 0x1c]
sub eax, edi
mov dword [esp + 0x30], eax
mov eax, ebp
shr eax, 4
mov dword [esp + 0x10], eax
mov edi, edi
Function at 0x4373a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00474010
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x28]
je 0x437475
test esi, esi
mov ebx, dword [esp + 0x20]
je 0x4373af
jmp 0x437380
test ebx, ebx
je 0x4373af
mov edx, dword [esp + 0x18]
mov cl, byte [edx]
xor byte [esi + edi], cl
mov al, byte [esi + edi]
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
add ecx, 1
add edx, 1
add esi, 1
sub ebx, 1
jmp 0x4373a3
and esi, 0xf
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jne 0x437380
cmp ebx, 0x10
jb 0x43742d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edx
sub eax, edi
mov dword [esp + 0x30], eax
mov eax, ebx
shr eax, 4
mov ebp, ecx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebp, edi
add edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
push edx
push edi
push edi
call dword [esp + 0x40]
add esp, 0xc
cmp esi, 0x10
jae 0x437419
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
add ecx, 1
mov edx, dword [esp + 0x30]
mov edx, dword [edx + eax]
xor dword [eax], edx
mov edx, dword [eax]
mov dword [eax + ebp], edx
add eax, 4
sub ecx, 1
jne 0x437403
add dword [esp + 0x30], 0x10
sub ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x10], 1
jne 0x4373e0
test ebx, ebx
je 0x43757c
mov eax, dword [esp + 0x24]
push eax
push edi
push edi
call dword [esp + 0x40]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esi + edi]
sub ebp, edi
sub ecx, edi
add esi, ebx
movzx edx, byte [eax + ebp]
xor byte [eax], dl
mov dl, byte [eax]
sub ebx, 1
mov byte [eax + ecx], dl
adc al, 8
add eax, 1
test ebx, ebx
jne 0x437454
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
test esi, esi
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
je 0x4374b2
test ebp, ebp
je 0x4374aa
mov dl, byte [esi + edi]
mov al, byte [ebx]
mov ecx, dword [esp + 0x1c]
xor dl, al
mov byte [ecx], dl
mov byte [esi + edi], al
add ecx, 1
add esi, 1
add ebx, 1
sub ebp, 1
and esi, 0xf
mov dword [esp + 0x1c], ecx
jne 0x437481
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebp
cmp ebp, 0x10
jb 0x43753a
mov eax, dword [esp + 0x1c]
sub eax, edi
mov dword [esp + 0x30], eax
mov eax, ebp
shr eax, 4
mov dword [esp + 0x10], eax
mov edi, edi

Function at 0x437590
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x34
call fcn.00474010
mov eax, dword [0x4b3dbc]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push ebx
push esi
mov esi, dword [esp + 0x44]
mov ebx, edx
lea edx, [esi - 1]
cmp edx, 0x7f
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x10], eax
Function at 0x443af0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.00473600
mov eax, dword [0x4b2dac]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
test ebp, ebp
push edi
mov dword [esp + 0x14], ecx
je 0x443b3f
mov eax, 1
mov dword [esi], ebp
jmp 0x443b41
mov ebp, dword [esi]
test ecx, ecx
je 0x443c24
push ebp
call fcn.004451d0
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x443b70
push str.j____int_sizeof_ctx__key_
push 0x52
push str..cryptohmachmac.c
call fcn.004263a0
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x443bc7
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.00422a60
add esp, 0xc
test eax, eax
je 0x443cd4
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.00422c10
add esp, 0xc
test eax, eax
je 0x443cd4
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.00422c20
add esp, 0xc
test eax, eax
je 0x443cd4
jmp 0x443c01
cmp edi, 0x80
jbe 0x443be3
push str.len_0__len__int_sizeof_ctx__key_
push 0x5f
push str..cryptohmachmac.c
call fcn.004263a0
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call fcn.00473632
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x443c2c
mov ecx, 0x80
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call fcn.0047362c
add esp, 0xc
jmp 0x443c2c
test eax, eax
je 0x443cc0
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
add eax, 1
cmp eax, 0x80
jl 0x443c30
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.00422a60
add esp, 0xc
test eax, eax
je 0x443cd4
push ebp
call fcn.004451d0
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.00422c10
add esp, 0x10
test eax, eax
je 0x443cd4
xor eax, eax
jmp 0x443c80
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
add eax, 1
cmp eax, 0x80
jl 0x443c80
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.00422a60
add esp, 0xc
test eax, eax
je 0x443cd4
push ebp
call fcn.004451d0
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.00422c10
add esp, 0x10
test eax, eax
je 0x443cd4
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.00422d80
add esp, 8
test eax, eax
jne 0x443cd8
xor eax, eax
jmp 0x443cdd
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004734be
add esp, 0x8c
ret
Function at 0x4650d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x4650e9
mov esi, edi
mov edi, eax
jmp 0x4650eb
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x4650fb
mov eax, ebx
jmp 0x465105
push eax
push ebx
call fcn.00421de0
add esp, 8
test eax, eax
jne 0x46510d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x46512b
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [edi + 4]
jl 0x465114
cmp eax, dword [esi + 4]
jge 0x465142
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [esi + 4]
jl 0x465130
mov eax, dword [esi + 4]
test eax, eax
mov dword [ebx + 4], eax
jle 0x465165
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x465162
sub eax, 1
test eax, eax
jg 0x465152
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x46e8f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x481f84
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b2dac]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 1
call dword [fcn.0048351c]
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 0
call dword [fcn.0048351c]
mov dword [esi], vtable.TiXmlBase.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x46f390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x482024
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b2dac]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.TiXmlAttribute.0
call dword [fcn.00483524]
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call dword [fcn.00483524]
mov dword [esi + 0x10], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x46f440
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebp
lea edi, [esi + 0x14]
mov ecx, edi
mov dword [esp + 0x20], ebp
mov dword [esi], vtable.TiXmlAttribute.0
call dword [fcn.00483524]
lea ebx, [esi + 0x30]
mov ecx, ebx
mov byte [esp + 0x20], 1
call dword [fcn.00483524]
mov eax, dword [esp + 0x28]
and al, 0x28
Function at 0x474070
Capabilities:
Encode data using xor

Disassembly:
xor ebx, ebx
cmp edx, 0
je 0x4741a3
test byte [edx + 1], al
add byte [eax], al
mov al, byte [edi]
mov bl, byte [edi + 4]
add edi, 8
lea ecx, [esi + edx]
sub ebp, esi
mov dword [esp + 0x18], ecx
and al, 0x18
inc al
cmp dword [edi + 0x100], 0xffffffff
je 0x474170
mov ecx, dword [edi + eax*4]
and edx, 0xfffffffc
je 0x474140
lea edx, [esi + edx - 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
lea esp, [esp]
add byte [eax], al
add byte [eax], al
movzx ecx, byte [edi + eax]
add bl, cl
movzx edx, byte [edi + ebx]
mov byte [edi + ebx], cl
mov byte [edi + eax], dl
add dl, cl
movzx edx, byte [edi + edx]
add al, 1
xor dl, byte [esi]
lea esi, [esi + 1]
movzx ecx, byte [edi + eax]
pop es
cmp esi, dword [esp + 0x18]
mov byte [ebp + esi - 1], dl
jb 0x474174

Function at 0x4740e0
Capabilities:
Encode data using xor

Disassembly:
add bl, cl
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
ror ebp, 8
mov ecx, dword [edi + eax*4]
or ebp, dword [edi + edx*4]
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
lahf
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
ror ebp, 8
mov ecx, dword [edi + eax*4]
or ebp, dword [edi + edx*4]
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
ror ebp, 8
mov ecx, dword [esp + 0x20]
or ebp, dword [edi + edx*4]
ror ebp, 8
xor ebp, dword [esi]
cmp esi, dword [esp + 0x1c]
mov dword [ecx + esi], ebp
lea esi, [esi + 4]
mov ecx, dword [edi + eax*4]
jb 0x4740a0
cmp esi, dword [esp + 0x18]
je 0x47419b
mov ebp, dword [esp + 0x20]
lea esp, [esp]
nop
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
mov edx, dword [edi + edx*4]
xor dl, byte [esi]
lea esi, [esi + 1]
mov ecx, dword [edi + eax*4]
cmp esi, dword [esp + 0x18]
mov byte [ebp + esi - 1], dl
jb 0x474140
jmp 0x47419b
dec al
mov byte [edi - 4], bl
mov byte [edi - 8], al
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x478330
Capabilities:
Encode data using xor

Disassembly:
adc byte [ebx], dh
ret