joyce8/EMBER2024-capa huggingface dataset:
Function at 0x110374b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118c9b3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x112194bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 8]
mov dword [esi], vtable.DuiLib::CWindowWnd.0
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
movzx eax, byte [edx + 0xc]
mov byte [esi + 0xc], al
movzx eax, byte [edx + 0xd]
mov byte [esi + 0xd], al
mov dword [esi + 0x10], vtable.DuiLib::CNotifyPump.0
mov dword [esi + 0x14], vtable.DuiLib::CStdStringPtrMap.0
mov eax, dword [edx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x20]
mov dword [ebp - 4], 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], vtable.DuiLib::INotifyUI.0
lea eax, [edx + 0x34]
mov dword [esi + 0x28], vtable.DuiLib::IMessageFilterUI.0
lea ecx, [esi + 0x34]
mov dword [esi + 0x2c], vtable.DuiLib::IDialogBuilderCallback.0
mov dword [esi + 0x30], vtable.DuiLib::IQueryControlText.0
push eax
mov byte [ebp - 4], 1
mov dword [esi], vtable.DuiLib::WindowImplBase.0
mov dword [esi + 0x10], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi + 0x24], vtable.DuiLib::WindowImplBase.2.0
mov dword [esi + 0x28], vtable.DuiLib::WindowImplBase.3.0
mov dword [esi + 0x2c], vtable.DuiLib::WindowImplBase.4.0
mov dword [esi + 0x30], vtable.DuiLib::WindowImplBase.5.0
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::constructor_class_DuiLib::CPaintManagerUI_const__
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x11043a41
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x388
jmp sym.DuiLib.dll_public_virtual:_void___thiscall_DuiLib::CListUI::DoEvent_struct_DuiLib::tagTEventUI__

Function at 0x11048c40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov cl, byte [ebp + 8]
mov eax, dword [esi + 8]
mov byte [esi + 0x13], cl
test eax, eax
je 0x11048cc2
test cl, cl
je 0x11048c65
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
test ecx, 0x10000000
jne 0x11048c85
mov byte [esi + 0x10], 1
jmp 0x11048c98
test ecx, 0x21000000
sete al
lea eax, [eax*2 + 5]
mov byte [esi + 0x10], al
and ecx, 0x31000000
cmp ecx, 0x10000000
jne 0x11048cc2
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call sym.DuiLib.dll_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
pop esi
pop ebp
ret 4
Function at 0x1104a760
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x112194bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1104a794
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1104a794
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x1104a88c
push edi
mov edi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x1104a7b3
cmp dx, 0x5c
jne 0x1104a7b5
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x1104a7a7
cmp edi, ebx
je 0x1104a803
sub edi, ebx
lea eax, [ebp - 0x414]
and edi, 0xfffffffe
push edi
push ebx
push eax
call fcn.11121300
add esp, 0xc
cmp edi, 0x208
jae 0x1104a89c
xor eax, eax
mov word [ebp + edi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.1104a760
add esp, 8
xor eax, eax
mov word [ebp - 0x20c], ax
test esi, esi
je 0x1104a830
lea ecx, [ebp - 0x20c]
sub ecx, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x1104a820
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x1104a832
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1104a850
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
jne 0x1104a88c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.110d0a88
mov esp, ebp
pop ebp
ret
call fcn.110d1968
int3
Function at 0x1104b480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov dword [ebp - 8], ebx
cmp dword [ebx], 0
jne 0x1104b62c
cmp dword [ebx + 4], 0xffffffff
jne 0x1104b62c
push edi
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1104b4b7
sub ecx, edx
sar ecx, 1
movzx eax, word [ebx + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x1104b4f3
cmp eax, 0x2f
je 0x1104b4f3
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x1104b4e0
mov eax, dword [0x111a6d04]
mov dword [edi], eax
mov edi, dword [ebp + 0x10]
push esi
cmp edi, 1
jne 0x1104b51e
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1104b539
pop esi
pop edi
mov eax, 0x2000000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 2
je 0x1104b536
cmp edi, 3
je 0x1104b536
pop esi
pop edi
mov eax, 0x10000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
xor ebx, ebx
xor al, al
mov byte [ebp - 1], al
mov byte [ebp + 0x13], bl
cmp edi, 1
je 0x1104b57f
cmp edi, 2
jne 0x1104b59b
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1104b579
pop esi
pop edi
mov eax, 0x200
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebp + 0x13], 1
jmp 0x1104b585
mov ebx, esi
mov byte [ebp + 0x13], 0
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
setne al
mov byte [ebp - 1], al
push 0x20
call fcn.110d0a2e
add esp, 4
mov esi, eax
cmp edi, 1
je 0x1104b5d6
cmp edi, 2
je 0x1104b5d6
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov word [esi], 0x100
mov byte [esi + 0x10], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0
jmp 0x1104b607
mov al, byte [ebp + 0x13]
mov byte [esi + 0x10], al
mov al, byte [ebp - 1]
mov byte [esi], 1
mov byte [esi + 1], al
mov dword [esi + 4], ebx
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
test al, al
je 0x1104b607
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0xc], eax
push esi
call fcn.1104f2d0
mov ecx, dword [ebp - 8]
add esp, 4
mov edx, 0x200
mov dword [ecx], eax
xor ecx, ecx
test eax, eax
pop esi
cmove ecx, edx
pop edi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x1000000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1104bef0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movsx eax, byte [ebp + 0xc]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x111a65c8]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x111a65c8]
mov dword [edx + 8], ecx
pop ebp
ret
Function at 0x1104e970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, esi
imul ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x1104e9ae
push 0
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1104e9a2
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp + 8]
call fcn.11121300
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1104eb60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1104eb6e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x1104ec2d
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x111a65c8]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x111a65c8]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x111a65c8]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x111a65c8]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x111a65c8]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x111a65c8]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x111a65c8]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x111a65c8]
sub edi, 1
jne 0x1104eb86
pop edi
test esi, esi
je 0x1104ec4b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x111a65c8]
sub esi, 1
jne 0x1104ec31
not eax
pop esi
pop ebp
ret
Function at 0x1104ff00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 1
cmp byte [esi], 0
je 0x1104ff34
push 0
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xb]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1104ff2f
mov byte [esi + 8], 1
mov edi, dword [ebp - 4]
jmp 0x1104ff60
mov ecx, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x1104ff46
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp + 0xb]
push eax
call fcn.11121300
add esp, 0xc
lea eax, [ebx + edi]
mov dword [esi + 0x1c], eax
pop ebx
cmp edi, 1
jne 0x1104ff76
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0xb]
mov dword [eax], ecx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x1104ff6e
cmp byte [esi + 8], 0
je 0x1104ff6e
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x11054660
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x110546a5
cmp byte [ebp + 8], 0
je 0x11054699
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x1105eda0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1105edf9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1105edf9
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 0x1105edea
cmp esi, edx
jae 0x1105edf9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1105edd8
cmp esi, edx
jae 0x1105edf9
cmp word [esi], 0
je 0x1105edf9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x11066090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x112194bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.111228c0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [section..data]
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.11010af0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.110d0a88
mov esp, ebp
pop ebp
ret

