joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449e00
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
mov edi, eax
cmp edi, 3
mov esi, edx
jl 0x449e91
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx + edx*2]
sub edi, eax
push ebx
mov edi, edi
movzx eax, byte [esi]
shr eax, 2
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx], ax
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx + 2], ax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
add ecx, 2
and eax, 0xf
add eax, eax
add eax, eax
shr ebx, 6
or eax, ebx
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 2
mov word [ecx], ax
movzx eax, byte [esi + 2]
and eax, 0x3f
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 2
mov word [ecx], ax
add ecx, 2
add esi, 3
sub edx, 1
jne 0x449e20
pop ebx
test edi, edi
jle 0x449f02
movzx edx, byte [esi]
shr edx, 2
movsx ax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx], ax
mov al, byte [esi]
and al, 3
add ecx, 2
shl al, 4
cmp edi, 1
jle 0x449ebd
mov dl, byte [esi + 1]
shr dl, 4
or al, dl
movzx eax, al
movsx dx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx], dx
add ecx, 2
cmp edi, 2
jge 0x449eda
mov eax, 0x3d
jmp 0x449ee9
movzx eax, byte [esi + 1]
and eax, 0xf
movsx eax, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx], ax
add ecx, 2
mov edx, 0x3d
mov word [ecx], dx
add ecx, 2
xor eax, eax
pop edi
mov word [ecx], ax
pop esi
ret
xor edx, edx
pop edi
mov word [ecx], dx
pop esi
ret
Function at 0x449f10
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
mov edi, eax
cmp edi, 3
mov esi, edx
jl 0x449f95
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx + edx*2]
sub edi, eax
push ebx
lea ebx, [ebx]
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
inc ecx
and eax, 0xf
add eax, eax
add eax, eax
shr ebx, 6
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
sub edx, 1
jne 0x449f30
pop ebx
test edi, edi
jle 0x449ff5
movzx edx, byte [esi]
shr edx, 2
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov al, byte [esi]
and al, 3
inc ecx
shl al, 4
cmp edi, 1
jle 0x449fbd
mov dl, byte [esi + 1]
shr dl, 4
or al, dl
movzx eax, al
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
cmp edi, 2
jge 0x449fdf
mov eax, 0x3d
mov byte [ecx], al
inc ecx
mov byte [ecx], al
inc ecx
pop edi
mov byte [ecx], 0
pop esi
ret
movzx eax, byte [esi + 1]
and eax, 0xf
movsx eax, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
pop edi
mov byte [ecx], 0
pop esi
ret

Function at 0x44a170
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x44a182
mov esi, 0x546fe0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00448100
add esp, 4
lea ebx, [esp + 8]
mov eax, esi
call fcn.004483a0
mov eax, esi
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x44ad70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x509968
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.004ccfcd
mov dword [eax + 0x24], fcn.004cf168
mov dword [eax + 0x28], fcn.004ccef0
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], vtable.n_config::t_arraySection_class_t_configSignatureFile::t_signature_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0xc

Function at 0x44c980
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x804], eax
mov ecx, dword [esp + 0x80c]
push esi
lea eax, [esp + 0x814]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_wvsprintfW]
mov esi, eax
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [0x548460]
lea ecx, [esi + esi]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004ccee1
add esp, 0x808
ret
Function at 0x44c9f0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
sub esp, 0x474
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x46c], eax
push esi
push edi
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x6a]
push ecx
mov word [esp + 0x6c], ax
call fcn.004d3fc0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
push 0x5213d8
lea edx, [esp + 0x64]
push edx
call esi
push 0x548258
lea eax, [esp + 0x64]
push eax
call esi
push 0x548258
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
jbe 0x44cbe5
push 0x548258
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [edi*2 + 0x548256], 0x5c
je 0x44ca75
push 0x5212f4
lea ecx, [esp + 0x64]
push ecx
call esi
push str.crashrpt.exe
lea edx, [esp + 0x64]
push edx
call esi
push 0x52baa8
lea eax, [esp + 0x64]
push eax
call esi
push 0x548050
lea ecx, [esp + 0x64]
push ecx
call esi
push 0x52baa8
lea edx, [esp + 0x64]
push edx
call esi
push str.sogoupy
lea eax, [esp + 0x64]
push eax
call esi
push 0x52baa8
lea ecx, [esp + 0x64]
push ecx
call esi
cmp byte [0x541ac6], 0
mov eax, 0x5295bc
jne 0x44cad0
mov eax, 0x522100
push eax
lea edx, [esp + 0x64]
push edx
call esi
push 0x5213d8
lea eax, [esp + 0x64]
push eax
call esi
push 0x5c
push 0x547e48
call fcn.004cdde6
mov edi, eax
add esp, 8
test edi, edi
je 0x44cb1c
push 0x52bab0
lea ecx, [esp + 0x64]
push ecx
call esi
add edi, 2
push edi
lea edx, [esp + 0x64]
push edx
call esi
push 0x5213d8
lea eax, [esp + 0x64]
push eax
call esi
push 0x5c
push 0x547c40
call fcn.004cdde6
mov edi, eax
add esp, 8
test edi, edi
je 0x44cb54
push 0x52bab0
lea ecx, [esp + 0x64]
push ecx
call esi
add edi, 2
push edi
lea edx, [esp + 0x64]
push edx
call esi
push 0x5213d8
lea eax, [esp + 0x64]
push eax
call esi
push 0x44
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.004d3fc0
add esp, 0xc
cmp byte [0x541ac6], 0
mov dword [esp + 0x18], 0x44
je 0x44cb88
mov edx, 5
mov dword [esp + 0x44], 1
mov word [esp + 0x48], dx
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.00442f80
add eax, 0xc
cmp dword [eax + 4], 0
jne 0x44cbac
xor eax, eax
jmp 0x44cbc0
cmp byte [eax + 0x11c], 0
je 0x44cbba
add eax, 0xc
jmp 0x44cbbd
mov eax, dword [eax + 8]
add eax, 4
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x474]
pop edi
pop esi
xor ecx, esp
call fcn.004ccee1
add esp, 0x474
ret
Function at 0x44ce30
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push str.SoftWareSogouInput
push reloc.WS2_32.dll_accept
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44cebe
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x14]
push eax
push 0
push str.CheckCrash
push ecx
mov dword [esp + 0x24], 4
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44ceb4
cmp dword [esp + 4], eax
je 0x44ceb4
push 4
lea edx, [esp + 0x14]
push edx
push 4
push eax
mov eax, dword [esp + 0x10]
push str.CheckCrashRes
push eax
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x14
ret

Function at 0x44eac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50c131
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
cmp eax, ebx
jne 0x44eb16
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], ax
jmp 0x44eba6
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], cx
mov dword [esp + 0x38], 1
mov edx, dword [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.0044ebd0
add esp, 8
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
cmp eax, ebx
je 0x44eb80
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x18]
xor eax, eax
push ecx
mov ecx, esi
mov word [esi + 4], ax
call fcn.0042ad00
mov byte [esp + 0x38], bl
cmp dword [esp + 0x28], 8
mov dword [esp + 8], 1
jb 0x44eba6
mov edx, dword [esp + 0x14]
push edx
jmp 0x44eb9e
xor eax, eax
mov word [esi + 4], ax
mov byte [esp + 0x38], bl
cmp dword [esp + 0x28], 8
mov dword [esp + 8], 1
jb 0x44eba6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004cf512
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004ccee1
add esp, 0x34
ret
Function at 0x450f90
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x5433cc], 0
je 0x450fe5
mov eax, dword [0x5433d4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x450fe5
cmp dword [eax], 3
jbe 0x450fe5
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x450fe5
push 0
push 0x54526c
push 0x54524c
push 0
push eax
call fcn.00507faf
add esp, 0x14
test eax, eax
je 0x450fe5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov al, 1
ret
xor al, al
ret

Function at 0x451000
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x5433cc], 0
push esi
push edi
mov esi, eax
je 0x451049
mov eax, dword [0x5433d4]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test eax, eax
je 0x451049
cmp dword [eax], 3
jbe 0x451049
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x451076
push 8
call fcn.004cf589
add esp, 4
test eax, eax
je 0x45104e
mov dword [eax + 4], esi
mov dword [eax], vtable.t_visualDataItemPtr_struct_t_cuResourceManagerWrap_.0
mov esi, eax
jmp 0x451050
pop edi
xor al, al
pop esi
ret
xor esi, esi
cmp dword [0x5433cc], 0
je 0x45107e
mov edx, dword [0x5433d4]
push edx
call edi
test eax, eax
je 0x45107e
cmp dword [eax], 3
jbe 0x45107e
mov eax, dword [eax + 8]
mov dword [eax + 0xc], esi
pop edi
mov al, 1
pop esi
ret
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push esi
call eax
pop edi
mov al, 1
pop esi
ret
Function at 0x454870
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x68
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebp, ebp
cmp eax, ebp
je 0x4548b5
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4548b5
push 2
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_MonitorFromRect]
cmp eax, ebp
jne 0x4548e6
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
jne 0x4548d4
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 2
push ecx
push edx
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x50], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x454920
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esi], edx
mov edx, dword [esp + 0x68]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop edi
pop ebp
pop ebx
add esp, 0x68
ret
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
call edi
push 1
mov ebx, eax
call edi
xor ecx, ecx
xor edx, edx
mov dword [esi], ecx
mov dword [esi + 4], edx
push ebp
mov dword [esi + 8], ebx
push str.Shell_TrayWnd
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebp
je 0x454990
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_SubtractRect]
pop edi
pop ebp
pop ebx
add esp, 0x68
ret
Function at 0x4567d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
push edi
jne 0x456806
push 0
mov byte [esi + 0xc], 1
call fcn.004d0409
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call ebx
mov dword [esi + 0x1c0], eax
cmp byte [esi + 0x20], 0
mov edi, 4
je 0x4568db
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x456854
mov dword [esi + 8], 5
jmp 0x4568db
mov eax, dword [esi + 8]
cmp eax, 5
jne 0x45687f
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x456887
cmp eax, 0x3e8
je 0x456884
push esi
mov dword [esi + 0x1c4], 0x3e8
call fcn.00454640
jmp 0x456884
cmp eax, 3
je 0x456887
mov dword [esi + 8], edi
cmp byte [esi + 0x508], 0
je 0x4568db
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x4568d8
call ebx
sub eax, dword [esp + 0x14]
cmp eax, 0x1388
jbe 0x4568c5
mov dword [esi + 8], 3
jmp 0x4568db
cmp dword [esi + 8], 3
jne 0x4568d1
push esi
call fcn.00454640
mov byte [esi + 0x508], 0
mov dword [esi + 8], edi
cmp dword [esi + 8], edi
jne 0x4568f4
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
test al, al
je 0x4568f4
mov dword [esi + 8], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457570
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x510a03
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x24]
xor ebx, ebx
xor eax, eax
mov dword [esi + 4], 0xffffffff
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x21], 1
mov byte [esi + 0x20], 1
mov dword [esp + 0x1c], ebx
lea ebp, [esi + 0x3c]
mov ecx, ebp
mov dword [esi], vtable.t_bbcBmpButton.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], 1
call fcn.0043a090
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 1
mov byte [esi + 0x168], bl
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x178], ebx
lea ecx, [esi + 0x24]
movzx ebx, di
mov dword [esi + 0x16c], edi
mov edi, dword [esp + 0x2c]
push ecx
mov dword [esi + 0x17c], eax
call fcn.0045c780
add esp, 4
push 0x7f89
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x34], eax
xor eax, eax
mov edx, ebp
call fcn.0043a2e0
mov dword [esi + 0x164], edi
mov dword [esi + 0x160], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc

Function at 0x457fa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50a563
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x20]
xor eax, eax
xor ebx, ebx
mov dword [edi + 4], 0xffffffff
mov byte [edi + 8], bl
mov byte [edi + 9], bl
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov al, 1
mov dword [edi + 0x1c], ebx
mov byte [edi + 0x21], al
mov byte [edi + 0x20], al
mov dword [esp + 0x18], ebx
mov dword [edi], vtable.t_bbcStatic.0
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], fcn.004ccfcd
mov dword [edi + 0x38], fcn.004cf168
mov dword [edi + 0x3c], fcn.004ccef0
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x28]
mov ecx, edi
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], eax
call fcn.00458490
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov ecx, dword [esp + 0x24]
push ecx
push esi
mov esi, dword [esp + 0x34]
mov dword [edi + 0x40], eax
call fcn.00458960
mov dword [edi + 0x44], eax
add esp, 8
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10
Function at 0x45d5e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push edi
push 0x3c
call fcn.004ccfcd
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
jne 0x45d61f
pop edi
mov dword [0x548518], 0x6d
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004ccee1
add esp, 0xc
ret
push esi
push 0x3c
push ebx
push edi
call fcn.004d3fc0
push 0x6148
call fcn.004ccfcd
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x45d663
push edi
mov dword [0x548518], 0x6d
call fcn.004ccef0
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004ccee1
add esp, 0xc
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x38], esi
mov dword [esi + 4], ebx
mov dword [esi + 0x38], ebx
mov dword [esi], 8
mov dword [esi + 0x3c], eax
mov dword [edi + 0x34], ecx
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx + 0x3c]
cmp eax, ebx
je 0x45d699
push 6
lea edx, [esp + 0x10]
push edx
push edi
call eax
add esp, 0xc
jmp 0x45d6ae
mov eax, dword [ecx + 0x38]
push eax
push 6
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.004d1027
add esp, 0x10
cmp eax, 6
je 0x45d6bf
mov dword [0x548518], 0x66
jmp 0x45d6e5
push 3
lea edx, [esp + 0x10]
push edx
push str.GIFVER
mov byte [esp + 0x1e], bl
call fcn.004d2f3d
add esp, 0xc
test eax, eax
je 0x45d708
mov dword [0x548518], 0x67
push esi
call fcn.004ccef0
push edi
call fcn.004ccef0
add esp, 8
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004ccee1
add esp, 0xc
ret
call fcn.0045d730
test eax, eax
je 0x45d6e5
mov ecx, dword [esp + 0x14]
pop esi
mov eax, edi
pop edi
mov dword [0x548518], ebx
pop ebx
xor ecx, esp
call fcn.004ccee1
add esp, 0xc
ret
Function at 0x45d730
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [edi + 0x38]
test byte [eax], 8
jne 0x45d747
mov dword [0x548518], 0x6f
xor eax, eax
pop ecx
ret
push edi
mov edx, edi
call fcn.0045de20
add esp, 4
test eax, eax
je 0x45d743
lea ecx, [edi + 4]
push ecx
mov edx, edi
call fcn.0045de20
add esp, 4
test eax, eax
je 0x45d743
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x45d781
push 3
lea edx, [esp + 4]
push edx
push edi
call ecx
add esp, 0xc
jmp 0x45d796
mov eax, dword [eax + 0x38]
push eax
push 3
lea ecx, [esp + 8]
push 1
push ecx
call fcn.004d1027
add esp, 0x10
cmp eax, 3
je 0x45d7a9
mov dword [0x548518], 0x66
xor eax, eax
pop ecx
ret
mov dl, byte [esp]
movzx eax, dl
mov ecx, eax
shr ecx, 4
and ecx, 7
inc ecx
mov dword [edi + 8], ecx
movzx ecx, byte [esp + 1]
and eax, 7
push ebx
inc eax
push esi
mov dword [edi + 0xc], ecx
test dl, dl
jns 0x45d897
mov ecx, eax
mov esi, 1
shl esi, cl
push 0
call fcn.0045e410
add esp, 4
mov dword [edi + 0x10], eax
test eax, eax
jne 0x45d7f9
pop esi
mov dword [0x548518], 0x6d
pop ebx
pop ecx
ret
xor ebx, ebx
cmp dword [eax], ebx
jle 0x45d89e
xor esi, esi
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x45d81e
push 3
lea edx, [esp + 0xc]
push edx
push edi
call ecx
add esp, 0xc
jmp 0x45d833
mov eax, dword [eax + 0x38]
push eax
push 3
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.004d1027
add esp, 0x10
cmp eax, 3
jne 0x45d878
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 8]
movzx ecx, byte [esp + 8]
mov byte [esi + eax], cl
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 8]
movzx ecx, byte [esp + 9]
mov byte [eax + esi + 1], cl
mov edx, dword [edi + 0x10]
movzx ecx, byte [esp + 0xa]
mov eax, dword [edx + 8]
mov byte [eax + esi + 2], cl
mov edx, dword [edi + 0x10]
inc ebx
add esi, 3
cmp ebx, dword [edx]
jl 0x45d805
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov esi, dword [edi + 0x10]
call fcn.0045e490
pop esi
mov dword [edi + 0x10], 0
mov dword [0x548518], 0x66
xor eax, eax
pop ebx
pop ecx
ret
mov dword [edi + 0x10], 0
pop esi
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x45d8b0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [edx + 0x38]
test byte [eax], 8
jne 0x45d8c7
mov dword [0x548518], 0x6f
xor eax, eax
pop ecx
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x45d8dd
push 1
lea eax, [esp + 7]
push eax
push edx
call ecx
add esp, 0xc
jmp 0x45d8f2
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xb]
push 1
push edx
call fcn.004d1027
add esp, 0x10
cmp eax, 1
je 0x45d905
mov dword [0x548518], 0x66
xor eax, eax
pop ecx
ret
mov al, byte [esp + 3]
cmp al, 0x21
je 0x45d943
cmp al, 0x2c
je 0x45d936
cmp al, 0x3b
je 0x45d929
mov dword [esi], 0
mov dword [0x548518], 0x6b
xor eax, eax
pop ecx
ret
mov dword [esi], 4
mov eax, 1
pop ecx
ret
mov dword [esi], 2
mov eax, 1
pop ecx
ret
mov dword [esi], 3
mov eax, 1
pop ecx
ret