joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fdab
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x46fde6

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

Disassembly:
cmp al, 0xe7
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x3c]
add esi, edi
push esi
mov ebx, dword [esi + 0x78]
push ebx
call fcn.0046fdab
pop ecx
test eax, eax
pop ecx
je 0x46fef6
push edi
push esi
push ebx
call fcn.0046fdeb
mov esi, dword [esi + 0x78]
xor ecx, ecx
add esp, 0xc
cmp esi, ecx
je 0x46fef6
mov ebx, dword [esi + edi + 0x24]
mov eax, dword [esi + edi + 0x20]
mov edx, dword [ebp + 0xc]
add esi, edi
add ebx, edi
add eax, edi
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
add edi, dword [ebp + 8]
shr edx, 0x10
test dx, dx
je 0x46ff05
mov dword [ebp - 4], ecx
cmp dword [edi], 0
je 0x46feea
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
lock add byte [ecx + 0x5d89f445], cl
clc
call fcn.0046fd6b
inc ecx
jae 0x46fe92
xchg dword [ebx - 0x48f007bb], ecx
add byte [ebx], bh
inc ebp
cld
jne 0x46fed3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ecx]
mov dword [ebp - 0x14], eax
call fcn.0046fd6b
out 0x2d, al
mov dword [eax], ecx
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.0046fd01
pop ecx
test eax, eax
pop ecx
je 0x46fefd
mov eax, dword [esi + 0x18]
inc dword [ebp - 0x10]
add dword [ebp - 8], 2
add dword [ebp - 0xc], 4
dec eax
cmp dword [ebp - 0x10], eax
jbe 0x46fe9a
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x14]
inc dword [ebp - 4]
dec ecx
cmp dword [ebp - 4], ecx
jbe 0x46fe8b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
jmp 0x46ff29
mov eax, dword [esi + 0x10]
mov edx, edi
cmp dword [ebp + 0xc], eax
jne 0x46ff14
cmp dword [edx], 0
jne 0x46ff23
mov ebx, dword [esi + 0x14]
inc ecx
inc eax
add edx, 4
dec ebx
cmp ecx, ebx
jbe 0x46ff0a
jmp 0x46fef6
mov eax, dword [edi + ecx*4]
shl eax, 6
add eax, dword [ebp + 8]
jmp 0x46fef8
Function at 0x4700d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], 0x42
mov byte [ebp - 0x10], 0x76
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], 4
call fcn.0046fd7b
push eax
push edi
push dword [ebp + 8]
call fcn.0046fd30
add esp, 0x20
mov dword [ebp - 0xc], eax
call fcn.0046fd6b
sahf
and eax, 0x458dcb20
xchg esp, eax
mov byte [ebp - 0x6c], bl
push eax
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xd2
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x7b
mov byte [ebp - 0x67], 0x44
mov byte [ebp - 0x66], 0x5f
mov byte [ebp - 0x65], 0x59
mov byte [ebp - 0x64], 0x58
mov byte [ebp - 0x63], 0x4c
mov byte [ebp - 0x62], 0x41
mov byte [ebp - 0x61], 0x7d
mov byte [ebp - 0x60], 0x5f
mov byte [ebp - 0x5f], 0x42
mov byte [ebp - 0x5e], 0x59
mov byte [ebp - 0x5d], 0x48
mov byte [ebp - 0x5c], 0x4e
mov byte [ebp - 0x5b], 0x59
mov byte [ebp - 0x5a], 0x2d
call fcn.0046fd7b
push eax
push edi
push dword [ebp + 8]
call fcn.0046fd30
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0x44], bl
lea eax, [ebp - 0x44]
mov byte [ebp - 0x43], bl
push eax
mov byte [ebp - 0x42], 0xfd
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x40], 0x4e
mov byte [ebp - 0x3f], 0x6d
mov byte [ebp - 0x3e], 0x63
mov byte [ebp - 0x3d], 0x66
mov byte [ebp - 0x3c], 0x4e
mov byte [ebp - 0x3b], 0x6b
mov byte [ebp - 0x3a], 0x60
mov byte [ebp - 0x39], 0x70
mov byte [ebp - 0x38], 0x63
mov byte [ebp - 0x37], 0x70
mov byte [ebp - 0x36], 0x7b
mov byte [ebp - 0x35], 0x43
mov byte [ebp - 0x34], 2
call fcn.0046fd7b
push eax
push edi
push dword [ebp + 8]
call fcn.0046fd30
add esp, 0x20
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0x7b
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0xc3
mov byte [ebp - 0x7f], 0xe1
mov byte [ebp - 0x7e], 0xf0
mov byte [ebp - 0x7d], 0xc9
mov byte [ebp - 0x7c], 0xeb
mov byte [ebp - 0x7b], 0xe0
mov byte [ebp - 0x7a], 0xf1
mov byte [ebp - 0x79], 0xe8
mov byte [ebp - 0x78], 0xe1
mov byte [ebp - 0x77], 0xcc
mov byte [ebp - 0x76], 0xe5
mov byte [ebp - 0x75], 0xea
mov byte [ebp - 0x74], 0xe0
mov byte [ebp - 0x73], 0xe8
mov byte [ebp - 0x72], 0xe1
mov byte [ebp - 0x71], 0xc5
mov byte [ebp - 0x70], 0x84
call fcn.0046fd6b
invalid
Function at 0x8e11ec
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e11f2
pop ebp
sub ebp, 6
sub ebp, 0x4e11ec
jmp 0x8e1250
jmp 0x8e1259
mov eax, 0x4e11ec
add eax, ebp
add eax, 0x93
mov ecx, 0x62e
mov edx, 0xb82ff1f5
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e1270
jmp 0x8e1283
lahf
mov ch, 0x9d
cmc
in eax, 0xf5
cmc
popfd
cmc
cmp ecx, ebx
cmc
invalid
Function at 0x4010d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425004]
jne 0x4010dc
repz ret
jmp fcn.004013b6

Function at 0x405e5b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425004]
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.00402af7
and dword [ebp - 0x14], 0
cmp dword [0x4279d4], 0
mov dword [ebp - 0x18], eax
jne 0x405f0e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405fb6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405fb6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4279d4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4279d8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4279dc], eax
call edi
push eax
call esi
mov dword [0x4279e4], eax
test eax, eax
je 0x405f0e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4279e0], eax
mov eax, dword [0x4279e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405f67
cmp dword [0x4279e4], ecx
je 0x405f67
push eax
call esi
push dword [0x4279e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405f67
test ebx, ebx
je 0x405f67
call edi
test eax, eax
je 0x405f5e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405f5e
test byte [ebp - 8], 1
jne 0x405f67
or dword [ebp + 0x10], 0x200000
jmp 0x405f9a
mov eax, dword [0x4279d8]
cmp eax, dword [ebp - 0x18]
je 0x405f9a
push eax
call esi
test eax, eax
je 0x405f9a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405f9a
mov eax, dword [0x4279dc]
cmp eax, dword [ebp - 0x18]
je 0x405f9a
push eax
call esi
test eax, eax
je 0x405f9a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4279d4]
call esi
test eax, eax
je 0x405fb6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405fb8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010d2
leave
ret
Function at 0x41abe0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x808
mov eax, dword [0x425004]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [esp + 0x80c]
push esi
xor esi, esi
mov dword [esp + 4], eax
test edi, edi
jle 0x41ac7d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp edi, 0x2d
jne 0x41ac38
push 0
push str.Fufa_piv
call ebx
push str.supinigelugewa
push str.gafivatagelotogomawurorakeno
push str.woxilekedebivekahefilokapunutew
push str.zalofejeworurucigakabeyew
call ebp
call fcn.0041ab30
mov ecx, dword [esp + 0xc]
xor byte [ecx + esi], al
cmp edi, 0xf
jne 0x41ac76
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
inc esi
cmp esi, edi
jl 0x41ac14
pop ebp
pop ebx
pop esi
cmp edi, 0x2d
jne 0x41ac97
mov dword [0x4286c8], 0xa62e7790
mov dword [0x4286cc], 0xffffffff
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.004010d2
add esp, 0x808
ret
Function at 0x41b050
Capabilities:
Access the windows event log

Disassembly:
mov eax, dword [0x4286bc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
jmp 0x41b070
mov dword [0x428324], edi
cmp eax, 0x3dc
jne 0x41b08d
push str.Vudosaticonon
push 0
push 0
call esi
mov eax, dword [0x4286bc]
dec ebx
jne 0x41b070
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
xor esi, esi
or ebx, 0xffffffff
jmp 0x41b0a0
cmp eax, 0x997
jne 0x41b0b2
push 0
push 0
call edi
mov eax, dword [0x4286bc]
cmp esi, 0x845f8b
jne 0x41b0c9
mov eax, dword [0x426950]
add eax, 0xa231
mov dword [0x4286bc], eax
cmp eax, 0x141
jne 0x41b0e0
mov dword [0x427ef8], 0xec58acac
mov dword [0x427efc], ebx
inc esi
cmp esi, 0x12cca12
jl 0x41b0a0
call fcn.0041acf0
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10

Function at 0x40181c
Capabilities:
Hash data using murmur3

Disassembly:
ror ecx, 0x10
mov dword [ebp - 0x74], ecx
pop ebx
pop esi
pop edi
ret
push edi
push esi
push ebx
mov ebx, dword [ebp - 0x60]
test ebx, ebx
rol ebx, 0xf
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x20]
test ebx, eax
ror eax, 0x11
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x200000
rol ecx, 0xd
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x24]
test edi, eax
rol eax, 0xc
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x800000
ror ecx, 0x15
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x2c]
test edi, eax
rol eax, 0x12
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x8000000
ror ecx, 0x19
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x38]
test esi, eax
ror eax, 0xc
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x1000
ror ecx, 0xa
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
test esi, eax
rol eax, 0xf
cmp ecx, eax
jne 0x4018d4
jmp 0x401990
xor ecx, eax
xor esi, esi
mov edx, 0xff
ror edx, 8
jmp 0x401a00
cmp ecx, esi
je 0x401990
mov ecx, esi
jmp 0x401808
inc ecx
jmp 0x401808
mov edi, eax
and edi, edx
cmp edi, edx
jne 0x40197c
shl ecx, 8
shl eax, 8
jmp 0x401a00
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x42f830
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x437358
call fcn.00430078
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x43cc88
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x42f658
cmp eax, esi
jne 0x42f64b
xor esi, esi
inc esi
mov edi, esi
jmp 0x42f65b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42f62f
xor esi, esi
inc esi
cmp dword [0x43cc8c], esi
jne 0x42f66d
push 0x1f
call fcn.005c1000
pop ecx
jmp 0x42f6a7
cmp dword [0x43cc8c], ebx
jne 0x42f6a1
mov dword [0x43cc8c], esi
push 0x401f64
push 0x401f58
call fcn.0042f78c
pop ecx
pop ecx
test eax, eax
je 0x42f6a7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x42f77c
mov dword [0x438880], esi
cmp dword [0x43cc8c], esi
jne 0x42f6ca
push 0x401f54
push 0x401f0c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x43cc8c], 2
test edi, edi
jne 0x42f6d7
xor eax, eax
mov ecx, 0x43cc88
xchg dword [ecx], eax
cmp dword [0x43cc98], 0
je 0x42f703
push 0x43cc98
call fcn.0042fed0
pop ecx
test eax, eax
je 0x42f703
push ebx
push 2
push ebx
mov esi, dword [0x43cc98]
mov ecx, esi
call dword [0x43d41c]
call esi
push dword [0x43888c]
push dword [0x438888]
push dword [0x438884]
call fcn.00422476
add esp, 0xc
mov dword [0x43887c], eax
cmp dword [0x438894], 0
jne 0x42f761
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x438880], 0
jne 0x42f775
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x43887c]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.0042ffc5
jmp 0x42f613

