joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fae2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401445
and dword [ebp - 0x14], 0
cmp dword [0x568904], 0
mov dword [ebp - 0x18], eax
jne 0x45fb95
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x45fc3d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x45fc3d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x568904], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x568908], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x56890c], eax
call edi
push eax
call esi
mov dword [0x568914], eax
test eax, eax
je 0x45fb95
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x568910], eax
mov eax, dword [0x568910]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x45fbee
cmp dword [0x568914], ecx
je 0x45fbee
push eax
call esi
push dword [0x568914]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x45fbee
test ebx, ebx
je 0x45fbee
call edi
test eax, eax
je 0x45fbe5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45fbe5
test byte [ebp - 8], 1
jne 0x45fbee
or dword [ebp + 0x10], 0x200000
jmp 0x45fc21
mov eax, dword [0x568908]
cmp eax, dword [ebp - 0x18]
je 0x45fc21
push eax
call esi
test eax, eax
je 0x45fc21
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45fc21
mov eax, dword [0x56890c]
cmp eax, dword [ebp - 0x18]
je 0x45fc21
push eax
call esi
test eax, eax
je 0x45fc21
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x568904]
call esi
test eax, eax
je 0x45fc3d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x45fc3f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040330b
leave
ret
Function at 0x470af4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519cda
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
mov edi, edx
xor al, al
push edx
mov dword [ebp - 4], 0
rep stosb byte es:[edi], al
call fcn.00405ea8
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
mov dword [ebp - 4], 1
rep stosb byte es:[edi], al
call fcn.00405ea8
mov ecx, dword [esi + 0xc]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x470b69
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
test byte [ebp + 8], 1
je 0x470b78
push esi
call fcn.00404f7d
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x470b8d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519d33
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x5c], esi
call fcn.00405d26
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov ecx, dword [ebp + 8]
mov dword [esi], vtable.CryptoPP::SignatureVerificationFilter.1.0
mov dword [esi + 4], vtable.CryptoPP::SignatureVerificationFilter.0
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 3
mov dword [esi + 0x48], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
push 1
lea edx, [ebp + 0x10]
push edx
lea eax, [ebp - 0x68]
push str.SignatureVerificationFilterFlags
push eax
mov byte [ebp - 4], 7
call fcn.00470814
add esp, 0x10
mov edx, dword [esi]
mov edx, dword [edx + 0xbc]
lea ecx, [esi + 0x20]
push ecx
lea ecx, [esi + 0x1c]
push ecx
lea ecx, [esi + 0x18]
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call edx
cmp dword [esi + 0x1c], 1
jb 0x470c79
mov eax, dword [esi + 0x18]
push eax
push 1
lea ecx, [esi + 0x28]
call fcn.0046fb48
mov ecx, dword [ebp - 0x64]
mov byte [esi + 0x24], bl
mov byte [ebp - 4], 7
cmp ecx, ebx
je 0x470c59
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret 0xc
push 0x2c
mov esi, 0xf
push str.FilterWithBufferedInput:_invalid_buffer_size
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x58], bl
call fcn.00403e06
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.004536de
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x3c], vtable.CryptoPP::Exception.0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0041ef00
push 0x5239c0
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 9
mov dword [ebp - 0x3c], vtable.CryptoPP::InvalidArgument.0
call fcn.004538da
int3

Function at 0x470ef7
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x4715f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
mov ecx, edi
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x47163b
mov edi, ebx
sub esi, edx
mov eax, edx
sub edi, edx
mov dword [ebp - 4], ecx
lea esp, [esp]
mov ebx, dword [esi + eax]
xor ebx, dword [eax]
add eax, 4
dec ecx
mov dword [edi + eax - 4], ebx
jne 0x471620
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
add eax, eax
add eax, eax
sub edi, eax
je 0x471664
add ebx, eax
add esi, eax
add edx, eax
test edi, edi
je 0x471664
mov ecx, esi
mov esi, ebx
sub ecx, edx
mov eax, edx
sub esi, edx
mov dl, byte [eax + ecx]
xor dl, byte [eax]
inc eax
dec edi
mov byte [eax + esi - 1], dl
jne 0x471657
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47166b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
shr eax, 2
xor ecx, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x4716a7
mov esi, ebx
mov edx, edi
sub esi, edi
mov dword [ebp - 4], eax
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x471691
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 4]
lea eax, [edx*4]
sub esi, eax
jne 0x4716c0
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
add ebx, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or dl, al
or dl, cl
test esi, esi
je 0x4716ee
mov ecx, ebx
mov eax, edi
sub ecx, edi
mov bl, byte [eax + ecx]
xor bl, byte [eax]
inc eax
or dl, bl
dec esi
jne 0x4716e3
pop edi
xor eax, eax
test dl, dl
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471f34
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x8c]
push ebx
push esi
mov esi, dword [eax]
push edi
add ecx, 8
mov dword [ebp - 4], 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x538018]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x538218]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x538418]
and eax, 0x3f
xor edi, dword [eax*4 + 0x538618]
mov eax, dword [ecx - 0x14]
xor edx, edi
xor eax, esi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x538118]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x538318]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x538518]
and eax, 0x3f
xor edi, dword [eax*4 + 0x538718]
xor edx, edi
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x538018]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x538218]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x538418]
and eax, 0x3f
xor edi, dword [eax*4 + 0x538618]
mov eax, dword [ecx - 0xc]
xor esi, edi
xor eax, edx
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x538118]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x538318]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x538518]
and eax, 0x3f
xor edi, dword [eax*4 + 0x538718]
xor esi, edi
dec dword [ebp - 4]
jne 0x471f55
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov edx, dword [ebp + 0xc]
pop edi
mov dword [edx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x472fc7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519f03
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [esi + 0x50]
mov ebx, dword [esi + 0x54]
xor eax, eax
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov dword [ebp - 4], 4
push ebx
cmp eax, 0x10
jb 0x47301b
call fcn.00471579
jmp 0x473020
call fcn.00405ea8
mov edx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
xor eax, eax
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [edx*4]
mov byte [ebp - 4], 3
push ebx
cmp ecx, 0x10
jb 0x473049
call fcn.00471579
jmp 0x47304e
call fcn.00405ea8
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
add esp, 4
mov edi, edx
xor al, al
push edx
mov byte [ebp - 4], 2
rep stosb byte es:[edi], al
call fcn.00405ea8
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov edi, edx
xor al, al
push edx
mov byte [ebp - 4], 1
rep stosb byte es:[edi], al
call fcn.00405ea8
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edi, edx
xor al, al
push edx
mov byte [ebp - 4], 0
rep stosb byte es:[edi], al
call fcn.00405ea8
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edi, edx
xor al, al
push edx
mov dword [ebp - 4], 0xffffffff
rep stosb byte es:[edi], al
call fcn.00405ea8
add esp, 0x10
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 0x47374c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519fc3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
mov dword [ebp - 0x14], esi
call fcn.00405d26
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], 2
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xb
call fcn.00486e5a
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xc
call fcn.00486e5a
mov byte [esi + 0x5c], 1
lea edi, [esi + 0x60]
push 1
mov ecx, edi
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x18], edi
call fcn.00405d26
lea eax, [edi + 0x10]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, 0x10
mov dword [eax + 0x48], ecx
mov byte [eax + 0x41], 1
mov dword [eax + 0x4c], eax
lea eax, [edi + 0x60]
mov dword [eax + 0x48], ecx
mov byte [eax + 0x41], 1
mov dword [eax + 0x4c], eax
mov eax, dword [edi + 0xac]
push eax
mov byte [ebp - 4], 0xf
call fcn.0048af7f
mov dword [edi], vtable.CryptoPP::SHA1.0
add esp, 4
mov dword [esi], vtable.CryptoPP::PK_MessageAccumulatorImpl_class_CryptoPP::SHA1_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret

Function at 0x48af7f
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret
Function at 0x48eb71
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor eax, eax
push esi
mov dword [ebp - 0x14], eax
push edi
mov edi, edi
movzx eax, byte [eax + 0x5395b0]
mov esi, eax
shr esi, 6
mov edi, esi
and edi, 2
mov dword [ebp - 8], edi
and esi, 1
mov ecx, eax
shr ecx, 5
mov edx, ecx
mov edi, ecx
mov dword [ebp - 4], esi
mov esi, ecx
and edi, 1
mov ecx, eax
shr ecx, 7
mov dword [ebp - 0xc], ecx
lea ebx, [eax + eax]
xor ebx, eax
lea ecx, [ebx + ebx]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
imul ebx, ebx, 0x1b000000
xor ecx, eax
shl ecx, 0x19
xor ecx, ebx
mov ebx, edi
imul ebx, ebx, 0x1b000000
xor ecx, ebx
and esi, 2
mov ebx, esi
imul ebx, ebx, 0x1b000000
xor ecx, ebx
mov ebx, dword [ebp - 4]
imul ebx, ebx, 0x1b000000
xor ecx, ebx
mov ebx, dword [ebp - 8]
imul ebx, ebx, 0x1b000000
xor ecx, ebx
and edx, 4
mov dword [ebp - 0x10], edi
imul edi, edi, 0x11b00
mov ebx, edx
imul ebx, ebx, 0x1b000000
xor ecx, ebx
mov ebx, dword [ebp - 0x18]
add ebx, ebx
add ebx, ebx
xor ebx, eax
shl ebx, 8
xor ebx, edi
mov edi, esi
imul edi, edi, 0x11b00
xor ebx, edi
mov edi, dword [ebp - 4]
imul edi, edi, 0x11b00
xor ebx, edi
mov edi, dword [ebp - 8]
imul edi, edi, 0x11b00
xor ebx, edi
mov edi, edx
imul edi, edi, 0x11b00
xor ebx, edi
or ecx, ebx
mov ebx, dword [ebp - 0x10]
imul ebx, ebx, 0x11b0000
lea edi, [eax*8]
xor edi, eax
shl edi, 0x10
xor edi, ebx
mov ebx, esi
imul ebx, ebx, 0x11b0000
xor edi, ebx
mov ebx, edx
imul ebx, ebx, 0x11b0000
xor edi, ebx
lea ebx, [eax*4]
or ecx, edi
mov edi, dword [ebp - 0xc]
xor ebx, eax
add ebx, ebx
imul edi, edi, 0x11b
imul esi, esi, 0x11b
imul edx, edx, 0x11b
xor ebx, edi
mov edi, dword [ebp - 0x10]
imul edi, edi, 0x11b
xor ebx, edi
xor ebx, esi
xor ebx, edx
xor ebx, eax
or eax, ecx
or ebx, ecx
xor edx, edx
or edx, eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
or ebx, ecx
mov dword [eax*8 + 0x5692c0], edx
mov dword [eax*8 + 0x5692c4], ebx
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x100
jl 0x48eb81
pop edi
pop esi
mov byte [0x569ac1], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x491891
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b246
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0050cf92
push 4
mov dword [ebp - 4], 0
call fcn.00403b92
mov edi, eax
add esp, 4
test edi, edi
je 0x491911
call fcn.00452ed9
mov dword [edi], eax
call fcn.00452c98
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00452bcd
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x491907
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00452bf5
jmp 0x491913
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x492d84
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b3cf
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x14]
mov dword [esi], vtable.TiXmlAttribute.0
mov eax, 0xf
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], ebx
mov dword [ebp - 4], ebx
mov byte [ecx], bl
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], edx
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x492df4
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00403e06
mov edx, dword [ebp + 0xc]
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp + 8], ecx
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x492e14
sub eax, dword [ebp + 8]
lea ecx, [esi + 0x30]
push eax
push edx
call fcn.00403e06
mov dword [esi + 0x10], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4930cf
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b420
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
or ecx, 0xffffffff
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
xor edx, edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x30], edx
mov ebx, 0xf
mov dword [esi + 0x34], ebx
mov byte [esi + 0x20], dl
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 1
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
lea eax, [esi + 0x44]
mov dword [esi], vtable.TiXmlElement.0
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov dword [eax], vtable.TiXmlAttribute.0
mov dword [eax + 0x28], ebx
mov dword [eax + 0x24], edx
mov byte [eax + 0x14], dl
mov dword [eax + 0x44], ebx
mov dword [eax + 0x40], edx
mov byte [eax + 0x30], dl
mov dword [ebp - 4], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x50], eax
mov dword [eax + 0x4c], eax
mov ecx, dword [ebp + 8]
mov eax, ecx
lea ebx, [eax + 1]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], edx
mov dword [ebp + 8], ebx
mov bl, byte [eax]
inc eax
cmp bl, dl
jne 0x493171
sub eax, dword [ebp + 8]
push eax
push ecx
lea ecx, [esi + 0x20]
call fcn.00403e06
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4934a4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b4b4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x30], ebx
mov edx, 0xf
mov dword [esi + 0x34], edx
mov byte [esi + 0x20], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x4c]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x10], ebx
mov dword [ebp - 4], ebx
mov byte [ecx], bl
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push ebx
push 0x52243e
mov byte [ebp - 4], 1
mov dword [esi + 0x68], 4
mov byte [esi + 0x74], bl
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
call fcn.00403e06
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49d21e
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x49d24b
push esi
lea esp, [esp]
movzx ecx, cl
movzx ecx, byte [ecx + 0x53ba18]
lea esi, [eax*8]
xor ecx, esi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x49d22e
pop esi
ret