joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417fa0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x58], edi
mov eax, dword [edi + 0x3710c]
mov byte [eax], 0
cmp byte [ebx], 0
je 0x4180ce
nop
xor edx, edx
xor eax, eax
mov cl, byte [esi + ebx]
mov byte [ebp + eax - 0x54], cl
test cl, cl
je 0x417fe3
inc edx
inc esi
jmp 0x417ff1
cmp eax, 3
jae 0x4180e1
mov byte [ebp + eax - 0x54], 0
inc eax
cmp eax, 3
jl 0x417fd4
test edx, edx
je 0x4180c4
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, byte [0x47b100]
movzx ecx, byte [ebp - 0x54]
movzx edi, byte [ebp - 0x53]
movups xmmword [ebp - 0x50], xmm0
mov byte [ebp - 0x10], al
mov eax, ecx
movups xmm0, xmmword [0x47b0d0]
shr eax, 2
and ecx, 3
shl ecx, 4
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x47b0e0]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [0x47b0f0]
movups xmmword [ebp - 0x20], xmm0
movzx eax, byte [ebp + eax - 0x50]
mov byte [ebp - 0xc], al
mov eax, edi
shr eax, 4
or eax, ecx
movzx eax, byte [ebp + eax - 0x50]
mov byte [ebp - 0xb], al
cmp edx, 1
jle 0x41808d
mov cl, byte [ebp - 0x52]
and edi, 0xf
movzx eax, cl
shr eax, 6
shl edi, 2
or eax, edi
mov al, byte [ebp + eax - 0x50]
mov byte [ebp - 0xa], al
cmp edx, 2
jle 0x418091
movzx eax, cl
and eax, 0x3f
mov al, byte [ebp + eax - 0x50]
jmp 0x418093
mov byte [ebp - 0xa], 0x3d
mov al, 0x3d
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 9], al
mov byte [ebp - 8], 0
mov edx, dword [ecx + 0x3710c]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4180a8
sub ecx, edi
lea eax, [ebp - 0xc]
push 5
push eax
lea eax, [ecx + 6]
push eax
push edx
call fcn.004601d0
add esp, 0x10
cmp byte [esi + ebx], 0
jne 0x417fd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 4
call fcn.0044d487
int3
Function at 0x419ea0
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5647dc]
sub esp, 0xc
push esi
mov esi, ecx
test eax, eax
jne 0x419f90
mov ecx, dword [0x514990]
test ecx, ecx
je 0x419f90
push str.Starting_EnableSecurity
push 1
push ecx
call fcn.00449450
add esp, 0xc
mov ecx, esi
call fcn.0041fbb0
mov ecx, 0x514988
call fcn.00408610
cmp dword [esi + 0x474], 0
je 0x419f0b
push dword [esi + 0xf244]
lea eax, [esi + 0xea74]
push eax
push 1
push dword [0x514990]
call fcn.00449000
add esp, 0x10
push dword [esi + 0xd200]
mov dword [esi + 0xd1f0], 0x20
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x514990]
call fcn.00449200
add esp, 0x10
mov dword [esi + 0xd1fc], eax
mov eax, dword [esi + 0xd200]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x20001
push 0xc
push 1
push eax
mov dword [ebp - 8], 0x100
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x419f76
push str.AV_register_failed
push 1
push dword [0x514990]
call fcn.00449450
add esp, 0xc
push str.Finished_EnableSecurity
push 1
push dword [0x514990]
call fcn.00449450
mov eax, dword [0x5647dc]
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41f070
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 5
lea eax, [ebp - 0x1c]
mov ebx, ecx
push eax
push dword [0x5211f0]
call fcn.0045fbb9
push 5
lea eax, [ebp - 0xc]
push eax
push dword [0x5211f4]
call fcn.0045fbb9
push 5
lea eax, [ebp - 0x14]
push eax
push dword [0x5211f8]
call fcn.0045fbb9
add esp, 0x24
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
cmp dword [ebx + 0x454], 0
lea ecx, [ebp - 0xc]
lea eax, [ebx + 0x4af0]
lea edi, [ebx + 0x42f0]
push 0x4a735c
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 0x560890
push 0x55e82c
push 0x534618
push 0x516290
push 0x5162b8
jne 0x41f13a
push 0x52c8dc
push 0x4a7088
push 0x514998
push 0x539f44
push 0x515e90
push str.Mozilla_5.0___s__AppleWebKit_537.36_Chrome_84.0.4147.30_Edg__s__SecureBrowser__s__s__s_s__s__TS__s__UUID__s___s_DKM:_s._s._s__FP__s_
push eax
call esi
lea eax, [ebx + 0x1ce4]
push eax
push 0x4a7088
push str._s__s
push edi
call esi
add esp, 0x50
jmp 0x41f166
push 0x4a7088
push 0x514998
push 0x539f44
push 0x515e90
push str.Mozilla_5.0___s__AppleWebKit_537.36_Chrome_84.0.4147.30_Edg__s__SecureBrowser__s__s_s__s__TS__s__UUID__s___s_DKM:_s._s._s__FP__s_
push eax
call esi
push 0x4a7088
push 0x478918
push edi
call esi
add esp, 0x48
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push 0x52f6e8
push 0
push 0xfde9
call edi
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push eax
push 0xffffffffffffffff
mov dword [ebx + 0xf360], eax
lea eax, [ebx + 0x4af0]
push eax
push 0
push 0xfde9
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d06d
mov esp, ebp
pop ebp
ret
Function at 0x4210d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42113b
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x42113b
lea eax, [ebp - 0x108]
push str.ITS_SB_App_Switch.exe
push eax
call fcn.0045f54b
add esp, 8
test eax, eax
je 0x42114c
lea ecx, [ebp - 0x12c]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x421112
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x42113b
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044d06d
mov esp, ebp
pop ebp
ret

Function at 0x4211f0
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
mov edi, ecx
push 0x47b1f0
push 5
push eax
call fcn.0040e9e0
add esp, 0x10
cmp dword [edi + 0x107a8], 0
je 0x421274
add edi, 0x107ac
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 2
push 4
push 0
push 2
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x42126a
push 0
lea eax, [ebp - 0x218]
push eax
push 0x64
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xc]
push eax
push edi
jmp 0x421314
lea eax, [ebp - 0x214]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x421322
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00453332
push str.ITSExitCode.log
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0045338c
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 2
push 4
push 0
push 2
push 0xc0000000
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x421309
push 0
lea eax, [ebp - 0x218]
push eax
push 0x64
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
push dword [0x514990]
call fcn.00449480
add esp, 0xc
cmp dword [0x55f074], 0
pop edi
pop esi
je 0x42133e
push 1
push 0x55ec74
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 4
Function at 0x4322a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47597d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x200
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0x200
call fcn.004534d7
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x432343
push esi
push str.JavaScript:GetNetworkName________s_
push 1
push dword [0x514990]
call fcn.00449450
mov ecx, esi
add esp, 0x10
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432330
sub ecx, edx
sar ecx, 1
push ecx
push esi
jmp 0x43235f
push str.JavaScript:GetNetworkName________
push 1
push dword [0x514990]
call fcn.00449450
add esp, 0xc
push 0
push 0x478b6c
lea ecx, [ebp - 0x28]
call fcn.0040da40
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push esi
mov dword [edi], eax
call fcn.004534bc
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x4323ba
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4323b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4323d9
push edx
push ecx
call fcn.0044d09e
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8
call fcn.00458530
int3
Function at 0x4323e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47597d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x200
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0x200
call fcn.004534d7
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x432483
push esi
push str.JavaScript:GetNetworkUser________s_
push 1
push dword [0x514990]
call fcn.00449450
mov ecx, esi
add esp, 0x10
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432470
sub ecx, edx
sar ecx, 1
push ecx
push esi
jmp 0x43249f
push str.JavaScript:GetNetworkUser________
push 1
push dword [0x514990]
call fcn.00449450
add esp, 0xc
push 0
push 0x478b6c
lea ecx, [ebp - 0x28]
call fcn.0040da40
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push esi
mov dword [edi], eax
call fcn.004534bc
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x4324fa
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4324f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432519
push edx
push ecx
call fcn.0044d09e
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8
call fcn.00458530
int3

Function at 0x433650
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov ecx, 0x52abf8
call fcn.0041b230
test eax, eax
je 0x4336ae
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
shrd ecx, eax, 0x14
push ecx
push str.JavaScript:GetSystemMemory_______u
push 1
push dword [0x514990]
call fcn.00449450
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
shrd ecx, eax, 0x14
mov dword [esi], ecx
jmp 0x4336e0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
shr eax, 0x14
push eax
push str.JavaScript:GetSystemMemory_______u
push 1
push dword [0x514990]
call fcn.00449450
mov eax, dword [ebp - 0x1c]
shr eax, 0x14
mov dword [esi], eax
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8
Function at 0x4344f0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x52abf8
push esi
push dword [eax]
call fcn.00417ee0
cmp dword [0x5211fc], 0
mov esi, eax
je 0x434540
push 0x55e28c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x55e28c
mov ecx, 0x52abf8
call fcn.00418a20
push esi
push 0x55e28c
jmp 0x4345ad
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4345bb
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00453332
push str.ITSTestComplete.log
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0045338c
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x108]
mov ecx, 0x52abf8
push eax
call fcn.00418a20
push esi
lea eax, [ebp - 0x108]
push eax
push dword [0x514990]
call fcn.00449480
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8
Function at 0x460630
Capabilities:
Parse pe header

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

Function at 0x468178
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x493120
push 0x493118
push str.FlsAlloc
push 0x1f
call fcn.00468040
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4681ac
push dword [ebp + 8]
mov ecx, esi
call dword [0x47847c]
call esi
jmp 0x4681b2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4681f6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x493130
push 0x493128
push str.FlsGetValue
push 0x21
call fcn.00468040
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46822d
push dword [ebp + 8]
mov ecx, esi
call dword [0x47847c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x468235
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x493138
push 0x493130
push str.FlsSetValue
push 0x22
call fcn.00468040
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46826f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x47847c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x432830
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movsd xmm0, qword [0x4966f8]
mov eax, 0x1e5e
push dword [0x4a81f8]
movsd qword [ebp - 8], xmm0
mov word [ebp - 4], ax
mov eax, 0xffffd0b2
mov dword [ebp - 4], 0x4e99b31e
mov word [ebp - 4], ax
call fcn.00420a70
add esp, 4
push 1
call fcn.0047de12
int3
Function at 0x464120
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movsd xmm0, qword [0x497a38]
mov edx, ecx
movsd qword [ebp - 0x14], xmm0
mov eax, 0xffffb896
movsd xmm0, qword [0x4971a0]
mov ecx, 0x24023c64
movsd qword [ebp - 0x14], xmm0
movsd xmm0, qword [0x4978f8]
movsd qword [ebp - 0xc], xmm0
mov word [ebp - 4], ax
mov eax, 0x3db7
mov dword [ebp - 8], 0x7065e977
mov word [ebp - 4], ax
mov eax, dword [ebp - 8]
sub ecx, eax
mov dword [edx], 0
movd xmm0, ecx
mov ecx, 0xca2be79b
cvtdq2ps xmm0, xmm0
movss dword [0x4a64cc], xmm0
inc dword [ebp - 8]
mov eax, dword [0x4a63b4]
movsd xmm0, qword [ebp - 0x14]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm0, xmm1
movsd qword [ebp - 0x14], xmm0
inc dword [0x4a63b4]
movss xmm0, dword [0x4a615c]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4a62d8]
mulsd xmm0, xmm1
movsd qword [0x4a62d8], xmm0
movsx eax, word [ebp - 4]
sub ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x4a6514]
movss dword [0x4a6514], xmm0
mov dword [edx + 4], 0
mov dword [edx + 8], 0x67452301
mov dword [edx + 0xc], 0xefcdab89
mov dword [edx + 0x10], 0x98badcfe
mov ax, word [0x4a6084]
movsx ecx, word [ebp - 4]
cwde
sub ecx, eax
mov eax, dword [ebp - 8]
add eax, 0xab932c7e
add eax, ecx
mov dword [ebp - 8], eax
movsd xmm0, qword [ebp - 0x14]
subsd xmm0, qword [0x496d18]
mov dword [edx + 0x14], 0x10325476
movsd qword [ebp - 0x14], xmm0
movss xmm1, dword [0x4a61d4]
movsx eax, word [ebp - 4]
subss xmm1, dword [0x49be58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [0x4a6288], xmm0
movss xmm0, dword [0x4a61d4]
subss xmm0, dword [0x495ab4]
movss dword [0x4a61d4], xmm0
mov esp, ebp
pop ebp
ret
Function at 0x487dea
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a71a0]
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.0047fc71
mov dword [ebp - 0x14], eax
cmp dword [0x4a9788], esi
jne 0x487edd
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x487e6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x487fbd
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x487fbd
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x487fbd
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4a9788], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4a978c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4a9790], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a9798], eax
test eax, eax
je 0x487eda
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a9794], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x487f02
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x487ef5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x487f17
push 4
pop eax
jmp 0x487fbf
cmp dword [ebp - 0x14], esi
je 0x487f17
push dword [0x4a9788]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x487efc
mov eax, dword [0x4a9794]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x487f75
cmp dword [0x4a9798], edi
je 0x487f75
push eax
call ebx
push dword [0x4a9798]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x487f75
test eax, eax
je 0x487f75
call ecx
test eax, eax
je 0x487f6a
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 0x487f6a
test byte [ebp - 8], 1
jne 0x487f75
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x487fa5
mov eax, dword [0x4a978c]
cmp eax, edi
je 0x487fa2
push eax
call ebx
test eax, eax
je 0x487fa2
call eax
mov esi, eax
test esi, esi
je 0x487fa2
mov eax, dword [0x4a9790]
cmp eax, edi
je 0x487fa2
push eax
call ebx
test eax, eax
je 0x487fa2
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4a9788]
call ebx
test eax, eax
je 0x487fbd
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x487fbf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ec3b
mov esp, ebp
pop ebp
ret
Function at 0x401510
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push edi
push esi
push eax
mov edi, dword [esp + 0x14]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40
push 0x3000
push edi
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test eax, eax
je 0x401568
push eax
pop esi
mov eax, dword [esp + 0x10]
mov dword [esp], 0
mov ecx, esp
push ecx
push edi
push eax
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
or eax, eax
je 0x401568
mov eax, dword [esp + 0x18]
mov dword [eax], 0
call esi
add esp, 4
pop esi
pop edi
ret
sub eax, eax
add esp, 4
pop esi
pop edi
ret

Function at 0x401570
Capabilities:
Check for outputdebugstring error
Print debug messages

Disassembly:
push esi
push eax
push 0x457
call dword [sym.imp.KERNEL32.dll_SetLastError]
push section..rdata
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x457
jne 0x4015ed
call fcn.0040dec0
cmp byte [eax + 2], 0
jne 0x4015ed
test byte [eax + 0x68], 0x70
jne 0x4015ed
call fcn.0040e420
mov dword [esp], 0xffffffff
mov eax, dword [0x411294]
mov ecx, dword [0x411298]
mov edx, esp
mov esi, dword [0x411290]
push dword [ecx]
push 1
push edx
push dword [eax]
push esi
call fcn.00401510
add esp, 0x14
or eax, eax
sete al
cmp dword [esp], 0xffffffff
sete cl
or cl, al
movzx eax, cl
neg eax
add esp, 4
pop esi
ret
push 0
call sub.msvcrt.dll_exit
nop
nop
pushal
popal
nop
nop
pushal
popal
nop
nop
push edx
pop edx