joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ad20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5900fd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f88c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xc]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x24], 0
je 0x40ad78
call fcn.00406360
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
jne 0x40ad78
mov bl, 1
jmp 0x40ad7a
xor bl, bl
test esi, esi
je 0x40ad85
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40add0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590135
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5f88c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0xc]
mov byte [ebp - 0x39], 0
push esi
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [ebx + 0x24], 0
je 0x40aea5
call fcn.00406360
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [ebx + 0x24]
je 0x40aea5
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.00407740
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x40ae5c
lock inc dword [edi + 8]
test edi, edi
je 0x40ae5c
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x40ae5c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.._AV___Func_impl_no_alloc_V__WeakCallback_V___Binder_U_Unforced_std__AAP8MessageLoopProxy_nbase__BEXXZAAPBV34__std___nbase__X__V_std__.0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0x40aee0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x24]
push eax
call fcn.004058b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40aea1
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 0x39], 1
test esi, esi
je 0x40aeb0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x39], 0
jne 0x40aebe
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b289
mov esp, ebp
pop ebp
ret
Function at 0x40b010
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [esi], vtable.nbase::Thread.0
test eax, eax
je 0x40b057
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40b040
mov eax, dword [esi + 8]
test eax, eax
je 0x40b057
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test byte [ebp + 8], 1
je 0x40b068
push 0x10
push esi
call fcn.0054b2c7
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x40b0c0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
push 0
push esi
push 0x40b170
push 0
push 0
call fcn.00561c02
mov edx, eax
add esp, 0x18
mov dword [esi + 8], edx
cmp edx, 2
jae 0x40b0f5
mov dword [esi + 8], 0
xor edx, edx
mov dword [edi], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x40b164
or eax, 0xffffffff
cmp ecx, 1
jne 0x40b11b
mov eax, 0xfffffffe
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [esi + 8], 1
pop edi
seta al
pop esi
ret
cmp ecx, 2
jne 0x40b135
or eax, 0xffffffff
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [esi + 8], 1
pop edi
seta al
pop esi
ret
cmp ecx, 3
jne 0x40b151
mov eax, 2
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [esi + 8], 1
pop edi
seta al
pop esi
ret
cmp ecx, 4
mov edi, 0xf
cmove eax, edi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [esi + 8], 1
pop edi
seta al
pop esi
ret
Function at 0x40c910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c955
cmp byte [ebp + 8], 0
je 0x40c949
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x40ef20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebp + 8]
cmp eax, ecx
je 0x40ef51
cmp edi, dword [ebx + 0xe0]
je 0x40ef51
test edi, edi
je 0x40ef51
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [ebx + 0xe0]
cmp edi, esi
je 0x40f0de
test esi, esi
je 0x40f02a
xor eax, eax
mov dword [esp + 0x10], esi
mov word [esp + 0x20], ax
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov al, 1
mov dword [esp + 0xc], 3
test eax, eax
jne 0x40efa5
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0xf4]
mov eax, dword [eax + 0xf8]
mov dword [esp + 0x1c], eax
jmp 0x40efa9
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xd0]
mov esi, dword [ebx + 0xe0]
xor eax, eax
mov edx, dword [ebx + 0xf8]
mov word [esp + 0x20], ax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xf4]
mov dword [ebx + 0xe0], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x25
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [eax + 0xd0]
test edi, edi
je 0x40f0de
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
cmp eax, ebx
jne 0x40f0de
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x40f0de
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x40f0de
xor eax, eax
mov dword [ebx + 0xe0], edi
mov word [esp + 0x20], ax
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov al, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 2
test eax, eax
jne 0x40f0a5
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 0xf4]
mov eax, dword [eax + 0xf8]
mov dword [esp + 0x1c], eax
jmp 0x40f0a9
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xd0]
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x40f0de
push 0
push 0
push 0x24
push eax
mov ecx, ebx
call fcn.0040f310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x410b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590580
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f88c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00411200
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.00403cc0
mov dword [esi + 0x28], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x414070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [0x6055ac], 0
mov esi, eax
je 0x4140b3
call fcn.00444970
mov dword [0x6055ac], 0
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x4140be
mov ecx, dword [ecx]
push ecx
push ecx
mov edx, esi
mov ecx, edi
call fcn.00444720
add esp, 8
mov dword [0x6055ac], eax
test eax, eax
setne al
pop edi
pop esi
pop ebp
ret
Function at 0x422400
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591735
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f88c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x422448
lock inc dword [eax + 8]
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
lea ecx, [edi + 8]
mov dword [ebp + 8], ecx
lea esi, [ecx + 0xc]
movq xmm0, qword [ebx + 8]
movq qword [ecx], xmm0
mov eax, dword [ebx + 0x10]
mov dword [ecx + 8], eax
lea ecx, [esi + 4]
mov dword [ebp + 8], esi
mov al, byte [ebx + 0x14]
mov byte [esi], al
lea eax, [ebx + 0x18]
push eax
mov dword [ebp - 0x14], ecx
call fcn.00403cc0
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x1c]
push eax
mov dword [ebp - 0x14], ecx
call fcn.00403cc0
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x34], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43dcd0
Capabilities:
Get thread local storage value
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592ded
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5f88c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
cmp dword [eax + 0x18], 0xd
jne 0x43dd72
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call esi
test ax, ax
js 0x43dd6f
cmp byte [edi + 0x44e], 0
je 0x43dec9
cmp byte [edi + 0x44f], 0
je 0x43dd46
push 0x11
call esi
test ax, ax
js 0x43dd53
cmp byte [edi + 0x44f], 0
jne 0x43dec9
push 0x11
call esi
test ax, ax
js 0x43dec9
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x43dee3
push 0
push 0
push 0x2d
push edi
call fcn.0040f310
jmp 0x43dee3
mov eax, dword [ebp - 0x6c]
cmp byte [edi + 0x454], 0
je 0x43dec9
cmp dword [eax + 0x18], 0x56
jne 0x43dec9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x43dec9
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.0043f510
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x43deba
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 8
mov ecx, dword [ebp - 0x28]
cmovae esi, ecx
nop dword [eax + eax]
cmp edi, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
lea eax, [eax + edx*2]
cmp esi, eax
je 0x43de23
movzx ecx, word [esi]
lea eax, [ecx - 0x30]
cmp ax, 9
ja 0x43de1b
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402fa0
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
add esi, 2
jmp 0x43ddf0
cmp dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x70]
jne 0x43de41
call fcn.00403120
lea ecx, [ebp - 0x28]
call fcn.00403120
jmp 0x43dee3
call fcn.0043f6b0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.00403cc0
movups xmm0, xmmword [ebp - 0x88]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.std::_Func_impl_no_alloc_class__lambda_f4db2b5e5f90277a4a6a073f2481a264___void___.0
mov dword [ebp - 0x44], eax
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [ebp - 0x54], xmm0
mov byte [ebp - 4], 2
call fcn.00406360
lea ecx, [ebp - 0x68]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.00405740
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x43deb2
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x40]
call fcn.00403120
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00403120
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edi]
push 0
push dword [ecx + 0x1c]
push dword [ecx + 0x18]
mov ecx, edi
push 0x100
call dword [eax + 0x1dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b289
mov esp, ebp
pop ebp
ret 4
Function at 0x43f510
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592f45
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5f88c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [esi + 0x10], 0
jb 0x43f54e
mov eax, dword [esi]
xor ecx, ecx
push ecx
mov word [eax], cx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43f687
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call edi
test eax, eax
je 0x43f627
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, 0xffffffff
je 0x43f681
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x43f681
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
shr eax, 1
xor ecx, ecx
push eax
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00403260
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x43f5e0
cmp dword [ebp - 0x14], 8
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00403260
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x43f681
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43f61b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f6a3
push ecx
push edx
call fcn.0054b2c7
add esp, 8
jmp 0x43f681
push 1
call edi
test eax, eax
je 0x43f681
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, 0xffffffff
je 0x43f681
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x43f681
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.00419c40
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.00409190
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x40]
call fcn.00403f20
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b289
mov esp, ebp
pop ebp
ret
call fcn.0055fb01
int3
Function at 0x43f6b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43f725
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x43f71d
mov eax, dword [esi + 0x10]
lea ebx, [eax + eax]
lea eax, [ebx + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x43f71d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
jb 0x43f6f9
mov esi, dword [esi]
push ebx
push esi
push eax
call fcn.0054d470
mov eax, dword [ebp - 4]
add esp, 0xc
xor ecx, ecx
push edi
mov word [ebx + eax], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x44216b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x442227
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5d2640]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5d2640]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5d2640]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5d2640]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5d2640]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5d2640]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5d2640]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5d2640]
sub edi, 1
jne 0x442180
pop edi
test esi, esi
je 0x44224a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5d2640]
sub esi, 1
jne 0x442230
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x442a90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov ebx, esi
mov dword [ebp - 8], esi
imul ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x442ad8
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x442aca
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
mov esp, ebp
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 - 4]
call fcn.0054d470
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442b10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xc], edx
push edi
mov edi, 1
cmp byte [esi], 0
je 0x442b4b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
lea ebx, [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x442b46
mov byte [ebx], 1
mov edi, dword [ebp - 8]
jmp 0x442b78
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x442b5c
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.0054d470
lea eax, [ebx + edi]
add esp, 0xc
mov dword [esi + 0x1c], eax
lea ebx, [esi + 8]
cmp edi, 1
jne 0x442b8f
mov ecx, dword [ebp - 0xc]
movzx eax, byte [ebp - 1]
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x442b86
cmp byte [ebx], 0
je 0x442b86
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442cb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea ecx, [esi + 1]
mov dword [ebp - 0x14], ecx
je 0x442ce7
cmp byte [ecx], 0
je 0x442d38
push 2
push 0
push 0
push dword [esi + 4]
call edx
mov edx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esi + 1]
jmp 0x442cf0
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x14], ecx
cmp byte [esi], 0
je 0x442d10
cmp byte [ecx], 0
je 0x442d0c
push 1
push 0
push 0
push dword [esi + 4]
call edx
mov edi, eax
sub edi, dword [esi + 0xc]
jmp 0x442d13
xor edi, edi
jmp 0x442d1f
mov edi, dword [esi + 0x1c]
mov eax, 0xffff
mov dword [ebp - 0xc], eax
cmp edi, eax
jae 0x442d22
mov dword [ebp - 0xc], edi
push 0x404
call fcn.00561eeb
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x442d42
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, 4
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
jbe 0x442e59
nop dword [eax]
add eax, 0x400
mov dword [ebp - 0x10], edi
cmp eax, ecx
mov edx, eax
mov eax, 0x404
cmova edx, ecx
mov ecx, edi
sub ecx, edx
mov dword [ebp - 0x20], edx
cmp edx, 0x404
mov dword [ebp - 0x1c], ecx
mov edi, edx
cmova edi, eax
cmp byte [esi], 0
je 0x442daf
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
je 0x442e59
mov eax, dword [esi + 0xc]
push 0
push 0
add eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x442db8
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x1c], ecx
mov dword [ebp - 0x10], eax
cmp byte [esi], 0
mov ebx, edi
je 0x442de0
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0x18]
push 0
push eax
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x442ddb
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x442e0b
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [edx + edi]
cmp eax, ecx
jbe 0x442df1
mov ebx, ecx
sub ebx, edx
mov ecx, dword [esi + 0x14]
push ebx
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.0054d470
add esp, 0xc
mov eax, ebx
add dword [esi + 0x1c], ebx
mov ebx, dword [ebp - 8]
xor edx, edx
div edi
cmp eax, 1
jne 0x442e59
lea ecx, [edi - 3]
test ecx, ecx
js 0x442e41
lea eax, [ebx + 3]
add eax, ecx
mov edx, ecx
lea eax, [eax - 1]
dec ecx
cmp byte [eax - 3], 0x50
jne 0x442e3d
cmp byte [edx + ebx], 0x4b
jne 0x442e3d
cmp byte [eax - 1], 5
jne 0x442e3d
cmp byte [eax], 6
je 0x442e6c
test ecx, ecx
jns 0x442e20
mov eax, dword [ebp - 4]
test eax, eax
jne 0x442e59
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
cmp eax, ecx
jb 0x442d60
push ebx
call fcn.0055fc02
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov dword [ebp - 4], eax
jmp 0x442e44