joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417e35
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x417df6
cmp dword [eax + 0xc], ebx
je 0x417e99
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00417851
dec ebp
sub ecx, edi
jnp 0x417e48
cmp dword [ebp + 0xc], ebx
jne 0x417e25
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x418040
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x417e39
ret
mov dword [ebp + 0x10], edi
jge 0x417e47
jmp 0x417e3e
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.00417851
jo 0x417e5e
jne 0x417e0e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x417e87
inc ebp
adc byte [ebx + 0x74c33b00], cl
aaa
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x417e62
and eax, 0xffff
push eax
jmp 0x417e66
add byte [eax - 0x15], dl
add al, 0x83
rol dword [edx], 0x51
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00417816
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x418040
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x417e47
add dword [ebp - 0x44], 0x14
invalid
invalid
js 0x417e8e

Function at 0x4187b9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00417861
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00417816
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00417851
pop ss
adc byte [esi], ah
imul dword [eax + 4]
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x41a428
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5886f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x41a46d
push 0x534618
push 4
push eax
call fcn.0050d8e8
push eax
call fcn.00401010
add esp, 0x10
jmp 0x41a483
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41a503
push edi
call fcn.0050be5e
mov edi, dword [eax]
call fcn.0050be5e
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0050a8cb
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0050be5e
cmp dword [eax], 0
je 0x41a4d7
call fcn.0050be5e
push dword [eax]
call fcn.00412b9b
pop ecx
jmp 0x41a4de
call fcn.0050be5e
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x41a503
cmp dword [ebp - 0x234], esi
jae 0x41a503
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x41a505
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0050a89e
leave
ret
Function at 0x41aa4e
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5886f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00414711
pop ecx
cmp eax, esi
je 0x41ab38
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x41ab38
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.0050beb0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x41ab38
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x41ab38
cmp esi, 0x14
jge 0x41ab38
push 0x10
push 0
push edi
call fcn.0050de12
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41ab27
call fcn.0050be5e
cmp dword [eax], 0x22
je 0x41ab27
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0050b8c7
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x41aafd
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x58b8b4], 0
jne 0x41abc3
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x41abec
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0041a428
pop ecx
pop ecx
test eax, eax
jne 0x41abee
inc edi
cmp edi, esi
jl 0x41abc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050a89e
leave
ret 8

Function at 0x41ee21
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.0041f7aa
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 0x41ee5a
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.0041ea5e
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 0x41eeb8
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 0x41eedc
cmp dword [edi + 0x74], 0
jne 0x41eedc
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041f7aa
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.0041ee79
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 0x42360a
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.004232ae
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x423654
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004173d7
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041569a
jmp 0x42365f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00424dc8
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x423665
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.004237bb
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 0x4236a2
call fcn.004232ae
mov dword [esi + 0xc], 1
jmp 0x4236a7
call fcn.004232ae
cmp dword [esi], 0
je 0x4236f0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4236c8
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004173d7
jmp 0x4236da
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.0040c200
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041569a
jmp 0x423714
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 0x423714
push dword [esi]
push dword [ebp + 8]
call fcn.00424dc8
pop esi
pop ebp
ret 0xc
Function at 0x423b18
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x523050
call fcn.0050bcc6
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x423b3d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x423b8f
call fcn.00419b9d
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c050
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.0050b7fa
push eax
call fcn.00401010
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.004012b0
mov eax, esi
call fcn.0050bd9e
ret 8

Function at 0x426ff4
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5886f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x427029
xor eax, eax
jmp 0x42707c
lea eax, [ebp - 0x210]
push eax
call fcn.0050b8c7
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x42705a
push 0x55c28c
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050de2c
add esp, 0xc
test eax, eax
jne 0x427025
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050de2c
add esp, 0xc
test eax, eax
jne 0x427025
lea eax, [ebp - 0x210]
push eax
call fcn.00414711
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050a89e
leave
ret

Function at 0x452dcf
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 0x452de9
call fcn.0041f7aa
mov esi, dword [eax + 0xc]
push dword [0x58ced8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x452e07
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 0x452dff
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x452e34
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x452e01
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00452cfd
mov esi, eax
jmp 0x452e26

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004177f6
call fcn.00414797
cmp eax, esi
pop esi
jne 0x48697e
mov ecx, 0x58be90
jmp fcn.00427c0e
ret
Function at 0x4ee712
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 0x4ee72a
mov edi, dword [esi + 0xc]
jmp 0x4ee76a
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4ee743
call fcn.0041fb78
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4ee758
call fcn.0041fb78
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4ee76a
call fcn.0041fb78
call fcn.0041f7aa
cmp dword [eax + 0x3c], 0
je 0x4ee77f
push edi
mov ecx, ebx
call fcn.004ed5c6
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004ee62c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4ee79d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ee7a9
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 0x50a89e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5886f0]
jne 0x50a8a8
repz ret
jmp fcn.00512793
Function at 0x51d4c8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5886f0]
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.005121bb
and dword [ebp - 0x14], 0
cmp dword [0x59030c], 0
mov dword [ebp - 0x18], eax
jne 0x51d57b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51d623
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x55ad88
push ebx
call edi
test eax, eax
je 0x51d623
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x55ad78
push ebx
mov dword [0x59030c], eax
call edi
push eax
call esi
push 0x55ad64
push ebx
mov dword [0x590310], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x590314], eax
call edi
push eax
call esi
mov dword [0x59031c], eax
test eax, eax
je 0x51d57b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x590318], eax
mov eax, dword [0x590318]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x51d5d4
cmp dword [0x59031c], ecx
je 0x51d5d4
push eax
call esi
push dword [0x59031c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x51d5d4
test ebx, ebx
je 0x51d5d4
call edi
test eax, eax
je 0x51d5cb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51d5cb
test byte [ebp - 8], 1
jne 0x51d5d4
or dword [ebp + 0x10], 0x200000
jmp 0x51d607
mov eax, dword [0x590310]
cmp eax, dword [ebp - 0x18]
je 0x51d607
push eax
call esi
test eax, eax
je 0x51d607
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51d607
mov eax, dword [0x590314]
cmp eax, dword [ebp - 0x18]
je 0x51d607
push eax
call esi
test eax, eax
je 0x51d607
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x59030c]
call esi
test eax, eax
je 0x51d623
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x51d625
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050a89e
leave
ret
Function at 0x100011a0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, esp
mov dword [edx + 8], 0x3ba
mov dword [edx + 4], 0x3ba
mov dword [edx], 0x7b6792
mov edx, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
call edx
sub esp, 0xc
xor ecx, ecx
mov edx, dword [ebp - 0x14]
sub edx, 0xf
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
je 0x10001229
jmp 0x100011f3
mov eax, dword [ebp - 0x14]
sub eax, 0x37
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jne 0x10001240
jmp 0x10001206
mov eax, esp
mov dword [eax + 8], 0xb2
mov dword [eax + 4], 0x7ed
mov dword [eax], 0x6dbb85
mov eax, dword [sym.imp.KERNEL32.dll_SetupComm]
call eax
sub esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, esp
mov dword [eax], 0x58
mov eax, dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
call eax
sub esp, 4
mov dword [ebp - 0x34], eax
jmp 0x10001295
mov eax, dword [ebp - 0x2c]
mov ecx, esp
mov dword [ecx + 4], 0x7d8
mov dword [ecx], 0x4c257a
mov ecx, dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x38], eax
call ecx
sub esp, 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov esi, esp
mov dword [esi + 4], edx
mov dword [esi], 0xedf7ea
mov edx, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov dword [ebp - 0x3c], eax
call edx
sub esp, 8
mov ecx, dword [ebp - 0x38]
add ecx, 1
cmp ecx, 0xa
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], ecx
jne 0x10001240
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x15
sete cl
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], cl
mov al, byte [ebp - 0x45]
test al, 1
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x10], ecx
jne 0x100012bd
jmp 0x100011b2
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10006410
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x100307fc], 0
mov dword [0x10030800], 0
mov dword [0x10030808], 0
mov dword [0x100307f4], 0x1a14
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x1000653f
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, eax
add edx, 1
mov esi, dword [0x100307fc]
add esi, 1
mov dword [ebp - 0x24], eax
mov eax, esi
mov dword [ebp - 0x28], edx
cdq
idiv ecx
mov dword [0x100307fc], edx
mov dword [0x100307f4], 0xfbe
mov esi, dword [0x10030800]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x10030800], edx
mov ecx, dword [0x100307fc]
mov bl, byte [edi + ecx]
mov byte [0x10030804], bl
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov dword [0x100307f4], 0x1d46
mov bl, byte [0x10030804]
mov ecx, dword [0x10030800]
mov byte [edi + ecx], bl
mov ecx, dword [0x100307fc]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x10030800]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x10030808], edx
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov bl, byte [ecx + esi]
xor bl, byte [edi + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], bl
mov ecx, dword [0x100307f8]
add ecx, 0x374
mov dword [0x100307f8], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
cmp ecx, edx
mov dword [ebp - 0x20], ecx
jne 0x10006469
mov dword [0x100307f8], 0x20c0
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10006560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.10006560]
mov ecx, dword [0x100307f8]
add ecx, 0xffffe02f
mov edx, dword [0x100307f4]
add edx, 0xffffdbc5
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
je 0x100065b2
jmp 0x100065c1
mov eax, dword [ebp - 0x14]
mov dword [0x100307f8], eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x100065a2
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
jmp 0x1000658d
Function at 0x10006750
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10030800], 0
mov byte [0x10030804], 0
mov dword [0x100307f4], 0x21
mov dword [0x100307fc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x100067ab
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x100307fc], 0
mov dword [ebp - 0x1c], eax
jmp 0x100067dc
mov dword [0x100307f8], 0x10da
mov eax, dword [0x100307fc]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100307fc]
add eax, 1
mov dword [0x100307fc], eax
cmp eax, 0x100
jl 0x100067ab
jmp 0x1000679a
mov eax, dword [ebp - 0x1c]
mov ecx, 0x100
mov edx, dword [0x10030800]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
idiv ecx
mov dword [0x10030800], edx
mov ecx, dword [0x100307fc]
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x10030804], bl
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov bl, byte [0x10030804]
mov ecx, dword [0x10030800]
mov byte [edi + ecx], bl
mov dword [0x100307f4], 0x2cc
mov ecx, dword [0x100307fc]
add ecx, 1
mov dword [0x100307fc], ecx
cmp ecx, 0x100
mov dword [ebp - 0x1c], ecx
jl 0x100067dc
jmp 0x10006792
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 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 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x32814091
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7e8807a7
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219