joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f7460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7029f0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x24]
push 0
push eax
mov ecx, dword [ecx]
call fcn.004d9770
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x1c]
mov esi, dword [edi + 0xc]
push eax
call fcn.004c2c50
mov ecx, dword [esi + 0x14]
mov edx, dword [eax + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x14], edx
mov dword [esp + 0x1c], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4f74d6
push ecx
call fcn.004c2ee0
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4f74f4
push ecx
call fcn.004c2ee0
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x14]
push 1
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
call fcn.004c2ab0
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 1
call fcn.004c3bf0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [ecx]
lea ecx, [esp + 0x14]
mov byte [edx + eax], 4
mov eax, dword [edi + 0xc]
add eax, 0x10
push eax
call fcn.004c33a0
lea eax, [esp + 0x14]
mov ecx, edi
push eax
mov eax, dword [edi + 0xc]
push dword [eax + 0x24]
call fcn.00514f00
mov ecx, edi
call fcn.005151c0
mov dword [esp + 0x38], 0xffffffff
mov bl, al
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f756d
push ecx
call fcn.004c2ee0
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f82e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x702b1b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x782d08
lea ecx, [esp + 0x20]
call fcn.004c2e30
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0xc]
cmp dword [eax], 0
jne 0x4f8366
push 0xc
call fcn.006b6815
add esp, 4
test eax, eax
jne 0x4f834c
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 0x7da8d8
push eax
call fcn.006b4394
mov dword [esp + 0x14], eax
mov ecx, eax
mov byte [esp + 0x30], 1
call fcn.004d73a0
mov byte [esp + 0x30], 0
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, dword [ecx]
call fcn.004d9750
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.004c33a0
mov byte [esp + 0x30], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x4f839f
push ecx
call fcn.004c2ee0
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push 1
call fcn.00514f00
mov ecx, esi
call fcn.005151c0
mov dword [esp + 0x30], 0xffffffff
mov bl, al
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4f83cc
push ecx
call fcn.004c2ee0
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fb0d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70302e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
push 0x34
mov dword [edi], vtable.TagLib::ASF::Properties.0
call fcn.006b6815
mov esi, eax
add esp, 4
test esi, esi
jne 0x4fb131
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xd]
push 0x7da8d8
push eax
call fcn.006b4394
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
lea ecx, [esi + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004c50e0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004c50e0
mov byte [esi + 0x30], 0
mov eax, edi
mov dword [edi + 8], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4fb320
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7030c7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
push 0x44
mov dword [edi], vtable.TagLib::ASF::Tag.0
call fcn.006b6815
mov esi, eax
add esp, 4
test esi, esi
jne 0x4fb37a
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xd]
push 0x7da8d8
push eax
call fcn.006b4394
mov dword [ebp - 0x18], esi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004c50e0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.004c50e0
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call fcn.004c50e0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 4
call fcn.004c50e0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
call fcn.004c50e0
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 6
call fcn.004fddd0
mov dword [edi + 8], esi
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 0x4fbc30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7031f0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 8]
lea ecx, [esp + 0xc]
call fcn.004d3950
push 0
push str.WM_AlbumTitle
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call fcn.004c5540
lea eax, [esp + 8]
mov byte [esp + 0x28], 1
push eax
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.004fc000
mov byte [esp + 0x28], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x4fbcc2
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4fbcc2
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], 0xffffffff
mov edx, dword [esp + 0xc]
mov dword [esp + 8], vtable.TagLib::ASF::Attribute.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x4fbced
mov ecx, dword [esp + 0xc]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7031f0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 8]
lea ecx, [esp + 0xc]
call fcn.004d3950
push 0
push str.WM_Genre
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call fcn.004c5540
lea eax, [esp + 8]
mov byte [esp + 0x28], 1
push eax
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.004fc000
mov byte [esp + 0x28], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x4fbd92
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4fbd92
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], 0xffffffff
mov edx, dword [esp + 0xc]
mov dword [esp + 8], vtable.TagLib::ASF::Attribute.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x4fbdbd
mov ecx, dword [esp + 0xc]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4fbdd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x703228
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x20]
call fcn.004c6550
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.004d3950
push 0
push str.WM_Year
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 1
call fcn.004c5540
lea eax, [esp + 0xc]
mov byte [esp + 0x38], 2
push eax
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.004fc000
mov byte [esp + 0x38], 1
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x4fbe71
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4fbe71
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [esp + 0x38], 0
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], vtable.TagLib::ASF::Attribute.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x4fbe99
mov ecx, dword [esp + 0x10]
push 1
mov eax, dword [ecx]
call dword [eax]
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x4fbec8
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4fbec8
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4fbee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x703228
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x20]
call fcn.004c6550
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.004d3950
push 0
push str.WM_TrackNumber
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 1
call fcn.004c5540
lea eax, [esp + 0xc]
mov byte [esp + 0x38], 2
push eax
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.004fc000
mov byte [esp + 0x38], 1
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x4fbf81
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4fbf81
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [esp + 0x38], 0
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], vtable.TagLib::ASF::Attribute.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x4fbfa9
mov ecx, dword [esp + 0x10]
push 1
mov eax, dword [ecx]
call dword [eax]
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x4fbfd8
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4fbfd8
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x500510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7038f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 4]
mov dword [esp + 0x10], 0
call fcn.004c3470
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x14]
push 0
mov edx, dword [eax + 0xc]
call fcn.004c2ad0
add esp, 4
push eax
lea ecx, [edi + 4]
mov dword [esp + 0x34], 0
call fcn.004c33a0
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x500590
push ecx
call fcn.004c2ee0
push 0x783f96
lea ecx, [esp + 0x18]
call fcn.004c2e30
lea eax, [esp + 0x14]
mov dword [esp + 0x30], 1
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0xc]
call fcn.00513c40
push eax
lea ecx, [edi + 4]
mov byte [esp + 0x34], 2
call fcn.004c33a0
mov byte [esp + 0x30], 1
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x5005e1
push ecx
call fcn.004c2ee0
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5005f7
push ecx
call fcn.004c2ee0
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.004ff7a0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x504f20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x704021
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x504f98
push 0
push str.FileStream::readBlock______invalid_file.
lea ecx, [ebp - 0x28]
call fcn.004c5540
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x504f8b
mov ecx, dword [ebp - 0x24]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 8]
call fcn.004c2b20
jmp 0x505069
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x504fac
mov ecx, dword [ebp + 8]
call fcn.004c2b20
jmp 0x505069
mov ecx, edi
call fcn.005058b0
cmp esi, 0x400
jbe 0x504fc0
cmp esi, eax
cmova esi, eax
push 0
push esi
lea ecx, [ebp - 0x1c]
call fcn.004c2bd0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1c]
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 0xc]
call fcn.004c3bf0
mov edi, dword [ebp - 0x18]
cmp dword [edi + 0xc], 0
jbe 0x504ff8
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
add ecx, dword [eax]
jmp 0x504ffa
xor ecx, ecx
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
mov byte [ebp + 0xc], 0
neg esi
sbb esi, esi
and esi, dword [ebp - 0x10]
cmp esi, dword [edi + 0xc]
je 0x50504a
lea ecx, [ebp - 0x1c]
call fcn.004c3bf0
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 0xc]
add eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
call fcn.004c3c70
mov ecx, dword [edi + 4]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [edi + 8]
add eax, esi
push eax
call fcn.004c3cc0
mov dword [edi + 0xc], esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.004c2c50
push ecx
mov ecx, edi
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0
call fcn.004c2ee0
mov eax, dword [ebp + 8]
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 0x505080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x5050ce
push 0
push str.FileStream::writeBlock______invalid_file.
lea ecx, [ebp - 0xc]
call fcn.004c5540
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x50513e
mov ecx, dword [ebp - 8]
push 1
mov eax, dword [ecx]
call dword [eax]
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x505111
push 0
push str.FileStream::writeBlock______read_only_file.
lea ecx, [ebp - 0x18]
call fcn.004c5540
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x50513e
mov ecx, dword [ebp - 0x14]
push 1
mov eax, dword [ecx]
call dword [eax]
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 4]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x50512d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
add eax, dword [ecx + 8]
jmp 0x50512f
xor eax, eax
push 0
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5241e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x707173
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x805850
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x805850
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x783f96
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00527d20
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5243f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
test ebx, ebx
jne 0x52444a
cmp byte [esi + 0x2c], bl
jne 0x524441
mov edx, dword [str.Failed_to_open_file]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 2
lea edi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x524420
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x34]
call fcn.00527d20
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
mov edi, dword [esi + 0x18]
test edi, edi
je 0x524460
mov ecx, edi
mov edi, dword [edi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test edi, edi
jne 0x524451
push 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0
push ebx
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
call fcn.006b724c
push ebx
call fcn.006b765f
push 0
mov edi, eax
push 0
push ebx
mov dword [ebp + 8], edi
call fcn.006b724c
add esp, 0x1c
test edi, edi
jg 0x5244cc
cmp byte [esi + 0x2c], 0
jne 0x524441
mov edx, dword [str.Error_document_empty.]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 0xc
lea edi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5244c0
jmp 0x524427
lea eax, [edi + 1]
push eax
call fcn.006b6815
mov edi, eax
add esp, 4
test edi, edi
je 0x524584
push ebx
mov ebx, dword [ebp + 8]
push 1
push ebx
push edi
mov byte [edi], 0
call fcn.006b6232
add esp, 0x10
cmp eax, 1
je 0x52452f
push edi
call fcn.006b31f8
add esp, 4
cmp byte [esi + 0x2c], 0
jne 0x524441
mov edx, dword [str.Failed_to_open_file]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 2
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x524523
jmp 0x524427
mov byte [edi + ebx], 0
mov eax, edi
cmp byte [edi], 0
mov ecx, edi
je 0x52455c
lea esp, [esp]
mov dl, byte [eax]
cmp dl, 0xd
jne 0x524553
inc eax
mov byte [ecx], 0xa
inc ecx
cmp byte [eax], 0xa
jne 0x524557
jmp 0x524556
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x524540
push dword [ebp + 0xc]
mov byte [ecx], 0
mov ecx, esi
mov eax, dword [esi]
push 0
push edi
call dword [eax + 8]
push edi
call fcn.006b31f8
add esp, 4
xor eax, eax
cmp byte [esi + 0x2c], al
sete al
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 0x7da8d8
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push eax
call fcn.006b4394
int3
Function at 0x524c80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x707249
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x805850
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [ecx], 0x805850
mov dword [esi + 0x30], 0x805850
mov dword [esi + 0x34], 0x805850
mov edi, dword [ebp + 8]
mov edx, edi
mov byte [ebp - 4], 3
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x524d21
sub edx, ebx
push edx
push edi
call fcn.00527d20
mov edi, dword [ebp + 0xc]
mov edx, edi
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x524d40
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.00527d20
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [edx + 1]
jmp 0x524d60
mov al, byte [edx]
inc edx
test al, al
jne 0x524d60
sub edx, ecx
lea ecx, [esi + 0x34]
push edx
push edi
call fcn.00527d20
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 0xc