joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006f5a4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x100a0f70]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1006f5e7
cmp word [esi], dx
jne 0x1006f5e7
or byte [edi + eax + 0x28], 4
jmp 0x1006f5ec
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x1006f73f
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x1006f71f
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x1006f62e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1006f664
cmp eax, edx
jae 0x1006f670
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x1006f606
jmp 0x1006f73f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006f71b
cmp dword [ebp - 0x14], 0
je 0x1006f71b
mov eax, dword [ebx*4 + 0x100a0f70]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x1006f6f3
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x1006f6bc
mov word [esi], cx
jmp 0x1006f6ef
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x100a0f70]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x100a0f70]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x100a0f70]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x1006f73f
pop ebx
cmp word [ebp - 4], bx
jne 0x1006f704
cmp esi, dword [ebp + 0xc]
jne 0x1006f704
mov word [esi], bx
jmp 0x1006f73c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1006ffd8
add esp, 0x10
cmp word [ebp - 4], bx
je 0x1006f73f
push 0xd
jmp 0x1006f738
mov ecx, dword [ebx*4 + 0x100a0f70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1006f736
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1006f73f
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10070510
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10070492
Function at 0x10072f95
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 0x10073032
push ebx
push esi
call fcn.10072f5e
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.10071d35
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10072fdf
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10073031
push edi
push eax
call fcn.1006d034
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10072fff
call fcn.1006c829
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10073030
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10071d35
add esp, 0x20
test eax, eax
jne 0x1007301e
push edi
call fcn.1006c829
jmp 0x10073026
push ebx
call fcn.1006c829
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 0x10079161
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100790dd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100792d9
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100792d9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10079288
jg 0x100791ba
test eax, eax
je 0x1007927e
push 1
push 0x1000
call fcn.1006e2e1
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100791e0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x10079275
push 0x8000
push ebx
call fcn.1007900e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1007920c
jg 0x10079207
cmp ecx, 0x1000
jb 0x1007920c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1006c629
add esp, 0x10
cmp eax, 0xffffffff
je 0x10079251
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10079207
jl 0x10079238
test ecx, ecx
jne 0x100791f9
push dword [ebp - 0xc]
push ebx
call fcn.1007900e
push esi
call fcn.1006c829
add esp, 0xc
xor edi, edi
jmp 0x100792ea
cmp byte [edi + 0x24], 0
je 0x10079268
cmp dword [edi + 0x20], 5
jne 0x10079268
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10079273
mov edi, dword [edi + 0x18]
jmp 0x10079275
xor edi, edi
push esi
call fcn.1006c829
pop ecx
jmp 0x100792ea
test ecx, ecx
jg 0x1007924a
jl 0x10079288
test eax, eax
jae 0x1007924a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1006ffd8
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100792ab
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1007924a
jmp 0x100792e2
push ebx
call fcn.10073579
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1007924a
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100792ea
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100792e7
mov edi, dword [edi + 0x18]
jmp 0x100792ea
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1006ffd8
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1007a930
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1007a95d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1007a95d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4df3fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4f25d2
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4df453
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4f25f3
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4df449
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4df457
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4edf1c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004044e8
xor eax, eax
push ebp
push 0x4edfeb
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.004087d8
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 4]
call fcn.004040d0
push 0
mov eax, ebx
call fcn.00446d44
push eax
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jbe 0x4edfc5
push 0xff
lea eax, [ebp - 0x108]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4edfb7
lea edx, [ebp - 8]
lea eax, [ebp - 0x108]
call fcn.004092dc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408684
test al, al
je 0x4edfb7
mov esi, ebx
jmp 0x4edfc5
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
ja 0x4edf80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4edff2
lea eax, [ebp - 0x10c]
call fcn.00404038
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040405c
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 0x444a39
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x48c940]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x444a84
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00444ffa
test al, al
jne 0x444a7e
sub edx, 2
cmp edx, edi
jne 0x444a64
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x444aa6
lea eax, [edi + 2]
cmp edx, eax
je 0x444aa6
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00444632
add esp, 0x10
jmp 0x444ba0
push esi
lea ecx, [ebp - 0x255]
call fcn.00444ffa
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x444ae9
push dword [ebp - 0x25c]
jmp 0x444a96
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x444b26
cmp word [ebp - 0x226], 0
je 0x444b47
cmp word [ebp - 0x226], ax
jne 0x444b26
cmp word [ebp - 0x224], 0
je 0x444b47
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00444632
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x444b93
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x444b00
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x444b7b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x444ba0
push 0x443f18
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004036ac
add esp, 0x10
jmp 0x444b70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040222a
leave
ret
Function at 0x4579e9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x48ea10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x457a29
cmp byte [ebx], 0xa
jne 0x457a29
or byte [eax + edi + 0x28], 4
jmp 0x457a2e
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x457b2c
mov al, byte [edx]
cmp al, 0x1a
je 0x457b0e
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x457a5d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x457a82
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x457a8c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x457a3f
jmp 0x457b2c
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x457b09
cmp dword [ebp - 0xc], 0
je 0x457b09
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x48ea10]
test byte [eax + edi + 0x28], 0x48
je 0x457ae3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x457ace
mov byte [esi], dl
jmp 0x457adf
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x48ea10]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x457b2c
cmp byte [ebp - 1], 0xa
jne 0x457af2
cmp esi, ebx
jne 0x457af2
mov byte [esi], 0xa
jmp 0x457b2b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040150a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x457b2c
mov byte [esi], 0xd
jmp 0x457b2b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x48ea10]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x457b28
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x457b2c
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x457b88
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x48ea10]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x457bcb
cmp word [esi], dx
jne 0x457bcb
or byte [edi + eax + 0x28], 4
jmp 0x457bd0
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x457d23
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x457d03
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x457c12
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x457c48
cmp eax, edx
jae 0x457c54
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x457bea
jmp 0x457d23
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x457cff
cmp dword [ebp - 0x14], 0
je 0x457cff
mov eax, dword [ebx*4 + 0x48ea10]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x457cd7
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x457ca0
mov word [esi], cx
jmp 0x457cd3
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x48ea10]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x48ea10]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x48ea10]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x457d23
pop ebx
cmp word [ebp - 4], bx
jne 0x457ce8
cmp esi, dword [ebp + 0xc]
jne 0x457ce8
mov word [esi], bx
jmp 0x457d20
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040150a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x457d23
push 0xd
jmp 0x457d1c
mov ecx, dword [ebx*4 + 0x48ea10]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x457d1a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x457d23
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop 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 0x41605e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42335c]
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.00407a95
mov dword [ebp - 0x14], eax
cmp dword [0x460d1c], esi
jne 0x416151
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4160de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416231
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x416231
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416231
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x460d1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x460d20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x460d24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x460d2c], eax
test eax, eax
je 0x41614e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x460d28], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416176
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416169
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41618b
push 4
pop eax
jmp 0x416233
cmp dword [ebp - 0x14], esi
je 0x41618b
push dword [0x460d1c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416170
mov eax, dword [0x460d28]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4161e9
cmp dword [0x460d2c], edi
je 0x4161e9
push eax
call ebx
push dword [0x460d2c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4161e9
test eax, eax
je 0x4161e9
call ecx
test eax, eax
je 0x4161de
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 0x4161de
test byte [ebp - 8], 1
jne 0x4161e9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416219
mov eax, dword [0x460d20]
cmp eax, edi
je 0x416216
push eax
call ebx
test eax, eax
je 0x416216
call eax
mov esi, eax
test esi, esi
je 0x416216
mov eax, dword [0x460d24]
cmp eax, edi
je 0x416216
push eax
call ebx
test eax, eax
je 0x416216
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x460d1c]
call ebx
test eax, eax
je 0x416231
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416233
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040658f
mov esp, ebp
pop ebp
ret
Function at 0x100250d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x100250e3
pop dword [ebp - 0x44]
mov eax, 0xd7d5a688
add eax, 0x382caa5b
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x7bf4e42f
sub dword [ebp - 0x54], 0x2da29ee4
mov dword [ebp - 0x50], 0x76e0aa80
sub dword [ebp - 0x50], 0x44ad5e3b
mov dword [ebp - 0x4c], 0x30b879d3
sub dword [ebp - 0x4c], 0xe46c35a5
mov dword [ebp - 0x48], 0x42837665
sub dword [ebp - 0x48], 0x42837665
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x9b1e5157
add dword [ebp - 0x54], 0xd95417ff
mov dword [ebp - 0x50], 0xb2483418
sub dword [ebp - 0x50], 0x70dbd2a3
mov dword [ebp - 0x4c], 0xc4af97a4
sub dword [ebp - 0x4c], 0x61402b38
mov dword [ebp - 0x48], 0x7efefd0b
sub dword [ebp - 0x48], 0x7efefd0b
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3aaae
push 0
call eax
mov ecx, 0xcfe51829
add ecx, 0x301b2e2f
mov edi, eax
mov ebx, 0x9b5b611b
sub ebx, 0x8b52dd1b
add ebx, dword [ebp - 0x44]
mov edx, 0xe6ace06b
mov esi, dword [ebx]
xor dword [ebp - 0x30], 0x20057742
sub esi, edx
xor dword [ebp - 0x40], 0x83c9de27
mov dword [edi], esi
mov dword [ebp - 0x38], 0x16ffc379
add edi, 4
add ebx, 0x43866194
add ebx, 0xbc799e70
loop 0x100251f5
add eax, 0xe8a65009
sub eax, 0xe8a543d6
mov ebx, eax
add eax, 0xdfaa85bb
add eax, 0x20557a4a
mov ecx, 0x30cf9dc7
add ecx, 0xdf306239
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x410172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4101a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4101a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x4101db
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x41026b
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x5b90
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4102fd
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x5b90
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x5b90
call fcn.0041252b
push 0x5b90
push dword [ebp + 0xc]
call fcn.004101a8
test eax, eax
jne 0x4102df
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x5b90
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.00410304
test eax, eax
je 0x4102fd
jmp 0x41029b
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4102fd
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x411144
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, dword [ebp + 0xc]
add eax, 0xa0
mov ebx, dword [ebp + 8]
push eax
push ebx
call fcn.00411092
push ebx
call fcn.00411485
push dword [ebp + 0x10]
push ebx
call fcn.004110d5
sub eax, 0x10
push eax
push ebx
call fcn.00411092
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
jmp loc.004152ee

Function at 0x4125ec
Capabilities:
Terminate process

Disassembly:
call fcn.004125f9
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]