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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dcce
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x49f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x10]
mov dword [esi], vtable.nbase::FrameworkThread.1.0
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x10], vtable.nbase::FrameworkThread.0
mov word [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40b8c4
sub eax, ebx
push eax
push dword [ebp + 8]
call fcn.0040b050
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40b980
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d380
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x49f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
mov dword [esi], vtable.nbase::FrameworkThread.1.0
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x10], vtable.nbase::FrameworkThread.0
call fcn.0040baa0
mov ecx, dword [esi + 0x44]
cmp ecx, 0x10
jb 0x40b9f4
mov eax, dword [esi + 0x30]
inc ecx
cmp ecx, 0x1000
jb 0x40b9ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ba9a
mov eax, edx
push ecx
push eax
call fcn.00463043
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x40ba16
push eax
call ebx
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x24]
test edi, edi
je 0x40ba4b
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x40ba45
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x40ba45
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
mov dword [esi], vtable.nbase::Thread.0
test eax, eax
je 0x40ba88
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40ba75
mov eax, dword [esi + 8]
test eax, eax
je 0x40ba88
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 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
call fcn.00466e0f
int3
Function at 0x40baa0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x49f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x40bbce
cmp byte [esi + 0x15], 0
jne 0x40bb8d
cmp dword [esi + 0x1c], 0
je 0x40bb8d
sub esp, 0xc
mov dword [ebp - 0x48], 0x40bbf0
mov eax, esp
mov dword [ebp - 0x44], 0
movq xmm0, qword [ebp - 0x48]
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x54]
mov byte [esi + 0x15], 1
mov dword [ebp - 0x3c], esi
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.0040c170
mov eax, dword [ebp - 0x54]
add esp, 0xc
movq xmm0, qword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.._AV___Func_impl_no_alloc_V__WeakCallback_V___Binder_U_Unforced_std__AAP8FrameworkThread_nbase__AEXXZAAPAV34__std___nbase__X__V_std__.0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x1c]
push eax
call fcn.0040f750
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40bb8d
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [esi + 8]
test eax, eax
je 0x40bbc8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40bbb1
mov eax, dword [esi + 8]
test eax, eax
je 0x40bbc8
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
mov word [esi + 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462ae1
mov esp, ebp
pop ebp
ret
Function at 0x40c040
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4a3da0]
cmp eax, 2
je 0x40c0d0
push esi
push 0
push 1
push 0x4a3da0
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x40c0ac
push 4
call fcn.00463051
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov edx, 0x4a3da0
mov ecx, 0x40c140
mov dword [0x4a3da4], esi
call fcn.00411780
mov eax, dword [0x4a3da4]
mov dword [0x4a3da0], 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x40c0cf
mov eax, dword [0x4a3da0]
cmp eax, 2
je 0x40c0cf
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [0x4a3da0]
cmp eax, 2
jne 0x40c0c1
pop esi
mov eax, dword [0x4a3da4]
mov esp, ebp
pop ebp
ret

Function at 0x40c8d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47de89
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x49f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x10], 1
cmp ecx, 0x104
jb 0x40c946
mov dword [esi + 0x10], 0x104
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40c93b
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x40c956
push ecx
mov eax, 0x104
sub eax, ecx
mov ecx, esi
push eax
call fcn.0040ca10
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40c960
mov eax, dword [esi]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
ja 0x40c998
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x40c980
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push ecx
sub eax, ecx
mov ecx, esi
push eax
call fcn.0040ca10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410410
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4a3da8]
cmp eax, 2
je 0x4104a0
push esi
push 0
push 1
push 0x4a3da8
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x41047c
push 4
call fcn.00463051
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov edx, 0x4a3da8
mov ecx, 0x40c140
mov dword [0x4a3dac], esi
call fcn.00411780
mov eax, dword [0x4a3dac]
mov dword [0x4a3da8], 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x41049f
mov eax, dword [0x4a3da8]
cmp eax, 2
je 0x41049f
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [0x4a3da8]
cmp eax, 2
jne 0x410491
pop esi
mov eax, dword [0x4a3dac]
mov esp, ebp
pop ebp
ret

Function at 0x411ab0
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 0x411af7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x411ae0
mov eax, dword [esi + 8]
test eax, eax
je 0x411af7
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 0x411b08
push 0x10
push esi
call fcn.00463043
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x411b60
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
push 0
push esi
push 0x411c20
push 0
push 0
call fcn.0046951b
mov edx, eax
add esp, 0x18
mov dword [esi + 8], edx
cmp edx, 2
jae 0x411b95
mov dword [esi + 8], 0
xor edx, edx
mov dword [edi], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x411c0d
or eax, 0xffffffff
cmp ecx, 1
jne 0x411bbd
mov eax, 0xfffffffe
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 8]
cmp edx, 1
pop edi
seta al
pop esi
ret
cmp ecx, 2
jne 0x411bd9
or eax, 0xffffffff
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 8]
cmp edx, 1
pop edi
seta al
pop esi
ret
cmp ecx, 3
jne 0x411bf7
mov eax, 2
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 8]
cmp edx, 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]
mov edx, dword [esi + 8]
cmp edx, 1
pop edi
seta al
pop esi
ret
Function at 0x412a20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
mov edi, ecx
call fcn.00410410
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x14], 0
lea eax, [ebp - 0x1c]
je 0x412a76
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x412a72
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x412a72
xor bl, bl
jmp 0x412a88
mov bl, 1
jmp 0x412a88
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne bl
push 0
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test bl, bl
jne 0x412aa0
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00412970
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413390
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e728
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49f00c]
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 0x4133e8
call fcn.00410410
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
jne 0x4133e8
mov bl, 1
jmp 0x4133ea
xor bl, bl
test esi, esi
je 0x4133f5
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 0x413440
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e760
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x49f00c]
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 edi, ecx
lea esi, [edi + 0xc]
xor bl, bl
push esi
mov dword [ebp - 0x50], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x24], 0
je 0x41350f
call fcn.00410410
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
je 0x41350f
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
push eax
lea ecx, [ebp - 0x4c]
call fcn.00413570
mov eax, dword [ebp - 0x4c]
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], 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 - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x24]
push eax
call fcn.0040f750
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x41350d
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov bl, 1
test esi, esi
je 0x41351a
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x413526
mov eax, dword [edi]
mov ecx, edi
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.00462ae1
mov esp, ebp
pop ebp
ret

Function at 0x41a5a0
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 0x41a5e5
cmp byte [ebp + 8], 0
je 0x41a5d9
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 0x41cbc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0x10]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x41cbf4
cmp ebx, dword [esi + 0xe0]
je 0x41cbf4
test ebx, ebx
je 0x41cbf4
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xe0]
mov dword [esp + 0x10], eax
cmp ebx, eax
je 0x41cd38
test eax, eax
je 0x41ccd4
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 3
mov word [esp + 0x28], ax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [esp + 0xc]
xor eax, eax
mov esi, dword [esi + 0xe0]
mov word [esp + 0x28], ax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0xf4]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0xf8]
mov dword [ecx + 0xe0], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0x25
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x14]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call dword [eax + 0xcc]
mov esi, dword [esp + 0xc]
test ebx, ebx
je 0x41cd38
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
cmp eax, esi
jne 0x41cd38
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x41cd38
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x41cd38
push 0
push 0
push ecx
mov dword [esp], 0
mov ecx, ebx
push 0
push 0
push 0
push 2
mov dword [esi + 0xe0], ebx
call fcn.004244f0
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x41cd38
push 0
push 0
push 0x24
push eax
mov ecx, esi
call fcn.0041cec0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41e930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47efb0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x49f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.0041ef10
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.004046e0
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 0x4244f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
movss xmm0, dword [ebp + 0x18]
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x10], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x1c]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], esi
sete al
movss dword [ebp - 4], xmm0
cmp eax, edx
jne 0x42454f
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 0xf4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0xf8]
mov dword [ebp - 0x14], eax
jmp 0x424555
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x24]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xcc]
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x42e040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x42e04b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x42e107
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 + 0x489aa8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x489aa8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x489aa8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x489aa8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x489aa8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x489aa8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x489aa8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x489aa8]
sub edi, 1
jne 0x42e060
pop edi
test esi, esi
je 0x42e12a
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 + 0x489aa8]
sub esi, 1
jne 0x42e110
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x42e8a0
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 0x42e8e8
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 0x42e8da
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.00466690
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 0x42e920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x42e95b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42e956
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x42e988
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x42e96c
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.00466690
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x42e99c
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x42e993
cmp byte [esi + 8], 0
je 0x42e993
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f720
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x42f8dc
cmp dword [edi + 0x18], 0
je 0x42f8dc
cmp dword [edi + 0x7c], 0
je 0x42f749
call fcn.0042fbd0
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
call fcn.0042f4b0
add esp, 8
test eax, eax
je 0x42f76d
pop edi
mov eax, 0xffffff99
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x84
call fcn.0046703d
mov esi, eax
add esp, 4
test esi, esi
je 0x42f7b0
push 0x4000
call fcn.0046703d
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x42f7bc
push esi
call fcn.00466f53
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x40], 0
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], 0
mov eax, dword [edi + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x42f817
lea ecx, [esi + 4]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0042e380
test eax, eax
jne 0x42f817
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x42f83a
mov al, byte [edi + 0x39]
jmp 0x42f83d
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov ecx, 0xc
xor eax, eax
cmp byte [esi + 0x6c], al
cmovne eax, ecx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x70], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebx, ebx
je 0x42f8bd
nop dword [eax]
mov al, byte [ebx]
test al, al
je 0x42f8bd
mov ecx, dword [esi + 0x70]
movsx eax, al
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [eax*4 + 0x489aa8]
xor eax, ecx
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x70], eax
movzx eax, al
add eax, dword [esi + 0x74]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x74], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x489aa8]
mov dword [esi + 0x78], ecx
add ebx, 1
jne 0x42f870
mov eax, dword [ebp - 0xc]
add eax, 0x1e
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret