joyce8/EMBER2024-capa huggingface dataset:
Function at 0x512b10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x60]
push edi
mov edi, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x34], ebp
cmp byte [edi], 0
je 0x512c1f
mov al, byte [edi]
cmp al, 0x25
jne 0x512be1
mov al, byte [edi + 1]
add edi, 1
cmp al, 0x25
jne 0x512b9b
cmp byte [esi], al
jne 0x512c24
add esi, 1
add edi, 1
jmp 0x512c16
cmp al, 0x30
jb 0x512bd8
cmp al, 0x39
ja 0x512bd8
movzx ebx, al
sub ebx, 0x30
add edi, 1
mov dword [esp + ebx*4 + 0x38], esi
cmp byte [esi], 0
je 0x512bd0
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esi + ebp]
mov eax, edi
call fcn.00512540
test eax, eax
jne 0x512bd0
add ebp, 1
cmp byte [esi + ebp], al
jne 0x512bb5
mov dword [esp + ebx*4 + 0x10], ebp
add esi, ebp
jmp 0x512c14
test al, al
je 0x512c1f
add edi, 1
jmp 0x512c16
cmp dword [esp + 0x68], ebp
je 0x512bf3
cmp byte [esi], al
jne 0x512c24
add esi, 1
add edi, 1
jmp 0x512c16
push esi
call fcn.00522420
push edi
mov ebx, eax
call fcn.00522420
mov ebp, eax
push ebp
push edi
push ebx
push esi
call fcn.00414440
test eax, eax
jne 0x512c24
add esi, ebx
add edi, ebp
xor ebp, ebp
cmp byte [edi], 0
jne 0x512b78
cmp byte [esi], 0
je 0x512c3d
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
push ecx
push edx
call fcn.00523b80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x10
mov eax, dword [esp + 0x6c]
push ebp
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
call fcn.005125f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x10
Function at 0x5194b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x24
push edi
mov edi, dword [esp + 0x2c]
push 0
push edi
call fcn.00516b40
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5194d7
push eax
call fcn.004b7a20
mov dword [edi + 0x28], 0
jmp 0x5194f5
mov eax, dword [0x58a724]
mov ecx, dword [0x58a72c]
push eax
push ecx
push 0x55065e
call fcn.004b71c0
mov dword [edi + 0x28], 1
test eax, eax
mov dword [edi + 0x14], eax
je 0x519709
mov edx, dword [esp + 0x34]
push ebp
or eax, 0xffffffff
push esi
mov esi, dword [0x597e04]
mov dword [edi + 8], eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
push 0x7f00
push 0
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call esi
push eax
push 0
push 0
push 0x5169c0
push str.EVERYTHING_DROPDOWNLIST_BORDER
push 0
call fcn.004aa140
push 0x7f00
push 0
call esi
push eax
push 0
push 0
push 0x5181e0
push str.EVERYTHING_DROPDOWNLIST
push 0
call fcn.004aa140
mov ecx, dword [0x5981b0]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x86000000
push 0x55065e
push str.EVERYTHING_DROPDOWNLIST_BORDER
push 0x88
call fcn.004aa290
mov cl, byte [edi + 0x184]
push 0
mov dword [edi + 0xc], eax
mov edx, dword [0x5981b0]
mov eax, dword [edi + 0x60]
push edx
push 0
push eax
push 0
push 0
neg cl
push 0
push 0
push 0x86200000
push 0x55065e
push str.EVERYTHING_DROPDOWNLIST
sbb ecx, ecx
and ecx, 0x400000
or ecx, 0x88
push ecx
call fcn.004aa290
push edi
push eax
mov dword [edi + 0x10], eax
call fcn.004ac650
mov eax, edi
call fcn.00517a90
cmp dword [edi + 0x18], 0
je 0x5195fd
push edi
call fcn.004c52a0
mov edx, dword [edi + 0xc]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 8
push edx
call esi
mov eax, dword [edi + 0x10]
push 8
push eax
call esi
mov ecx, dword [edi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0x10], 0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [edi], edx
mov dword [edi + 4], eax
je 0x5196dd
mov ebp, dword [0x597e18]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call ebp
test eax, eax
je 0x5196cd
cmp dword [esp + 0x18], 0x12
je 0x5196ff
lea esi, [esp + 0x14]
call fcn.00516bf0
test eax, eax
jne 0x5196e4
cmp dword [esp + 0x18], 0x100
jne 0x519690
cmp dword [esp + 0x1c], 9
je 0x5196eb
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
call dword [0x597de8]
test eax, eax
jle 0x5196f2
lea eax, [esp + 0x14]
push eax
mov eax, edi
call fcn.005186c0
test eax, eax
jne 0x5196d3
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x14]
push edx
call dword [0x597dc4]
jmp 0x5196d3
call dword [sym.imp.USER32.dll_WaitMessage]
cmp dword [edi + 0x10], 0
jne 0x519654
push str.no_search_history_hwnd_n
jmp 0x5196f7
push str.outside_click_n
jmp 0x5196f7
push str.tab_out_n
jmp 0x5196f7
push str.no_getmsg_n
call fcn.0048f080
add esp, 4
push 0
push edi
call fcn.00516b40
pop esi
pop ebp
pop edi
add esp, 0x24
ret 0x10
Function at 0x524f00
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push ebx
push edi
push 1
push eax
xor edi, edi
call fcn.004a9960
mov ebx, eax
cmp ebx, 0xffffffff
je 0x524fad
push esi
lea ecx, [esp + 0xc]
push ecx
push ebx
call fcn.004ab710
test eax, eax
je 0x524fa5
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, edx
or eax, ecx
je 0x524f96
mov eax, edx
add eax, 1
adc ecx, edi
mov esi, eax
or esi, ecx
je 0x524fa5
test ecx, ecx
jg 0x524fa5
jl 0x524f56
cmp eax, 0x80000000
jae 0x524fa5
mov esi, dword [esp + 0x18]
add edx, 1
push edx
push esi
call fcn.005232c0
test eax, eax
je 0x524fa5
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 8]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push edx
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x524fa5
mov eax, dword [esi]
cmp dword [esp + 0x1c], eax
jne 0x524fa5
mov ecx, dword [esi + 8]
mov byte [eax + ecx], 0
jmp 0x524fa0
mov edx, dword [esp + 0x18]
push edx
call fcn.00523cc0
mov edi, 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
add esp, 8
ret 8

Function at 0x529500
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [eax + 0x34]
push ebx
push esi
xor esi, esi
cmp dword [eax + 0x38], esi
lea ebx, [esi + 1]
jle 0x52953a
push ebp
push edi
movzx edi, dl
mov ecx, dword [eax + 0x260]
mov ebp, ecx
shr ebp, 0x18
xor ebp, edi
shl ecx, 8
xor ecx, dword [ebp*4 + 0x596280]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x529514
pop edi
pop ebp
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x5295c2
sub ecx, ebx
je 0x5295a7
sub ecx, ebx
je 0x52959b
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
Function at 0x548f60
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x596fb8]
mov dword [ebp - 4], eax
mov eax, dword [0x58def0]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x548f8f
call eax
cmp eax, ebx
mov dword [ebp - 0x528], eax
jne 0x54911c
push dword [0x596f20]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x528], eax
je 0x54911c
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x548fc7
mov byte [ebp - 0x41c], bl
push esi
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x548fdf
mov byte [ebp - 0x524], bl
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x528]
call edi
test eax, eax
jne 0x549000
mov byte [ebp - 0x10c], bl
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call edi
test eax, eax
pop edi
jne 0x54901d
mov byte [ebp - 0x214], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00548ec3
lea eax, [ebp - 0x52c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x549040
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0x314]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x549054
sub eax, esi
add eax, ecx
mov byte [ebp + eax - 0x213], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00548ec3
lea eax, [ebp - 0x52c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x549089
sub eax, ecx
lea ecx, [ebp - 0x314]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x54909b
sub ecx, esi
add ecx, eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x524]
push eax
mov byte [ebp + ecx - 0x10b], bl
call fcn.00548df4
test eax, eax
pop esi
jne 0x5490dc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.00548df4
test eax, eax
jne 0x54910a
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.00548df4
test eax, eax
jne 0x54911c
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.00548df4
test eax, eax
je 0x54911c
push dword [ebp - 0x528]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x528], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x528]
pop ebx
call fcn.0054962d
leave
ret

Function at 0x54962d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x596fb8]
jne 0x549637
repz ret
jmp fcn.0054a88e
Function at 0x54c990
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x5972f0]
je 0x54c9ab
inc edi
cmp edi, 0x17
jb 0x54c99c
cmp edi, 0x17
jae 0x54cb2b
push ebp
push 3
call fcn.0054ec60
cmp eax, 1
pop ecx
je 0x54caf7
push 3
call fcn.0054ec60
test eax, eax
pop ecx
jne 0x54c9df
cmp dword [0x596fc0], 1
je 0x54caf7
cmp ebx, 0xfc
je 0x54cb2a
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x598868
push ebp
call fcn.0054ebfb
add esp, 0xc
test eax, eax
je 0x54ca15
push esi
push esi
push esi
push esi
push esi
call fcn.0054bb15
add esp, 0x14
push 0x104
mov esi, 0x598881
push esi
push 0
mov byte [0x598985], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x54ca59
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0054ebfb
add esp, 0xc
test eax, eax
je 0x54ca59
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0054bb15
add esp, 0x14
push esi
call fcn.0054eb70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x54ca9e
push esi
call fcn.0054eb70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x598b7c
push 0x56fb0c
sub ecx, eax
push ecx
push eax
call fcn.0054eabb
add esp, 0x14
test eax, eax
je 0x54ca9e
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0054bb15
add esp, 0x14
jmp 0x54caa0
xor esi, esi
push 0x586ff0
push ebx
push ebp
call fcn.0054ea4a
add esp, 0xc
test eax, eax
je 0x54cac0
push esi
push esi
push esi
push esi
push esi
call fcn.0054bb15
add esp, 0x14
push dword [edi*8 + 0x5972f4]
push ebx
push ebp
call fcn.0054ea4a
add esp, 0xc
test eax, eax
je 0x54cae2
push esi
push esi
push esi
push esi
push esi
call fcn.0054bb15
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0054e88d
add esp, 0xc
jmp 0x54cb2a
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x54cb2a
cmp ebp, 0xffffffff
je 0x54cb2a
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x5972f4]
push dword [esi]
call fcn.0054eb70
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x55b5aa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x65c788]
jne 0x55b5b4
repz ret
jmp fcn.0055e29c

