joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037580
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10044040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffffffff
je 0x10037693
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1003768c
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1003764f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1003764f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1003764f
mov edx, dword [esi]
test edx, edx
jne 0x10037618
push 0x200
push edx
push dword [0x1006a9f4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10037674
lea edi, [esi + 8]
jmp 0x10037642
mov eax, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], eax
jb 0x10037642
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x1006a9f4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100376a6
mov dword [esi], edx
mov ecx, dword [edi]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [edi]
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100375d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1003768c
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1003768c
push eax
push ebx
push dword [0x1006a9f4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100398db
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x24]
jmp 0x10037674

Function at 0x100376b0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10037580
test eax, eax
jne 0x100376e1
mov eax, 9
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
je 0x10037732
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1003772a
push ebx
nop
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10037723
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10037410
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x100376f0
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10037740
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x1003778c
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x1003777b
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10037774
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10037751
pop edi
push dword [ebx]
push 0
push dword [0x1006a9f4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret

Function at 0x10037790
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10044040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x1006aa90]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100377f1
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100398db
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10037812
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10037833
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10037833
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1003782d
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10037833
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x14], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.100398db
mov esp, ebp
pop ebp
ret
Function at 0x10037890
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x1006aa98]
sub esp, 0x10
push ebx
push esi
xor esi, esi
mov ebx, ecx
test edx, edx
je 0x100378c4
mov eax, dword [0x1006aa90]
add eax, 0x14
nop
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x100378cc
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x100378b0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp esi, 0xffffffff
je 0x10037982
test ebx, ebx
lea ecx, [ebp - 0x10]
setne al
or edx, 0xffffffff
push eax
call fcn.100376b0
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x10037982
mov ecx, dword [0x1006aa98]
push edi
cmp esi, ecx
jae 0x1003793a
imul edi, esi, 0x2c
mov eax, dword [0x1006aa90]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x1003792f
mov edx, ebx
mov ecx, esi
call fcn.10037790
mov dword [ebp - 4], eax
test eax, eax
jne 0x1003793a
mov ecx, dword [0x1006aa98]
jmp 0x10037932
mov eax, dword [ebp - 4]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10037904
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10037981
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1003796f
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10037969
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10037948
push ebx
push 0
push dword [0x1006a9f4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100381a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100381d3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x100380f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100381d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4deb7a93
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x15913db6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80e008]
jne 0x401010
repz ret
jmp fcn.0040189a

Function at 0x40923e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004053ae
and dword [ebp - 4], 0
cmp dword [0x810774], 0
mov ebx, eax
jne 0x4092ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4093a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4093a0
push eax
call fcn.0040533c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x810774], eax
call esi
push eax
call fcn.0040533c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x810778], eax
call esi
push eax
call fcn.0040533c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81077c], eax
call esi
push eax
call fcn.0040533c
pop ecx
mov dword [0x810784], eax
test eax, eax
je 0x4092ef
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040533c
pop ecx
mov dword [0x810780], eax
mov eax, dword [0x810780]
cmp eax, ebx
je 0x409347
cmp dword [0x810784], ebx
je 0x409347
push eax
call fcn.004053b7
push dword [0x810784]
mov esi, eax
call fcn.004053b7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409347
test edi, edi
je 0x409347
call esi
test eax, eax
je 0x40933e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40933e
test byte [ebp - 0xc], 1
jne 0x409347
or dword [ebp + 0x10], 0x200000
jmp 0x409380
mov eax, dword [0x810778]
cmp eax, ebx
je 0x409380
push eax
call fcn.004053b7
pop ecx
test eax, eax
je 0x409380
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409380
mov eax, dword [0x81077c]
cmp eax, ebx
je 0x409380
push eax
call fcn.004053b7
pop ecx
test eax, eax
je 0x409380
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x810774]
call fcn.004053b7
pop ecx
test eax, eax
je 0x4093a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4093a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b750
Capabilities:
Set console window title

Disassembly:
sub esp, 0x1c
cmp dword [0x2ec91b4], 0x930
jne 0x40b76a
push 0x80c38c
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x2ec91b4], 0x114e
mov eax, dword [esp + 0x20]
mov dword [0x2ec8ed0], eax
jne 0x40b791
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
lea ecx, [esp]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
add esp, 0x1c
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x401c66
pop dword [ebp - 0x48]
mov eax, 0x401c66
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x730790c8
add dword [ebp - 0x58], 0xdb4ab483
mov dword [ebp - 0x54], 0x3b72964f
sub dword [ebp - 0x54], 0x93f4a0a
mov dword [ebp - 0x50], 0x5275e15e
add dword [ebp - 0x50], 0xf9d662d0
mov dword [ebp - 0x4c], 0x1aaf4831
sub dword [ebp - 0x4c], 0x1aaf4831
lea eax, [ebp - 0x58]
push eax
mov eax, 0x11b82cbe
sub eax, 0x1177fc6a
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x9a1201a
sub dword [ebp - 0x58], 0x952eb6c4
mov dword [ebp - 0x54], 0xbaf908a7
add dword [ebp - 0x54], 0x867358ce
mov dword [ebp - 0x50], 0x532fbbbf
add dword [ebp - 0x50], 0x103fb0ad
mov dword [ebp - 0x4c], 0x3d36c18
add dword [ebp - 0x4c], 0xfc2c93e8
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xb38b4bb2
sub eax, 0xb34b1b86
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3793a
push 0
call eax
mov ecx, 0x4c62
xor edi, edi
add edi, eax
mov edx, 0x407000
add edx, dword [ebp - 0x48]
mov esi, 0x1dba3006
add esi, 0xeeef16f2
mov ebx, dword [edx]
sub dword [ebp - 0x18], ebx
xor ebx, esi
mov dword [edi], ebx
add dword [ebp - 0x34], 0x103da30
add edi, 0x7792a70
add edi, 0xf886d594
add edx, 4
loop 0x401d79
add eax, 0xbb2e2de7
sub eax, 0xbb2d098c
mov ebx, eax
add eax, 0xc0c193f5
add eax, 0x3f3e6c10
mov ecx, 0x22891e5c
add ecx, 0xddb6e1a4
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x409260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movsd xmm0, qword [0x437748]
mov eax, 0xffff862b
mov word [ebp - 4], ax
mov dword [ebp - 8], 0x4d1006ca
movsd qword [ebp - 0x10], xmm0
mov ax, word [0x44005c]
movsx ecx, word [0x4403cc]
cwde
sub ecx, eax
mov eax, dword [0x44025c]
inc dword [0x44025c]
add ecx, 0xb3a4850f
sub eax, 0xd4dee89
cmp ecx, eax
jle 0x4092c1
movss xmm0, dword [ebp - 8]
mov ax, word [ebp - 4]
movss xmm0, dword [0x440044]
dec dword [ebp - 4]
cmp dword [0x442a9c], 0
jne 0x4092d4
call fcn.00408720
mov dword [0x442a9c], eax
push esi
push edi
push 3
push 0x3ed6
call fcn.00408c40
mov esi, eax
push esi
push dword [ebp + 8]
call fcn.0041eafc
push esi
push 3
mov edi, eax
call fcn.00408e90
movss xmm0, dword [ebp - 8]
add esp, 0x18
addss xmm0, dword [0x437140]
movss xmm1, dword [0x4385e0]
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebp - 8]
subss xmm1, xmm0
comiss xmm1, dword [0x4385f8]
jb 0x409358
movsd xmm0, qword [0x440240]
subsd xmm0, qword [0x438178]
cvttsd2si eax, xmm0
mov word [0x44007c], ax
movsd xmm0, qword [0x440240]
subsd xmm0, qword [0x437148]
movsd qword [0x440240], xmm0
test edi, edi
jne 0x409424
push 0x3e8
call dword [0x4428bc]
inc dword [ebp - 4]
movsx eax, word [ebp - 4]
push 3
push 0x3ed6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x4405d0], xmm0
call fcn.00408c40
mov esi, eax
push esi
push dword [ebp + 8]
call fcn.0041eafc
dec dword [0x4402c4]
mov edi, eax
inc word [0x440268]
add esp, 0x10
mov cx, word [0x440268]
movsx eax, word [ebp - 4]
movsx ecx, cx
sub eax, ecx
sub eax, dword [0x4402c4]
cmp eax, 0x3af6c46f
jge 0x409415
movss xmm0, dword [0x44036c]
addss xmm0, dword [0x437ed0]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [ebp - 0x10]
subsd xmm1, xmm0
movsd xmm0, qword [0x437190]
comisd xmm0, xmm1
jbe 0x409415
movss xmm0, dword [ebp - 8]
mov ax, word [0x440010]
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x437140]
movss dword [ebp - 8], xmm0
inc word [0x440010]
push esi
push 3
call fcn.00408e90
add esp, 8
test edi, edi
je 0x40943c
push edi
push 1
push 4
push 0x442a9c
call fcn.0041ec6a
push edi
call fcn.0041e7d1
add esp, 0x14
movss xmm0, dword [0x440170]
addss xmm0, dword [0x437ec4]
pop edi
pop esi
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4400e8]
mulsd xmm0, xmm1
movsd qword [0x4400e8], xmm0
movss xmm0, dword [0x440170]
addss xmm0, dword [0x437140]
movss dword [0x440170], xmm0
mov esp, ebp
pop ebp
ret
Function at 0x40b3b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movsd xmm0, qword [0x437f98]
push dword [0x442298]
movsd qword [ebp - 8], xmm0
movsd xmm0, qword [0x4371a8]
movsd qword [ebp - 8], xmm0
call fcn.00406d80
add esp, 4
push 1
call fcn.0041e5a2
int3
Function at 0x42857a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00420401
mov dword [ebp - 0x14], eax
cmp dword [0x443818], esi
jne 0x42866d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4285fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42874d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x42874d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42874d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x443818], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x44381c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x443820], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x443828], eax
test eax, eax
je 0x42866a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x443824], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x428692
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x428685
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4286a7
push 4
pop eax
jmp 0x42874f
cmp dword [ebp - 0x14], esi
je 0x4286a7
push dword [0x443818]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42868c
mov eax, dword [0x443824]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x428705
cmp dword [0x443828], edi
je 0x428705
push eax
call ebx
push dword [0x443828]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x428705
test eax, eax
je 0x428705
call ecx
test eax, eax
je 0x4286fa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4286fa
test byte [ebp - 8], 1
jne 0x428705
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x428735
mov eax, dword [0x44381c]
cmp eax, edi
je 0x428732
push eax
call ebx
test eax, eax
je 0x428732
call eax
mov esi, eax
test esi, esi
je 0x428732
mov eax, dword [0x443820]
cmp eax, edi
je 0x428732
push eax
call ebx
test eax, eax
je 0x428732
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x443818]
call ebx
test eax, eax
je 0x42874d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42874f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f3cb
mov esp, ebp
pop ebp
ret
Function at 0x407150
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x405015
lea edi, [esi - 0x4015]
push edi
or ebp, 0xffffffff
jmp 0x407172
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407168
mov eax, 1
add ebx, ebx
jne 0x40718b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407180
jne 0x40719c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407180
xor ecx, ecx
sub eax, 3
jb 0x4071b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x407222
mov ebp, eax
add ebx, ebx
jne 0x4071bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4071c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4071ec
inc ecx
add ebx, ebx
jne 0x4071d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4071cd
jne 0x4071e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4071cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40720c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4071fd
jmp 0x40716e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40720c
add edi, ecx
jmp 0x40716e
pop esi
mov edi, esi
mov ecx, 0x21
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40722a
cmp byte [edi], 2
jne 0x40722a
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 0x40722f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4072a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x71c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x721c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40725c
mov ecx, edi
jns 0x40728b
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 + 0x7224]
or eax, eax
je 0x4072a1
mov dword [ebx], eax
add ebx, 4
jmp 0x407279
call dword [esi + 0x7220]
mov ebp, dword [esi + 0x7228]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4072db
sub esp, 0xffffff80
jmp section.UPX0