joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54c0d0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x584879
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ebp
push 1
push eax
push 0x73747364
call fcn.00547e90
lea esi, [edi + 0x30]
mov ecx, esi
mov dword [esp + 0x28], 0
mov dword [edi], vtable.AP4_StsdAtom.1.0
mov dword [edi + 0x1c], vtable.AP4_StsdAtom.0
call fcn.00544140
lea ebx, [edi + 0x44]
xor eax, eax
mov dword [ebx], vtable.AP4_Array_class_AP4_SampleDescription__.0
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov byte [esp + 0x2c], 2
call edx
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
add eax, 0xfffffff0
mov dword [esp + 0x18], eax
push eax
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov eax, dword [ebp]
mov edx, dword [esi]
add eax, 0xc
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x18]
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [edx]
mov ecx, ebp
call eax
push 0x18
call fcn.0044ff38
mov ebp, eax
add esp, 4
mov dword [esp + 0x30], ebp
test ebp, ebp
mov byte [esp + 0x28], 3
je 0x54c1d1
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
push eax
mov ecx, ebp
call fcn.00545d40
mov ebp, eax
jmp 0x54c1d3
xor ebp, ebp
cmp dword [esp + 0x14], 0
mov byte [esp + 0x28], 2
mov dword [esp + 0x34], 0
jbe 0x54c249
push edi
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x20]
push edx
push ebp
call fcn.00546040
test eax, eax
jne 0x54c238
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
lea eax, [edi + 0x1c]
push eax
mov eax, dword [edx + 0x20]
call eax
mov esi, dword [esp + 0x30]
push 0xc
call fcn.0044ff38
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x54c22d
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x54c22f
xor eax, eax
push eax
lea ecx, [edi + 0x20]
call fcn.0054f790
mov eax, dword [esp + 0x34]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
jb 0x54c1e7
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov ecx, dword [edi + 0x24]
push ecx
mov ecx, ebx
call fcn.0054bb60
xor esi, esi
cmp dword [edi + 0x24], esi
jbe 0x54c284
mov dword [esp + 0x30], esi
lea esp, [esp]
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.0054bf70
add esi, 1
cmp esi, dword [edi + 0x24]
jb 0x54c270
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x54d380
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x584a93
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ebx
push 0
push ebp
push eax
call fcn.00547180
lea esi, [edi + 0x1c]
mov dword [edi], vtable.AP4_TrefTypeAtom.0
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esi], vtable.AP4_Array_unsigned_int_.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
add ebp, 0xfffffff8
mov byte [esp + 0x20], 1
je 0x54d40f
lea ecx, [ecx]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0054bf70
sub ebp, 4
jne 0x54d3f0
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc

Function at 0x54df20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x584ca3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.AP4_IsmaCrypSampleDescription.0
mov ecx, dword [esi + 0x34]
test ecx, ecx
mov dword [esp + 0x14], 1
je 0x54df65
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x54df74
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
cmp dword [esi + 0x30], 0x10
jb 0x54df86
mov eax, dword [esi + 0x1c]
push eax
call fcn.0044ff63
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
mov dword [esi], vtable.AP4_SampleDescription.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x54e2f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x584da3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
push 0
push 0x64617461
call fcn.00547110
lea edi, [esi + 0x24]
mov ecx, edi
mov dword [esp + 0x20], 0
mov dword [esi], vtable.AP4_DataAtom.0
call fcn.00544140
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
lea ecx, [esi + 0x1c]
push ecx
mov ecx, ebx
mov byte [esp + 0x24], 1
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
lea ecx, [esi + 0x20]
push ecx
mov ecx, ebx
call edx
mov ebp, dword [esp + 0x28]
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
sub ebp, 0x10
push ebp
mov ecx, edi
call edx
mov eax, dword [ebx]
mov edx, dword [edi]
push 0
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x14]
push ebp
mov ecx, edi
call eax
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
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 8
Function at 0x54e690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x584e33
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edi
push 1
push eax
push 0x63747473
call fcn.00547180
xor ebp, ebp
lea esi, [ebx + 0x1c]
mov dword [ebx], vtable.AP4_CttsAtom.0
mov dword [esi], vtable.AP4_Array_class_AP4_CttsTableEntry_.0
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esp + 0x2c], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x38]
push eax
mov ecx, edi
mov byte [esp + 0x30], 1
call edx
cmp dword [esp + 0x38], ebp
je 0x54e75b
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
sub dword [esp + 0x38], 1
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call edx
test eax, eax
jne 0x54e755
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call edx
test eax, eax
jne 0x54e755
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0054e650
cmp dword [esp + 0x38], ebp
jne 0x54e710
mov eax, ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8

Function at 0x54e7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x584e63
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
push ebx
push 0
push ebp
push 0x636d7664
call fcn.00547e90
lea edi, [esi + 0x34]
mov ecx, edi
mov dword [esp + 0x20], 0
mov dword [esi], vtable.AP4_CmvdAtom.1.0
mov dword [esi + 0x1c], vtable.AP4_CmvdAtom.0
call fcn.00544140
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
lea ecx, [esi + 0x30]
push ecx
mov ecx, ebx
mov byte [esp + 0x24], 1
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
sub ebp, 0xc
push ebp
mov ecx, edi
call edx
mov eax, dword [ebx]
mov edx, dword [edi]
push 0
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x14]
push ebp
mov ecx, edi
call eax
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
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 0xc
Function at 0x54e900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x584ec3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
push 0
push 0x61766343
call fcn.00547110
lea esi, [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x20], 0
mov dword [edi], vtable.AP4_AvcCAtom.0
call fcn.00544140
mov ebx, dword [esp + 0x28]
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
sub ebx, 8
push ebx
mov ecx, esi
mov byte [esp + 0x24], 1
call edx
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp]
mov edx, dword [esi]
push 0
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x14]
push ebx
mov ecx, esi
call eax
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x54fca0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5852ce
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push 4
mov ecx, edi
call fcn.00550950
xor ebx, ebx
lea ebp, [edi + 0x20]
mov dword [edi], vtable.AP4_DecoderConfigDescriptor.0
mov dword [esp + 0x28], ebx
mov dword [ebp], vtable.AP4_List_class_AP4_Descriptor_.0
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov esi, dword [esp + 0x30]
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov byte [esp + 0x2c], 1
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [edi + 0x11]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call edx
mov al, byte [esp + 0x34]
mov cl, al
shr al, 1
shr cl, 2
and al, 1
mov byte [edi + 0x10], cl
mov byte [edi + 0x12], al
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [edi + 0x14]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [edi + 0x18]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [edi + 0x1c]
push ecx
mov ecx, esi
call edx
push 0x18
call fcn.0044ff38
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 2
je 0x54fda2
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
add ecx, 0xfffffff3
push ecx
add edx, 0xd
push edx
push esi
mov ecx, eax
call fcn.00545d70
mov esi, eax
mov dword [esp + 0x38], esi
jmp 0x54fda8
mov dword [esp + 0x38], ebx
mov esi, ebx
lea eax, [esp + 0x14]
push eax
push esi
mov byte [esp + 0x30], 1
mov dword [esp + 0x1c], ebx
call fcn.0054f4e0
add esp, 8
test eax, eax
jne 0x54fe03
mov esi, dword [esp + 0x14]
push 0xc
call fcn.0044ff38
add esp, 4
cmp eax, ebx
je 0x54fddf
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x54fde1
xor eax, eax
push eax
mov ecx, ebp
call fcn.0054f790
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.0054f4e0
add esp, 8
test eax, eax
je 0x54fdc3
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x54ff60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x585363
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ebx
push eax
push 5
call fcn.00550950
lea esi, [edi + 0x10]
mov ecx, esi
mov dword [esp + 0x20], 0
mov dword [edi], vtable.AP4_DecoderSpecificInfoDescriptor.0
call fcn.00544140
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push ebx
mov ecx, esi
mov byte [esp + 0x24], 1
call eax
mov ebp, dword [esp + 0x28]
mov ecx, dword [ebp]
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0
mov dword [esp + 0x34], ecx
push ebx
mov ecx, esi
call eax
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc

Function at 0x550790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5854e3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push ebx
push eax
push ecx
mov ecx, edi
call fcn.00550950
lea esi, [edi + 0x10]
mov ecx, esi
mov dword [esp + 0x20], 0
mov dword [edi], vtable.AP4_UnknownDescriptor.0
call fcn.00544140
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push ebx
mov ecx, esi
mov byte [esp + 0x24], 1
call eax
mov ebp, dword [esp + 0x28]
mov ecx, dword [ebp]
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0
mov dword [esp + 0x38], ecx
push ebx
mov ecx, esi
call eax
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x559980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58598f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esp + 0x18], 1
je 0x5599c0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x58], 0
je 0x5599d1
mov eax, dword [esi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.00557ef0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x55f580
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586529
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x61c948]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040a640
mov byte [ebp - 4], 1
push 0x5c
push 0x2f
lea ecx, [ebp - 0x268]
call fcn.00498080
push 0x5c
lea ecx, [ebp - 0x268]
call fcn.00416580
add eax, 1
push eax
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00407f50
mov dword [ebp - 0x274], eax
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x278], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x278]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040a4d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x26c]
call fcn.004b29a0
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp + 8]
call fcn.004084b0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x55f6bd
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.0040f080
add esp, 0xc
mov dword [ebp - 0x27c], eax
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x280]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004090a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.004b29a0
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x55f64d
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.004b29a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b29a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004721e8
mov esp, ebp
pop ebp
ret
Function at 0x560100
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5601c4
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044ff68
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x5601c4
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x5601b2
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0x5e8650
mov eax, dword [ebp - 0x2c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x5601b2
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 8]
xor edx, edx
mov cl, 0x20
call fcn.00569640
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0xc]
xor esi, esi
or eax, ecx
or edx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.0044ff63
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x564dd0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586c8b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x61c948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.CFontInstaller.0
push 0xa
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
call fcn.004c08f0
mov dword [ebp - 4], 0
push 0xa
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.00409070
push str.gdi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x564e8a
push str.AddFontMemResourceEx
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], eax
push str.AddFontResourceExA
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xc], eax
push str.RemoveFontMemResourceEx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
push str.RemoveFontResourceExA
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
push 0x59792c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x564eb3
push str.MoveFileExA
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x564ff0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x61c948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
je 0x56505c
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
call fcn.00565360
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x565051
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
call fcn.00565330
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
call ecx
jmp 0x56502f
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
call fcn.004aa730
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x10], 0
je 0x5650fe
mov ecx, dword [ebp - 0x1c]
add ecx, 0x34
call fcn.004a9fe0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5650f3
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x34
call fcn.0040f420
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a640
mov dword [ebp - 4], 0
push 0
push 0x10
lea ecx, [ebp - 0x18]
call fcn.004084b0
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x10]
call edx
lea ecx, [ebp - 0x18]
call fcn.004084b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x5650e2
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
je 0x5650e2
push 4
push 0
lea ecx, [ebp - 0x18]
call fcn.004084b0
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x14]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b29a0
jmp 0x565077
mov ecx, dword [ebp - 0x1c]
add ecx, 0x34
call fcn.004090e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret