joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478fd5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512f62
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push esi
mov eax, dword [0x5aa5a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.BOUniversesRootDlg.0
mov dword [esi + 8], vtable.BOUniversesRootDlg.1.0
mov dword [ebp - 4], 0x11
xor ebx, ebx
and dword [0x5af3b0], 0
inc ebx
mov ecx, dword [esi + 0x8c]
test ecx, ecx
je 0x47902d
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x47903c
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 0x94]
test ecx, ecx
je 0x47904b
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x47905a
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x479069
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x479078
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 0x324]
test ecx, ecx
je 0x479087
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 0x328]
test ecx, ecx
je 0x479096
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 0x264]
test ecx, ecx
je 0x4790a5
mov eax, dword [ecx]
push ebx
call dword [eax]
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x2cc]
call fcn.00478c22
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x2a8]
call fcn.004ff5fe
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x288]
call fcn.004ff5fe
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x268]
call fcn.004ff5fe
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x238]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xc
call fcn.004fed68
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x21c]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xb
call fcn.004fed68
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x200]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xa
call fcn.004fed68
mov byte [ebp - 4], 9
lea ecx, [esi + 0x1d4]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 9
call fcn.004fed68
mov byte [ebp - 4], 8
lea ecx, [esi + 0x1a8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 8
call fcn.004fed68
mov byte [ebp - 4], 7
lea ecx, [esi + 0x17c]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 7
call fcn.004fed68
mov byte [ebp - 4], 6
lea ecx, [esi + 0x134]
call fcn.0044872d
mov byte [ebp - 4], 5
lea ecx, [esi + 0xec]
call fcn.0044872d
mov byte [ebp - 4], 4
lea ecx, [esi + 0xa4]
call fcn.0044872d
mov byte [ebp - 4], 3
lea ecx, [esi + 0x6c]
call fcn.004fed5c
mov byte [ebp - 4], 2
lea eax, [esi + 0x60]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
je 0x4791b8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], bl
push dword [esi + 0x5c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0
lea ecx, [esi + 0x58]
call dword [0x526734]
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00500276
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aaac0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0xc], 0
je 0x4aab6c
cmp dword [esi], 0
je 0x4aab6c
mov ax, word [esi + 8]
cmp ax, word [esi + 0xa]
je 0x4aab6c
mov eax, dword [ebp + 0xc]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4aab6c
movzx eax, word [esi + 8]
movzx ecx, word [esi + 0xa]
mov edx, eax
cmp ax, cx
jb 0x4aab0b
mov edx, ecx
ja 0x4aab0d
mov eax, ecx
sub eax, edx
movzx edx, dx
movzx ecx, ax
mov eax, dword [esi]
mov esi, ecx
push ebx
push edi
add edx, dword [eax]
lea eax, [esi + 1]
push eax
push 0x40
mov dword [ebp + 8], edx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x4aab62
push esi
push dword [ebp + 8]
push ebx
call fcn.0050386c
add esp, 0xc
mov byte [esi + ebx], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop ebx
pop esi
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
ret
Function at 0x4ab3c1
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0xc], 0
je 0x4ab500
cmp dword [edi], 0
je 0x4ab500
mov eax, dword [ebp + 0xc]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ab500
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4ab4fa
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4ab4f0
push esi
push dword [edi]
call fcn.004ff00a
movzx ecx, word [edi + 8]
movzx eax, ax
mov dword [ebp - 8], eax
movzx eax, word [edi + 0xa]
sub ecx, eax
push ecx
call fcn.005038e4
movzx esi, ax
push ebx
mov dword [ebp - 0xc], esi
call fcn.004ff23e
movzx ecx, word [edi + 8]
add esp, 0xc
movzx eax, ax
mov dword [ebp - 4], eax
sub eax, esi
movzx edx, ax
movzx eax, word [edi + 0xa]
cmp cx, ax
jbe 0x4ab465
mov word [edi + 8], ax
jmp 0x4ab469
mov word [edi + 0xa], cx
mov eax, dword [ebp - 8]
mov ebx, edx
movzx esi, ax
xor ax, ax
cmp ax, dx
sbb eax, eax
and eax, ebx
inc eax
add eax, esi
push eax
push dword [edi]
call fcn.004ff514
mov edi, eax
mov eax, dword [ebp + 8]
mov cx, word [eax + 8]
add cx, word [ebp - 0xc]
movzx edx, cx
sub esi, edx
inc esi
push esi
mov esi, dword [0x5253b0]
lea ecx, [edx + edi]
lea eax, [edx + ebx]
push ecx
add eax, edi
push eax
call esi
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 8]
movzx eax, ax
push eax
push dword [ebp - 0x10]
movzx eax, word [ebx + 8]
add eax, edi
push eax
call esi
mov eax, dword [ebp - 4]
push dword [ebx]
add word [ebx + 8], ax
call fcn.004ff51a
mov esi, dword [ebp + 0xc]
push esi
push ebx
mov byte [ebx + 0x30], 1
call fcn.004aaceb
push esi
push ebx
call fcn.004ab611
push esi
push ebx
call fcn.004ab72d
add esp, 0x3c
pop esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4bb29c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51afad
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5aa5a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xa
mov edi, 0x52831e
push edi
push esi
call fcn.004fedc2
lea eax, [esi + 4]
push edi
push eax
call fcn.004fedc2
push 4
pop eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
push edi
push eax
call fcn.004fedc2
lea eax, [esi + 0x4c]
push edi
push eax
call fcn.004fedc2
lea eax, [esi + 0x50]
push edi
push eax
call fcn.004fedc2
lea eax, [esi + 0x54]
push edi
push eax
call fcn.004fedc2
lea eax, [esi + 0x58]
push edi
push eax
call fcn.004fedc2
push 1
push 0xffffffffffffffff
lea eax, [esi + 0x14]
push 0
push eax
call fcn.004ff5c2
add esp, 0x48
lea ebx, [esi + 0x30]
push 1
push 0xffffffffffffffff
push 0
push ebx
call fcn.004ff5c2
push 1
push 0xffffffffffffffff
lea edi, [esi + 0x5c]
push 0
push edi
call fcn.004ff5c2
push 1
push 0xffffffffffffffff
add esi, 0x78
push 0
push esi
call fcn.004ff5c2
add esp, 0x30
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.004fee5e
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.004fee5e
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x58]
call fcn.004fed5c
mov byte [ebp - 4], 6
lea ecx, [esi + 0x54]
call fcn.004fed5c
mov byte [ebp - 4], 5
lea ecx, [esi + 0x50]
call fcn.004fed5c
mov byte [ebp - 4], 4
lea ecx, [esi + 0x4c]
call fcn.004fed5c
mov byte [ebp - 4], 3
mov ecx, ebx
call fcn.004fee5e
mov byte [ebp - 4], 2
lea ecx, [esi + 0x14]
call fcn.004fee5e
mov byte [ebp - 4], 1
lea ecx, [esi + 0x10]
call fcn.004fed5c
mov byte [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.004fed5c
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004fed5c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x6cc87b8d
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x7e620456
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x126d410c
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xa6a48af
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x4e895963
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x2e416ae9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4018b8
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x254
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
xor ebx, ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, dword [sym.imp.MSVCRT.dll_wcscpy]
lea edi, [esi + eax*2]
mov dword [esp], 0x4081a0
push edi
call ebp
pop ecx
lea eax, [esp + 0x18]
pop ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
and word [edi], bx
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x401905
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4019c6
lea eax, [esp + 0x40]
push 0x40819c
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x401979
lea eax, [esp + 0x40]
push 0x408194
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x401979
lea eax, [esp + 0x40]
push eax
push edi
call ebp
test byte [esp + 0x1c], 0x10
pop ecx
pop ecx
je 0x401959
push 0x408158
push esi
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
pop ecx
mov ecx, esi
call fcn.004018b8
jmp 0x401973
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401975
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x40199f
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401905
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
jne 0x40199f
xor ebx, ebx
push dword [esp + 0x10]
and word [edi], 0
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x4019c4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4019c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret

Function at 0x401a4c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
xor edx, edx
mov ecx, 0x408200
push 8
mov eax, edx
pop esi
mov edi, eax
and edi, 1
dec edi
not edi
and edi, 0xedb88320
shr eax, 1
xor eax, edi
dec esi
jne 0x401a5a
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x408600
jb 0x401a55
pop edi
cmp edx, 0x800
pop esi
jae 0x401ab5
lea ecx, [edx*4 + 0x408200]
mov eax, dword [ecx - 0x400]
mov edx, eax
and edx, 0xff
shr eax, 8
mov edx, dword [edx*4 + 0x408200]
xor edx, eax
mov dword [ecx], edx
add ecx, 4
cmp ecx, 0x40a200
jb 0x401a8e
mov dword [0x4081e0], fcn.00401ad3
call fcn.0040477a
test eax, eax
jne 0x401ad2
mov dword [0x4081e0], 0x401b87
ret
Function at 0x401ad3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
mov esi, 0xff
mov ecx, edx
mov edx, dword [ebp + 0xc]
test edi, edi
mov dword [ebp - 4], ecx
jbe 0x401b15
test cl, 3
je 0x401b15
movzx ebx, byte [ecx]
mov edi, eax
and edi, esi
xor edi, ebx
shr eax, 8
mov edi, dword [edx + edi*4]
xor eax, edi
mov edi, dword [ebp + 8]
dec edi
inc ecx
test edi, edi
mov dword [ebp + 8], edi
mov dword [ebp - 4], ecx
ja 0x401af0
cmp edi, 4
jb 0x401b62
mov ebx, edi
shr ebx, 2
mov dword [ebp + 8], ebx
xor eax, dword [ecx]
xor ecx, ecx
xor ebx, ebx
sub edi, 4
mov dword [ebp + 0xc], eax
mov cl, ah
mov bl, byte [ebp + 0xe]
mov ecx, dword [edx + ecx*4 + 0x800]
xor ecx, dword [edx + ebx*4 + 0x400]
mov ebx, eax
and ebx, esi
shr eax, 0x18
xor ecx, dword [edx + ebx*4 + 0xc00]
xor ecx, dword [edx + eax*4]
mov eax, ecx
mov ecx, dword [ebp - 4]
add ecx, 4
dec dword [ebp + 8]
mov dword [ebp - 4], ecx
jne 0x401b22
test edi, edi
jbe 0x401b80
mov dword [ebp + 8], edi
movzx ebx, byte [ecx]
mov edi, eax
and edi, esi
xor edi, ebx
shr eax, 8
mov edi, dword [edx + edi*4]
xor eax, edi
inc ecx
dec dword [ebp + 8]
jne 0x401b69
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x401c12
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], edx
mov ebx, ecx
mov edi, dword [esi]
test edi, edi
je 0x401c6b
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x401c35
mov eax, edi
lea ecx, [ebp + 8]
push 0
and dword [ebp + 8], 0
push ecx
push eax
push dword [ebp - 4]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add dword [ebp - 4], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x401c63
test ecx, ecx
je 0x401c6b
test edi, edi
jbe 0x401c6b
jmp 0x401c2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401c6d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401c74
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], edx
mov ebx, ecx
mov edi, dword [esi]
test edi, edi
je 0x401ccd
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x401c97
mov eax, edi
lea ecx, [ebp + 8]
push 0
and dword [ebp + 8], 0
push ecx
push eax
push dword [ebp - 4]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
add dword [ebp - 4], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x401cc5
test ecx, ecx
je 0x401ccd
test edi, edi
jbe 0x401ccd
jmp 0x401c8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401ccf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x404538
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], edx
push esi
mov edx, ecx
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov esi, dword [ecx]
and esi, 7
cmp dword [ebp - 8], 5
jb 0x40468a
add dword [ebp + 8], 5
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea edi, [eax + edx]
mov eax, dword [ebp - 8]
lea ecx, [edx + eax - 4]
cmp edi, ecx
jae 0x40457e
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x40457e
inc edi
jmp 0x40456f
mov eax, edi
sub eax, edx
cmp edi, ecx
jae 0x40466b
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x4045b0
xor esi, esi
mov cl, byte [edi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x4045dd
cmp cl, 0xff
je 0x4045dd
and esi, 3
shl esi, 1
or esi, 1
inc eax
jmp 0x404565
dec ecx
shl esi, cl
and esi, 7
je 0x404596
movzx ecx, byte [esi + 0x4070e0]
mov ebx, edi
sub ebx, ecx
cmp byte [esi + 0x4070d8], 0
mov cl, byte [ebx + 4]
je 0x4045d8
test cl, cl
je 0x4045d8
cmp cl, 0xff
jne 0x404596
mov dword [ebp - 4], eax
jmp 0x4045a5
xor ebx, ebx
mov bh, cl
mov bl, byte [edi + 3]
movzx ecx, byte [edi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edi + 1]
shl ebx, 8
or ebx, ecx
cmp dword [ebp + 0x10], 0
je 0x404604
lea edx, [ebx + eax]
add edx, dword [ebp + 8]
jmp 0x40460b
sub ebx, eax
sub ebx, dword [ebp + 8]
mov edx, ebx
test esi, esi
je 0x40463e
movzx ebx, byte [esi + 0x4070e0]
push 0x18
shl ebx, 3
pop ecx
mov dword [ebp - 0xc], ebx
sub ecx, ebx
mov ebx, edx
shr ebx, cl
test bl, bl
je 0x40462e
cmp bl, 0xff
jne 0x40463e
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
push 1
pop ebx
shl ebx, cl
dec ebx
xor ebx, edx
jmp 0x4045f6
mov ecx, edx
mov byte [edi + 1], dl
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 0x10]
shr ecx, 8
mov byte [edi + 2], cl
add eax, 5
jmp 0x404565
mov edx, eax
push 3
sub edx, dword [ebp - 4]
pop edi
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edi, edx
mov edx, dword [ebp + 0xc]
pop edi
sbb ecx, ecx
pop ebx
not ecx
and ecx, esi
mov dword [edx], ecx
pop esi
leave
ret 0xc
Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x342e6509
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..7LWLf
nop
nop
nop
cmp eax, 0
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x58524422
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401f78
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x404230
call fcn.004020dc
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x405478
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x401d39
cmp eax, esi
jne 0x401d2c
xor esi, esi
inc esi
mov ebx, esi
jmp 0x401d3c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401d13
xor esi, esi
inc esi
mov eax, dword [0x405474]
cmp eax, esi
jne 0x401d4f
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x401d7e
mov eax, dword [0x405474]
test eax, eax
jne 0x401d78
mov dword [0x405474], esi
push 0x4030e4
push 0x4030d8
call fcn.00401c82
pop ecx
pop ecx
test eax, eax
je 0x401d7e
jmp 0x401ea6
mov dword [0x40513c], esi
mov eax, dword [0x405474]
cmp eax, esi
jne 0x401da2
push 0x4030d4
push 0x4030cc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x405474], 2
test ebx, ebx
jne 0x401dae
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x40547c], 0
je 0x401dd2
push 0x40547c
call fcn.00402064
pop ecx
test eax, eax
je 0x401dd2
push 0
push 2
push 0
call dword [0x40547c]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x401e2e
test al, al
je 0x401dec
cmp dword [ebp - 0x1c], 0
jne 0x401e2e
mov al, byte [esi]
test al, al
je 0x401dfc
cmp al, 0x20
ja 0x401dfc
inc esi
mov dword [ebp - 0x20], esi
jmp 0x401dec
test byte [ebp - 0x3c], 1
je 0x401e08
movzx eax, word [ebp - 0x38]
jmp 0x401e0b
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x405138], eax
cmp dword [0x40512c], 0
jne 0x401e82
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x401e3d
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x401e50
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x401dd9
cmp dword [0x40513c], 0
jne 0x401e91
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x405138]
jmp 0x401eb2
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00402121
ret
call fcn.0040220b
jmp 0x401cd9
Function at 0x408a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
jmp 0x40881f
movzx ecx, word [edx + 0x26]
mov esi, dword [edx + 0x28]
nop
xor edi, edi
jmp 0x408836
nop
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jmp 0x40884b
jl 0x408871
nop
jmp 0x40885d
sub al, 0x20
nop
jmp 0x408871
jmp 0x408881
ror edi, 0xd
nop
add edi, eax
nop
dec ecx
nop
jmp 0x408896
jne 0x408836
push edx
push edi
nop
jmp 0x4088ad
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
nop
add eax, edx
mov eax, dword [eax + 0x78]
nop
jmp 0x4088ca
test eax, eax
nop
je 0x408a82
jmp 0x4088e0
jmp 0x4088f1
add eax, edx
jmp 0x408902
push eax
nop
jmp fcn.00408914
pop eax
nop
jmp 0x408a92
pop edi
jmp 0x408aa5
pop edx
nop
jmp 0x408ab9
mov edx, dword [edx]
nop
jmp 0x408ace
jmp 0x408811