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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dabe2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
mov dword [edi], vtable.CMcDi2Utils.0
call fcn.0043d180
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [ebp - 4], 1
lea esi, [edi + 0x14]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043cf90
mov dword [esi], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 3
call fcn.0043d210
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
mov dword [ebp - 0x18], 0x4fc944
mov dword [ebp - 0x14], 0x4fc9fc
call fcn.0043df10
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0043dfb0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4fca48
push eax
mov ecx, esi
mov dword [ebp - 0x14], 0x4fca40
call fcn.0043df10
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0043dfb0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4fca5c
push eax
mov ecx, esi
mov dword [ebp - 0x14], str.MAIS
call fcn.0043df10
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0043dfb0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4fca70
push eax
mov ecx, esi
mov dword [ebp - 0x14], str.MAVP
call fcn.0043df10
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0043dfb0
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 0x43ff30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc1c3
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x527064]
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
push str...includeMcDynamicStub.cpp
push str.CDynamicStub::GetParentProcessID
push 0x8e
push 3
lea ecx, [ebp - 0x240]
call fcn.00431610
mov dword [ebp - 4], 0
mov edx, str.Entering_GetParentProcessID
mov ecx, dword [eax]
call fcn.004333c0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x240]
call fcn.004327d0
mov eax, dword [ebp - 0x240]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call edi
push 0x228
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
call fcn.00496490
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x440040
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x440022
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp dword [ebp - 0x234], edi
je 0x44002b
lea eax, [ebp - 0x23c]
push eax
push esi
call ebx
test eax, eax
jne 0x440004
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x440094
mov ebx, dword [ebp - 0x224]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x440094
push str...includeMcDynamicStub.cpp
push str.CDynamicStub::GetParentProcessID
push 0xa4
push 4
lea ecx, [ebp - 0x240]
call fcn.00431610
mov dword [ebp - 4], 2
mov edx, str.CreateToolhelp32Snapshot_fails__returns_INVALID_HANDLE_VALUE
mov ecx, dword [eax]
call fcn.004333c0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x240]
call fcn.004327d0
mov eax, dword [ebp - 0x240]
add eax, 0x14
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push str...includeMcDynamicStub.cpp
push str.CDynamicStub::GetParentProcessID
push 0xa7
push 3
lea ecx, [ebp - 0x244]
call fcn.00431610
mov dword [ebp - 4], 4
mov edx, str.Leaving_GetParentProcessID
mov ecx, dword [eax]
call fcn.004333c0
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x244]
call fcn.004327d0
mov ecx, dword [ebp - 0x244]
add ecx, 0x14
push ecx
call edi
mov eax, ebx
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.004908ad
mov esp, ebp
pop ebp
ret 4
Function at 0x447aa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd1c6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0
push 0
push esi
push 0x447bd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], 0
cmp dword [esi + 0xc], 0
jne 0x447b71
push str...includeMcEulaManager.cpp
push str.CMcEulaManager::GetEulaText
push 0x69
push 4
lea ecx, [ebp + 8]
call fcn.00431610
mov byte [ebp - 4], 1
mov edx, str.CMcEulaManager::GetEulaText
mov ecx, dword [eax]
call fcn.00433720
mov edx, str.m_hEulaContentThread_is_NULL
mov ecx, eax
call fcn.004333c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
call fcn.004327d0
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0
cmp word [ebp - 0x1c], 0xb
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
je 0x447b6d
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jns 0x447b64
push eax
call fcn.0048b070
mov eax, 0xb
mov word [ebp - 0x1c], ax
xor eax, eax
jmp 0x447b9a
cmp word [ebp - 0x1c], 0xb
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
je 0x447b97
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jns 0x447b8e
push eax
call fcn.0048b070
mov eax, 0xb
mov word [ebp - 0x1c], ax
or eax, 0xffffffff
mov esi, dword [ebp + 0xc]
mov word [ebp - 0x14], ax
xor eax, eax
movups xmm0, xmmword [ebp - 0x1c]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
push eax
movups xmmword [esi], xmm0
call edi
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 8
Function at 0x4483a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd1c6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0
push 0
push esi
push 0x4484d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
jne 0x448474
push str...includeMcEulaManager.cpp
push str.CMcEulaManager::GetPrivacyNoticeLink
push 0xcc
push 4
lea ecx, [ebp + 8]
call fcn.00431610
mov byte [ebp - 4], 1
mov edx, str.CMcEulaManager::GetPrivacyNoticeLink
mov ecx, dword [eax]
call fcn.00433720
mov edx, str.m_hPrivacyPolicyThread_is_NULL
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
call fcn.004327d0
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0
cmp word [ebp - 0x1c], 0xb
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
je 0x448470
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jns 0x448467
push eax
call fcn.0048b070
mov eax, 0xb
mov word [ebp - 0x1c], ax
xor eax, eax
jmp 0x44849d
cmp word [ebp - 0x1c], 0xb
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
je 0x44849a
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jns 0x448491
push eax
call fcn.0048b070
mov eax, 0xb
mov word [ebp - 0x1c], ax
or eax, 0xffffffff
mov esi, dword [ebp + 0xc]
mov word [ebp - 0x14], ax
xor eax, eax
movups xmm0, xmmword [ebp - 0x1c]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
push eax
movups xmmword [esi], xmm0
call edi
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 8
Function at 0x44c6e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x44c6f5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x44c736
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x44c732
nop word [eax + eax]
cmp esi, edx
jae 0x44c736
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x44c720
cmp esi, edx
jb 0x44c73b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4529e0
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de323
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
lea ecx, [edi + 4]
mov dword [ebp - 0x54], edi
mov dword [edi], 0
call fcn.00452830
push edi
push 0
push 0
push 0x8003
mov dword [ebp - 4], 0
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x452a70
push 0x502b78
lea ecx, [ebp - 0x28]
call fcn.00408dd0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00452510
push 0x523ffc
lea eax, [ebp - 0x4c]
push eax
call fcn.00496264
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004908ad
mov esp, ebp
pop ebp
ret
Function at 0x452ac0
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de379
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0xc]
push eax
push dword [esi]
mov dword [ebp - 0x98], 0
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x452b4c
push 0x502b98
lea ecx, [ebp - 0x28]
call fcn.00408dd0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00452510
push 0x523ffc
lea eax, [ebp - 0x4c]
push eax
call fcn.00496264
push 0
lea eax, [ebp - 0x90]
mov dword [ebp - 0x8c], 0
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], 4
push eax
push 4
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x452b94
push 0x502bb4
lea ecx, [ebp - 0x28]
call fcn.00408dd0
mov dword [ebp - 4], 1
jmp 0x452b2b
push dword [ebp - 0x8c]
call fcn.004a3e8e
add esp, 4
mov edi, eax
lea eax, [ebp - 0x8c]
push 0
push eax
push edi
push 2
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x452bf6
push 0x502bb4
lea ecx, [ebp - 0x64]
call fcn.00408dd0
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x88]
call fcn.00452510
push 0x523ffc
lea eax, [ebp - 0x88]
jmp 0x452b46
sub esp, 8
lea ecx, [ebp - 0x130]
call fcn.00457240
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x130]
mov eax, dword [ebp - 0x130]
xor esi, esi
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
mov ecx, 0x30
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x110], 2
mov dword [ebp + eax - 0x10c], 0
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 4]
mov word [ebp + eax - 0xf0], cx
cmp dword [ebp - 0x8c], esi
jbe 0x452c89
nop dword [eax + eax]
movzx eax, byte [esi + edi]
lea ecx, [ebp - 0x130]
push eax
call fcn.0043a770
inc esi
cmp esi, dword [ebp - 0x8c]
jb 0x452c70
test edi, edi
je 0x452c96
push edi
call fcn.004a2e5c
add esp, 4
mov esi, dword [ebp - 0x94]
lea ecx, [ebp - 0x130]
push esi
call fcn.00457160
lea ecx, [ebp - 0xe0]
call fcn.00457180
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 4
push eax
mov dword [ebp - 0xe0], vtable.std::ios_base.0
call fcn.0049243b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004908ad
mov esp, ebp
pop ebp
ret 0xc
Function at 0x458820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
push eax
push 0x10000
push 1
push edx
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 8], 0x10000
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 0
mov byte [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.004a6f77
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
cmp eax, dword [esi + 8]
jae 0x458886
mov byte [edx + eax], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x458890
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi + 0x10]
mov bl, byte [edx]
cmp edx, dword [esi + 0xc]
jae 0x4588a7
inc edx
mov al, bl
mov dword [esi + 0x10], edx
pop esi
pop ebx
ret
cmp byte [esi + 0x1c], 0
jne 0x4588e6
push dword [esi]
mov eax, dword [esi + 0x14]
push dword [esi + 8]
add dword [esi + 0x18], eax
push 1
push dword [esi + 4]
call fcn.004a6f77
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
cmp eax, dword [esi + 8]
jae 0x4588e6
mov byte [edx + eax], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
pop esi
mov al, bl
pop ebx
ret

Function at 0x4588f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45891b
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45891b
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov al, byte [ebp + 8]
mov byte [ecx], al
inc dword [esi + 0xc]
pop esi
pop ebp
ret 4

Function at 0x458930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
sub edi, dword [esi + 0xc]
cmp ebx, edi
jbe 0x45898f
movsx eax, byte [ebp + 8]
mov dword [ebp + 0xc], eax
nop dword [eax]
push edi
push eax
push dword [esi + 0xc]
call fcn.00496490
add dword [esi + 0xc], edi
add esp, 0xc
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x458980
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
sub ebx, edi
mov edi, dword [esi + 8]
sub edi, dword [esi + 0xc]
cmp ebx, edi
ja 0x458950
test ebx, ebx
je 0x4589a7
movsx eax, byte [ebp + 8]
push ebx
push eax
push dword [esi + 0xc]
call fcn.00496490
add esp, 0xc
add dword [esi + 0xc], ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x45c7e0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
push edi
add dword [esi + 0x10], 0xfffffff8
mov eax, dword [esi + 0x10]
cmp dword [eax], 0
je 0x45c83a
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jb 0x45c817
mov ecx, dword [edi + 4]
cmp eax, ecx
je 0x45c817
push dword [edi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [edi + 4]
add esp, 0x10
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
mov byte [eax], 0xa
inc dword [edi + 0xc]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, dword [esi]
shr eax, 3
imul eax, dword [esi + 0x24]
push eax
movzx eax, byte [esi + 0x20]
push eax
call fcn.00458930
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jb 0x45c861
mov ecx, dword [edi + 4]
cmp eax, ecx
je 0x45c861
push dword [edi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [edi + 4]
add esp, 0x10
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
mov byte [eax], 0x5d
inc dword [edi + 0xc]
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xc]
jne 0x45c894
mov esi, dword [esi]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45c894
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
ret 4

Function at 0x45c8a0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
call fcn.0045d2e0
mov ebx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
lea eax, [ebx + 8]
cmp eax, ecx
jb 0x45c8ef
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x45c8c4
mov ecx, dword [edi + 0x18]
jmp 0x45c8cd
sub ecx, edx
lea eax, [ecx + 1]
shr eax, 1
add ecx, eax
sub ebx, edx
lea esi, [ebx + 8]
cmp ecx, esi
cmovae esi, ecx
push esi
push edx
call fcn.004a2988
add esp, 8
mov dword [edi + 0xc], eax
lea ecx, [eax + ebx]
add eax, esi
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
mov ecx, dword [edi + 0x10]
lea eax, [ecx + 8]
mov dword [edi + 0x10], eax
test ecx, ecx
je 0x45c906
mov dword [ecx], 0
mov byte [ecx + 4], 1
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45c92d
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45c92d
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
pop edi
mov byte [eax], 0x5b
mov al, 1
inc dword [esi + 0xc]
pop esi
pop ebx
ret
Function at 0x45c940
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
push edi
add dword [esi + 0x10], 0xfffffff8
mov eax, dword [esi + 0x10]
cmp dword [eax], 0
je 0x45c99a
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jb 0x45c977
mov ecx, dword [edi + 4]
cmp eax, ecx
je 0x45c977
push dword [edi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [edi + 4]
add esp, 0x10
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
mov byte [eax], 0xa
inc dword [edi + 0xc]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, dword [esi]
shr eax, 3
imul eax, dword [esi + 0x24]
push eax
movzx eax, byte [esi + 0x20]
push eax
call fcn.00458930
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jb 0x45c9c1
mov ecx, dword [edi + 4]
cmp eax, ecx
je 0x45c9c1
push dword [edi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [edi + 4]
add esp, 0x10
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
mov byte [eax], 0x7d
inc dword [edi + 0xc]
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xc]
jne 0x45c9f4
mov esi, dword [esi]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45c9f4
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
ret 4

Function at 0x45ca00
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
call fcn.0045d2e0
mov ebx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
lea eax, [ebx + 8]
cmp eax, ecx
jb 0x45ca4f
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x45ca24
mov ecx, dword [edi + 0x18]
jmp 0x45ca2d
sub ecx, edx
lea eax, [ecx + 1]
shr eax, 1
add ecx, eax
sub ebx, edx
lea esi, [ebx + 8]
cmp ecx, esi
cmovae esi, ecx
push esi
push edx
call fcn.004a2988
add esp, 8
mov dword [edi + 0xc], eax
lea ecx, [eax + ebx]
add eax, esi
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
mov ecx, dword [edi + 0x10]
lea eax, [ecx + 8]
mov dword [edi + 0x10], eax
test ecx, ecx
je 0x45ca66
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45ca8d
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45ca8d
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
pop edi
mov byte [eax], 0x7b
mov al, 1
inc dword [esi + 0xc]
pop esi
pop ebx
ret
Function at 0x45ccb0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmm1
mov dword [ebp - 0x30], ecx
xorps xmm1, xmm1
ucomisd xmm0, xmm1
push esi
push edi
lea esi, [ebp - 0x20]
lahf
test ah, 0x44
jp 0x45ccfa
mov word [ebp - 0x20], 0x2e30
lea edx, [ebp - 0x1d]
mov byte [ebp - 0x1e], 0x30
jmp 0x45cd34
comisd xmm1, xmm0
jbe 0x45cd0e
xorps xmm0, xmmword [0x50e1a0]
lea esi, [ebp - 0x1f]
mov byte [ebp - 0x20], 0x2d
lea eax, [ebp - 0x2c]
movaps xmm3, xmm0
push eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00458530
mov edx, dword [ebp - 0x28]
add esp, 4
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.00458700
add esp, 4
mov edx, eax
lea edi, [ebp - 0x20]
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
mov esi, edi
mov eax, edx
sub eax, esi
xor esi, esi
cmp edi, edx
cmova eax, esi
mov dword [ebp - 0x28], eax
test eax, eax
je 0x45cd9c
mov al, byte [edi]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x30]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45cd87
mov edx, dword [esi + 4]
cmp eax, edx
je 0x45cd87
push dword [esi]
sub eax, edx
push eax
push 1
push edx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
inc ecx
mov dl, byte [ebp - 0x21]
inc edi
mov dword [ebp - 0x2c], ecx
mov byte [eax], dl
inc dword [esi + 0xc]
cmp ecx, dword [ebp - 0x28]
jne 0x45cd55
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004908ad
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x45cdc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
lea ecx, [ebp - 0x18]
push dword [ebp + 8]
mov dword [ebp - 0x24], esi
call fcn.00457930
lea edi, [ebp - 0x18]
add esp, 8
mov ecx, edi
mov edx, edi
mov dword [ebp - 0x20], ecx
xor ebx, ebx
mov ecx, eax
sub ecx, edx
xor edx, edx
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x45ce48
mov esi, dword [esi]
mov al, byte [edi]
mov byte [ebp - 0x19], al
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45ce33
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45ce33
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
inc ebx
mov cl, byte [ebp - 0x19]
inc edi
mov byte [eax], cl
inc dword [esi + 0xc]
mov esi, dword [ebp - 0x24]
cmp ebx, dword [ebp - 0x20]
jne 0x45ce07
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004908ad
mov esp, ebp
pop ebp
ret 8