Function at 0x42fdc4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x437398
call fcn.00430078
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x42fe24
cmp eax, 0xffffffff
je 0x42fe24
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x42fe1d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x42fe1d
cmp edx, 0x10000000
jae 0x42fe1d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x42fe1a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42fe80
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x42febe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x42feb6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x42fec0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x42fea6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x646e170
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6020000]
push edi
or ebp, 0xffffffff
jmp 0x646e192
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x646e199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x646e188
mov eax, 1
add ebx, ebx
jne 0x646e1ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x646e1bc
jne 0x646e1db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x646e1db
dec eax
add ebx, ebx
jne 0x646e1c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x646e1a0
add ebx, ebx
jne 0x646e1d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x646e22d
xor ecx, ecx
sub eax, 3
jb 0x646e1f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x646e262
sar eax, 1
mov ebp, eax
jmp 0x646e1fe
add ebx, ebx
jne 0x646e1fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x646e1cc
inc ecx
add ebx, ebx
jne 0x646e20c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x646e1cc
add ebx, ebx
jne 0x646e219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x646e20e
jne 0x646e22a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x646e20e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x646e24c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x646e23e
jmp 0x646e18e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x646e24c
add edi, ecx
jmp 0x646e18e
pop esi
mov edi, esi
mov ecx, 0x3227
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x646e26a
cmp byte [edi], 0x16
jne 0x646e26a
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 0x646e26f
lea edi, [esi + 0x6068000]
mov eax, dword [edi]
or eax, eax
je 0x646e2e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc0346c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc0347ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x646e29c
mov ecx, edi
jns 0x646e2cb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc0347f0]
or eax, eax
je 0x646e2e1
mov dword [ebx], eax
add ebx, 4
jmp 0x646e2b9
call dword [esi + 0xc034800]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x646e318
cmp al, 0xef
ja 0x646e30b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x646e2ed
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x646e2fa
mov ebp, dword [esi + 0xc0347f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x646e34c
sub esp, 0xffffff80
jmp 0x440c0d
Function at 0x4060cb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00404063
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00404018
add esp, 0xc
mov dword [ebp - 0x37c], eax

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

Disassembly:
invalid
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
je 0x40629b
je 0x40629b
cmp dword [esi], eax
jne 0x406240
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x406240
call fcn.00404053
pop esi
inc esp
xchg ebp, eax
jno 0x4061ee
pop edx
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.00404053
and eax, 0xffb6c743
jne 0x40628a
push dword [ebp + 4]
push dword [ebp]
call fcn.00404853
pop edx
cmp dword [0x40b058], 0xffffffff
jne 0x4062f1
in eax, 0xff
call [edx - 0x7d]
cmp eax, 0x40b058
push dword [ebp + 0x5a]
mov esi, 0x46a560
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add byte [esi - 1], dl
adc eax, sym.imp.KERNEL32.dll_GetFileAttributesW
push 4
push 0x40000000
push esi
mov dword [ebp + 8], eax
call fcn.00405fb0
mov dword [0x40b058], eax
cmp eax, 0xffffffff
je 0x40631a
cmp dword [ebp + 8], 0xffffffff
jne 0x4062dd
push ebx
lea ecx, [ebp - 4]
push ecx
push 2
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp + 8], 0xfeff
call edi
mov eax, dword [0x40b058]
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40b058], 0xffffffff
je 0x40631a
push 0x4096a8
mov esi, 0x461540
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push esi
push dword [0x40b058]
call edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4021a0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4b88a0], 0
jne 0x4021b9
push 0
push 0x10001
call fcn.00404c10
add esp, 8
ret
jmp fcn.00404000

Function at 0x402660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor ebx, ebx
call esi
cwde
test eax, eax
jns 0x402678
mov ebx, 1
push 0x11
call esi
test ax, ax
jns 0x402684
or ebx, 2
push 0x12
call esi
test ax, ax
jns 0x402690
or ebx, 4
push edi
push 0x5c
call esi
push 0x5b
movsx edi, ax
call esi
cwde
or eax, edi
pop edi
jns 0x4026a5
or ebx, 8
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4026b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
xor ebx, ebx
call esi
cwde
test eax, eax
jns 0x4026c8
mov ebx, 1
push 0x11
call esi
test ax, ax
jns 0x4026d4
or ebx, 2
push 0x12
call esi
test ax, ax
jns 0x4026e0
or ebx, 4
push edi
push 0x5c
call esi
push 0x5b
movsx edi, ax
call esi
cwde
or eax, edi
pop edi
jns 0x4026f5
or ebx, 8
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x402c40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x258]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret