joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b980
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41178d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x41a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x41a9a8], 0x28
jl 0x40b9d8
push 0x41a9ac
call fcn.0040f3b0
mov ecx, dword [0x41a9a4]
add esp, 4
test ecx, ecx
je 0x40b9ca
mov eax, dword [ecx]
mov dword [0x41a9a4], eax
mov dword [0x41a9ac], 1
test ecx, ecx
jne 0x40b9f7
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x40b9f7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push ecx
call fcn.0040bcf0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x40baf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412f65
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x41a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x41a9a8], 0x28
jl 0x40bb4c
push 0x41a9ac
call fcn.0040f3b0
mov esi, dword [0x41a9a4]
add esp, 4
test esi, esi
je 0x40bb3e
mov eax, dword [esi]
mov dword [0x41a9a4], eax
mov dword [0x41a9ac], 1
test esi, esi
jne 0x40bb6b
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x40bb6b
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push ecx
mov ecx, esi
call fcn.0040bcf0
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.CVolObjectArray.0
call fcn.0040bc60
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c0d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411a5d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x41a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x41a9a8], 0xc
jl 0x40c12b
push 0x41a9ac
call fcn.0040f3b0
mov ecx, dword [0x41a9a4]
add esp, 4
test ecx, ecx
je 0x40c11d
mov eax, dword [ecx]
mov dword [0x41a9a4], eax
mov dword [0x41a9ac], 1
test ecx, ecx
jne 0x40c14a
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x40c14a
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x41a9d0], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.CVolUserApp.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c470
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41322b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x41a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x400000
mov dword [0x41a990], 0x414dd8
mov dword [0x41a998], 0x414fe0
push 0
mov dword [ebp - 0x14], 0x41a990
mov dword [0x41a9ac], 1
mov dword [0x41a9a8], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x40c4e7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea eax, [ecx + 0x400000]
mov dword [0x41a9a4], ecx
mov dword [0x41a9a0], eax
mov edx, 0x1555
mov eax, dword [0x41a9a8]
mov dword [0x41a99c], ecx
nop dword [eax + eax]
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x41a9a8]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x41a9a8]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x41a9a8]
add ecx, eax
sub edx, 1
jne 0x40c510
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x41a9b0
mov dword [ebp - 0x18], 0x41a9b0
mov dword [ebp - 0x1c], 0x41a9b0
mov dword [0x41a9b0], 0x4144cc
mov dword [0x41a9b4], edx
mov dword [0x41a9b8], edx
mov byte [ebp - 4], 1
mov dword [0x41a9b0], 0x414468
mov dword [0x41a9bc], edx
mov dword [0x41a9c4], edx
mov dword [0x41a9c0], edx
mov dword [0x41a9c8], 0x40
mov byte [ebp - 4], 2
mov dword [0x41a9c8], 0x80
mov byte [ebp - 4], 5
mov dword [0x41a9cc], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x41a9e0
mov dword [ebp - 0x20], 0x41a9e0
call esi
mov byte [ebp - 4], 7
mov dword [0x41a9f8], 0
mov byte [ebp - 4], 8
push 0x41aa04
mov dword [ebp - 0x24], 0x41aa04
call esi
mov byte [ebp - 4], 9
mov dword [0x41aa1c], 0x3e8
mov dword [ebp - 0x28], 0x41aa30
mov dword [ebp - 0x2c], 0x41aa30
mov dword [0x41aa30], 0x4144cc
mov dword [0x41aa34], 0
mov dword [0x41aa38], 0
mov byte [ebp - 4], 0xa
mov dword [0x41aa30], 0x414468
mov dword [0x41aa3c], 0
mov dword [0x41aa44], 0
mov dword [0x41aa40], 0
mov dword [0x41aa48], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x41aa48], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x41aa24], 0x3e80
mov dword [0x41aa28], 1
mov dword [0x41aa2c], 0
lea eax, [eax*2 + 2]
mov dword [0x41aa20], eax
mov byte [ebp - 4], 0xe
push 0x41aa4c
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x41aa64
call fcn.0040bcf0
mov byte [ebp - 4], 0x10
mov dword [0x41a9d0], 0
mov dword [0x41aa8c], 0
movsd xmm0, qword [0x415030]
movsd qword [0x41a9d8], xmm0
xorps xmm0, xmm0
mov dword [0x41aa90], 0
mov dword [0x41aa94], 0
mov dword [0x41aa98], 0
mov dword [0x41a9d4], 0
movq qword [0x41a9fc], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x41a990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
test ebx, ebx
jne 0x40d18f
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx]
push edi
xor edi, edi
call dword [eax]
push dword [ebp + 0x10]
mov ecx, eax
movzx eax, bx
push eax
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x40d265
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x40d265
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x40d25c
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], edi
jl 0x40d240
cmp edi, 1
jne 0x40d205
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x40d257
cmp edi, 2
jne 0x40d218
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x40d257
cmp edi, 4
jne 0x40d229
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x40d257
cmp edi, 8
jne 0x40d240
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x14], edi
jmp 0x40d257
test edi, edi
jle 0x40d257
push edi
mov ecx, esi
call fcn.0040eb00
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40d5a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x41a9a8]
jg 0x40d5db
push 0x41a9ac
call fcn.0040f3b0
mov ecx, dword [0x41a9a4]
add esp, 4
test ecx, ecx
je 0x40d5cd
mov eax, dword [ecx]
mov dword [0x41a9a4], eax
mov dword [0x41a9ac], 1
test ecx, ecx
jne 0x40d5f9
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x40d5f9
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x40d660
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x41a99c]
jb 0x40d6d4
cmp esi, dword [0x41a9a0]
jae 0x40d6d4
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x41a9a8]
jle 0x40d6e9
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x40d6ed
push dword [0x41a9a8]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
push 0x41a9ac
call fcn.0040f3b0
mov eax, dword [0x41a9a4]
add esp, 0x10
mov dword [esi], eax
mov dword [0x41a9a4], esi
mov esi, edi
mov dword [0x41a9ac], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
test esi, esi
jne 0x40d6cd
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x40dc90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41347d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x41a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x40de03
cmp word [esi], 0
je 0x40de03
push 0x44
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
or dword [ebp - 0x50], 1
mov eax, 1
mov dword [ebp - 0x38], 0x4144b4
add esp, 0xc
mov dword [ebp - 0x7c], 0x44
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x38]
push esi
call fcn.0040ebb0
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
cmove eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40dd70
xor esi, esi
jmp 0x40dd93
push 0x1f4
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40ddce
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolMem.virtual_12
jne 0x40ddc9
mov ecx, 0x41a998
call fcn.0040f570
jmp 0x40ddce
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x38], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ed70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
je 0x40ee85
cmp word [eax], 0
je 0x40ee85
push ebx
push esi
push 0x414f30
push eax
or esi, 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40ee58
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov ecx, dword [ebp + 8]
add esp, 0x1c
test ecx, ecx
jle 0x40ee4c
cmp dword [edi + 0xc], 0
je 0x40ede6
push ecx
mov ecx, edi
call fcn.0040eb00
mov ecx, eax
mov eax, dword [ebp + 8]
jmp 0x40ee11
mov esi, dword [edi + 0x18]
mov eax, 0x40
test esi, esi
cmovle esi, eax
mov eax, ecx
cdq
idiv esi
mov eax, dword [edi]
sub esi, edx
add esi, ecx
mov ecx, edi
push esi
call dword [eax]
mov ecx, eax
mov dword [edi + 0x10], esi
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x14], eax
push ebx
push eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
jne 0x40ee47
push esi
mov ecx, edi
call fcn.0040eb00
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret 8
or esi, 0xffffffff
jmp 0x40ee4e
xor esi, esi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x40ee67
mov edx, dword [edi]
push ecx
mov ecx, edi
call dword [edx + 0xc]
mov eax, esi
mov dword [edi + 0xc], 0
pop esi
pop ebx
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
pop edi
pop ebp
ret 8
or eax, 0xffffffff
pop edi
pop ebp
ret 8

Function at 0x4110a7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4110e6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4110e6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4110e6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4110e6
cmp dword [ecx + 0x74], 0xe
jbe 0x4110e6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x45e870
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
mov dword [eax], ecx
shr ecx, 2
and ebx, 3
test ecx, ecx
push esi
jbe 0x45e8b2
push edi
mov edi, ecx
movzx ecx, word [edx]
mov esi, dword [eax]
add esi, ecx
mov ecx, esi
mov dword [eax], esi
shl ecx, 0x10
xor ecx, esi
add edx, 2
mov dword [eax], ecx
movzx esi, word [edx]
shl esi, 0xb
xor esi, ecx
mov dword [eax], esi
mov ecx, esi
shr esi, 0xb
add esi, ecx
add edx, 2
dec edi
mov dword [eax], esi
jne 0x45e883
pop edi
mov ecx, ebx
dec ecx
je 0x45e8f6
dec ecx
je 0x45e8e1
dec ecx
jne 0x45e90c
movzx ecx, word [edx]
mov esi, dword [eax]
add esi, ecx
mov ecx, esi
shl ecx, 0x10
xor ecx, esi
mov dword [eax], ecx
movzx edx, byte [edx + 2]
shl edx, 0x12
xor edx, ecx
mov ecx, edx
shr ecx, 0xb
add ecx, edx
mov dword [eax], ecx
jmp 0x45e90c
movzx edx, word [edx]
mov ecx, dword [eax]
add edx, ecx
mov ecx, edx
shl ecx, 0xb
xor ecx, edx
mov edx, ecx
shr edx, 0x11
jmp 0x45e908
movzx ecx, byte [edx]
mov edx, dword [eax]
add edx, ecx
mov ecx, edx
shl ecx, 0xa
xor ecx, edx
mov edx, ecx
shr edx, 1
add edx, ecx
mov dword [eax], edx
mov edx, dword [eax]
lea ecx, [edx*8]
xor ecx, edx
mov edx, ecx
shr edx, 5
add edx, ecx
lea ecx, [edx*4]
xor ecx, edx
mov edx, ecx
shr edx, 0xf
add ecx, edx
mov edx, ecx
shl edx, 0xa
xor edx, ecx
pop esi
mov dword [eax], edx
pop ebx
ret

