joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100027a7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000d05c]
jne 0x100027b1
repz ret
jmp fcn.10003d7b

Function at 0x10007ca8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000600d
and dword [ebp - 4], 0
cmp dword [0x1000e670], 0
mov ebx, eax
jne 0x10007d59
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10007e0a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10007e0a
push eax
call fcn.10005f9b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000e670], eax
call esi
push eax
call fcn.10005f9b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000e674], eax
call esi
push eax
call fcn.10005f9b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000e678], eax
call esi
push eax
call fcn.10005f9b
pop ecx
mov dword [0x1000e680], eax
test eax, eax
je 0x10007d59
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10005f9b
pop ecx
mov dword [0x1000e67c], eax
mov eax, dword [0x1000e67c]
cmp eax, ebx
je 0x10007db1
cmp dword [0x1000e680], ebx
je 0x10007db1
push eax
call fcn.10006016
push dword [0x1000e680]
mov esi, eax
call fcn.10006016
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10007db1
test edi, edi
je 0x10007db1
call esi
test eax, eax
je 0x10007da8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10007da8
test byte [ebp - 0xc], 1
jne 0x10007db1
or dword [ebp + 0x10], 0x200000
jmp 0x10007dea
mov eax, dword [0x1000e674]
cmp eax, ebx
je 0x10007dea
push eax
call fcn.10006016
pop ecx
test eax, eax
je 0x10007dea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10007dea
mov eax, dword [0x1000e678]
cmp eax, ebx
je 0x10007dea
push eax
call fcn.10006016
pop ecx
test eax, eax
je 0x10007dea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000e670]
call fcn.10006016
pop ecx
test eax, eax
je 0x10007e0a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10007e0c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ce7b
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall23F3F476_BE34_4f48_9C77_2806A8393EC4
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov ebp, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [0x43b4ec]
push 0x43ca4c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x43baa0
push eax
call fcn.00409be5
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.DisplayName
push edi
push esi
call ebx
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.DisplayIcon
push edi
push esi
call ebx
push 0x462c3c
add ebp, 0x4c
push 0x43e5ac
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.00418311
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00418311
lea ecx, [esp + 0x18]
call fcn.00404beb
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.UninstallString
push edi
push esi
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push str.5.0.7.2
call ebp
pop ecx
shl eax, 1
push eax
push str.5.0.7.2
push 1
push str.DisplayVersion
push edi
push esi
call ebx
push 0x462bec
call ebp
pop ecx
shl eax, 1
push eax
push 0x462bec
push 1
push str.Publisher
push edi
push esi
call ebx
push str.www.360.cn
call ebp
pop ecx
shl eax, 1
push eax
push str.www.360.cn
push 1
push str.Publisher
push edi
push esi
call ebx
lea ecx, [esp + 0x14]
call fcn.00404beb
lea ecx, [esp + 0x10]
call fcn.00404beb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4226d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00431de0
push ebx
push esi
push edi
mov esi, ecx
call fcn.00422556
cmp dword [esi + 0x150c], 0
mov ecx, esi
sete al
push eax
call fcn.00422469
mov ecx, esi
call fcn.0041ffce
and word [ebp - 0x1008], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1006]
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.Software360360se5
stosw word es:[edi], ax
push str._sdefaultoption
lea eax, [ebp - 0x1008]
push 0x3ff
push eax
call ebx
mov eax, dword [esi + 0x30]
push str.5.1.0.0
push eax
call fcn.00423c9d
mov edi, eax
mov eax, dword [esi + 0x30]
push str.5.1.0.9
push eax
call fcn.00423c9d
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x30]
push str.5.0.3.8
push eax
call fcn.00423c9d
add esp, 0x28
test edi, edi
jl 0x422773
cmp dword [ebp - 4], 0
jl 0x422777
test eax, eax
jge 0x4227a3
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x1008]
push str.TabWidthMin
push eax
push SysReAllocString
call edi
lea eax, [ebp - 0x1008]
push str.TabWidthMax
push eax
push SysReAllocString
call edi
cmp dword [0x4681e4], 0
je 0x422818
push str.5.0.7.2
lea ecx, [ebp - 4]
call fcn.00404707
and word [ebp - 0x808], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x806]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultmain
lea eax, [ebp - 0x808]
push 0x3ff
push eax
call ebx
mov eax, dword [ebp - 4]
add esp, 0x10
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
lea eax, [ebp - 0x808]
push str.Version
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 4]
call fcn.00404beb
xor eax, eax
cmp dword [esi + 0x1520], eax
jne 0x4228b9
cmp dword [0x4681e0], eax
jne 0x4228b9
mov ecx, 0x1ff
lea edi, [ebp - 0x806]
mov word [ebp - 0x808], ax
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._sdefaultWnd
lea eax, [ebp - 0x808]
push 0x3ff
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x808]
push 0x4644e8
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov eax, 0x4644e4
add esi, 0x48
push eax
push esi
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042342b
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
lea ecx, [ebp - 8]
call fcn.00404beb
push 0
push 0
push 1
push dword [ebp - 4]
call fcn.0042795f
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422a39
Capabilities:
Check if file exists
Create thread
Delete file
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
mov ebx, ecx
push esi
push str.dataie8core.dll
lea eax, [ebx + 0x44]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
push eax
mov ecx, 0x4690c8
call fcn.00404768
lea ecx, [ebp - 4]
call fcn.00404beb
push dword [0x4690c8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422b91
lea eax, [ebp - 0x10]
xor esi, esi
push eax
lea eax, [ebp - 0xc]
push esi
push eax
push 0x422a29
push esi
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push 0x493e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x422abd
push dword [0x4690c8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x422acc
push 4
push esi
push dword [0x4690c8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [0x4681e4], esi
je 0x422b45
push edi
push str.5.0.7.2
lea ecx, [ebp - 4]
call fcn.00404707
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80e]
mov word [ebp - 0x810], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultmain
lea eax, [ebp - 0x810]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebp - 4]
add esp, 0x10
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
lea eax, [ebp - 0x810]
push str.Version
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
mov ecx, ebx
call fcn.00422556
cmp dword [0x4681e0], esi
jne 0x422b91
mov eax, 0x4644e4
add ebx, 0x48
push eax
push ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042342b
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
lea ecx, [ebp - 8]
call fcn.00404beb
push esi
push esi
push 1
push dword [ebp - 4]
call fcn.0042795f
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.00404beb
pop esi
pop ebx
leave
ret

Function at 0x422bfb
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x4c]
push str.IDR_ZIP_MINOR
call fcn.004228be
push dword [esi + 0x44]
mov ecx, esi
push str.IDR_ZIP_DATA
call fcn.004228be
cmp dword [esi + 0x150c], 1
jne 0x422c7e
cmp dword [esi + 0x14ec], 0
jne 0x422c7e
push 4
lea eax, [ebp - 8]
pop edi
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x46460c
mov ebx, SysReAllocString
push str.Software360360se3
push ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x422c7e
lea eax, [ebp - 4]
push edi
push eax
push edi
push str.switch
push str.Software360360se5defaultie8c
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor edi, edi
cmp dword [esi + 0x1520], edi
je 0x422c8f
mov ecx, esi
call fcn.00422a39
push edi
push edi
push 0x1405
call fcn.00410026
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40240a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x405078]
jne 0x402414
repz ret
jmp fcn.004028f1

Function at 0x4026c0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x401ce2
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x401cd8
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x401ce4
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x401cc8
xor eax, eax
pop edi
pop esi
pop ebx
ret
jmp 0x401ca6

Function at 0x32a3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.032a378f
jae 0x32a370e
xor ecx, ecx
call fcn.032a378f
jae 0x32a373d
xor eax, eax
call fcn.032a378f
jae 0x32a374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.032a378f
adc al, al
jae 0x32a372f
jne 0x32a3779
stosb byte es:[edi], al
jmp 0x32a3711
call fcn.032a379b
sub ecx, ebx
jne 0x32a3756
call fcn.032a3799
jmp 0x32a3775
lodsb al, byte [esi]
shr eax, 1
je 0x32a3783
adc ecx, ecx
jmp 0x32a3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.032a3799
cmp eax, 0x7d00
jae 0x32a3772
cmp ah, 5
jae 0x32a3773
cmp eax, 0x7f
ja 0x32a3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x32a3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x1a1520
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push 0x1d2c50
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.001b5a07
add esp, 0xc
test eax, eax
je 0x1a1544
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push ebx
push ebp
push esi
push edi
push 2
push 0
push edx
call fcn.001b5ae4
mov eax, dword [esp + 0x1c]
push eax
call fcn.001b5d06
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
mov esi, eax
call fcn.001b5ae4
lea ebp, [esi + 0x32]
push ebp
call fcn.001b565a
mov edx, dword [esp + 0x30]
push edx
push 1
mov edi, eax
push esi
push edi
call fcn.001b6014
mov eax, dword [esp + 0x40]
push eax
call fcn.001b60a8
lea ebx, [edi + esi]
mov eax, 0x32
call fcn.001a3fc0
mov ecx, dword [esp + 0x4c]
push 0x1d2c58
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.001b5a07
add esp, 0x40
test eax, eax
je 0x1a15c2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push eax
push 1
push ebp
push edi
call fcn.001b6286
mov ecx, dword [esp + 0x20]
push ecx
call fcn.001b60a8
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x1a2f70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x68c
mov eax, dword [0x1d7c24]
xor eax, esp
mov dword [esp + 0x684], eax
push ebx
push ebp
push esi
push edi
push 0x1d32d0
push 0x1d32d4
call fcn.001b6400
mov esi, eax
add esp, 8
test esi, esi
je 0x1a2fc8
push 0
push 0x2580
push esi
call fcn.001b5ae4
add esp, 0xc
push esi
push 5
push 1
push 0x1d32e0
call fcn.001b6286
push esi
call fcn.001b60a8
add esp, 0x14
cmp byte [0x1dc78b], 1
jne 0x1a3146
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x492]
push ecx
mov word [esp + 0x494], ax
call fcn.001b7c50
mov esi, dword [fcn.001cb20c]
add esp, 0xc
push 0x1d32e8
mov dword [esp + 0x18], 0
call esi
mov edi, dword [0x1cb08c]
mov ebx, dword [0x1cb1fc]
mov ebp, dword [fcn.001cb240]
cmp eax, 0xffffffff
je 0x1a304e
test al, 1
je 0x1a3028
xor eax, 1
test al, 4
je 0x1a302f
xor eax, 4
test al, 2
je 0x1a3036
xor eax, 2
test al, 0x20
je 0x1a303d
xor eax, 0x20
push eax
push 0x1d32e8
call edi
push 0x1d32e8
call ebx
call ebp
push 0x1d3304
call esi
cmp eax, 0xffffffff
je 0x1a3087
test al, 1
je 0x1a3061
xor eax, 1
test al, 4
je 0x1a3068
xor eax, 4
test al, 2
je 0x1a306f
xor eax, 2
test al, 0x20
je 0x1a3076
xor eax, 0x20
push eax
push 0x1d3304
call edi
push 0x1d3304
call ebx
call ebp
push 0x1d3330
call esi
cmp eax, 0xffffffff
je 0x1a30c0
test al, 1
je 0x1a309a
xor eax, 1
test al, 4
je 0x1a30a1
xor eax, 4
test al, 2
je 0x1a30a8
xor eax, 2
test al, 0x20
je 0x1a30af
xor eax, 0x20
push eax
push 0x1d3330
call edi
push 0x1d3330
call ebx
call ebp
push 0x104
lea edx, [esp + 0x48c]
push edx
call dword [fcn.001cb200]
movzx eax, word [esp + 0x488]
sub eax, 0x41
push eax
lea ebx, [esp + 0x18]
call fcn.001a4440
mov ebx, dword [esp + 0x18]
add esp, 4
call fcn.001a42c0
mov edi, eax
cmp edi, 0xffffffff
je 0x1a3146
lea esi, [esp + 0x250]
call fcn.001a4780
test eax, eax
je 0x1a3146
mov ecx, edi
call fcn.001a31c0
mov ecx, 0x8d
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x250]
push 0x236
lea edx, [esp + 0x1c]
push edx
movsw word es:[edi], word [esi]
push 0x1e
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0x5042475f
call fcn.001a4250
add esp, 0xc
mov ecx, dword [esp + 0x694]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.001b55fc
add esp, 0x68c
ret
Function at 0x1a3530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
or eax, 0xffffffff
push ebx
mov ebx, 1
push ebp
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.001b631a
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x1d34e8]
fadd qword [0x1d3500]
call fcn.001b9970
mov ebp, eax
xor esi, esi
xor edi, edi
test ebp, ebp
jle 0x1a3650
call fcn.001b631a
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x1d34e8]
fmul qword [0x1d34f8]
fadd qword [0x1d34f0]
call fcn.001b9970
mov ecx, eax
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0x1a3638
lea esp, [esp]
add ecx, ebx
cmp ecx, 0x1a
jne 0x1a3629
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x1a3620
add esi, dword [esp + ecx*4 + 0x18]
mov eax, dword [esp + 0x84]
add ecx, 0x61
mov word [eax + edi*2], cx
add edi, ebx
cmp edi, ebp
jl 0x1a35e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x1a5b90
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
mov eax, 0x1068
call fcn.001ba100
mov eax, dword [0x1d7c24]
xor eax, esp
mov dword [esp + 0x1064], eax
mov eax, dword [esp + 0x106c]
push ebx
push ebp
push 0x1d1cf8
push eax
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x14], ebx
xor ebp, ebp
call fcn.001b5a07
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, ebx
jne 0x1a5bfb
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
pop ebp
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
pop ebx
mov ecx, dword [esp + 0x1064]
xor ecx, esp
call fcn.001b55fc
add esp, 0x1068
ret
push esi
push 2
push ebx
push eax
call fcn.001b5ae4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.001b5d06
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push edx
mov dword [esp + 0x2c], eax
call fcn.001b5ae4
mov eax, dword [esp + 0x28]
push eax
push 0x1000
lea ecx, [esp + 0x94]
push 1
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 0x67452301
mov dword [esp + 0x4c], 0xefcdab89
mov dword [esp + 0x50], 0x98badcfe
mov dword [esp + 0x54], 0x10325476
mov dword [esp + 0x58], 0xc3d2e1f0
call fcn.001b6014
mov esi, eax
add esp, 0x2c
cmp esi, ebx
jbe 0x1a5ca6
lea edx, [esp + 0x70]
push esi
push edx
lea ebx, [esp + 0x1c]
call fcn.001a5a00
mov eax, dword [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x80]
push 1
push ecx
add ebp, esi
call fcn.001b6014
mov esi, eax
add esp, 0x18
test esi, esi
ja 0x1a5c71
xor ebx, ebx
push edi
lea esi, [esp + 0x18]
call fcn.001a5aa0
mov edx, dword [esp + 0x10]
push edx
call fcn.001b60a8
add esp, 8
pop esi
cmp ebp, dword [esp + 0xc]
jb 0x1a5bd4
mov ecx, dword [esp + 0x106c]
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.001b55fc
add esp, 0x1068
ret

Function at 0x1a64a0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.001ba100
mov eax, dword [0x1d7c24]
xor eax, esp
mov dword [esp + 0x1008], eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x1010]
push ebp
mov ebp, dword [0x1cb3fc]
push edi
xor edi, edi
push edi
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x1c], eax
call ebp
cmp eax, 4
je 0x1a64f8
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.001b55fc
add esp, 0x100c
ret
cmp dword [esp + 8], edi
jbe 0x1a653d
push esi
nop
mov ecx, dword [ebx]
push 0
push 0x1000
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
mov esi, eax
test esi, esi
je 0x1a653c
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.001b6286
add edi, esi
add esp, 0x10
mov dword [0x1dc204], edi
cmp edi, dword [esp + 0xc]
jb 0x1a6500
pop esi
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push eax
call fcn.001b60a8
mov ecx, dword [esp + 0x1014]
add esp, 4
cmp edi, dword [esp + 8]
pop edi
sbb eax, eax
pop ebp
xor ecx, esp
inc eax
call fcn.001b55fc
add esp, 0x100c
ret
Function at 0x1a69e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x1d7c24]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.001b7c50
add esp, 0xc
cmp edi, esi
je 0x1a6ac8
mov eax, 0x1d17d4
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1a6a25
sub eax, edx
sar eax, 1
je 0x1a6a4f
push 0x1d16f4
lea edx, [esp + 8]
push 0x1d17d4
push edx
call fcn.001b5a07
add esp, 0xc
jmp 0x1a6a8a
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [fcn.001cb204]
push 0x1d16fc
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.001b57f4
push 0x1d1718
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.001b5a07
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0x1a6aad
push eax
push 1
push 0x200
push edi
call fcn.001b6286
mov ecx, dword [esp + 0x14]
push ecx
call fcn.001b60a8
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.001b55fc
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.001b55fc
add esp, 0x214
ret

Function at 0x1a6ae0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x1d7c24]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.001b7c50
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x1a6be5
mov eax, 0x1d1750
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1a6b25
sub eax, edx
sar eax, 1
je 0x1a6be5
cmp dword [0x1d8f90], 3
jne 0x1a6b6c
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [fcn.001cb200]
push 0x1d1720
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.001b57f4
add esp, 0xc
jmp 0x1a6b7c
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [fcn.001cb204]
push 0x1d1750
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.001b57f4
push 0x1d1724
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.001b5a07
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x1a6be5
push eax
push 1
push 0x200
push esi
call fcn.001b6014
mov edx, dword [esp + 0x14]
push edx
call fcn.001b60a8
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.001b55fc
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.001b55fc
add esp, 0x214
ret
Function at 0x1a6c00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x1d7c24]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.001b7c50
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x1a6ccf
mov eax, 0x1d1734
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1a6c45
sub eax, edx
sar eax, 1
je 0x1a6ccf
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.001cb204]
push 0x1d1734
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.001b57f4
push 0x1d172c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.001b5a07
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x1a6ccf
push eax
push 1
push 0x200
push esi
call fcn.001b6014
mov eax, dword [esp + 0x14]
push eax
call fcn.001b60a8
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.001b55fc
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.001b55fc
add esp, 0x214
ret