joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100174d6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10017573
push ebx
push esi
call fcn.1001749f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10017433
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10017520
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10017572
push edi
push eax
call fcn.10014a17
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10017540
call fcn.100149dd
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10017571
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10017433
add esp, 0x20
test eax, eax
jne 0x1001755f
push edi
call fcn.100149dd
jmp 0x10017567
push ebx
call fcn.100149dd
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10017894
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023500
push 0x100234f8
push str.FlsAlloc
push 0x1f
call fcn.10017730
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100178c8
push dword [ebp + 8]
mov ecx, esi
call dword [0x10021140]
call esi
jmp 0x100178ce
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10017912
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023510
push 0x10023508
push str.FlsGetValue
push 0x21
call fcn.10017730
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10017949
push dword [ebp + 8]
mov ecx, esi
call dword [0x10021140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10017951
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023518
push 0x10023510
push str.FlsSetValue
push 0x22
call fcn.10017730
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001798b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10021140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10001b9a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x10001bc9
mov eax, 0
jmp 0x10001bd3
mov eax, 1
jmp 0x10001bd3
mov esp, ebp
pop ebp
ret 4

Function at 0x10003f32
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
jne 0x10003f61
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
jmp 0x10003fda
push dword [ebp + 8]
call fcn.10003fe0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x10003f92
push 7
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
jmp 0x10003fda
push dword [ebp + 8]
call fcn.10004001
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x10003fc3
push 5
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
jmp 0x10003fda
push 4
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
jmp 0x10003fda
mov esp, ebp
pop ebp
ret 8
Function at 0x10005d62
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000abe0
add esp, 0x1c
mov dword [ebp - 8], eax
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10005e0e
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000abe0
add esp, 0x1c
mov dword [ebp - 8], eax
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10005e16
mov esp, ebp
pop ebp
ret 8

Function at 0x1000ac20
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000ac3e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000ac33
pop esi
ret
Function at 0x404980
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40a5b0
push ebx
push esi
call fcn.0040a4dc
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040a470
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40a55d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a5af
push edi
push eax
call fcn.0040b130
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40a57d
call fcn.00408fd1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a5ae
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040a470
add esp, 0x20
test eax, eax
jne 0x40a59c
push edi
call fcn.00408fd1
jmp 0x40a5a4
push ebx
call fcn.00408fd1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40b8ad
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46ac68
push 0x46ac60
push str.FlsAlloc
push 0x1f
call fcn.0040b76c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b8e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x41412c]
call esi
jmp 0x40b8e7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b92b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46ac78
push 0x46ac70
push str.FlsGetValue
push 0x21
call fcn.0040b76c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b962
push dword [ebp + 8]
mov ecx, esi
call dword [0x41412c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b96a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46ac80
push 0x46ac78
push str.FlsSetValue
push 0x22
call fcn.0040b76c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b9a4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41412c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x413800
Capabilities:
Authenticate hmac

Disassembly:
sti
mov esi, 0x56104b95
call 0xc17e1656
pushfd
mov al, 0x83
mov ebp, 0x6585303c
mov ah, bl
pop esp
ja 0x41376a
sti
test al, 0x2e
adc esi, dword [edi + 0x6f]
jno 0x413769
cli
jns 0x413762
fist word [edx + 0x40]
shl ch, 0x3e
mov ah, 0x24
mov al, byte [0x49132631]
ror ch, 1
xor al, 0x40
sbb al, 0xbb
adc ch, bl
adc eax, 0x13902d64
pushal
int1
mov al, byte [0x95156e0]
mov edi, 0x2a5f7018
push esi
sub bl, dl
out 0x31, eax
or al, 0x62
mov bh, 0x34
mov byte [0x4584ad96], al
fst dword [ecx - 0x30]
outsd dx, dword [esi]
sub byte [edx], bh
dec edi
push ds
invalid
jg 0x413720
outsb dx, byte [esi]
mov bh, 0x16
cmp eax, 0xb159f94c
dec esi
cwde
or al, 0x53
mov cl, 0x36
invalid
or al, 0x61
mov dword [0x4834f9ba], eax
dec eax
mov edx, 0x904834f9
dec eax
nop
je 0x413867
out 0xed, al
test al, 0x18
jecxz 0x41384a
jns 0x41378f
push ds
sub eax, 0x474e7774
leave
jns 0x4137fa
popal
dec eax
push ds
sti
retf 0x9a16
pop esp
std
js 0x4137fd
imul edi, dword [ebx - 1], 0x4ca90e09
fnstsw word [ebx + 0xb2bc490]
pop es
inc esp
sub byte [ecx], 0x59
xor al, 0x17
bound eax, qword [eax]
cmp dword [edx - 0x4d], edi
adc al, 0x40
mov edi, 0x3056332f
dec edi
xor byte [ecx - 0x625e873f], bl
fistp dword [ebx + 0x4b]
lodsb al, byte [esi]
aas
imul ebx, eax, 0x216ee72f
dec esi
inc edx
rcl byte [edi - 0x52], 0x51
mov ah, 0x82
leave
lea esi, [eax + 0x18f5d3c4]
pop esp
cmpsb byte [esi], byte es:[edi]
xor byte [edi], dh
sti
pop ebp
rcr dword [ebx - 0x513fa2f1], 2
cmp eax, edx
aam 0x7c

Function at 0x4208e2
Capabilities:
Encode data using xor

Disassembly:
dec ecx
lds esi, [ecx - 0x47]
mov dh, 0x87
call 0x451712fc
salc
xchg ebp, eax
lds eax, [ecx - 0x2d]
mov ah, 0x79
dec esi
dec ecx
push esi
push ebp
stosb byte es:[edi], al
and esp, edx
pushal
les eax, [0x37ee19bf]
adc dword [eax], ebp
sub al, 0x14
adc al, 0x98
xor byte [ebx - 0x4acc4c1e], al
imul dl
adc eax, 0x9c64be66
movsb byte es:[edi], byte [esi]
invalid

Function at 0x423512
Capabilities:
Encode data using xor

Disassembly:
bound ecx, qword [edi - 0xd01df5b]
mov dword [ecx + ebx*4], edx
imul esp, dword [edx], 0x2633abcb
adc ch, byte [eax + 0x62]
jmp 0x42357c
and esp, dword es:[edi + 0x494a18f]
insb byte es:[edi], dx
sub byte [eax], dh
mov edx, 0x89eb4c62
mov ebx, 0xfde15606
leave
invalid

Function at 0x44fb52
Capabilities:
Encode data using xor

Disassembly:
fsubr dword [ebp - 0x495c6225]
and esi, dword [0xb26f014c]
add ch, byte fs:[esp + edi*8]
dec esi
push es
lea ebp, [esi - 0x46cf5774]
lahf
xor ch, bl
jnp 0x44fbcb
in al, dx
mov dword [0x42894887], eax
or byte [esi + 0x54c3ca2], bh
and al, 0xdf
mov cl, 0x2d
add bl, cl
xchg ebx, eax
mov byte [0xbd68aefc], al
in al, dx
xor al, 0x22
or ah, byte [ebp + 2]
push 0xffffffffffffffdc
test eax, 0xe93fb940
stosb byte es:[edi], al
lodsd eax, dword [esi]
lds eax, [ecx - 0x3a]
jl 0x44fba8
dec esp
adc ch, byte [edx + 0x71]
jbe 0x44fc08
loop 0x44fba2
loop 0x44fba2
sub edi, 0xffffffec
pop ebp
push esp
cmp eax, 0x4140f53d
xor eax, ecx
wait
movsd dword es:[edi], dword [esi]
add esi, dword [eax - 0x50]
mov al, 0xbf
xor al, 0x25
invalid
hlt
fucomp st(4)
pushfd
int 0x28
daa
and dh, dl
invalid
Function at 0x464fc2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 2
jne 0x464ff4
movzx ecx, word [ebp + 8]
sar ecx, 8
push ecx
mov ecx, dword [ebp - 4]
call fcn.00464ec2
movzx edx, byte [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.00464ec2
jmp 0x4650c3
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 1
jne 0x46501f
movzx ecx, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00464ec2
movzx edx, word [ebp + 8]
sar edx, 8
push edx
mov ecx, dword [ebp - 4]
call fcn.00464ec2
jmp 0x4650c3
movzx eax, word [ebp + 8]
cmp eax, 0x7f
jg 0x46503a
movzx ecx, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00464ec2
jmp 0x4650c3
movzx edx, word [ebp + 8]
cmp edx, 0x7ff
pop es
add byte [eax], al
jg 0x465073
movzx eax, word [ebp + 8]
sar eax, 6
or eax, 0xc0
push eax
mov ecx, dword [ebp - 4]
call fcn.00464ec2
movzx ecx, word [ebp + 8]
and ecx, 0x3f
or ecx, 0x80
push ecx
mov ecx, dword [ebp - 4]
call fcn.00464ec2
jmp 0x4650c3
movzx edx, word [ebp + 8]
cmp edx, 0xffff
jg 0x4650c3
movzx eax, word [ebp + 8]
sar eax, 0xc
or eax, 0xe0
push eax
mov ecx, dword [ebp - 4]
call fcn.00464ec2
movzx ecx, word [ebp + 8]
sar ecx, 6
and ecx, 0x3f
or ecx, 0x80
push ecx
mov ecx, dword [ebp - 4]
call fcn.00464ec2
movzx edx, word [ebp + 0x3f]
push ds
jne 0x465041
inc ebp
int1
push ebp
lea eax, [0x5c015fd]
jno 0x4650cb
ljmp 0xada3:0x13c31bfb
adc esp, dword [ebx - 0x45a62e53]
jge 0x46508c
or eax, 0x39951a47
dec edx
mov esp, 0xbbb57285
test dword [edx - 0x4b], esi
mov ebx, 0xd50124e5

Function at 0x47c5e2
Capabilities:
Encode data using xor

Disassembly:
invalid
mov al, 0xb1
mov eax, 0xcf2a9b4b
pop esp
pop edx
cmc
pop edi
imul esi, dword [0x473468cd], 0xffffffdb
int3
cld
xchg ecx, eax
sub eax, 0xa675a6ce
jne 0x47c58f
test al, 0x88
test eax, 0x86bddb4d
cdq
mov dword [0x4ac91edf], eax
xchg ecx, eax
das
pushfd
pop edx
fnsave dword [edx - 0x13]
fistp qword [esi + 0x5729cdd1]
xor bl, ah
jg 0x47c5e7
outsd dx, dword [esi]
pushal
wait
jo 0x47c596
clc
lahf
sbb byte [ebx + 5], ah
sahf
lcall 0x921, 0xb92162eb
sar byte [eax + 0x3855e06f], 1
daa
jnp 0x47c699
or ebx, dword [ecx]
mov eax, 0xc34fba
shr ecx, 1
cdq
popal
out dx, al
cmp ecx, dword [edx]
invalid
or bh, byte [ebx + edi]
inc eax
imul esp, dword [edx], 9
add eax, 0xf867a7da
Function at 0x4975ba
Capabilities:
Encode data using xor

Disassembly:
dec edx
adc ecx, esp
and bl, dh
arpl word [edi - 0x75], si
or eax, 0xde901338
mov word [edi - 0x44917383], ds
cmp byte [ebx], dh
cwde
cmp dword [eax + 0xe], ebx
mov al, 0x81
bound edi, qword [eax]
loopne 0x4974f9
add byte [eax + 0x594ab82c], 0x36
fidivr dword [edi - 0x12ff5f83]
jg 0x497518
mov edi, 0xb8081e45
insd dword es:[edi], dx
scasd eax, dword es:[edi]
imul edx, dword [edi], 0x5f
dec eax
mov ebp, 0xc511a590
mov ebx, 0x4900a02
daa
into
dec ebp
jbe 0x4975c2
mov ecx, 0x4bc830c7
out 0xa1, al
push ebx
in al, dx
cmp eax, 0x1b59534f
cmc
jl 0x4975cc
cmc
cmp byte [edi + ecx*8 - 0x5db631f5], ch
sbb eax, 0x3a2178a9
stosb byte es:[edi], al
outsd dx, dword [esi]
dec edx
push 0x7e0d202d
xor al, 0xd8
aas
invalid
mov byte [0x983df9c4], al
cwde
mov edi, 0x2d5ec9da
push 0x827e2c92
jle 0x497516
mov ebp, 0x44ce9738
outsb dx, byte [esi]
cmp eax, 0x9e6e38e9
push cs
in eax, dx
xchg dword [ebp - 0x5e], esp
and dh, byte fs:[edx + ebx + 0x17]
scasb al, byte es:[edi]
xor ebx, ebx
std
dec edx
xor eax, 0x685b1b90
jl 0x497592
mov eax, dword [0xcd63a0e7]
loop 0x497585
push edx
adc ecx, dword [ebx + ebp + 0x43]
pushal
mov esp, 0x5b0b9def
aas
jge 0x4975eb
cmp edx, dword [ecx + 0x7b]
mov ebx, 0xb1ddc0bc
std
jnp 0x497589
mov esp, 0xfdb1ddc0
mov eax, dword [0x3eab2b7c]
lea edx, [eax + 0x4f]
lgs esp, [ecx]
stosd dword es:[edi], eax
push ebx
sbb dword [esi + 0x27], eax
sal dword [ecx], cl
movsd dword es:[edi], dword [esi]
mov dh, byte [esi + 0xaec38d2]
invalid
or bh, dh
sbb al, 0x28
jg 0x4975f2
les ebx, [ebp - 0x6a]
salc
xchg esi, eax
xor ch, byte [edx - 0xc]
inc edx
sub byte [eax + 7], bh
adc al, byte [edi]
in eax, 0x87
ret 0xeaa6
Function at 0x4bafcd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2390
cmp edx, dword [eax]
je 0x4bafef
add eax, 8
inc ecx
cmp eax, 0x4c2420
jl 0x4bafe0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2390]
jne 0x4bb11d
mov eax, dword [0x4c6d1c]
cmp eax, 1
je 0x4bb0f7
test eax, eax
jne 0x4bb020
cmp dword [0x4c22bc], 1
je 0x4bb0f7
cmp edx, 0xfc
je 0x4bb11d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb057
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bb9b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bbe40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb09a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bbe40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c06f4
push edi
call fcn.004bdd10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bb9b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb9c0
lea eax, [ebp - 0xa0]
push 0x4c06d4
push eax
call fcn.004bb9c0
push dword [esi + 0x4c2394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb9c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bdc84
add esp, 0x2c
pop edi
jmp 0x4bb11d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c2394]
push 0
push eax
push dword [esi]
call fcn.004bbe40
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 0x5a452c
Capabilities:
Encode data using xor

Disassembly:
invalid
lodsd eax, dword [esi]
bound edx, qword [eax - 2]
xchg dword [ebp + 0x24ef9270], edi
aaa
cdq
pop esp
pop ds
aas
xchg ebp, eax
pop ss
xchg esp, eax
mov esp, 0x5ec314ea
jns 0x5a448f
dec eax
dec byte [edi - 0x77]
and ah, 8
push 0x33c6b744
imul edx, dword [edi - 0x15], 0x2f
je 0x5a4535
mov word [eax - 0x7c522a63], ds
ljmp 0xbd6d
inc ecx
cmp al, 0x87
out 0x99, eax
clc
add byte [edx], 0xe9
adc al, 0xa0
mov ecx, dword [edi - 0x1452ae95]
and dword [ebp - 0x79], 0x2366e1f0
wait
dec ecx
lodsb al, byte [esi]
mov dl, 0x76
jo 0x5a45c4
jne 0x5a44da
mov ebx, fs
sub dh, byte [ecx - 0x6e]
invalid
sti
jae 0x5a4592
pop edi
adc eax, 0xdf0aca5f
and al, 0xb5
and eax, 0xe91fedfd
sar byte [ebx + 0x1ff8d2e7], 1
sahf
adc esi, dword [ecx + 0x66cf7a9a]
sub eax, 0x1df39cb0
inc esp
mov dword [eax + 0x67], 0xc2d06b93
invalid
add bl, byte [edi + 0x2f]
jns 0x5a4593
mov edx, esp
in al, 0x6c
aaa
or eax, 0x3df8cbde
inc eax
cmpsb byte [esi], byte es:[edi]
imul edi, dword [esi + 0x53cfef35], 0x4ae1da8d
mov dl, 0x1d
aaa
test dword [esi], ecx
iretd
Function at 0x5e7c46
Capabilities:
Encode data using xor

Disassembly:
loop 0x5e7c8e
hlt
fidivr dword [esi + 0x4a]
pop ss
and byte [edi + 0x35], bh
popal
xchg esp, eax
bound edi, qword [edx + 0xaa7221b]
out dx, al
sti
jl 0x5e7c10
jl 0x5e7c6c
int1
lds esp, [ecx - 0x1c]
div byte [ecx - 0x12]
fisubr word [ebx + 3]
or al, 0x79
retf 0x1ac
rcr byte [ebx + eax*4 - 6], 0xc0
pop ecx
push es
arpl word [eax + edi*4 + 0x8ea209d], bx
in eax, dx
fisttp word [eax]
invalid
call 0x5113e435
or ebp, dword [edx - 0x42]
sbb dword [ebp + 0x3d6b2219], 0x5fac7d32
or al, 0xd
xchg esi, eax
xchg edx, eax
push edx
add bl, bl
push edx
push ebp
and esi, dword [eax]
cwde
les edx, [edx - 0x70]
invalid
Function at 0x4010cc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46c004]
jne 0x4010d6
repz ret
jmp fcn.004016e5

Function at 0x40570b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040452e
and dword [ebp - 0x14], 0
cmp dword [0x46eb38], 0
mov dword [ebp - 0x18], eax
jne 0x4057be
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405866
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405866
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46eb38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46eb3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46eb40], eax
call edi
push eax
call esi
mov dword [0x46eb48], eax
test eax, eax
je 0x4057be
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46eb44], eax
mov eax, dword [0x46eb44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405817
cmp dword [0x46eb48], ecx
je 0x405817
push eax
call esi
push dword [0x46eb48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405817
test ebx, ebx
je 0x405817
call edi
test eax, eax
je 0x40580e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40580e
test byte [ebp - 8], 1
jne 0x405817
or dword [ebp + 0x10], 0x200000
jmp 0x40584a
mov eax, dword [0x46eb3c]
cmp eax, dword [ebp - 0x18]
je 0x40584a
push eax
call esi
test eax, eax
je 0x40584a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40584a
mov eax, dword [0x46eb40]
cmp eax, dword [ebp - 0x18]
je 0x40584a
push eax
call esi
test eax, eax
je 0x40584a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46eb38]
call esi
test eax, eax
je 0x405866
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405868
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010cc
leave
ret
Function at 0x461b10
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x461b24
call fcn.00461a90
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x461b17
pop esi
cmp ebx, 0x2d
jne 0x461b3e
mov dword [0x85fb98], 0xa62e7790
mov dword [0x85fb9c], 0xffffffff
ret

Function at 0x461b40
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x46cdb8]
sub esp, 0x14
push ebx
mov ebx, dword [0x85fb8c]
push edi
mov edi, dword [0x85d70c]
call fcn.00461ae0
cmp dword [0x85fb8c], 0x2f
jne 0x461ba2
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.00461b10
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x4016b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, 0x18
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x51c]
push ebx
mov ebx, dword fs:[0x18]
sub esp, 0x54c
mov dword [ebp - 0x51c], 0x18
lea esi, [esi]
nop
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._GetTcpTable_12
sub esp, 0xc
mov ecx, eax
test eax, eax
jne 0x4018a0
mov eax, dword [edi]
lea ebx, [edi + 4]
test eax, eax
je 0x401873
mov dword [ebp - 0x52c], edi
mov esi, ecx
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebx]
cmp eax, 0xb
ja 0x40185f
mov edx, 0x920
bt edx, eax
jae 0x40185f
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x498]
lea edi, [ebp - 0x398]
call sym._NETSTAT_host_name.isra.0
movzx eax, word [ebx + 8]
lea ecx, [ebp - 0x518]
mov dword [esp + 8], 0x4062e4
mov dword [esp], ecx
rol ax, 8
mov dword [esp + 4], 0x20
movzx eax, ax
mov dword [esp + 0xc], eax
call sym._swprintf
mov eax, dword [ebx + 0xc]
mov edx, edi
call sym._NETSTAT_host_name.isra.0
movzx eax, word [ebx + 0x10]
lea edx, [ebp - 0x4d8]
mov dword [esp + 8], 0x4062e4
mov dword [esp], edx
rol ax, 8
mov dword [esp + 4], 0x20
movzx eax, ax
mov dword [esp + 0xc], eax
call sym._swprintf
lea ecx, [ebp - 0x518]
lea eax, [ebp - 0x498]
mov dword [esp + 8], str._s:_s
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x298]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xa0
call sym._swprintf
mov dword [esp + 0xc], edi
lea edx, [ebp - 0x4d8]
lea edi, [ebp - 0x158]
mov dword [esp + 0x10], edx
mov dword [esp + 8], str._s:_s
mov dword [esp + 4], 0xa0
mov dword [esp], edi
call sym._swprintf
mov eax, dword [ebx]
lea ecx, [ebp - 0x298]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
shl eax, 5
mov dword [esp + 4], 0x406400
add eax, 0x406420
mov dword [esp], str.____6s___22s___22s__s_n
mov dword [esp + 0x10], eax
call sym._NETSTAT_wprintf
mov eax, dword [ebp - 0x52c]
inc esi
add ebx, 0x14
cmp dword [eax], esi
ja 0x401740
mov edi, eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [ebp - 0x52c], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0x52c]
sub esp, 0xc
cmp ecx, 0x7a
jne 0x401897
mov eax, dword [ebp - 0x51c]
jmp 0x4016e0