Function at 0x55fd7f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0055b6ac
and dword [ebp - 4], 0
cmp dword [0x65e96c], 0
mov ebx, eax
jne 0x55fe30
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x55fee1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x55fee1
push eax
call fcn.0055b63a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x65e96c], eax
call esi
push eax
call fcn.0055b63a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x65e970], eax
call esi
push eax
call fcn.0055b63a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x65e974], eax
call esi
push eax
call fcn.0055b63a
pop ecx
mov dword [0x65e97c], eax
test eax, eax
je 0x55fe30
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0055b63a
pop ecx
mov dword [0x65e978], eax
mov eax, dword [0x65e978]
cmp eax, ebx
je 0x55fe88
cmp dword [0x65e97c], ebx
je 0x55fe88
push eax
call fcn.0055b6b5
push dword [0x65e97c]
mov esi, eax
call fcn.0055b6b5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x55fe88
test edi, edi
je 0x55fe88
call esi
test eax, eax
je 0x55fe7f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x55fe7f
test byte [ebp - 0xc], 1
jne 0x55fe88
or dword [ebp + 0x10], 0x200000
jmp 0x55fec1
mov eax, dword [0x65e970]
cmp eax, ebx
je 0x55fec1
push eax
call fcn.0055b6b5
pop ecx
test eax, eax
je 0x55fec1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x55fec1
mov eax, dword [0x65e974]
cmp eax, ebx
je 0x55fec1
push eax
call fcn.0055b6b5
pop ecx
test eax, eax
je 0x55fec1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x65e96c]
call fcn.0055b6b5
pop ecx
test eax, eax
je 0x55fee1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x55fee3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x560c15
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x65c204], 0x115f
mov dword [ebp - 0x10], eax
call fcn.00562183
mov ecx, eax
mov dword [0x65c208], 0x25db
mov edx, dword [eax + 0x3c]
mov dword [0x65c204], 0x6a9
mov dword [0x65c208], 0x500
mov eax, dword [eax + edx + 0x78]
mov edx, eax
add edx, 0x20
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add ecx, dword [ecx + edx]
mov dword [0x65c208], 0xfffff998
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [esi + edi + 0x24]
mov dword [0x65c204], 0xffffffc8
mov edx, dword [esi + edi + 0x18]
cmp edx, 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x560dac
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add ecx, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x14]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x560d2b
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x560cda
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x560d7f
jmp 0x560d34
mov dword [0x65c204], 0xfcc
mov eax, dword [ebp - 0x38]
add eax, 1
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x24]
cmp eax, edx
setb bl
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov byte [ebp - 0x55], bl
xor eax, eax
mov cl, byte [ebp - 0x55]
test cl, 1
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
jne 0x560cc0
jmp 0x560dac
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [0x65c204], 0x203
mov dword [0x65c208], 0x1ed
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x2c]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x560db7
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov dword [0x65c204], 0x149c
mov dword [ebp - 8], 0
mov dword [0x65c208], 0xd70
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x65c204], 0x1029
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x65c208]
add esi, 0xffffef39
mov dword [0x65c208], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
jmp 0x560e3e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [0x65c204], 0x2389
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x560e8c
jmp 0x560f30
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], esi
je 0x560e17
mov dword [0x65c208], 0x1e90
mov eax, 0x1e90
mov ecx, dword [ebp - 0x2c]
add ecx, 1
cmp ecx, 0x104
mov edx, eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], ecx
jl 0x560e3e
jmp 0x560e17
mov eax, dword [ebp - 0x28]
add eax, 0xffffea0e
mov dword [0x65c204], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x560f30
mov dword [0x65c204], 0xb97
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x560f30
mov dword [0x65c204], 0x6fe
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x560f30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x560f30
mov dword [0x65c204], 0x1582
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x560f30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x2e], dx
mov eax, 1
mov ecx, 0x423
mov dx, word [ebp - 0x2e]
cmp dx, 0x6c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x560f3f
xor eax, eax
mov ecx, 0x250b
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jmp 0x560f3f
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [0x65c204], eax
mov eax, ecx
add esp, 0x34
pop esi
pop ebp
ret
Function at 0x561517
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x65c210], 0
mov byte [0x65c214], 0
mov dword [0x65c204], 0x154f
mov dword [0x65c208], 0x2f
mov dword [0x65c20c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x65c204], 0x198
mov eax, dword [0x65c20c]
add eax, 1
mov dword [0x65c20c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x561566
xor eax, eax
mov dword [0x65c208], 0x2124
mov dword [0x65c20c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x65c218], 0
mov edx, dword [0x65c210]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x65c218], edi
mov dword [0x65c208], 0xfa3
mov eax, edi
cdq
idiv ecx
mov dword [0x65c210], edx
mov dword [0x65c204], 0x1fab
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x65c214], cl
mov dword [0x65c204], 0x291
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x65c214]
mov edx, dword [0x65c210]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x65c204], 0x2472
mov edx, dword [0x65c20c]
add edx, 1
mov dword [0x65c20c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x5615af
mov dword [0x65c204], 0xdd5
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5617d6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [0x65c204], 0x8fa
mov dword [0x65c208], 0xd98
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x60fb44]
mov dl, byte [eax + str.RRzo_]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x561801
lea eax, [ebp - 0x20]
mov dword [0x65c208], 0x238
mov dword [0x65c204], 0xfffffc53
mov dword [ebp - 0x30], eax
call fcn.00561971
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.00561a58
xor ecx, ecx
mov dword [0x65c204], 0x269b
mov dword [0x65c208], 0x189f
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x561937
mov eax, dword [ebp - 0x34]
mov dword [0x65c208], 0x4f9
mov dword [0x65c204], 0xecb
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x65c204], 0x23d8
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.005613c1
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [0x65c208], 0xfffffa52
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x2c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx], ecx
mov dword [0x65c204], 0x3483
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x561937
mov eax, dword [ebp - 0x3c]
add eax, 0x162b
mov dword [ebp - 0x40], eax
mov dword [0x65c204], 0x36b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret