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

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5facbd
cmp byte [ebx + 0xeb], 0
jne 0x5facbd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409e5c
mov eax, dword [esi]
test eax, eax
je 0x5facaa
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5facca
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a0b4
jmp 0x5facca
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a0b4
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5fc614
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5fc685
mov eax, esi
call fcn.00551198
test al, al
je 0x5fc685
mov eax, dword [ebx + 0x98]
call fcn.00550dc4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5fc685
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x140]
test al, al
je 0x5fc676
push 0
mov eax, dword [ebx + 0x98]
call fcn.00550dc4
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0054799c
jmp 0x5fc685
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005fc420
pop esi
pop ebx
ret
Function at 0x603fd4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x60405a
mov eax, dword [ebx + 8]
call fcn.00550dc4
mov ecx, eax
mov dl, 1
mov eax, dword [0x55e3c8]
call fcn.0054aedc
mov dword [ebx + 0x8c], eax
mov esi, dword [ebx + 0x8c]
xor edx, edx
mov eax, esi
call fcn.00563d24
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x6038a4
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00550dc4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00550dc4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x6040dc
mov eax, dword [ebx + 8]
call fcn.00550dc4
mov ecx, eax
mov dl, 1
mov eax, dword [0x55e3c8]
call fcn.0054aedc
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov dl, 1
mov eax, esi
call fcn.00563d24
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x6038f0
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00550dc4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00550dc4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x60415a
mov eax, dword [ebx + 8]
call fcn.00550dc4
mov ecx, eax
mov dl, 1
mov eax, dword [0x55ee70]
call fcn.0054aedc
mov dword [ebx + 0x94], eax
mov esi, dword [ebx + 0x94]
mov byte [esi + 0x2a0], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.00550dc4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.00550dc4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x607bc4
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 8]
mov edi, dword [eax + 4]
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ebx, eax
xor edx, edx
add edx, 0x18
add ebx, edx
movzx eax, word [eax + 0x14]
add ebx, eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
movzx ebp, word [eax + 6]
dec ebp
test ebp, ebp
jl 0x607c9d
inc ebp
cmp dword [ebx + 0x10], 0
jne 0x607c59
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x38]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
jle 0x607c54
push 4
push 0x1000
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xc]
add eax, edi
push eax
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
test esi, esi
jne 0x607c3f
xor eax, eax
jmp 0x607c9f
mov esi, dword [ebx + 0xc]
add esi, edi
mov dword [ebx + 8], esi
mov eax, esi
xor ecx, ecx
mov edx, dword [esp + 0xc]
call fcn.0040782c
add ebx, 0x28
jmp 0x607c96
push 4
push 0x1000
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0xc]
add eax, edi
push eax
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
test esi, esi
jne 0x607c79
xor eax, eax
jmp 0x607c9f
mov esi, dword [ebx + 0xc]
add esi, edi
mov eax, dword [ebx + 0x14]
add eax, dword [esp]
mov edx, dword [ebx + 0x10]
mov ecx, esi
xchg edx, ecx
call fcn.00407040
mov dword [ebx + 8], esi
add ebx, 0x28
dec ebp
jne 0x607c06
mov al, 1
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x607d80
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov esi, eax
lea ebp, [esp + 0x10]
mov eax, dword [esi]
mov ebx, eax
xor edx, edx
add edx, 0x18
add ebx, edx
movzx eax, word [eax + 0x14]
add ebx, eax
xor eax, eax
mov dword [esp], eax
mov edi, dword [ebx + 8]
or edi, dword [esp]
mov dword [ebp], edi
mov edx, dword [esi + 0x14]
mov eax, edi
call fcn.00607bbc
mov dword [ebp + 4], eax
mov edx, ebx
mov eax, esi
call fcn.00607ca8
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp + 0xc], eax
mov byte [ebp + 0x10], 0
add ebx, 0x28
mov eax, dword [esi]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jle 0x607e80
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
or eax, dword [esp]
mov dword [esp + 4], eax
mov edx, dword [esi + 0x14]
mov eax, dword [ebp]
call fcn.00607bbc
mov edi, eax
mov edx, ebx
mov eax, esi
call fcn.00607ca8
mov dword [esp + 8], eax
cmp edi, dword [ebp + 4]
je 0x607e18
mov eax, dword [ebp]
add eax, dword [ebp + 8]
cmp eax, edi
jbe 0x607e4b
mov eax, dword [ebx + 0x24]
test eax, 0x2000000
je 0x607e28
test byte [ebp + 0xf], 2
jne 0x607e35
or eax, dword [ebp + 0xc]
and eax, 0xfdffffff
mov dword [ebp + 0xc], eax
jmp 0x607e38
or dword [ebp + 0xc], eax
mov eax, dword [esp + 4]
add eax, dword [esp + 8]
sub eax, dword [ebp]
mov dword [ebp + 8], eax
add ebx, 0x28
jmp 0x607e76
mov edx, ebp
mov eax, esi
call fcn.00607cd0
test al, al
jne 0x607e5c
xor eax, eax
jmp 0x607e97
mov eax, dword [esp + 4]
mov dword [ebp], eax
mov dword [ebp + 4], edi
mov eax, dword [esp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp + 0xc], eax
add ebx, 0x28
dec dword [esp + 0xc]
jne 0x607de5
mov byte [ebp + 0x10], 1
mov edx, ebp
mov eax, esi
call fcn.00607cd0
test al, al
jne 0x607e95
xor eax, eax
jmp 0x607e97
mov al, 1
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6093d8
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffc8
lea eax, [esp + 8]
push eax
push 0x20
lea eax, [esp + 0x20]
push eax
push 3
call sub.ntdll.dll_NtQuerySystemInformation
lea eax, [esp + 0x10]
push eax
call sub.ntdll.dll_NtQuerySystemTime
push 0
push 0x2710
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
sbb edx, dword [esp + 0x24]
call fcn.0040b878
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0x38
ret
Function at 0x401350
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x4090b4
push edi
call fcn.004020f7
mov esi, eax
add esp, 8
test esi, esi
jne 0x40137e
push edi
push 0x40909c
call fcn.004020a6
add esp, 8
push esi
call fcn.00401fd1
push 0x409098
push 0x409088
call fcn.004020f7
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0xc], edi
jne 0x4013b8
push esi
call fcn.00401f4e
push 0x409088
push 0x40906c
call fcn.004020a6
add esp, 0xc
push edi
call fcn.00401fd1
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x4013d0
push eax
push 0x409068
push edi
call fcn.00401f1c
add esp, 0xc
mov al, byte [esi + 0xc]
push ebx
test al, 0x10
push ebp
jne 0x401521
mov eax, dword [esi + 4]
dec eax
mov dword [esi + 4], eax
js 0x4013f1
mov ecx, dword [esi]
xor eax, eax
mov al, byte [ecx]
inc ecx
mov dword [esi], ecx
jmp 0x4013fa
push esi
call fcn.00401e43
add esp, 4
movsx ecx, byte [0x409a90]
cmp eax, ecx
jne 0x401476
push esi
call fcn.00401ceb
mov ebx, eax
mov edi, 0x409a90
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov ebp, 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebp
jbe 0x401485
mov eax, dword [esi + 4]
dec eax
mov dword [esi + 4], eax
js 0x40143c
mov ecx, dword [esi]
xor eax, eax
mov al, byte [ecx]
inc ecx
mov dword [esi], ecx
jmp 0x401445
push esi
call fcn.00401e43
add esp, 4
movsx edx, byte [ebp + 0x409a90]
cmp eax, edx
jne 0x401466
mov edi, 0x409a90
or ecx, 0xffffffff
xor eax, eax
inc ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebp, ecx
jae 0x401485
jmp 0x401428
push 0
push ebx
push esi
call fcn.00401c5f
mov edi, dword [esp + 0x20]
add esp, 0xc
test byte [esi + 0xc], 0x10
jne 0x401521
jmp 0x4013dd
mov eax, dword [esi + 4]
dec eax
mov dword [esi + 4], eax
js 0x401492
inc dword [esi]
jmp 0x40149b
push esi
call fcn.00401e43
add esp, 4
xor edi, edi
mov eax, dword [esi + 4]
dec eax
mov dword [esi + 4], eax
js 0x4014b1
mov ecx, dword [esi]
xor eax, eax
mov al, byte [ecx]
inc ecx
mov dword [esi], ecx
jmp 0x4014ba
push esi
call fcn.00401e43
add esp, 4
cmp eax, 0x3e
je 0x40151d
mov ecx, dword [esp + 0x18]
cmp byte [ecx], 0
je 0x401517
cmp eax, 0x41
jl 0x4014d2
cmp eax, 0x5a
jle 0x401517
cmp eax, 0x2e
jne 0x4014f5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
dec ecx
mov dword [eax + 4], ecx
js 0x4014f0
mov edx, dword [eax]
mov byte [edx], 0x5f
mov ecx, dword [eax]
inc ecx
mov dword [eax], ecx
jmp 0x401517
push eax
push 0x5f
jmp 0x40150f
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
dec edx
mov dword [ecx + 4], edx
js 0x40150d
mov edx, dword [ecx]
mov byte [edx], al
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
jmp 0x401517
push ecx
push eax
call fcn.00401b4a
add esp, 8
inc edi
cmp edi, 0x32
jb 0x40149d
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
pop ebp
pop ebx
cmp byte [eax], 0
je 0x40153a
push 0x409064
push edi
call fcn.00401f1c
add esp, 8
push esi
call fcn.00401f4e
push edi
call fcn.00401f4e
add esp, 8
pop edi
pop esi
ret
Function at 0x404b09
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x409640
cmp edx, dword [eax]
je 0x404b2b
add eax, 8
inc ecx
cmp eax, 0x4096d0
jl 0x404b1c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x409640]
jne 0x404c59
mov eax, dword [0x409df0]
cmp eax, 1
je 0x404c33
test eax, eax
jne 0x404b5c
cmp dword [0x4090e4], 1
je 0x404c33
cmp edx, 0xfc
je 0x404c59
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404b93
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402580
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405830
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404bd6
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405830
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x408480
push edi
call fcn.00402300
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402580
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402590
lea eax, [ebp - 0xa0]
push 0x408460
push eax
call fcn.00402590
push dword [esi + 0x409644]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402590
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004068d5
add esp, 0x2c
pop edi
jmp 0x404c59
lea eax, [ebp + 8]
lea esi, [esi + 0x409644]
push 0
push eax
push dword [esi]
call fcn.00405830
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x407b77
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004041c7
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x407b98
test byte [esp + 8], 2
je 0x407b98
mov dword [0x409d9c], 0xd
mov dword [0x409da0], 5
jmp 0x407b73
xor eax, eax
ret

Function at 0x262a96
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x2a6038]
test eax, eax
je 0x262ad5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x262ad5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x262ad5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x262ad5
cmp dword [ecx + 0x74], 0xe
jbe 0x262ad5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x28a741
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0028a339

Function at 0x2a26f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x2a271d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x2a271d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10280180
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10298d80], 0
mov byte [0x10298d84], 0
mov edi, dword [0x10298d78]
add edi, 0xffffe149
mov dword [0x10298d74], edi
mov dword [0x10298d7c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x102801f0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
add eax, 0xffffd525
mov dword [0x10298d78], eax
mov dword [0x10298d7c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x10280232
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10298d78]
mov esi, eax
add esi, 0xffffe149
mov dword [0x10298d74], esi
mov esi, dword [0x10298d7c]
add esi, 1
mov dword [0x10298d7c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x102801f0
jmp 0x102801cf
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x10298d88], 0
mov dword [0x10298d74], 0x2253
mov esi, dword [0x10298d80]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x10298d88], ebx
mov eax, ebx
cdq
mov ebx, dword [ebp - 0x30]
idiv ebx
mov dword [0x10298d80], edx
mov dword [0x10298d74], 0x1af3
mov esi, dword [ebp - 0x2c]
mov bl, byte [edi + esi]
mov byte [0x10298d84], bl
add ecx, 0xffffe224
mov dword [0x10298d78], ecx
mov bl, byte [edi + edx]
mov byte [edi + esi], bl
mov bl, byte [0x10298d84]
mov ecx, dword [0x10298d80]
mov byte [edi + ecx], bl
mov ecx, dword [0x10298d78]
mov edx, ecx
add edx, 0xffffe149
mov dword [0x10298d74], edx
mov esi, dword [0x10298d7c]
add esi, 1
mov dword [0x10298d7c], esi
cmp esi, 0x100
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], edx
jl 0x10280232
mov eax, dword [ebp - 0x34]
mov dword [0x10298d74], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10280880
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x10280919
mov eax, 1
mov ecx, dword [0x10298d78]
add ecx, 0xef6
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
jmp 0x10280a06
mov eax, 0x106d
xor ecx, ecx
mov dword [0x10298d74], 0x11f2
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x1028096e
jmp 0x10280a06
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x102809dc
jmp 0x10280a06
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x10280946
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
jl 0x10280919
mov eax, dword [ebp - 0x28]
mov ecx, 0x106d
xor edx, edx
mov esi, dword [ebp - 0x10]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
je 0x102808c9
jmp 0x10280a06
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff5
mov dword [ebp - 0x2c], eax
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x2c]
cmp word [edx + esi*2], 0x61
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x10280a06
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x10280a06
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff7
mov dword [ebp - 0x30], eax
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
cmp word [edx + esi*2], 0x64
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x102808f4
jmp 0x10280a06
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff9
mov dword [ebp - 0x34], eax
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x34]
cmp word [edx + esi*2], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x102808ad
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [0x10298d78], ecx
add esp, 0x30
pop esi
pop ebp
ret
Function at 0x10280a20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov edx, dword [0x10298d74]
mov esi, edx
add esi, 0xffffff71
mov dword [0x10298d74], esi
add edx, 0xfffff428
mov dword [0x10298d78], edx
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.10280320
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], ecx
mov dword [0x10298d78], 0x12c8
mov dword [esp + 0x6c], 0x154400
mov ecx, dword [0x10298d60]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x10298d64]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x10298d68]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], eax
mov eax, 0xa69
lea ecx, [0x10280e30]
mov edx, dword [0x10298d6c]
mov dword [esp + 0x50], edx
mov dword [0x10298d74], 0x1bd1
mov edx, dword [0x10298d70]
mov dword [esp + 0x80], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x10280b14
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10281350
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10298d78]
add ecx, 0xffffd92f
mov dword [0x10298d74], ecx
mov dword [esp + 0x1c], eax
jmp 0x10280b2d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
je 0x10280b37
jmp 0x10280b57
mov eax, dword [esp + 0x1c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
je 0x10280b76
mov eax, 0x890
mov ecx, dword [esp + 0x18]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x10280b14
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [0x10298d78], eax
mov dword [esp + 0x54], ecx
mov dword [0x10298d74], 0x39d
mov eax, dword [ecx + edx + 0x50]
mov dword [esp + 0x74], eax
call fcn.10280880
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
je 0x10280ad6
jmp 0x10280b2d
Function at 0x10280c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10298d7c], 0
mov dword [0x10298d80], 0
mov dword [0x10298d8c], 0
mov edi, dword [0x10298d78]
mov ebx, edi
add ebx, 0xffffe149
mov dword [0x10298d74], ebx
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
mov eax, dword [ebp - 0x20]
add eax, 0xffffd49d
mov dword [0x10298d78], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x10280e1c
jmp 0x10280cd8
jmp 0x10280e1c
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
jmp 0x10280ce9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10298d7c], edx
mov dword [0x10298d74], 0x13cb
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10298d80], edx
mov dword [0x10298d78], 0x7fe
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10298d84], cl
mov dword [0x10298d74], 0xfae
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x10298d78]
add edx, 0xffffe149
mov dword [0x10298d74], edx
mov cl, byte [0x10298d84]
mov edx, dword [0x10298d80]
mov byte [edi + edx], cl
mov edx, dword [0x10298d74]
add edx, 0xffffddc4
mov dword [0x10298d74], edx
mov edx, dword [0x10298d7c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10298d80]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x10298d78]
mov ecx, edx
add ecx, 0xffffe149
and ebx, 0xff
mov dword [0x10298d8c], ebx
mov dword [0x10298d74], ecx
mov cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
xor cl, byte [ebx + esi]
add edx, 0xffffa56d
mov dword [0x10298d74], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], cl
mov dword [0x10298d78], 0x87a
add esi, 1
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
mov dword [ebp - 0x3c], esi
je 0x10280cd3
mov eax, dword [0x10298d80]
mov ecx, dword [0x10298d7c]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10280ce9
mov dword [0x10298d74], 0x584
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403370
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x180c
call fcn.0040c700
mov eax, dword [0x2b9eb5c]
mov ecx, dword [0x2b9ead0]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40347b
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b9eb5c], 0x959
jne 0x403461
push 0
call edi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
lea ecx, [esp + 0x820]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea edx, [esp + 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0x402ce8
push 0x402d14
call esi
push 0
push 0x402d4c
push 0x402d60
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004031b0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4033b4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180c
ret