Function at 0x460210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0045ff9d
aas
cmp eax, dword [ecx]
pushal
lea eax, [ebp - 0x58]
push eax
call fcn.0045ffad
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0045ff62
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x46028b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0045ff9d
fnstsw word [eax + 0x458d0a6c]
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x406ac0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x3c
push eax
call fcn.00419f80
add esp, 4
cmp eax, 0x1000
ja 0x406c35
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x7d8]
test ecx, ecx
je 0x406c34
push ebx
push edi
lea edi, [eax + eax]
lea ebx, [ecx + 0x1ff560]
mov ecx, dword [ebp + 0xc]
push edi
push ebx
push ecx
call fcn.00419fa0
add esp, 0xc
test eax, eax
jne 0x406c32
mov edx, dword [ebp + 0xc]
push edi
push edx
push ebx
call fcn.00419c90
add esp, 0xc
xor ecx, ecx
xor eax, eax
push 0x104
mov word [ebp - 4], cx
mov ecx, dword [esi + 0xcc0]
lea ebx, [esi + 0x4460]
push ebx
mov dword [ebp - 0xc], 0xa000d
mov dword [ebp - 8], 0xa000d
mov dword [ebp - 0x3c], 0x6c0043
mov dword [ebp - 0x38], 0x700069
mov dword [ebp - 0x34], 0x6f0062
mov dword [ebp - 0x30], 0x720061
mov dword [ebp - 0x2c], 0x64
mov word [ebp - 0x28], ax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov word [ebp - 0x1e], ax
call ecx
mov edx, dword [esi + 0xcbc]
push eax
call edx
cmp eax, 0x40
jbe 0x406b92
xor eax, eax
mov word [esi + 0x44e0], ax
jmp 0x406bc1
test eax, eax
jne 0x406bc1
push 0x10
lea eax, [ebp - 0x1c]
push eax
push ebx
mov dword [ebp - 0x1c], 0x6e0055
mov dword [ebp - 0x18], 0x6e006b
mov dword [ebp - 0x14], 0x77006f
mov dword [ebp - 0x10], 0x6e
call fcn.00419c90
add esp, 0xc
push 0x14
lea ecx, [ebp - 0x3c]
push ecx
lea edi, [esi + 0x4ce0]
push edi
call fcn.00419c90
push 0
lea edx, [ebp - 0xc]
push edx
push edi
call fcn.0041a0f0
push 0
push ebx
push edi
call fcn.0041a0f0
push 0
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.0041a0f0
mov ecx, dword [ebp + 0xc]
push 0
push ecx
push edi
call fcn.0041a0f0
push edi
call fcn.00419f80
add esp, 0x40
add eax, eax
push edi
mov dword [esi + 0xa08], eax
call fcn.00419f80
mov edx, dword [esi + 0xa04]
add eax, eax
push eax
push edi
push edx
call fcn.00419c90
push 0x13
push esi
call fcn.0040cde0
add esp, 0x18
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4085e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ecx
rdtsc
xor ecx, ecx
add ecx, eax
rdtsc
sub eax, ecx
mov dword [ebp - 4], eax
mov eax, 0x50
mov esp, ebp
pop ebp
ret
Function at 0x40d8a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push esi
push edi
push 0xadedab08
call fcn.004194c0
mov edi, dword [ebp + 8]
xor ecx, ecx
push 0x36
push ecx
lea edx, [ebp - 0x4a]
mov esi, eax
push edx
mov dword [edi + 0xa14], esi
mov dword [ebp - 0x54], 0x410050
mov dword [ebp - 0x50], 0x480054
mov word [ebp - 0x4c], cx
call fcn.00419d10
xor edx, edx
add esp, 0x10
mov dword [ebp - 0x14], 0x690046
mov dword [ebp - 0x10], 0x650072
mov dword [ebp - 0xc], 0x6f0066
mov dword [ebp - 8], 0x5c0078
mov word [ebp - 4], dx
test esi, esi
jne 0x40d911
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
xor eax, esi
push 0x1000
push edi
mov dword [edi + 0xa14], eax
call fcn.00419e40
push 0x7374
push edi
mov dword [edi + 0xa04], eax
call fcn.00419e40
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d909
cmp dword [edi + 0xa04], 0
je 0x40d909
push ebx
push 0x3f
lea ecx, [ebp - 0x93]
push 0
push ecx
mov byte [ebp - 0x94], 0
call fcn.00419d10
lea edx, [ebp - 0x94]
push 0
push edx
call fcn.0041a8f0
lea ecx, [ebp - 0x94]
lea eax, [edi + 0x1c]
push ecx
push eax
lea ebx, [esi + 0xc]
call fcn.00409b10
mov edx, dword [esi]
push edx
push ebx
push edi
mov dword [ebx], eax
call fcn.004165f0
add esp, 0x28
cmp dword [esi + 0x10], 0
je 0x40dac2
cmp dword [esi + 0x14], 0
je 0x40dac2
cmp dword [esi + 0x18], 0
je 0x40dac2
cmp dword [esi + 0x1c], 0
je 0x40dac2
cmp dword [esi + 0x20], 0
je 0x40dac2
cmp dword [esi + 0x24], 0
je 0x40dac2
cmp dword [esi + 0x28], 0
je 0x40dac2
cmp dword [esi + 0x2c], 0
je 0x40dac2
cmp dword [esi + 0x30], 0
je 0x40dac2
cmp dword [esi + 0x34], 0
je 0x40dac2
push 0x3f
lea eax, [ebp - 0xd3]
push 0
push eax
mov byte [ebp - 0xd4], 0
call fcn.00419d10
lea ecx, [ebp - 0xd4]
push 6
push ecx
call fcn.0041a8f0
lea edx, [ebp - 0xd4]
push edx
lea ebx, [edi + 0x1c]
push ebx
call fcn.00409b10
add esp, 0x1c
test eax, eax
je 0x40dac2
push 0x2430512b
push 0
push 0
push eax
push ebx
call fcn.00413e20
add esp, 0x14
mov dword [esi + 0x44], eax
test eax, eax
je 0x40dac2
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40da5c
mov dword [esi + 4], eax
jmp 0x40da63
mov dword [esi + 4], 0x20
push 8
lea eax, [ebp - 0x54]
push eax
lea ecx, [esi + 0x48]
push ecx
mov dword [esi], 0x32
call fcn.00419c90
lea ebx, [edi + 0x4060]
push ebx
call fcn.00419f80
add eax, eax
push eax
lea edx, [edi + 0x8f0]
push ebx
push edx
call fcn.00419c90
push esi
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.0040e710
push esi
push edi
call fcn.00419c70
mov ecx, dword [edi + 0xa04]
push ecx
push edi
call fcn.00419c70
add esp, 0x38
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret