joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4154f1
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x536560
call fcn.00513a10
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x415516
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x415568
call fcn.004145bf
push eax
lea ecx, [ebp - 0x10]
call fcn.00402620
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051355f
push eax
call fcn.00402720
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004029d0
mov eax, esi
call fcn.00513ae8
ret 8

Function at 0x4184d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00418e86
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41850d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00418111
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x41856b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x41858f
cmp dword [edi + 0x74], 0
jne 0x41858f
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00418e86
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041852c
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x419265
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00418f09
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4192af
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004144c0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408d10
jmp 0x4192ba
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004264f8
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4192c0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00414db2
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4192fd
call fcn.00418f09
mov dword [esi + 0xc], 1
jmp 0x419302
call fcn.00418f09
cmp dword [esi], 0
je 0x41934b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x419323
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004144c0
jmp 0x419335
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00402b30
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408d10
jmp 0x41936f
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41936f
push dword [esi]
push dword [ebp + 8]
call fcn.004264f8
pop esi
pop ebp
ret 0xc

Function at 0x41f60d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41f654
call fcn.00418e86
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41f654
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41f670
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041f10d
mov esi, eax
test edi, edi
je 0x41f66e
test ebx, ebx
je 0x41f66e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x422f18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x422f60
call fcn.00418e86
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x422f60
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x422fa3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x422f8c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x422f8c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x422fa0
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x47812f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x478149
call fcn.00418e86
mov esi, dword [eax + 0xc]
push dword [0x58cd24]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x478167
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47815f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x478194
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x478161
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0047805d
mov esi, eax
jmp 0x478186

Function at 0x4aeb45
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
ja 0x4aeb87
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4aeb6e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4aeb77
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4aeb81
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4aeb63
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4aeaed
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4aebd4
dec eax
je 0x4aebcb
sub eax, 3
je 0x4aebc2
mov dword [ebp - 4], 0x40
jmp 0x4aebf1
mov dword [ebp - 4], 4
jmp 0x4aebd7
mov dword [ebp - 4], 0x20
jmp 0x4aebd7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je fcn.004aec23
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4aeba3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004ae434
xor dword [edi - 0x51], esi
xchg edi, eax
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x4aec2f
Function at 0x4b05da
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.004ae434
outsd dx, dword [esi]
xchg edi, eax
outsd dx, dword [esi]
loop 0x4b0648
mov eax, dword [0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x4b05f8
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.004ae434
and ch, byte [eax - 0x774ff36]
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.004ae434
mov word [edi], gs
rcl ah, cl
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4b0621
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4b0621
call fcn.004ae434
and al, 0x1f
in al, dx
in al, dx
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.004ae434
add al, 0xb6
jl 0x4b065e
push dword [ebp + 8]
push dword [ebp + 4]
push dword [ebp]
call fcn.004aec34
adc eax, sym.imp.USER32.dll_GetClientRect
mov ecx, dword [esi + 0x138]
mov eax, dword [ebp - 0xc]
sub ecx, dword [esi + 0x130]
sub eax, dword [ebp - 0x14]
cmp eax, ecx
je 0x4b069e
push 1
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00511f1b
leave
ret 4

Function at 0x4ef1d2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0041d9f3
call fcn.00408d60
cmp eax, esi
pop esi
jne 0x4ef1ee
mov ecx, 0x58b3d0
jmp fcn.0042cd0f
ret

Function at 0x4f7a69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4f7a81
mov edi, dword [esi + 0xc]
jmp 0x4f7ac1
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4f7a9a
call fcn.00415c0b
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4f7aaf
call fcn.00415c0b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4f7ac1
call fcn.00415c0b
call fcn.00418e86
cmp dword [eax + 0x3c], 0
je 0x4f7ad6
push edi
mov ecx, ebx
call fcn.004f6893
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004f7983
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4f7af4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4f7b00
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x511f1b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x587be0]
jne 0x511f25
repz ret
jmp fcn.005191b6
Function at 0x525a58
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x587be0]
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.00518bdb
and dword [ebp - 0x14], 0
cmp dword [0x58f8a0], 0
mov dword [ebp - 0x18], eax
jne 0x525b0b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x525bb3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x563b98
push ebx
call edi
test eax, eax
je 0x525bb3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x563b88
push ebx
mov dword [0x58f8a0], eax
call edi
push eax
call esi
push 0x563b74
push ebx
mov dword [0x58f8a4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x58f8a8], eax
call edi
push eax
call esi
mov dword [0x58f8b0], eax
test eax, eax
je 0x525b0b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x58f8ac], eax
mov eax, dword [0x58f8ac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x525b64
cmp dword [0x58f8b0], ecx
je 0x525b64
push eax
call esi
push dword [0x58f8b0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x525b64
test ebx, ebx
je 0x525b64
call edi
test eax, eax
je 0x525b5b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x525b5b
test byte [ebp - 8], 1
jne 0x525b64
or dword [ebp + 0x10], 0x200000
jmp 0x525b97
mov eax, dword [0x58f8a4]
cmp eax, dword [ebp - 0x18]
je 0x525b97
push eax
call esi
test eax, eax
je 0x525b97
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x525b97
mov eax, dword [0x58f8a8]
cmp eax, dword [ebp - 0x18]
je 0x525b97
push eax
call esi
test eax, eax
je 0x525b97
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x58f8a0]
call esi
test eax, eax
je 0x525bb3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x525bb5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00511f1b
leave
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x41a34c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41a3bb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.004082f4
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, 0x41a3d0
call fcn.00404ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a3c2
lea eax, [ebp - 0x104]
call fcn.004047ac
ret

Function at 0x8ccbad
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x8cc92e
mov esi, dword [esp]
add esp, 4
add edi, edx
or edx, edx
sub edx, edx
call fcn.008ccbee
and edi, edi
and edi, edi
xor dword [ebx], esi
or edx, edx
inc ebx
add edi, 0x68f7b8b
sub edi, 0x63815eaf
cmp ebx, eax
jne fcn.008ccbad
mov edi, 0x8561bc12
ret
Function at 0x401230
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub ebx, 0xb6
bswap ebx
rcl edi, 0xa0
sbb ebx, 0xc5
not edi
neg esi
and edx, 0x24
imul edi
sbb ebx, 0x16
ror edx, 0x8f
bswap eax
dec edx
neg edi
mov esi, 0x79
inc edi
mov esi, 0x2e
add edx, 0xa6
and ebx, 0x13
rcl esi, 0xb5
sub edi, 0x92
inc ebx
dec edx
imul edx
not edx
bswap edx
dec edi
imul edx
rol edx, 0x2b
dec eax
ror ebx, 0x4f
neg eax
sub esi, 0xed
dec eax
rol eax, 0x4f
sub ebx, 0x44
not esi
sub ebx, 0xe6
neg edx
add esi, 0x2c
ror edi, 0x3a
bswap ebx
imul esi
rol esi, 0x41
neg ebx
sbb eax, 0xe7
bswap esi
inc ebx
dec eax
dec esi
rcl edx, 0x84
xor ecx, ecx
xor edi, edi
and edx, 0xd5
inc esi
or ebx, 0xee
dec edx
add edi, 0xde
inc esi
add esi, 0x27
and edi, 0xfa
inc edx
sub edi, 0xd
imul edx
add ebx, 0x5a
bswap edx
inc edi
mov ebx, 0x76
rcr eax, 0x52
imul esi
bswap esi
rol ebx, 0x55
rol edi, 0x84
not edi
rol edx, 0x16
or edi, 0xd
bswap eax
inc edi
add ebx, 0x1b
or edi, 0xc0
rcl esi, 0xd8
rol esi, 0x8b
neg edx
bswap edi
and esi, 0xf9
neg edx
or edi, 0xb
rcl ebx, 0xa
bswap edx
neg edx
bswap esi
mov esi, 0x3b
rcl ebx, 0x27
imul esi
and ebx, 0xc5
and ebx, 0xde
bswap esi
imul edx
mov edx, 0x6b
sbb eax, 0xc0
not ebx
neg edi
bswap eax
mov ecx, dword [ebp + 0xc]
imul esi
not edi
not edx
rcl eax, 0x96
or esi, 0x2f
sub ebx, 0x10
neg eax
imul ebx
not edi
bswap edx
imul esi
inc edx
bswap eax
rcl esi, 0x24
sbb ebx, 0xf
bswap edi
and ebx, 0xba
and esi, 0xee
mov ebx, 0x83
bswap edi
rol edx, 0x88
imul edx
neg edi
sbb eax, 0x9b
bswap edi
add ebx, 0xf4
rcl esi, 0x9b
ror eax, 0x41
and ebx, 0x1e
rcl edx, 0xad
rcl esi, 0x9d
add eax, 0xff
not edi
inc ebx
and edx, 0xf4
not edx
neg ebx
mov edx, 0x8b
imul edi
neg edx
imul edx
dec esi
sub edi, 0xfa
sub edi, 0xb6
inc ebx
rol eax, 0x57
rcr edx, 0x4f
mov esi, 0x8b
rol edx, 0xf0
rcr edx, 0x31
mov edi, dword [ebp + 8]
xor esi, eax
xor ebx, ebx
mov eax, eax
not byte [edi]
mov ebx, esi
mov ebx, ebx
xor ebx, ebx
mov eax, eax
mov esi, ebx
xor esi, eax
xor eax, eax
mov ebx, ebx
xor esi, ebx
add byte [edi], 0x26
mov eax, esi
mov esi, eax
mov eax, esi
mov esi, eax
mov ebx, eax
xor eax, eax
xor ebx, ebx
mov esi, esi
mov esi, ebx
sub byte [edi], 0x87
mov ebx, esi
xor esi, ebx
mov eax, eax
mov esi, eax
xor ebx, esi
xor ebx, eax
xor ebx, esi
mov esi, eax
mov esi, esi
imul byte [edi]
inc edi
loop 0x4013fd
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406224
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43985c]
jne 0x40622e
repz ret
jmp fcn.00407f25
Function at 0x409763
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.004062a5
and dword [ebp - 4], 0
cmp dword [0x43ae4c], 0
mov ebx, eax
jne 0x409814
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4098c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4098c5
push eax
call fcn.00406233
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43ae4c], eax
call esi
push eax
call fcn.00406233
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43ae50], eax
call esi
push eax
call fcn.00406233
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43ae54], eax
call esi
push eax
call fcn.00406233
pop ecx
mov dword [0x43ae5c], eax
test eax, eax
je 0x409814
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406233
pop ecx
mov dword [0x43ae58], eax
mov eax, dword [0x43ae58]
cmp eax, ebx
je 0x40986c
cmp dword [0x43ae5c], ebx
je 0x40986c
push eax
call fcn.004062ae
push dword [0x43ae5c]
mov esi, eax
call fcn.004062ae
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40986c
test edi, edi
je 0x40986c
call esi
test eax, eax
je 0x409863
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409863
test byte [ebp - 0xc], 1
jne 0x40986c
or dword [ebp + 0x10], 0x200000
jmp 0x4098a5
mov eax, dword [0x43ae50]
cmp eax, ebx
je 0x4098a5
push eax
call fcn.004062ae
pop ecx
test eax, eax
je 0x4098a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4098a5
mov eax, dword [0x43ae54]
cmp eax, ebx
je 0x4098a5
push eax
call fcn.004062ae
pop ecx
test eax, eax
je 0x4098a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ae4c]
call fcn.004062ae
pop ecx
test eax, eax
je 0x4098c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4098c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406edc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406f42
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404bf4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040310c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406f2c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406f49
lea eax, [ebp - 0x10]
call fcn.00404974
ret

Function at 0x409078
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor eax, eax
mov dword [ebp - 0x108], eax
xor eax, eax
push ebp
push 0x4090f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xff
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404bf4
mov eax, dword [ebp - 0x108]
mov edx, 0x409108
call fcn.00404dac
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4090f8
lea eax, [ebp - 0x108]
call fcn.00404974
ret

Function at 0x40b468
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404e60
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40b481
test al, 0x10
jne 0x40b485
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x40de14
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0x60], 0x5e
mov byte [ebp - 0x5f], 0x2b
mov byte [ebp - 0x5e], 0x57
mov byte [ebp - 0x5d], 0x30
mov byte [ebp - 0x5c], 0x52
mov byte [ebp - 0x5b], 0x2b
mov byte [ebp - 0x5a], 0x26
mov byte [ebp - 0x59], 0x62
mov byte [ebp - 0x58], 0x45
mov byte [ebp - 0x57], 0x43
mov byte [ebp - 0x56], 0x29
mov byte [ebp - 0x55], 0x4b
mov byte [ebp - 0x54], 0x2b
mov byte [ebp - 0x53], 0x36
mov byte [ebp - 0x52], 0x23
mov byte [ebp - 0x51], 0x79
mov byte [ebp - 0x50], 0x73
mov byte [ebp - 0x4f], 0x7a
mov byte [ebp - 0x4e], 0x42
mov byte [ebp - 0x4d], 0x4b
mov byte [ebp - 0x4c], 0x7a
mov byte [ebp - 0x4b], 0x67
mov byte [ebp - 0x4a], 0x52
mov byte [ebp - 0x49], 0x64
inc ebp
mov bh, 0x64
mov byte [ebp - 0x48], 0x71
mov byte [ebp - 0x47], 0x6c
mov byte [ebp - 0x46], 0x54
mov byte [ebp - 0x45], 0x45
mov byte [ebp - 0x44], 0x40
mov byte [ebp - 0x43], 0x3e
mov byte [ebp - 0x42], 0x23
mov byte [ebp - 0x41], 0x5a
mov byte [ebp - 0x40], 0x46
mov byte [ebp - 0x3f], 0x45
mov byte [ebp - 0x3e], 0x42
mov byte [ebp - 0x3d], 0x26
mov byte [ebp - 0x3c], 0x6b
mov byte [ebp - 0x3b], 0x28
mov byte [ebp - 0x3a], 0x46
mov byte [ebp - 0x39], 0x7a
mov byte [ebp - 0x38], 0x33
mov byte [ebp - 0x37], 0x3f
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x5e
mov byte [ebp - 0x34], 0x56
mov byte [ebp - 0x33], 0x6b
mov byte [ebp - 0x32], 0x3f
mov byte [ebp - 0x31], 0x45
mov byte [ebp - 0x30], 0x72
mov byte [ebp - 0x2f], 0x49
mov byte [ebp - 0x2e], 0x31
mov byte [ebp - 0x2d], 0x52
mov byte [ebp - 0x2c], 0x77
mov byte [ebp - 0x2b], 0x7a
mov byte [ebp - 0x2a], 0x71
mov byte [ebp - 0x29], 0x50
mov byte [ebp - 0x28], 0x37
mov byte [ebp - 0x27], 0x78
mov byte [ebp - 0x26], 0x45
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x24
mov byte [ebp - 0x23], 0x3f
mov byte [ebp - 0x22], 0x4f
mov byte [ebp - 0x21], 0x43
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x68], 0x2db
mov dword [ebp - 4], 0x4d2
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov eax, 0x6b
mov word [ebp - 0x104], ax
mov ecx, 0x65
mov word [ebp - 0x102], cx
mov edx, 0x72
mov word [ebp - 0x100], dx
mov eax, 0x6e
mov word [ebp - 0xfe], ax
mov ecx, 0x65
mov word [ebp - 0xfc], cx
mov edx, 0x6c
mov word [ebp - 0xfa], dx
mov eax, 0x33
mov word [ebp - 0xf8], ax
mov ecx, 0x32
mov word [ebp - 0xf6], cx
mov edx, 0x2e
mov word [ebp - 0xf4], dx
mov eax, 0x64
mov word [ebp - 0xf2], ax
mov ecx, 0x6c
mov word [ebp - 0xf0], cx
mov edx, 0x6c
mov word [ebp - 0xee], dx
xor eax, eax
invalid
invalid
test dword [edi + edi*8], edx
invalid