joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453100
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x45313b
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x45313b
cmp esi, dword [edi + 0xe4]
je 0x45313b
cmp byte [edi + 0xdc], 0
jne 0x45313b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe4]
cmp esi, eax
je 0x453236
test eax, eax
je 0x4531aa
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x20], 0x14
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.00452c70
mov dword [edi + 0xe4], 0
test esi, esi
je 0x453236
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x453236
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x453236
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xe8]
call eax
test al, al
je 0x453236
xorps xmm0, xmm0
mov dword [edi + 0xe4], esi
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.00452c70
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x453ff0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x45409f
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
mov ecx, 0x511b54
mov dword [ebp - 4], ebx
call fcn.004840b0
dec eax
mov dword [ebp + 8], eax
js 0x4540e1
push eax
mov ecx, 0x511b54
call fcn.0044a2f0
cmp dword [ebp - 4], 0
mov edi, eax
je 0x454088
mov ecx, edi
call fcn.0044e7a0
cmp dword [esi], eax
je 0x45405b
mov ecx, edi
call fcn.0044e7a0
cmp ebx, eax
jne 0x45407b
push esi
mov ecx, edi
call fcn.00453f90
test al, al
jne 0x454096
lea eax, [ebp - 8]
mov ecx, edi
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.00451d50
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
test ebx, ebx
jne 0x454045
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp + 8], eax
js 0x4540e1
mov ebx, dword [ebp - 4]
jmp 0x454032
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x511b54
xor edi, edi
call fcn.004840b0
test eax, eax
jle 0x4540e1
nop
mov ecx, 0x511b54
call fcn.004840b0
push edi
mov ecx, 0x511b54
call fcn.0044a2f0
mov ebx, eax
mov ecx, ebx
call fcn.0044e7a0
cmp dword [esi], eax
je 0x4540ea
mov ecx, 0x511b54
inc edi
call fcn.004840b0
cmp edi, eax
jl 0x4540b0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, ebx
call fcn.00453f90
test al, al
jne 0x454096
cmp dword [esi + 8], 0xe5
jne 0x454109
push dword [esi]
call sub.IMM32.dll_ImmGetVirtualKey
mov dword [esi + 8], eax
lea eax, [ebp - 8]
mov ecx, ebx
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.00451d50
pop edi
test al, al
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf3cb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x50a8c8]
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
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xa4]
push eax
mov dword [edi + 0x10], esi
call fcn.0045eca0
mov ecx, esi
call fcn.0045f2e0
mov ecx, dword [edi + 0x10]
mov esi, eax
or esi, 0x40000080
call fcn.0047bf70
test al, 1
je 0x45f6f2
or esi, 1
jmp 0x45f6f9
test al, 2
je 0x45f6f9
or esi, 2
mov ebx, dword [edi + 0x10]
mov ecx, ebx
call fcn.0045f8d0
test al, al
je 0x45f70a
or esi, 0x20
movdqu xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov ecx, ebx
mov eax, esp
push 0
movdqu xmmword [eax], xmm0
mov eax, dword [ebx]
push esi
push 0
call dword [eax + 0x24]
mov ecx, eax
call fcn.0044e7a0
push eax
mov ecx, edi
call fcn.0044b340
mov ecx, dword [edi + 0x10]
call fcn.00457cb0
cmp eax, 0xffffffff
je 0x45f759
mov ecx, dword [edi + 0x10]
push eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0044e130
test eax, eax
jne 0x45f76a
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0044e050
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
push 0
call fcn.0045f270
push eax
push 0xc5
push dword [edi + 4]
call esi
mov ebx, dword [edi + 0x10]
mov ecx, ebx
call fcn.0045f8d0
test al, al
je 0x45f7b4
push 0
mov ecx, ebx
call fcn.0045f2b0
movzx eax, ax
push eax
push 0xcc
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044a930
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0044a1c0
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
mov ecx, edi
call fcn.0044b790
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xe8]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [edi + 0x10]
push 0
call fcn.0045f8e0
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push 0xcf
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [edi + 0x10]
call fcn.0045f8c0
push dword [edi + 4]
test al, al
je 0x45f87d
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
mov ecx, 1
cmove eax, ecx
push eax
push 0
jmp 0x45f885
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [edi + 4]
call esi
mov byte [edi + 0x18], 1
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.00493b03
mov esp, ebp
pop ebp
ret 4
Function at 0x45f8f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x50a8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045a550
mov ecx, dword [esi + 0x7e0]
test ecx, ecx
je 0x45f981
lea eax, [ebp - 0x14]
push eax
call fcn.0045eca0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x45f957
mov ecx, dword [esi + 0x7e0]
push 0
call fcn.004840b0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493b03
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x7e0]
push 0
call fcn.004840b0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00493b03
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45f9a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x50a8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x45fa2b
cmp dword [esi + 0x10], 0
je 0x45fa2b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004a1d30
mov ebx, esp
test ebx, ebx
je 0x45fa2b
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.0044a260
mov ecx, dword [esi + 0x10]
push 1
push 0
push 0
mov eax, dword [ecx]
push 0
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.00452c70
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0044ef60
test al, al
je 0x45fa2b
mov ecx, dword [esi + 0x10]
call fcn.0045a420
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493b03
mov esp, ebp
pop ebp
ret 0x10
Function at 0x460470
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x50a8c8]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call fcn.0045c9a0
mov ecx, dword [esi + 0x7e0]
test ecx, ecx
je 0x460509
lea eax, [ebp - 0x14]
push eax
call fcn.0045eca0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4604df
mov ecx, dword [esi + 0x7e0]
push 0
call fcn.004840b0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493b03
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x7e0]
push 0
call fcn.004840b0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00493b03
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46a670
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x79c], 0
je 0x46a6df
cmp dword [ebp + 8], 0x100
jne 0x46a6cf
cmp word [ebp + 0xc], 0xd
jne 0x46a6cf
cmp byte [esi + 0x7a2], 0
je 0x46a6ae
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x46a6cf
cmp byte [esi + 0x7a3], 0
jne 0x46a6cf
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x46a6c8
push 1
push 0
push 0
push 0
push str.return
push esi
call fcn.00452c70
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x79c]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x4779a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x4779c7
cmp eax, edi
jge 0x4779bf
push esi
call fcn.00473800
add esp, 4
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x4779f0
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x4779d3
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x477a0c
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x4779fd
xor dl, dl
jmp 0x477a02
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4779f3
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x477a41
pop edi
pop esi
mov dword [ebp + 8], str.zlib_corrupt
pop ebp
jmp fcn.00473710
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x477a59
pop edi
pop esi
mov dword [ebp + 8], str.read_past_buffer
pop ebp
jmp fcn.00473710
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x477a77
push edi
push ecx
push esi
call fcn.0047ac20
add esp, 0xc
test eax, eax
jne 0x477a77
pop edi
pop esi
pop ebp
ret
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0049cf30
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret
Function at 0x48f6b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf3cb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x50a8c8]
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
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [eax + 0x7f0], 0
cmp dword [edi + 4], 0
jne 0x48f75d
lea eax, [ebp - 0xa4]
push eax
call fcn.0048f200
mov ecx, dword [edi + 0x10]
movdqu xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov eax, esp
push 0
movdqu xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
call dword [eax + 0x24]
mov ecx, eax
call fcn.0044e7a0
push eax
mov ecx, edi
call fcn.0044b340
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00457cb0
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.0044e2d0
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044ab10
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.0044a1c0
test bl, bl
je 0x48f7a1
mov eax, dword [edi + 0x10]
add eax, 0x7e0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x7e0
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
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.00493b03
mov esp, ebp
pop ebp
ret 4

Function at 0x48f7f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x50a8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045a550
mov ecx, dword [esi + 0x7f8]
test ecx, ecx
je 0x48f881
lea eax, [ebp - 0x14]
push eax
call fcn.0048f200
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x48f857
mov ecx, dword [esi + 0x7f8]
push 0
call fcn.004840b0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493b03
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x7f8]
push 0
call fcn.004840b0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00493b03
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48f990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x50a8c8]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call fcn.0045c9a0
mov ecx, dword [esi + 0x7f8]
test ecx, ecx
je 0x48fa29
lea eax, [ebp - 0x14]
push eax
call fcn.0048f200
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x48f9ff
mov ecx, dword [esi + 0x7f8]
push 0
call fcn.004840b0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493b03
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x7f8]
push 0
call fcn.004840b0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00493b03
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4934e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
push eax
push esi
mov ebx, ecx
mov dword [ebp - 4], 0
call fcn.0044e7c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x493584
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x493579
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
test eax, eax
je 0x493579
push eax
mov dword [ebp + 8], edi
call fcn.00448ad9
add esp, 4
mov edi, eax
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp dword [ebp + 8], eax
je 0x493575
push edi
call fcn.0049522e
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edi, edi
jne 0x493587
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push edi
mov ecx, ebx
call fcn.004935b0
push edi
mov esi, eax
call fcn.0049522e
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x499f56
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4ba672
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x50a8c8]
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.0049f9bd
mov dword [ebp - 0x14], eax
cmp dword [0x513168], esi
jne 0x4ba765
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4ba6f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4ba845
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4ba845
push 0x4e59a0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ba845
push eax
call ebx
push 0x4e59ac
push edi
mov dword [0x513168], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x51316c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x513170], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x513178], eax
test eax, eax
je 0x4ba762
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x513174], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4ba78a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4ba77d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4ba79f
push 4
pop eax
jmp 0x4ba847
cmp dword [ebp - 0x14], esi
je 0x4ba79f
push dword [0x513168]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4ba784
mov eax, dword [0x513174]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4ba7fd
cmp dword [0x513178], edi
je 0x4ba7fd
push eax
call ebx
push dword [0x513178]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4ba7fd
test eax, eax
je 0x4ba7fd
call ecx
test eax, eax
je 0x4ba7f2
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 0x4ba7f2
test byte [ebp - 8], 1
jne 0x4ba7fd
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4ba82d
mov eax, dword [0x51316c]
cmp eax, edi
je 0x4ba82a
push eax
call ebx
test eax, eax
je 0x4ba82a
call eax
mov esi, eax
test esi, esi
je 0x4ba82a
mov eax, dword [0x513170]
cmp eax, edi
je 0x4ba82a
push eax
call ebx
test eax, eax
je 0x4ba82a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x513168]
call ebx
test eax, eax
je 0x4ba845
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4ba847
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493b03
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc
call sub.KERNEL32.dll_GetProcessHeap
push 0x400
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10001252
mov ecx, esp
mov edx, 0x400
mov dword [esp], eax
mov dword [esp + 4], 0x400
mov dword [esp + 8], 0
call fcn.10011e50
mov esi, dword [esp + 8]
mov eax, dword [esp]
add eax, esi
push 0x400
push 0x102cc7a0
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, 0x400
cmp dword [0x10358ed4], 0
mov dword [esp + 8], esi
je 0x10001082
mov esi, dword [0x10358ed0]
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 8]
movq xmm0, qword [esp]
xor edx, edx
mov dword [esp], 0
test eax, eax
mov dword [0x10358ed8], eax
movq qword [0x10358ed0], xmm0
je 0x1000114f
mov ecx, dword [0x10358ed0]
cmp eax, 0x20
jb 0x10001159
lea esi, [eax - 1]
cmp esi, 4
mov esi, 0
jae 0x10001160
movdqu xmm1, xmmword [esp]
mov esi, eax
lea edx, [ecx + 0x10]
pxor xmm0, xmm0
pxor xmm2, xmm2
and esi, 0xffffffe0
mov edi, esi
movdqu xmm4, xmmword [edx - 0x10]
movdqu xmm5, xmmword [edx]
add edx, 0x20
add edi, 0xffffffe0
pxor xmm1, xmm4
pxor xmm3, xmm5
pxor xmm0, xmm4
pxor xmm2, xmm5
jne 0x100010e0
pxor xmm2, xmm0
movdqu xmmword [esp], xmm1
cmp eax, esi
movdqu xmmword [esp + 0x10], xmm3
pshufd xmm0, xmm2, 0x4e
pxor xmm0, xmm2
pshufd xmm1, xmm0, 0xe5
pxor xmm1, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x10
pxor xmm0, xmm1
movdqa xmm1, xmm0
psrlw xmm1, 8
pxor xmm1, xmm0
movd edx, xmm1
jne 0x10001160
mov al, byte [esp]
xor esi, esi
xor ecx, ecx
xor ebx, ebx
jmp 0x1000118a
xor esi, esi
xor ecx, ecx
xor ebx, ebx
xor eax, eax
jmp 0x1000118a
xor esi, esi
nop dword [eax + eax]
movzx ebx, byte [ecx + esi]
lea edi, [esi + 1]
and esi, 3
xor byte [esp + esi], bl
xor dl, bl
cmp eax, edi
mov esi, edi
jne 0x10001160
mov cl, byte [esp + 2]
mov al, byte [esp]
mov bl, byte [esp + 1]
mov edi, ecx
mov cl, byte [esp + 3]
mov esi, ecx
mov ecx, edi
xor al, dl
xor bl, dl
xor cl, dl
mov byte [esp], al
mov eax, esi
mov byte [esp + 1], bl
mov byte [esp + 2], cl
xor al, dl
mov byte [esp + 3], al
mov edi, dword [esp]
call sub.KERNEL32.dll_GetProcessHeap
push 0x2800000
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10001263
mov esi, eax
push 0x2800000
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0xfd800000
mov ecx, edi
nop dword [eax]
mov edx, ecx
mov dword [esi + eax + 0x2800000], ecx
shl edx, 0xd
xor edx, ecx
mov ebx, edx
shr ebx, 0x11
xor ebx, edx
mov ecx, ebx
shl ecx, 5
xor ecx, ebx
add eax, 4
jne 0x100011e0
test dword [0x10358ee4], 0x3fffffff
je 0x10001221
mov ebx, dword [0x10358ee0]
call sub.KERNEL32.dll_GetProcessHeap
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov dword [0x10358edc], 0xa00000
mov dword [0x10358ee0], esi
mov dword [0x10358ee4], 0xa00000
mov dword [0x10358ee8], 0xa00000
mov dword [0x10358eec], edi
add esp, 0xc
pop esi
pop edi
pop ebx
ret
mov ecx, 0x400
mov edx, 1
call fcn.10001280
ud2
mov ecx, 0x2800000
mov edx, 4
call fcn.10001280
ud2