joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a88f1
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.0049a657
and dword [ebp - 4], 0
cmp dword [0x50320c], 0
mov ebx, eax
jne 0x4a89a2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4a8a53
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4d72b4
push edi
call esi
test eax, eax
je 0x4a8a53
push eax
call fcn.0049a5e5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x50320c], eax
call esi
push eax
call fcn.0049a5e5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x503210], eax
call esi
push eax
call fcn.0049a5e5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x503214], eax
call esi
push eax
call fcn.0049a5e5
pop ecx
mov dword [0x50321c], eax
test eax, eax
je 0x4a89a2
push 0x4d725c
push edi
call esi
push eax
call fcn.0049a5e5
pop ecx
mov dword [0x503218], eax
mov eax, dword [0x503218]
cmp eax, ebx
je 0x4a89fa
cmp dword [0x50321c], ebx
je 0x4a89fa
push eax
call fcn.0049a660
push dword [0x50321c]
mov esi, eax
call fcn.0049a660
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4a89fa
test edi, edi
je 0x4a89fa
call esi
test eax, eax
je 0x4a89f1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4a89f1
test byte [ebp - 0xc], 1
jne 0x4a89fa
or dword [ebp + 0x10], 0x200000
jmp 0x4a8a33
mov eax, dword [0x503210]
cmp eax, ebx
je 0x4a8a33
push eax
call fcn.0049a660
pop ecx
test eax, eax
je 0x4a8a33
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4a8a33
mov eax, dword [0x503214]
cmp eax, ebx
je 0x4a8a33
push eax
call fcn.0049a660
pop ecx
test eax, eax
je 0x4a8a33
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x50320c]
call fcn.0049a660
pop ecx
test eax, eax
je 0x4a8a53
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4a8a55
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b0e70
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.004980a0
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x4b0ebf
mov eax, 1
mov dword [esi], ebx
jmp 0x4b0ec1
mov ebx, dword [esi]
test ecx, ecx
je 0x4b0f88
push ebx
call fcn.0044e280
mov edi, eax
add esp, 4
cmp edi, 0x80
jle 0x4b0ef0
push str.j____int_sizeof_ctx__key_
push 0x54
push str..cryptohmachmac.c
call fcn.0043cad0
add esp, 0xc
mov ebp, dword [esp + 0xa8]
cmp edi, ebp
jge 0x4b0f29
mov ecx, dword [esp + 0x10]
push ecx
lea edi, [esi + 4]
push ebx
push edi
call fcn.0044d450
mov edx, dword [esp + 0x20]
push ebp
push edx
push edi
call fcn.0044d500
lea ebp, [esi + 0x34]
push ebp
lea eax, [esi + 0x38]
push eax
push edi
call fcn.0044d510
add esp, 0x24
jmp 0x4b0f64
cmp ebp, 0x80
jbe 0x4b0f45
push str.len_0__len__int_sizeof_ctx__key_
push 0x5e
push str..cryptohmachmac.c
call fcn.0043cad0
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea edx, [esi + 0x38]
push edx
call fcn.00497c20
mov eax, dword [esp + 0xb4]
lea ebp, [esi + 0x34]
add esp, 0xc
mov dword [ebp], eax
mov ebp, dword [ebp]
cmp ebp, 0x80
je 0x4b0f8c
mov ecx, 0x80
sub ecx, ebp
push ecx
lea edx, [esi + ebp + 0x38]
push 0
push edx
call fcn.004982b0
add esp, 0xc
jmp 0x4b0f8c
test eax, eax
je 0x4b1003
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x38]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4b0f90
mov ebp, dword [esp + 0x10]
push ebp
lea edi, [esi + 0x14]
push ebx
push edi
call fcn.0044d450
push ebx
call fcn.0044e280
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.0044d500
add esp, 0x1c
xor eax, eax
lea esp, [esp]
mov cl, byte [esi + eax + 0x38]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4b0fd0
push ebp
lea edi, [esi + 0x24]
push ebx
push edi
call fcn.0044d450
push ebx
call fcn.0044e280
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.0044d500
add esp, 0x1c
lea eax, [esi + 0x14]
push eax
add esi, 4
push esi
call fcn.0044d630
mov ecx, dword [esp + 0xa0]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004913be
add esp, 0x8c
ret
Function at 0x40cc00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40cc22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40cc29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40cc18
mov eax, 1
add ebx, ebx
jne 0x40cc3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40cc30
jne 0x40cc4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40cc30
xor ecx, ecx
sub eax, 3
jb 0x40cc60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ccd2
mov ebp, eax
add ebx, ebx
jne 0x40cc6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40cc78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40cc9c
inc ecx
add ebx, ebx
jne 0x40cc88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40cc7d
jne 0x40cc99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40cc7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40ccbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40ccad
jmp 0x40cc1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40ccbc
add edi, ecx
jmp 0x40cc1e
pop esi
mov edi, esi
mov ecx, 0xe0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40ccda
cmp byte [edi], 1
jne 0x40ccda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40ccdf
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40cd4e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd1e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd334]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40cd0c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd33c]
or eax, eax
je 0x40cd48
mov dword [ebx], eax
add ebx, 4
jmp 0x40cd29
call dword [esi + 0xd338]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40cd7f
cmp al, 0xef
ja 0x40cd72
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40cd54
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40cd61
mov ebp, dword [esi + 0xd340]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0xcdda]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40cdcb
sub esp, 0xffffff80
jmp 0x4038bf
Function at 0x18ac058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.018ac1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x18ac07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x18ac06a
add dl, dl
jne 0x18ac089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x18ac0dc
xor eax, eax
add dl, dl
jne 0x18ac096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x18ac17d
add dl, dl
jne 0x18ac0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18ac0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18ac0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18ac0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x18ac0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x18ac075
mov eax, 1
add dl, dl
jne 0x18ac0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18ac0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x18ac0e1
sub eax, ebx
mov ebx, 1
jne 0x18ac128
mov ecx, 1
add dl, dl
jne 0x18ac10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18ac119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x18ac105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x18ac075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18ac13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18ac14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x18ac136
cmp eax, 0x7d00
jae 0x18ac16d
cmp eax, 0x500
jb 0x18ac168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x18ac075
cmp eax, 0x7f
ja 0x18ac170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x18ac075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x18ac19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x18ac075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x30809222
Capabilities:
Enumerate process modules

Disassembly:
push 0x24
mov eax, 0x3081af3b
call fcn.30801ee1
xor ebx, ebx
push 8
pop esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push ebx
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.3080c670
push 0x20
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x30]
call sub.psapi.dll_EnumProcesses
test eax, eax
je 0x3080928c
mov eax, dword [ebp - 0x18]
cmp eax, edi
jb 0x30809285
push ebx
add esi, esi
push esi
lea ecx, [ebp - 0x30]
call fcn.3080c670
mov edi, esi
shl edi, 2
jmp 0x30809294
shr eax, 2
mov esi, eax
jmp 0x30809291
xor esi, esi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
jne 0x3080925a
cmp dword [ebp - 0x14], ebx
je 0x308092c8
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.3080c670
cmp esi, ebx
jbe 0x308092c8
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, edi
call fcn.3080c670
add ebx, 4
dec esi
jne 0x308092ba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.30806a0c
mov eax, dword [ebp - 0x14]
call fcn.30801fc6
ret

Function at 0x3080c670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x3080c67f
pop dword [ebp - 0x34]
mov eax, 0x133d9146
add eax, 0x1d433539
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x10f631de
add dword [ebp - 0x44], 0x3d5c136d
mov dword [ebp - 0x40], 0x2edd563b
add dword [ebp - 0x40], 0x355f60a
mov dword [ebp - 0x3c], 0xbedbd990
sub dword [ebp - 0x3c], 0x728f9562
mov dword [ebp - 0x38], 0xaf5df534
add dword [ebp - 0x38], 0x50a20acc
lea eax, [ebp - 0x44]
push eax
mov eax, 0x87087dfe
sub eax, 0x5686adaa
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x5167f902
add dword [ebp - 0x44], 0x230a7054
mov dword [ebp - 0x40], 0x316d63d
add dword [ebp - 0x40], 0x3e558b38
mov dword [ebp - 0x3c], 0x3454df9f
add dword [ebp - 0x3c], 0x2f1a8ccd
mov dword [ebp - 0x38], 0xe7ad04de
add dword [ebp - 0x38], 0x1852fb22
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3af2e
push 0
call eax
mov ecx, 0x3f8b
xor edx, edx
add edx, eax
mov ebx, 0x2b5ee535
add ebx, 0x5240ccb
add ebx, dword [ebp - 0x34]
mov esi, 0x62102947
xor dword [ebp - 0x10], edi
mov edi, dword [ebx]
add dword [ebp - 8], edx
sub edi, esi
mov dword [ebp - 0x24], 0xccfe8b6
mov dword [edx], edi
add edx, 0x1103a8db
add edx, 0xeefc5729
add ebx, 0x7c7009a7
add ebx, 0x838ff65d
loop 0x3080c792
add eax, 0x2bd74b73
sub eax, 0x2bd65a74
mov ebx, eax
add eax, 0x1c4a5c5c
add eax, 0xe3b5a3a9
mov ecx, 0x30800000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x401fb2
Capabilities:
Delete file
Move file

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

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

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x100010d0
Capabilities:
Delete network filter via wfp api
Enumerate network filters via wfp api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push 0xa
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.fwpuclnt.dll_FwpmEngineOpen0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
mov esi, dword [eax + 0x10002080]
mov eax, dword [0x1000300c]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x10001153
push str.RtlZeroMemory
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000300c], eax
test eax, eax
je 0x1000115c
push 0x30
lea ecx, [esp + 0x24]
push ecx
call eax
movdqu xmm0, xmmword [esi]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 1
push eax
push edi
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 2
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.fwpuclnt.dll_FwpmFilterCreateEnumHandle0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterEnum0]
mov ebx, eax
test ebx, ebx
jne 0x10001214
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10001214
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10001214
xor esi, esi
test edx, edx
je 0x10001209
mov eax, dword [edi + esi*4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100011e6
cmp dword [ecx], 0
jne 0x10001204
push dword [eax + 0x8c]
push dword [eax + 0x88]
push dword [esp + 0x14]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDeleteById0]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc esi
cmp esi, edx
jb 0x100011d7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmFreeMemory0]
push dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDestroyEnumHandle0]
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, 8
jb 0x10001120
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10001245
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmEngineClose0]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007cac
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.1001cfc3
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x10007e1f
jg 0x10007cdb
test esi, esi
jb 0x10007e1f
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.10017328
add esp, 0xc
test eax, eax
js 0x10007e1f
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x10007d3d
push edi
call fcn.1000822e
pop ecx
test eax, eax
je 0x10007d34
push ebx
push esi
push edi
push ebp
call fcn.1001cfc3
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x10007e24
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.1001cfc3
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x10007e1f
jg 0x10007d66
cmp ebp, ebx
jb 0x10007e1f
mov ecx, 0x10015
cmp eax, ebx
jg 0x10007d7b
jl 0x10007d75
cmp ebp, ecx
jae 0x10007d7b
mov esi, ebp
mov ecx, eax
jmp 0x10007d7f
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.1001cfc3
add esp, 0x10
cmp edx, ebx
jl 0x10007e1f
jg 0x10007da5
cmp eax, ebx
jb 0x10007e1f
push 0x10015
call fcn.1001cfc3
mov ebx, eax
pop ecx
test ebx, ebx
je 0x10007e1f
push esi
push ebx
push dword [esp + 0x24]
call fcn.10017328
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x10007e18
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x10007e14
cmp byte [esi], 0x50
jne 0x10007e13
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x10007e13
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x10007e2b
dec esi
cmp esi, ebx
jae 0x10007dd4
push ebx
call fcn.1001cfc3
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.1000a190
push ebx
call fcn.1001cfc3
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.1000822e
add esp, 0x14
test eax, eax
je 0x10007e6b
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.1001cfc3
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x10007e24
Function at 0x2580cf5f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x2580cf6e
pop dword [ebp - 0x10]
mov eax, 0x52bda6e8
sub eax, 0x2d3cd77a
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x885e6150
sub dword [ebp - 0x20], 0x3a0c1c05
mov dword [ebp - 0x1c], 0x7fefa5be
sub dword [ebp - 0x1c], 0x4dbc5979
mov dword [ebp - 0x18], 0x25921011
sub dword [ebp - 0x18], 0xd945cbe3
mov dword [ebp - 0x14], 0x47731f05
add dword [ebp - 0x14], 0xb88ce0fb
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x2cbf528f
sub dword [ebp - 0x20], 0xb84ce939
mov dword [ebp - 0x1c], 0x70bf1ee
sub dword [ebp - 0x1c], 0xc59f9079
mov dword [ebp - 0x18], 0x2cc283cd
add dword [ebp - 0x18], 0x36ace89f
mov dword [ebp - 0x14], 0xb4ff80c4
sub dword [ebp - 0x14], 0xb4ff80c4
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3c9d8
push 0
call eax
mov ecx, 0xfc2c39b
sub ecx, 0xfc27453
xor ebx, ebx
add ebx, eax
mov edx, 0x2581dc00
add edx, dword [ebp - 0x10]
mov edi, 0x71c0debd
xor dword [ebp - 0xc], 0x3ccd0d1a
mov esi, dword [edx]
xor dword [ebp - 4], 0x5397de72
sub esi, edi
add dword [ebp - 8], eax
mov dword [ebx], esi
sub dword [ebp - 8], eax
add ebx, 0x2fdda6ed
sub ebx, 0x2fdda6e9
add edx, 4
loop 0x2580d07c
add eax, 0x16806fbb
sub eax, 0x167f3fc8
mov ebx, eax
add eax, 0xc02dcb0b
sub eax, 0xc02dcb06
mov ecx, 0xdcf902b1
add ecx, 0x4886fd4f
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40decb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a538]
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.00408cc1
mov dword [ebp - 0x14], eax
cmp dword [0x448d3c], esi
jne 0x40dfbe
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40df4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e09e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e09e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e09e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x448d3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x448d40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x448d44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x448d4c], eax
test eax, eax
je 0x40dfbb
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x448d48], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40dfe3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40dfd6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40dff8
push 4
pop eax
jmp 0x40e0a0
cmp dword [ebp - 0x14], esi
je 0x40dff8
push dword [0x448d3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40dfdd
mov eax, dword [0x448d48]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e056
cmp dword [0x448d4c], edi
je 0x40e056
push eax
call ebx
push dword [0x448d4c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e056
test eax, eax
je 0x40e056
call ecx
test eax, eax
je 0x40e04b
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 0x40e04b
test byte [ebp - 8], 1
jne 0x40e056
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e086
mov eax, dword [0x448d40]
cmp eax, edi
je 0x40e083
push eax
call ebx
test eax, eax
je 0x40e083
call eax
mov esi, eax
test esi, esi
je 0x40e083
mov eax, dword [0x448d44]
cmp eax, edi
je 0x40e083
push eax
call ebx
test eax, eax
je 0x40e083
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x448d3c]
call ebx
test eax, eax
je 0x40e09e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e0a0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404283
mov esp, ebp
pop ebp
ret