joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ed20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47b438
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42ed59
inc eax
mov dword [esi + 0x10], eax
jmp 0x42ee6c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42ed6d
mov eax, 0xffffffc7
jmp 0x42ee6e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42ed7e
cmp dword [esi + 8], eax
jne 0x42ed6d
cmp dword [esi + 8], eax
jne 0x42ed97
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42ed97
mov eax, 0xffffffc7
jmp 0x42ee6e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42edab
push eax
mov ecx, ebx
call fcn.0042e550
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004040a0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42eddc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004040c0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042dcc0
test eax, eax
mov dword [esp + 0x38], eax
je 0x42ee0f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8ce030
call fcn.004042a0
mov eax, dword [esp + 0x38]
jmp 0x42ee6e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042eb80
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42ee53
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042eba0
mov esi, eax
test esi, esi
jne 0x42ee83
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042eb80
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42ee25
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8ce030
call fcn.004042a0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8ce030
call fcn.004042a0
mov eax, esi
jmp 0x42ee6e

Function at 0x433860
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4338c0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4338c0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4338c0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4338c0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x433900
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ecx
ret
Function at 0x43f620
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47bd28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.DLL_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00474e20
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043ef80
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00474d4e
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00471643
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00471643
push 1
push 0
push 0
mov ecx, esi
call fcn.004715eb
push 1
push 0
push 1
mov ecx, esi
call fcn.004715eb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00474e92
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43f7a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47bd48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00474e20
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043ef80
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00474d4e
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.DLL_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43f864
cmp dword [esp + 0x40], 1
jne 0x43f862
cmp ecx, eax
jge 0x43f864
mov eax, ecx
cmp eax, 0xc8
jge 0x43f870
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043f620
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.DLL_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00474e92
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x440070
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47bdf3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046fa7a
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x8cfac0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x8cfa08
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.DLL_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004750c8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004765e4
test eax, eax
je 0x44018c
mov ecx, dword [esp + 0x3c]
call fcn.004750f5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.DLL_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x440150
push edi
mov ecx, esi
call fcn.00472762
mov ecx, esi
call fcn.00440340
cmp dword [esp + 0x38], 1
jne 0x440185
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047289d
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x442380
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4423b3
push esi
call fcn.00450730
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4423ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x442439
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442422
mov eax, dword [esi + 8]
test eax, eax
je 0x4423d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44241e
cmp eax, 2
je 0x442422
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4423ca
cmp eax, 3
je 0x4423fd
cmp eax, 1
jne 0x4423ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4423ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4423ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442460
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442448
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442460
add esp, 4
pop esi
ret
Function at 0x442cd0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x442cf1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x442cf1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x442cf1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x470856
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47088e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.DLL_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046e927
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.DLL_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046e8ff
jmp 0x47089a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x471f4b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x471f8d
call fcn.004778c9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x471f8d
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x471f84
xor eax, eax
jmp 0x471f95
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00471f9b
pop edi
pop esi
pop ebx
ret 4

Function at 0x477df9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x477e27
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x477e45
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00477d5f
jmp 0x477e45
mov eax, dword [esi + 0x14]
test eax, eax
je 0x477e45
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00477d5f
test edi, edi
mov eax, edi
jne 0x477e2f
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x6bced9
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0x311bb8
jmp 0x6bcf86
call 0x6bcf1c
push word [esp + 3]
jmp 0x6bcee9
lea esp, [esp + 2]
mov dword [esp + 4], esp
push eax
jmp 0x6bcf06
mov dword [esp], esi
mov byte [esp + 2], ah
mov dword [esp], esp
mov dword [esp + 4], ebp
jmp 0x6bcf3a
mov dword [esp], esi
push edi
jmp 0x6bcfc5
inc bp
neg ax
jmp 0x6bcf9c
lea edx, [esp - 0x63f46874]
jmp 0x6bcf59
rcr ebx, cl
jae 0x6bcf6f
lea edx, [esp - 0x63f46874]
inc bp
neg ax
jmp 0x6bcf9c
mov ebp, dword [esp + 0x2c]
btr ax, dx
jmp 0x6bcfe1
lea edx, [edx*4]
rdtsc
jmp 0x6bcfcb
pushfd
jmp 0x6bb8da
lea esi, [esp]
push ebx
mov bh, dh
setp al
jmp 0x6bd0bf
js 0x6bcfaa
lea edx, [edx*4]
rdtsc
jmp 0x6bcfcb
lea esp, [esp + 3]
push eax
call 0x6bcf53
sbb ebx, ebx
mov cl, 0x29
call 0x6bd054
xchg byte [edx + esi*4], bl
aad 0x24
xchg ebx, eax
invalid
sub esp, 0xbc
mov edi, esp
neg bx
jns 0x6bd028
sbb ebx, ebx
mov cl, 0x29
call fcn.006bd0a7
and dword ss:[esi - 0x75], esp
sbb al, 0x24
dec ch
xchg dword [esp], esi
mov ch, byte [esp]
bswap ebx
xchg ecx, eax
jmp 0x6bd149
xchg dword [esp], esi
mov eax, dword [esp]
mov eax, 0xb6073d40
call 0x6bd125
jle 0x6bd0e1
jo 0x6bd118
loop 0x6bd159
mov dword [0x648d35da], eax
and al, 5
jmp 0x6bd002
push dword [esp + 8]
ret 0xc
xor al, 0x53
scasb al, byte es:[edi]
adc dword [edi - 0x25], esi
dec ebx
fstp qword cs:[esi + edi*4 - 0x77]
sub byte [esi - 0x137cdbe4], al
add eax, 0x124648d
jmp 0x6bd10f
not bx
lea esi, [esi - 0xc9]
lea eax, [ecx*4]
mov bl, byte [esp]
mov ah, 0x9a
xchg bh, ch
jmp 0x6bd0ed

Function at 0x6c484e
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x6aa150
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x6aa16a
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x6aa159
pop esi
jmp 0x6aa175
ret 4
lea esp, [esp + 4]
jmp 0x6aa143

Function at 0x6e00f6
Capabilities:
Hash data with md5

Disassembly:
lea esp, [esp + 4]
jmp 0x6e00e9
and dword [eax + 4], 0
stc
push sp
call 0x6e00f6
test byte [ebp - 0x14fddb9c], cl
xor esi, dword [eax]
mov ebx, 0x7dbd4e2b
push ss
pushfd
xor dl, byte [ebp - 0x5c]
adc al, 0x69
mov byte [ebx], ch
inc edx
std
lea esp, [esp + 4]
mov dword [eax + 0x14], 0x103861ef
ret

Function at 0x915acc
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00915b4b
jae 0x915ad8
xor ecx, ecx
call fcn.00915b4b
jae 0x915b02
xor eax, eax
call fcn.00915b4b
jae 0x915b13
mov al, 0x10
call fcn.00915b4b
adc al, al
jae 0x915af4
jne 0x915b40
stosb byte es:[edi], al
jmp 0x915ad9
call fcn.00915b57
dec ecx
loop 0x915b1f
mov eax, ebp
call fcn.00915b55
jmp 0x915b41
lodsb al, byte [esi]
shr eax, 1
je 0x915b67
adc ecx, 2
mov ebp, eax
jmp 0x915b41
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00915b55
cmp eax, 0x7d00
jae 0x915b3f
cmp eax, 0x500
jae 0x915b40
cmp eax, 0x7f
ja 0x915b41
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x915ad9
pop ebp
ret 8
Function at 0x418010
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xb0
mov al, byte [0x4c4049]
mov cl, byte [0x4c4048]
xor cl, al
push esi
mov byte [0x4c4048], cl
mov cl, byte [0x4c4043]
or cl, 8
mov esi, dword [esp + 0xb8]
shr cl, 3
and ecx, 0xff
push 5
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr qword [0x4c79a0]
fadd qword [0x4c4050]
fstp qword [0x4c7990]
mov dword [esi], 0
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x41807e
or dword [esi], 0x4000000
mov al, byte [0x4c4046]
mov dl, byte [0x4c4045]
xor al, dl
mov byte [0x4c4046], al
or al, 0x30
shr al, 4
and eax, 0xff
mov dword [esp + 4], eax
fild dword [esp + 4]
fdivr qword [0x4c7a00]
fstp qword [0x4c7990]
fld qword [0x4c4050]
fadd qword [0x4c79a0]
fstp qword [0x4c79a0]
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, esi
pop esi
add esp, 0xb0
ret

Function at 0x4bc5e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c43a8
cmp edx, dword [eax]
je 0x4bc607
add eax, 8
inc ecx
cmp eax, 0x4c4438
jl 0x4bc5f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c43a8]
jne 0x4bc735
mov eax, dword [0x4c9d30]
cmp eax, 1
je 0x4bc70f
test eax, eax
jne 0x4bc638
cmp dword [0x4c42d4], 1
je 0x4bc70f
cmp edx, 0xfc
je 0x4bc735
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bc66f
lea eax, [ebp - 0x1a4]
push 0x4c1980
push eax
call fcn.004bcfd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd460
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bc6b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd460
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c197c
push edi
call fcn.004bf330
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1960
push eax
call fcn.004bcfd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bcfe0
lea eax, [ebp - 0xa0]
push 0x4c195c
push eax
call fcn.004bcfe0
push dword [esi + 0x4c43ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bcfe0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1934
push eax
call fcn.004bf2a4
add esp, 0x2c
pop edi
jmp 0x4bc735
lea eax, [ebp + 8]
lea esi, [esi + 0x4c43ac]
push 0
push eax
push dword [esi]
call fcn.004bd460
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x7b3d8c
Capabilities:
Encode data using xor

Disassembly:
cld
pop ecx
loop 0x7b3e09
mov dh, 0xd9
ljmp 0x504b
mov bh, 0x56
and edx, eax
or edi, eax
aas
mov byte [0x3db3a02d], al
xor bh, byte [eax - 0x72429096]
push edi
mov byte [ebp - 0x73e3a1c4], cl
imul esi, esi, 0x8deb7c1a
dec ebp
rcr byte [eax + 0x7a2c4551], cl
push ecx
inc ebp
sub al, 0x7a
fdivr qword [ecx + 0x6a]
not byte [ebx]
aad 0
popfd
sbb eax, 0x7d8ce07b
loope 0x7b3de7
sbb edi, edx
push ebx
shr ebp, 1
retf 0x1fc1
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5cd008]
jne 0x40100a
repz ret
jmp fcn.004016a1

Function at 0x406a84
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.00403de3
and dword [ebp - 4], 0
cmp dword [0x5cede4], 0
mov ebx, eax
jne 0x406b35
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406be6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406be6
push eax
call fcn.00403d71
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5cede4], eax
call esi
push eax
call fcn.00403d71
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5cede8], eax
call esi
push eax
call fcn.00403d71
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5cedec], eax
call esi
push eax
call fcn.00403d71
pop ecx
mov dword [0x5cedf4], eax
test eax, eax
je 0x406b35
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403d71
pop ecx
mov dword [0x5cedf0], eax
mov eax, dword [0x5cedf0]
cmp eax, ebx
je 0x406b8d
cmp dword [0x5cedf4], ebx
je 0x406b8d
push eax
call fcn.00403dec
push dword [0x5cedf4]
mov esi, eax
call fcn.00403dec
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406b8d
test edi, edi
je 0x406b8d
call esi
test eax, eax
je 0x406b84
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406b84
test byte [ebp - 0xc], 1
jne 0x406b8d
or dword [ebp + 0x10], 0x200000
jmp 0x406bc6
mov eax, dword [0x5cede8]
cmp eax, ebx
je 0x406bc6
push eax
call fcn.00403dec
pop ecx
test eax, eax
je 0x406bc6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406bc6
mov eax, dword [0x5cedec]
cmp eax, ebx
je 0x406bc6
push eax
call fcn.00403dec
pop ecx
test eax, eax
je 0x406bc6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5cede4]
call fcn.00403dec
pop ecx
test eax, eax
je 0x406be6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406be8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x5c8e00
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x5cd008]
xor eax, esp
mov dword [esp + 0x800], eax
cmp dword [0x9b48d4], 0x114e
mov eax, dword [esp + 0x808]
mov dword [0x9b4718], eax
jne 0x5c8e41
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret
Function at 0x5c8f20
Capabilities:
Query environment variable

Disassembly:
sub esp, 0xc04
mov eax, dword [0x5cd008]
xor eax, esp
mov dword [esp + 0xc00], eax
mov eax, dword [0x5ce000]
push ebx
mov ebx, dword [0x9b471c]
push esi
mov esi, dword [0x9b48d4]
push eax
call fcn.005c8e00
add esp, 4
cmp dword [0x9b48d4], 0x2f
jne 0x5c8f5f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
call fcn.005c8e70
add esp, 4
cmp dword [0x9b48d4], 0x568
pop esi
pop ebx
jne 0x5c8f97
push 0
push 0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea edx, [esp + 0x404]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov ecx, dword [esp + 0xc00]
xor ecx, esp
call fcn.00401000
add esp, 0xc04
ret
Function at 0x165549
Capabilities:
Authenticate hmac

Disassembly:
sub esp, 0x220
and dword [esp + 0x14], 0
mov eax, 0xb5a6a
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebx, 0x2e7a0
mov dword [esp + 0x18], 0x12469
mov ebp, 0xb94dc
push edi
mov dword [esp + 0x20], 0x89806
cmp eax, ebx
je 0x1656d9
cmp eax, 0xb5a6a
je 0x1656d2
cmp eax, ebp
je 0x165653
cmp eax, 0xcb53d
jne 0x165766
mov dword [esp + 0x14], 0x8222b8
lea eax, [esp + 0x28]
add dword [esp + 0x14], 0xffffb865
xor dword [esp + 0x14], 0x81db1f
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], 0x8ad418
xor dword [esp + 0x18], 0x22185c73
xor dword [esp + 0x18], 0x2294574e
mov dword [esp + 0x14], 0x86c42
or dword [esp + 0x14], 0xf2289142
xor dword [esp + 0x14], 0xf22f8ace
mov dword [esp + 0x10], 0xdcca90
add dword [esp + 0x10], 0xffffffe9
xor dword [esp + 0x10], 0xb93957b2
add dword [esp + 0x10], 0xb38e
xor dword [esp + 0x10], 0xb9ebb9fd
push eax
push dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
call fcn.0016bd0b
pop ecx
lea esi, [esp + 0x2c]
pop ecx
lea esi, [esi + eax*2]
jmp 0x16563f
cmp word [esi], 0x5c
jne 0x16563c
dec edi
je 0x165649
sub esi, 2
lea eax, [esp + 0x28]
cmp esi, eax
ja 0x165633
jmp 0x16564c
add esi, 2
mov eax, ebx
jmp 0x16557b
mov dword [esp + 0x10], 0xecab54
lea edx, [esp + 0x28]
shr dword [esp + 0x10], 4
or dword [esp + 0x10], 0xbe2c652a
add dword [esp + 0x10], 0xffffa179
xor dword [esp + 0x10], 0xbe2c3f0c
mov dword [esp + 0x18], 0x4398a
xor dword [esp + 0x18], 0x9938822e
xor dword [esp + 0x18], 0x99398539
mov dword [esp + 0x14], 0x3a42cc
add dword [esp + 0x14], 0x473f
xor dword [esp + 0x14], 0x7e572627
xor dword [esp + 0x14], 0x7e666b1f
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x18]
call fcn.00163093
add esp, 0xc
mov eax, 0xcb53d
jmp 0x16557b
mov eax, ebp
jmp 0x16557b
mov dword [esp + 0x14], 0xfd78ce
mov edx, esi
add dword [esp + 0x14], 0x1a9c
add dword [esp + 0x14], 0xffff8ed6
shl dword [esp + 0x14], 0xd
xor dword [esp + 0x14], 0xa44e129d
mov dword [esp + 0x10], 0x6d9ed9
add dword [esp + 0x10], 0x8541
imul eax, dword [esp + 0x10], 0x3a
mov dword [esp + 0x10], eax
imul eax, dword [esp + 0x10], 0x36
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x438ac5c4
mov dword [esp + 0x18], 0x546b21
add dword [esp + 0x18], 0xffff541a
xor dword [esp + 0x18], 0x577cef
push dword [esp + 0x18]
push dword [esp + 0x14]
mov eax, dword [0x182208]
mov ecx, dword [esp + 0x1c]
add eax, 0x22c
push eax
call fcn.00163129
add esp, 0xc
mov eax, 0x2b249
cmp eax, 0x2b249
jne 0x16557b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x220
ret