Function at 0x11067e70
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x112194bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x11067f7d
lea eax, [ebp - 0x54]
mov dword [ebp - 0x50], 0
push eax
push 0x11065cf0
mov dword [ebp - 0x54], esi
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x50], 0
je 0x11067f7d
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
push eax
movups xmmword [ebp - 0x4c], xmm0
push esi
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x4c], 0x28
movq qword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x14]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__
lea ecx, [ebp - 0x24]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
jne 0x11067f3a
cmp ebx, edi
jne 0x11067f3a
cmp esi, eax
jg 0x11067f1a
cmp ecx, eax
jge 0x11067f7d
cmp esi, edx
jg 0x11067f3a
cmp ecx, edx
jl 0x11067f3a
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110d0a88
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x24]
cmp edi, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
jg 0x11067f67
cmp ebx, dword [ebp - 0x14]
jl 0x11067f67
cmp esi, edx
jne 0x11067f67
cmp ecx, eax
jne 0x11067f67
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110d0a88
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x24], edi
jg 0x11067f7d
cmp ebx, edi
jl 0x11067f7d
cmp esi, edx
jne 0x11067f7d
cmp ecx, eax
mov eax, 2
je 0x11067f82
mov eax, 3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.110d0a88
mov esp, ebp
pop ebp
ret 4

Function at 0x11068560
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x11068585
or esi, 1
push 2
call edi
test ax, ax
jns 0x11068591
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x1106859d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x110685a9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x11072880
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x110728a7
lea eax, [esi + 0x58]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret
Function at 0x11076f00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x11076f73
cmp eax, edi
jne 0x11076f6b
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x11076f7b
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x11076f7b
cmp eax, edi
jne 0x11076f7b
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 8]
call fcn.110451b0
push 0x18
push edi
call fcn.110d0a5e
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x110872c0
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118fa78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x112194bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x110872f7
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x110873dd
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x1108731e
mov esi, dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1108735a
lea ecx, [ebp - 0x18]
call fcn.110775a0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [ebp - 0x18]
test edi, edi
je 0x11087341
mov eax, ecx
mov dword [ebp + 8], 0
push eax
push edi
call fcn.11076be0
push 0
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], edi
jne 0x1108733e
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
sub ecx, eax
push ecx
push eax
call sym.DuiLib.dll_public:_static_struct_DuiLib::tagTImageInfo____cdecl_DuiLib::CRenderEngine::LoadImageFromGdiPlus_unsigned_char_const___unsigned_long_int_
mov ecx, dword [ebp - 0x18]
add esp, 8
mov ebx, eax
test ecx, ecx
je 0x110873dd
mov edx, dword [ebp - 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x110873d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x110873f1
push edx
push ecx
call fcn.110d0a5e
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1112ace2
int3
Function at 0x1108d7d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
lea eax, [ecx*8]
mov ecx, dword [eax + edx]
add edx, 4
add eax, edx
mov edx, ecx
mov dword [ebp + 0xc], eax
nop
cmp edx, esi
jne 0x1108d838
mov eax, esi
jmp 0x1108d83c
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x1108d859
mov eax, dword [ecx + 8]
cmp eax, dword [edi]
je 0x1108d84e
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
jmp 0x1108d830
pop edi
pop esi
mov dword [ebx], ecx
mov eax, ebx
pop ebx
pop ebp
ret 8
pop edi
mov dword [ebx], esi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1108e020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x18], 0
jl 0x1108e11a
cmp dword [ebp + 0x14], 0
jl 0x1108e11a
push ebx
push 0x111a9768
push dword [ebp + 8]
call fcn.11146a84
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1108e10e
push esi
mov esi, dword [ebp + 0x2c]
mov cl, byte [esi]
test cl, cl
je 0x1108e0e6
push edi
lea edi, [ebp + 0x2c]
movsx eax, cl
lea esi, [esi + 1]
sub eax, 0x20
cmp eax, 0x14
ja case.0x1108e07c.33
movzx eax, byte [eax + 0x1108e134]
jmp dword [eax*4 + 0x1108e120]
movzx eax, byte [edi + 4]
add edi, 4
push ebx
push eax
call fcn.11146cb7
add esp, 8
jmp case.0x1108e07c.32
mov eax, dword [edi + 4]
add edi, 4
mov byte [ebp - 4], al
push ebx
sar eax, 8
push 1
mov byte [ebp - 3], al
lea eax, [ebp - 4]
push 2
jmp 0x1108e0d6
mov ecx, dword [edi + 4]
add edi, 4
mov eax, ecx
mov byte [ebp - 8], cl
shr eax, 8
mov byte [ebp - 7], al
mov eax, ecx
shr eax, 0x10
push ebx
shr ecx, 0x18
push 1
mov byte [ebp - 6], al
lea eax, [ebp - 8]
mov byte [ebp - 5], cl
push 4
push eax
call fcn.11147d5e
add esp, 0x10
mov cl, byte [esi]
test cl, cl
jne 0x1108e067
pop edi
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1109c860
push ebx
call fcn.11146b64
add esp, 0x28
pop esi
xor eax, eax
test ebx, ebx
pop ebx
setne al
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1108e0df
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x18], 0
jl 0x1108e11a
cmp dword [ebp + 0x14], 0
jl 0x1108e11a
push ebx
push 0x111a9768
push dword [ebp + 8]
call fcn.11146a84
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1108e10e
push esi
mov esi, dword [ebp + 0x2c]
mov cl, byte [esi]
test cl, cl
je 0x1108e0e6
push edi
lea edi, [ebp + 0x2c]
movsx eax, cl
lea esi, [esi + 1]
sub eax, 0x20
cmp eax, 0x14
ja case.0x1108e07c.33
movzx eax, byte [eax + 0x1108e134]
jmp dword [eax*4 + 0x1108e120]
movzx eax, byte [edi + 4]
add edi, 4
push ebx
push eax
call fcn.11146cb7
add esp, 8
jmp case.0x1108e07c.32
mov eax, dword [edi + 4]
add edi, 4
mov byte [ebp - 4], al
push ebx
sar eax, 8
push 1
mov byte [ebp - 3], al
lea eax, [ebp - 4]
push 2
jmp 0x1108e0d6
mov ecx, dword [edi + 4]
add edi, 4
mov eax, ecx
mov byte [ebp - 8], cl
shr eax, 8
mov byte [ebp - 7], al
mov eax, ecx
shr eax, 0x10
push ebx
shr ecx, 0x18
push 1
mov byte [ebp - 6], al
lea eax, [ebp - 8]
mov byte [ebp - 5], cl
push 4
push eax
call fcn.11147d5e
add esp, 0x10
mov cl, byte [esi]
test cl, cl
jne 0x1108e067
pop edi
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1109c860
push ebx
call fcn.11146b64
add esp, 0x28
pop esi
xor eax, eax
test ebx, ebx
pop ebx
setne al
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret