joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5dd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [0x4fef70]
cmp dword [eax], 2
jne 0x4b5dfb
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 5
jae 0x4b5e07
mov dword [ebp - 0xc], 1
jmp 0x4b6012
push 0x4b6020
call sub.kernel32.dll_GetModuleHandleW_2
mov esi, eax
push 0x4b603c
push esi
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
push 0x4b6054
push esi
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
push 0x4b606c
push esi
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x14], eax
test edi, edi
je 0x4b5e4c
cmp dword [ebp - 0x10], 0
je 0x4b5e4c
cmp dword [ebp - 0x14], 0
jne 0x4b5e58
mov dword [ebp - 0xc], 0x7f
jmp 0x4b6012
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call edi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b6012
xor edx, edx
push ebp
push 0x4b600b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 0xc]
shl eax, 5
call fcn.00403000
mov dword [ebp - 0x24], eax
mov esi, ebx
mov edi, dword [ebp + 0xc]
dec edi
test edi, edi
jl 0x4b5f47
inc edi
xor ebx, ebx
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push eax
movzx eax, byte [esi + 6]
push eax
push esi
call fcn.00409358
test eax, eax
jne 0x4b5efc
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b5ef2
mov dword [ebp - 0xc], 0x57
call fcn.00404b68
jmp 0x4b6012
mov eax, ebx
add eax, eax
add eax, eax
mov edx, dword [ebp - 0x24]
mov ecx, dword [esi + 0x10]
mov dword [edx + eax*8], ecx
mov edx, dword [ebp - 0x24]
mov dword [edx + eax*8 + 4], 1
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [edx + eax*8 + 8], ecx
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov dword [edx + eax*8 + 0x14], ecx
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov dword [edx + eax*8 + 0x18], ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax*8 + 0x1c], ecx
add esi, 0x14
inc ebx
dec edi
jne 0x4b5eb6
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b5f6d
call fcn.00404b68
jmp 0x4b6012
xor eax, eax
push ebp
push 0x4b5fb1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0
push 4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5fb8
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_LocalFree
ret
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4bc398
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
xor edx, edx
mov dword [ebp - 0x25c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bc46a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x25c]
mov eax, ebx
call fcn.0047dce4
lea eax, [ebp - 0x25c]
mov edx, 0x4bc488
call fcn.00406844
mov eax, dword [ebp - 0x25c]
call fcn.004064d4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4bc451
xor eax, eax
push ebp
push 0x4bc44a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.004bc348
test al, al
je 0x4bc41f
mov byte [ebp - 1], 1
jmp 0x4bc433
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x4bc40a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc451
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc471
lea eax, [ebp - 0x25c]
call fcn.00406438
ret

Function at 0x4bc9c8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
test dl, dl
je 0x4bc9dc
add esp, 0xfffffff0
call fcn.004044d0
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.0045db1c
mov eax, dword [0x4bca80]
not eax
and eax, dword [esi + 0x50]
mov dword [esi + 0x50], eax
mov edx, 0x79
mov eax, esi
call fcn.0045a1ac
mov edx, 0x61
mov eax, esi
call fcn.0045a1e0
xor edx, edx
mov eax, esi
call fcn.0045ad28
mov dl, 1
mov eax, esi
call fcn.00463740
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 6
jae 0x4bca3b
mov dx, 0xfffe
mov eax, esi
call fcn.0045ad70
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x5c
push 0x1f
call sub.user32.dll_SystemParametersInfoW
test eax, eax
je 0x4bca61
lea eax, [ebp - 0x5c]
push eax
call sub.gdi32.dll_CreateFontIndirectW
mov edx, eax
mov eax, dword [esi + 0x64]
call fcn.00430a60
mov eax, esi
test bl, bl
je 0x4bca76
call fcn.00404528
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d3f1c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov dword [ebp - 0x12], eax
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0xe], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [ebp - 0xa], eax
call fcn.004d3df0
lea eax, [ebp - 0x12]
push eax
push 0
push 0x4a
mov eax, dword [0x504cb8]
push eax
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, dword [esi]
xor edx, edx
mov dword [esi], edx
call fcn.00404098
cmp ebx, 0x6c840001
jne 0x4d3f6f
call fcn.00411a58
mov eax, ebx
and eax, 0xffff0000
cmp eax, 0x6c830000
je 0x4d3f93
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4d4048
call fcn.004ab310
mov word [ebp - 6], bx
xor esi, esi
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
call dword [ebp - 4]
call sub.kernel32.dll_GetTickCount_1
mov edx, eax
sub edx, ebx
cmp edx, 0xa
jb 0x4d3feb
mov ebx, eax
mov edx, 1
movzx eax, word [ebp - 6]
call fcn.004d3e70
mov esi, eax
mov eax, esi
sub ax, 2
je 0x4d3feb
dec eax
sub ax, 2
jb 0x4d3fff
movzx eax, si
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4d40a8
call fcn.004ab310
push 0xff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x4d3fa0
mov edx, 2
movzx eax, word [ebp - 6]
call fcn.004d3e70
movzx ebx, ax
mov edx, 3
movzx eax, word [ebp - 6]
call fcn.004d3e70
movzx eax, ax
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp si, 3
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4d46be
mov eax, dword [esp + 0x2000]
add esp, 4
mov edi, edx
mov esi, eax
push 0x4d4774
push 0x4d47a8
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409600
mov ebx, eax
test ebx, ebx
je 0x4d475d
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4d475d
test al, 0x10
je 0x4d470e
mov ebp, 0x2000000
jmp 0x4d4710
xor ebp, ebp
push 0
push ebp
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_CreateFileW
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4d475d
push 0
push 0x1000
lea eax, [esp + 8]
push eax
push ebp
call ebx
mov ebx, eax
push ebp
call fcn.004093f0
test ebx, ebx
jle 0x4d475d
cmp ebx, 0xff0
jge 0x4d475d
mov edx, edi
mov eax, esp
call fcn.004d45cc
jmp 0x4d4766
mov eax, edi
mov edx, esi
call fcn.00406448
add esp, 0x2000
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d47c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x20c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d4857
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW_1
mov ebx, eax
test ebx, ebx
jle 0x4d482b
cmp ebx, 0x104
jge 0x4d482b
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.00406630
mov eax, dword [ebp - 0x20c]
mov edx, esi
call fcn.004d46b4
jmp 0x4d483e
mov eax, 0x4d4870
call fcn.004ab4c0
mov eax, esi
xor edx, edx
call fcn.00406448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d485e
lea eax, [ebp - 0x20c]
call fcn.00406438
ret

Function at 0x4d4af4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d4bc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4d4358]
call fcn.004d4bec
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d4b9c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4d4bdc
call fcn.0040e38c
mov edx, dword [ebp - 8]
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
call fcn.0047b97c
call fcn.004d43c0
call sub.user32.dll_GetFocus
mov edx, dword [0x4fed7c]
mov edx, dword [edx]
cmp eax, dword [edx + 0x170]
jne 0x4d4b7f
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4d4b86
call sub.user32.dll_WaitMessage
jmp 0x4d4b59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4ba3
mov eax, dword [ebp - 4]
call fcn.00404098
ret

Function at 0x4dc4fc
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x504fd1], 1
call fcn.004ad6e0
test al, al
jne 0x4dc54e
push 5
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov eax, dword [0x4fed8c]
mov eax, dword [eax + 0x108]
mov cl, 2
xor edx, edx
call fcn.004dc3e0
ret

Function at 0x4df714
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x4df739
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e1180
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x4e11ac
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jae 0x4e11b5
call fcn.004e0180
mov eax, 0xa
call fcn.004804f8
call fcn.004e0180
call fcn.004e114c
test al, al
jne 0x4e118a
pop ebx
ret

Function at 0x4e16bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x4fe954]
cmp dword [eax], 0
je 0x4e1767
mov eax, dword [0x4fe954]
mov eax, dword [eax]
call fcn.00463810
test al, al
je 0x4e1767
mov eax, dword [0x4fe954]
mov eax, dword [eax]
cmp byte [eax + 0x1e2], 0
je 0x4e1711
cmp byte [ebx + 0x389], 0
jne 0x4e1711
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e1715
xor eax, eax
jmp 0x4e1717
mov al, 1
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [0x4fe954]
mov eax, dword [eax]
call fcn.00463464
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x4e1767
test bl, bl
je 0x4e1753
push 5
mov eax, dword [0x4fe954]
mov eax, dword [eax]
call fcn.00463464
push eax
call sub.user32.dll_ShowWindow
jmp 0x4e1767
push 0
mov eax, dword [0x4fe954]
mov eax, dword [eax]
call fcn.00463464
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4e1818
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov byte [0x504f8c], 0
push 0x4e18f0
call sub.kernel32.dll_GetModuleHandleW_2
mov ebx, eax
push 0x4e190c
push ebx
call fcn.00409600
test eax, eax
je 0x4e18a4
lea edx, [esp + 4]
push edx
call eax
push 0x4e1934
push ebx
call fcn.00409600
mov esi, eax
test esi, esi
je 0x4e18ae
push esp
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x4e18ae
cmp dword [esp], 0
je 0x4e18ae
call fcn.004aa728
test al, al
je 0x4e18ae
push 0x4e1954
push ebx
call fcn.00409600
test eax, eax
je 0x4e18ae
push 0x4e1988
push 0x4e19a8
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409600
test eax, eax
je 0x4e18ae
mov byte [0x504f8c], 1
jmp 0x4e18ae
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo_1
movzx eax, word [esp + 4]
sub ax, 1
jb 0x4e18c7
sub ax, 5
je 0x4e18d0
sub ax, 3
je 0x4e18d9
jmp 0x4e18e2
mov byte [0x4fe4b4], 1
jmp 0x4e18e9
mov byte [0x4fe4b4], 3
jmp 0x4e18e9
mov byte [0x4fe4b4], 2
jmp 0x4e18e9
mov byte [0x4fe4b4], 0
add esp, 0x28
pop esi
pop ebx
ret
Function at 0x4e1c30
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffdd0
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4e1cdf
movzx eax, byte [esp + 4]
shl eax, 0x18
movzx edx, byte [esp + 8]
shl edx, 0x10
or eax, edx
movzx edx, word [esp + 0xc]
or eax, edx
mov dword [0x504f9c], eax
cmp byte [0x504f8b], 0
je 0x4e1cdf
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x4e1cd0
mov dword [esp + 0x114], 0x11c
lea eax, [esp + 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4e1cdf
movzx eax, byte [esp + 0x228]
shl eax, 8
movzx edx, byte [esp + 0x22a]
or ax, dx
mov word [0x504fa0], ax
movzx eax, byte [esp + 0x22e]
mov byte [0x504fa2], al
movzx eax, word [esp + 0x22c]
mov word [0x504fa4], ax
jmp 0x4e1cdf
cmp eax, 4
jne 0x4e1cdf
call fcn.004e19c4
call fcn.004e1aa0
add esp, 0x230
ret

Function at 0x4f6350
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f63f8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f6414
push ebx
push 0x4f6424
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004069e8
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403540
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4f63d6
mov eax, dword [0x4fed8c]
mov eax, dword [eax + 0x188]
call fcn.004f62a8
mov eax, dword [ebp - 0x54]
push eax
call fcn.004093f0
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f63ff
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x4f6d98
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f6f86
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0047f214
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004ab8d0
test al, al
jne 0x4f6e05
xor eax, eax
push ebp
push 0x4f6dfb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.004abc6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f6e05
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
mov eax, dword [0x50507c]
call fcn.004064d4
push eax
call fcn.00409410
test eax, eax
jne 0x4f6e34
mov eax, dword [0x4fed8c]
mov eax, dword [eax + 0x184]
call fcn.004f62a8
push 0x80
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x501b50]
push eax
push 0
mov ecx, 0x4f6f94
mov edx, 0x4f6f98
xor eax, eax
call fcn.0040a0fc
mov dword [ebp - 8], eax
push 0x4f6468
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x5050a8], eax
xor eax, eax
push ebp
push 0x4f6f4f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.0047ec9c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4f6fb4
call fcn.0040e38c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.0047eb7c
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00406844
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004f6350
mov dword [ebp - 0xc], eax
call fcn.004f642c
test al, al
jne 0x4f6f2f
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4f6f0d
mov eax, dword [ebp - 0xc]
push eax
call fcn.004093f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6f56
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x4f2dc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6bcb60]
xor edx, edx
cmp eax, edx
jne 0x4f2de6
xor eax, eax
mov byte [eax + 0x6bca60], al
inc eax
cmp eax, 0x100
jl 0x4f2dce
mov dword [0x6bcb60], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6bca60
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4f2e77
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4f2e4a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4f2e18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4f2e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4f2ed3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4f2eba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f7170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x4f7391
cmp eax, 8
jg 0x4f7391
cmp dword [esp + 0x8c], 2
jl 0x4f7391
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x4f7391
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x4f7391
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4f71f7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x4f737a
mov ebp, dword [0x59b52c]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x4f7229
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x4f7361
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x4f7249
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x59b518]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4f7288
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x59b520]
lea ecx, [esp + 0x28]
push ecx
call dword [0x59b56c]
test eax, eax
jne 0x4f7348
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.004f6780
cmp eax, 1
jne 0x4f7372
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004f7030
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x4f723d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x4f737a
jmp 0x4f7214
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.004f6380
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c