joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003dea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078bf5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100a900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
cmp dword [edx + 0x14], 0x10
jb 0x1003dee4
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1003df08
mov edi, dword [ebp - 0x14]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1003def3
mov edi, dword [ebp - 0x18]
push esi
push edx
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.1002e4c0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1003df27
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x1003e02b
cmp dword [edi + 8], 0x38e38e3
jne 0x1003df3b
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x48
mov dword [ebp - 0x28], 0
call fcn.10074b36
add esp, 4
mov edi, eax
mov dword [ebp - 0x28], edi
push dword [ebp - 0x1c]
lea ecx, [edi + 8]
call fcn.100210a0
lea ecx, [edi + 0x20]
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_Config2::load_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__::_2::_lambda_6___void__struct_json_value_s__.0
mov dword [ecx + 0x24], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 1
mov eax, dword [edx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009fc00]
mov eax, dword [edx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009fc00]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edx]
jbe 0x1003dfde
mov ecx, edx
call fcn.1003f000
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002e4c0
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
jmp 0x1003dfe1
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov dword [eax], edi
mov dword [ecx + 4], edi
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x18]
and eax, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0xc]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esi]
jne 0x1003e00e
mov dword [ecx + eax*8], edi
jmp 0x1003e021
cmp edx, dword [ebp - 0x14]
jne 0x1003e018
mov dword [ecx + eax*8], edi
jmp 0x1003e025
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1003e025
mov dword [ecx + eax*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
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 0xc
Function at 0x1003e050
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078bf5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100a900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
cmp dword [edx + 0x14], 0x10
jb 0x1003e094
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1003e0b8
mov edi, dword [ebp - 0x14]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1003e0a3
mov edi, dword [ebp - 0x18]
push esi
push edx
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.1002e4c0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1003e0d7
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x1003e1db
cmp dword [edi + 8], 0x38e38e3
jne 0x1003e0eb
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x48
mov dword [ebp - 0x28], 0
call fcn.10074b36
add esp, 4
mov edi, eax
mov dword [ebp - 0x28], edi
push dword [ebp - 0x1c]
lea ecx, [edi + 8]
call fcn.100210a0
lea ecx, [edi + 0x20]
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_Config2::load_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__::_2::_lambda_7___void__struct_json_value_s__.0
mov dword [ecx + 0x24], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 1
mov eax, dword [edx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009fc00]
mov eax, dword [edx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009fc00]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edx]
jbe 0x1003e18e
mov ecx, edx
call fcn.1003f000
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002e4c0
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
jmp 0x1003e191
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov dword [eax], edi
mov dword [ecx + 4], edi
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x18]
and eax, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0xc]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esi]
jne 0x1003e1be
mov dword [ecx + eax*8], edi
jmp 0x1003e1d1
cmp edx, dword [ebp - 0x14]
jne 0x1003e1c8
mov dword [ecx + eax*8], edi
jmp 0x1003e1d5
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1003e1d5
mov dword [ecx + eax*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
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 0xc
Function at 0x1003e200
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078bf5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100a900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
cmp dword [edx + 0x14], 0x10
jb 0x1003e244
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1003e268
mov edi, dword [ebp - 0x14]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1003e253
mov edi, dword [ebp - 0x18]
push esi
push edx
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.1002e4c0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1003e287
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x1003e38b
cmp dword [edi + 8], 0x38e38e3
jne 0x1003e29b
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x48
mov dword [ebp - 0x28], 0
call fcn.10074b36
add esp, 4
mov edi, eax
mov dword [ebp - 0x28], edi
push dword [ebp - 0x1c]
lea ecx, [edi + 8]
call fcn.100210a0
lea ecx, [edi + 0x20]
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_Config2::load_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__::_2::_lambda_8___void__struct_json_value_s__.0
mov dword [ecx + 0x24], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 1
mov eax, dword [edx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009fc00]
mov eax, dword [edx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009fc00]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edx]
jbe 0x1003e33e
mov ecx, edx
call fcn.1003f000
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002e4c0
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
jmp 0x1003e341
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov dword [eax], edi
mov dword [ecx + 4], edi
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x18]
and eax, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0xc]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esi]
jne 0x1003e36e
mov dword [ecx + eax*8], edi
jmp 0x1003e381
cmp edx, dword [ebp - 0x14]
jne 0x1003e378
mov dword [ecx + eax*8], edi
jmp 0x1003e385
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1003e385
mov dword [ecx + eax*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
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 0xc
Function at 0x1003f0b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x14], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
jbe 0x1003f0e1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
or eax, 1
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 8], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10021650
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 8]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x1003f20c
nop dword [eax]
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
mov edi, dword [edi]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
jb 0x1003f13c
mov edx, dword [ecx]
mov dword [ebp - 4], edx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ecx + 0x10], edx
jbe 0x1003f167
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
nop
movzx ecx, byte [edx + eax]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, edi
jb 0x1003f150
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
and edx, ebx
lea ecx, [ecx + edx*8]
mov dword [ebp - 4], ecx
cmp dword [ecx], eax
jne 0x1003f186
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x1003f202
mov ebx, dword [ecx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.100407c0
test al, al
jne 0x1003f1c0
mov ebx, dword [ebx]
cmp ebx, esi
je 0x1003f1b8
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
jmp 0x1003f1ff
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x1003f1e2
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.100407c0
test al, al
je 0x1003f215
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x1003f1c7
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov esi, edi
cmp edi, eax
jne 0x1003f120
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x1003f1ff
Function at 0x1004fbc0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x100a900c]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
sub eax, 0
je 0x1004fc9d
sub eax, 1
jne 0x1004fccc
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp byte [0x100bab3c], 0
jne 0x1004fccc
push 0
mov dword [0x100bab40], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [0x100b0038]
mov dword [ecx], eax
mov edi, dword [0x100cab4c]
mov dword [esp + 0x10], edi
call fcn.10020a00
mov ebx, eax
mov esi, ebx
mov dword [esp + 0xc], ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1004fc33
sub esi, ecx
cmp byte [0x100a9089], al
je 0x1004fce5
mov edx, 0x100a907c
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004fc50
push esi
sub edx, ecx
mov ecx, edi
push ebx
push edx
push 0x100a907c
call fcn.100023c0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1004fccc
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
je 0x1004fccc
lea eax, [esp + 0xc]
mov dword [esi], 0x1001e680
push eax
push dword [esp + 0x10]
push 4
push esi
call edi
jmp 0x1004fccc
push 0x100b0478
mov ecx, 0x100b9a30
call fcn.10018980
push 0
lea eax, [esp + 0x14]
push eax
push 3
push 0x1009ef84
push dword [0x100b0180]
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, dword [esp + 0x14]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007491a
mov esp, ebp
pop ebp
ret 0xc
xor edi, edi
xor ebx, ebx
nop dword [eax]
mov ecx, ebx
lea edi, [edi + 1]
and ecx, 7
mov dl, 0x2d
rol dl, cl
add ebx, 3
xor byte [edi + 0x100a907b], dl
cmp ebx, 0x27
jb 0x1004fcf0
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov byte [0x100a9089], 1
jmp 0x1004fc48
Function at 0x100638f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a5b60
push 0x100748eb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100a900c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x20], 0
cmp dword [0x100cab60], 0
jne 0x10063a1d
mov eax, dword [0x100cab68]
test eax, eax
jne 0x10063a1d
xor esi, esi
mov ecx, dword [0x100cab64]
test ecx, ecx
je 0x10063972
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x100cab68]
mov ecx, dword [0x100cab64]
test eax, eax
je 0x1006397d
mov esi, 1
jmp 0x100639e3
test ecx, ecx
jne 0x1006398a
call fcn.100635d0
test eax, eax
je 0x100639e3
mov ebx, dword [0x100b0088]
mov edi, dword [0x100cbd6c]
test edi, edi
jne 0x100639cf
mov eax, dword [0x100cbd68]
test eax, eax
jne 0x100639b7
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100639c5
mov dword [0x100cbd68], eax
push str.ActivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x100639e0
mov dword [0x100cbd6c], edi
lea eax, [ebp - 0x20]
push eax
push ebx
call edi
mov ecx, 1
test eax, eax
cmovne esi, ecx
mov ebx, dword [ebp - 0x24]
test esi, esi
jne 0x10063a1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7f
je 0x10063a06
cmp eax, 0x7e
je 0x10063a06
cmp eax, 0x78
je 0x10063a06
cmp eax, 1
je 0x10063a06
cmp eax, 0x32
jne 0x10063a15
mov dword [0x100cab68], 1
mov esi, 1
test esi, esi
jne 0x10063a1d
xor eax, eax
jmp 0x10063a22
mov eax, 1
test eax, eax
jne 0x10063a2b
or eax, 0xffffffff
jmp 0x10063a5b
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
push 0x10063cc0
push 0
push 0x1009f444
push ebx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.10063a7c
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1007491a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10063b10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100a900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 0xc]
xor eax, eax
push esi
mov esi, ecx
test bl, bl
push edi
mov edi, dword [ebp + 8]
mov ecx, 5
cmovne eax, ecx
mov dword [ebp - 0x20], esi
push eax
push dword [esi + 8]
mov dword [ebp - 0x24], edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x24]
mov eax, esi
neg eax
test bl, bl
cmove esi, eax
lea eax, [ebp - 0x1c]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x28], esi
call edi
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, esi
sub eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
push 6
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x24]
call ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x14]
call edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
add eax, esi
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
call esi
mov eax, dword [ebp - 0x20]
push 5
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push dword [eax + 0x14]
call ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x18]
call edi
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
call esi
push 5
push 0
push 0
push dword [ebp - 8]
mov eax, dword [ebp - 0x20]
push dword [ebp - 0xc]
push 0
push dword [eax + 0x18]
call ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x1c]
call edi
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
call esi
mov eax, dword [ebp - 0x20]
push 5
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push dword [eax + 0x1c]
call ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
call edi
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
call esi
mov eax, dword [ebp - 0x20]
push 5
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push dword [eax + 0x20]
call ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0xc]
call edi
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
call esi
mov eax, dword [ebp - 0x20]
push 5
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push dword [eax + 0xc]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007491a
mov esp, ebp
pop ebp
ret 8
Function at 0x1006f0e0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x100cab74]
test eax, eax
jne 0x1006f1d8
mov eax, dword [0x100cab48]
push esi
add eax, 0x646e0
call eax
cmp eax, 1
jne 0x1006f1d5
mov eax, dword [0x100cab48]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push str.lua_isstring
mov edi, dword [eax + 0x1bac9c]
push edi
call esi
push str.lua_pushcclosure
push edi
call esi
push str.lua_remove
push edi
mov dword [0x100cab78], eax
call esi
push str.lua_setmetatable
push edi
mov dword [0x100cbdf8], eax
call esi
push str.luaL_newmetatable
push edi
mov dword [0x100cab70], eax
call esi
push str.lua_pushvalue
push edi
mov dword [0x100cab6c], eax
call esi
mov eax, dword [0x100cab48]
mov eax, dword [eax + 0x1b2208]
call eax
mov esi, eax
pop edi
test esi, esi
je 0x1006f1d5
mov eax, dword [0x100cab48]
push esi
mov dword [0x100cab74], esi
mov eax, dword [eax + 0x1b28e4]
call eax
mov ecx, dword [0x100cab48]
lea eax, [ecx + 0x9a680]
push eax
mov eax, dword [ecx + 0x1b2b24]
push 0x1009f8d0
push esi
call eax
mov ecx, dword [0x100cab48]
lea eax, [ecx + 0x9a5c0]
push eax
mov eax, dword [ecx + 0x1b2b24]
push 0x1009f8b4
push esi
call eax
mov ecx, esi
call fcn.1006ee30
mov eax, dword [0x100cab48]
push 0xfffffffffffffffd
push esi
mov eax, dword [eax + 0x1b23c4]
call eax
add esp, 0x24
mov eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x7ee2a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3e6000]
push edi
or ebp, 0xffffffff
jmp 0x7ee2c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7ee2c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ee2b8
mov eax, 1
add ebx, ebx
jne 0x7ee2db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7ee2ec
jne 0x7ee30b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ee30b
dec eax
add ebx, ebx
jne 0x7ee2f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7ee2d0
add ebx, ebx
jne 0x7ee307
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7ee35d
xor ecx, ecx
sub eax, 3
jb 0x7ee323
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7ee392
sar eax, 1
mov ebp, eax
jmp 0x7ee32e
add ebx, ebx
jne 0x7ee32e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ee2fc
inc ecx
add ebx, ebx
jne 0x7ee33c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ee2fc
add ebx, ebx
jne 0x7ee349
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7ee33e
jne 0x7ee35a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7ee33e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7ee37c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7ee36e
jmp 0x7ee2be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7ee37c
add edi, ecx
jmp 0x7ee2be
pop esi
mov edi, esi
mov ecx, 0x274
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7ee39a
cmp byte [edi], 0
jne 0x7ee39a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7ee39f
lea edi, [esi + 0x3ec000]
mov eax, dword [edi]
or eax, eax
je 0x7ee417
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x40a6b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x40a780]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7ee3cc
mov ecx, edi
jns 0x7ee3fb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x40a788]
or eax, eax
je 0x7ee411
mov dword [ebx], eax
add ebx, 4
jmp 0x7ee3e9
call dword [esi + 0x40a784]
mov ebp, dword [esi + 0x40a78c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7ee44b
sub esp, 0xffffff80
jmp 0x40336c