joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42df1d
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x467ba0
call fcn.0045c1cc
sub esp, 0xb0
push ebx
push esi
push edi
push 0x10
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0xb8]
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0xbc], 0x44
call fcn.0042f543
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0042d05f
add esp, 0xc
lea ecx, [ebp - 0x28]
push 0x104
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00417954
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 4
call fcn.0041734a
lea ecx, [ebp - 0x1c]
mov dword [esi + 8], eax
push ecx
lea ecx, [ebp - 0xbc]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
lea ecx, [ebp - 0x28]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 3
inc bl
call fcn.0041706c
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040be02
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0040be02
pop edi
pop esi
test bl, bl
pop ebx
je 0x42dffd
lea ecx, [ebp - 0x44]
call fcn.00419469
lea eax, [ebp - 0x44]
push 0x478220
push eax
call fcn.0045c315
push 0x3a98
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42e02d
push 0x5b4
lea ecx, [ebp - 0x44]
call fcn.00423ea4
lea eax, [ebp - 0x44]
push 0x478220
push eax
call fcn.0045c315
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0042e053
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040be02
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x2c
Function at 0x42f44d
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x467da7
call fcn.0045c1cc
sub esp, 0x138
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
and byte [ebp - 0x144], bl
xor eax, eax
lea edi, [ebp - 0x143]
mov dword [ebp - 0x14], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10], ebx
push 1
lea eax, [ebp - 0x10]
pop esi
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42f4c9
cmp dword [ebp + 0xc], esi
mov dword [ebp - 0x18], 0x104
mov eax, str.CommonFilesDir
je 0x42f4b2
mov eax, str.ProgramFilesDir
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x144]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xf]
push ebx
push eax
lea eax, [ebp - 0x144]
mov edi, 0x46cb98
mov esi, 0x46cb90
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.004170f0
push 0x4827cc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004181c7
mov ebx, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00408cac
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040be02
cmp dword [ebp - 0x10], 0
je 0x42f532
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43174a
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x431769
xor al, al
jmp 0x431783
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x431787
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret
Function at 0x4317d6
Capabilities:
Accept command line arguments
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 0
call esi
or ax, 0x8001
push eax
call esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov dword [ebp + 0x10], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [ebp + 8]
mov ebx, 0x49a100
mov dword [0x49a170], 0x4837b0
mov dword [0x49a0f8], ebx
push 0x483740
push ebx
mov dword [0x49a100], 0x84
mov dword [0x49a164], 0x300
call fcn.00431f65
mov eax, 0x46f0b8
mov ecx, eax
test ecx, ecx
je 0x43185c
push 0x10
push eax
push 0x49a0e8
call fcn.0045c690
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x483868
lea edi, [ebp - 4]
movsw word es:[edi], word [esi]
mov dword [0x49a184], eax
lea eax, [ebp - 4]
movsb byte es:[edi], byte [esi]
xor edi, edi
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], edi
call fcn.00431795
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
je 0x43195f
push str.UnregServer
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4318b6
push str.RegServer
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4318d7
lea eax, [ebp - 4]
push eax
push esi
jmp 0x43187e
push edi
push 1
push ebx
call fcn.004322e2
push 0x46e458
push 0x46d8b8
mov dword [ebp + 8], eax
call dword [sym.imp.ole32.dll_CoTreatAsClass]
jmp 0x4319a6
push 5
mov esi, str.SetupLogServices_Class
pop ecx
lea edi, [ebp - 0xa0]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0x1a
xor eax, eax
pop ecx
lea edi, [ebp - 0x89]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor edi, edi
push edi
push 1
push ebx
mov dword [ebp + 0x10], edi
call fcn.00432169
mov dword [ebp + 8], eax
lea eax, [ebp + 0x10]
push eax
push str.CLSID8c3c1b17_e59d_11d2_b40b_00a024b9dddd
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xa0]
push eax
push 1
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 0x46f1d8
push 0x46d8b8
call dword [sym.imp.ole32.dll_CoTreatAsClass]
cmp dword [ebp + 0x10], edi
je 0x4319a6
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4319a6
mov ecx, ebx
call fcn.0043174a
push edi
push 4
push ebx
call fcn.00431fe8
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
lea eax, [ebp - 0x20]
push edi
push eax
call esi
test eax, eax
je 0x431995
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
push edi
lea eax, [ebp - 0x20]
push edi
push eax
jmp 0x43197c
push ebx
call fcn.0043207d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.004320b9
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x431c6b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 4]
xor esi, esi
mov ecx, dword [ecx]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x431c9f
mov edi, dword [ebp - 4]
xor eax, eax
cmp eax, esi
mov ebx, eax
jne 0x431cc2
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
cmp edi, esi
je 0x431ccd
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc

Function at 0x431cd6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 8]
xor esi, esi
push eax
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
jne 0x431d5b
xor eax, eax
cmp dword [ebp - 4], esi
je 0x431d17
push dword [ebp - 4]
call edi
mov ecx, dword [ebp - 8]
cmp eax, esi
mov dword [ebp - 4], ecx
jne 0x431d5b
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x10]
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
lea ecx, [ebp - 4]
push dword [ebp + 8]
push str.CLSID
call fcn.00431c6b
cmp dword [ebp - 4], esi
je 0x431d57
push dword [ebp - 4]
call edi
xor eax, eax
jmp 0x431d79
cmp eax, esi
push ebx
jle 0x431d6a
and eax, 0xffff
or eax, 0x80070000
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x431d76
push dword [ebp - 4]
call edi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x431e6d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x468140
call fcn.0045c1cc
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00431c2d
mov edi, eax
cmp edi, esi
je 0x431eb7
cmp dword [ebp - 0x10], esi
je 0x431eb0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x431f54
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x431f28
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.00431e6d
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x431f15
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x431eda
cmp dword [ebp - 0x10], esi
je 0x431f23
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x431f54
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x431f3b
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x431f52
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x43683d
Capabilities:
Create thread

Disassembly:
mov eax, 0x4688e8
call fcn.0045c1cc
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x14], edi
lea ebx, [esi + 0x14]
jne 0x4368da
push str.UIManagerStarted
push edi
push edi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0x10]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x18]
push edi
push eax
push 0x436728
push edi
push edi
call fcn.0045d16f
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
add esp, 0x18
cmp eax, dword [ebp - 0x14]
je 0x4368a0
cmp eax, edi
je 0x43689a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
push 0x7530
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push 0x46eda8
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoGetInterfaceAndReleaseStream]
mov eax, dword [ebx]
push dword [esi + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], edi
je 0x4368da
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx]
push dword [ebp + 8]
mov eax, dword [ebx]
push 0x46eda8
push ebx
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4371e5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x4371f9
push 0x26
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43722d
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459f08
test al, al
jne 0x437260
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.004296bf
lea eax, [ebp - 0x4c]
push 0x4776f8
push eax
call fcn.0045c315
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x437260
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00419298
lea eax, [ebp - 0x48]
push 0x473fc8
push eax
call fcn.0045c315
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x437268
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43727c
push 6
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4372b0
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459f08
test al, al
jne 0x4372e3
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.004296bf
lea eax, [ebp - 0x4c]
push 0x4776f8
push eax
call fcn.0045c315
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4372e3
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00419298
lea eax, [ebp - 0x48]
push 0x473fc8
push eax
call fcn.0045c315
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x43a4ab
Capabilities:
Delete file

Disassembly:
mov eax, 0x468e87
call fcn.0045c1cc
sub esp, 0x134
and dword [ebp - 0x10], 0
push esi
mov esi, ecx
mov eax, dword [esi + 0x330]
mov dword [ebp - 4], 1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 4]
push dword [ecx + eax + 8]
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0x140]
mov al, byte [eax + 0x14]
push dword [esi + 0x490]
shr al, 5
and al, 1
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00427feb
push dword [esi + 0x318]
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
push dword [eax + 0x3e]
call fcn.0043c305
test al, al
lea eax, [ebp + 8]
push 0x80
push eax
je 0x43a5a1
call fcn.0043a5ed
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push 0
push eax
mov dword [ecx], 0x46cb98
mov dword [ecx + 0x20], 0x46cb90
call fcn.00408cac
lea ecx, [ebp - 0x140]
call fcn.0044e443
mov eax, dword [esi + 0x318]
lea ecx, [ebp - 0x18]
push ecx
mov cx, word [eax + 0x46]
mov ax, word [eax + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov al, byte [esi + 0x48c]
lea ecx, [ebp - 0x140]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi + 0x318]
push dword [eax + 0x40]
call fcn.0044e4fe
jmp 0x43a5b7
call fcn.0043a5ed
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.0041734a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.0044e1cf
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040be02
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.0040be02
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x50

Function at 0x43a5ed
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.0041734a
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x43a624
push 1
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.00419298
lea eax, [ebp - 0x48]
push 0x473fc8
push eax
call fcn.0045c315
leave
ret

Function at 0x43bff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43c006
mov eax, 0x1ed
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43c03a
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459f08
test al, al
jne 0x43c06d
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.004296bf
lea eax, [ebp - 0x4c]
push 0x4776f8
push eax
call fcn.0045c315
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43c06d
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00419298
lea eax, [ebp - 0x48]
push 0x473fc8
push eax
call fcn.0045c315
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x43c075
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43c08b
mov eax, 0x286
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43c0bf
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459f08
test al, al
jne 0x43c0f2
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.004296bf
lea eax, [ebp - 0x4c]
push 0x4776f8
push eax
call fcn.0045c315
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43c0f2
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00419298
lea eax, [ebp - 0x48]
push 0x473fc8
push eax
call fcn.0045c315
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43c0fa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43c10d
xor eax, eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43c141
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459f08
test al, al
jne 0x43c174
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.004296bf
lea eax, [ebp - 0x4c]
push 0x4776f8
push eax
call fcn.0045c315
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43c174
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00419298
lea eax, [ebp - 0x48]
push 0x473fc8
push eax
call fcn.0045c315
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43c17c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43c190
push 4
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43c1c4
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459f08
test al, al
jne 0x43c1f7
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.004296bf
lea eax, [ebp - 0x4c]
push 0x4776f8
push eax
call fcn.0045c315
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43c1f7
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00419298
lea eax, [ebp - 0x48]
push 0x473fc8
push eax
call fcn.0045c315
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x43c1ff
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43c213
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43c247
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459f08
test al, al
jne 0x43c27a
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.004296bf
lea eax, [ebp - 0x4c]
push 0x4776f8
push eax
call fcn.0045c315
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43c27a
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00419298
lea eax, [ebp - 0x48]
push 0x473fc8
push eax
call fcn.0045c315
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43c282
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43c296
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43c2ca
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459f08
test al, al
jne 0x43c2fd
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.004296bf
lea eax, [ebp - 0x4c]
push 0x4776f8
push eax
call fcn.0045c315
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43c2fd
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00419298
lea eax, [ebp - 0x48]
push 0x473fc8
push eax
call fcn.0045c315
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x449b04
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
call fcn.0041734a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x449b39
push 1
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.00419298
lea eax, [ebp - 0x48]
push 0x473fc8
push eax
call fcn.0045c315
leave
ret

Function at 0x44e1cf
Capabilities:
Delete file

Disassembly:
mov eax, 0x46b0f1
call fcn.0045c1cc
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi - 4], 0x46d64c
mov dword [esi], 0x46d648
mov dword [ebp - 4], 5
call fcn.00428166
cmp dword [esi + 0xc8], 0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x44e217
lea ecx, [esi + 0xbc]
call fcn.0041734a
push eax
call edi
cmp dword [esi + 0xf0], 0
je 0x44e22e
lea ecx, [esi + 0xe4]
call fcn.0041734a
push eax
call edi
mov eax, dword [esi + 0x114]
mov byte [ebp - 4], 4
test eax, eax
je 0x44e242
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x110]
mov byte [ebp - 4], 3
test eax, eax
je 0x44e256
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 2
call fcn.0040be02
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 1
call fcn.0040be02
and byte [ebp - 4], 0
lea ecx, [esi + 0x94]
call fcn.0040be02
lea edi, [esi - 4]
neg edi
sbb edi, edi
and edi, esi
mov dword [ebp - 0x10], edi
mov dword [edi], 0x46d654
mov ecx, edi
mov dword [ebp - 4], 6
call fcn.00428166
or dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
call fcn.0040be02
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret