joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a5e7c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4a5e93
add esp, 0xfffffff0
call fcn.00404434
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00429354
mov eax, dword [0x628d1c]
cmp word [eax + 2], 0
jne 0x4a5ebb
mov eax, dword [0x628d1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a75fc
mov eax, dword [0x628fe4]
cmp word [eax + 2], 0
jne 0x4a5ed5
mov eax, dword [0x628fe4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a77f4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41db2c]
call fcn.004040a0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41db2c]
call fcn.004040a0
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42c078]
call fcn.004345dc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4a605c
mov eax, dword [0x628990]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004349ac
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a7da4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x628990]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ff60
test eax, eax
je 0x4a5fca
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040b364
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ff88
test eax, eax
je 0x4a5fde
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004051e8
mov eax, dword [0x628478]
cmp byte [eax], 0
jne 0x4a6012
mov eax, ebx
call fcn.004a6184
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004a7f80
mov eax, ebx
call fcn.004a8968
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a6052
call fcn.0040448c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6404
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x62ac18]
cmp dword [eax + 0x30], 0
je 0x4a64ae
cmp dword [ebx + 0x94], 0
jne 0x4a64a8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a6394
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a64a8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4a646e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a64a8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00420574
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a647d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a7010
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4a7045
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405058
jmp 0x4a7052
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404fbc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4a815c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a819d
mov eax, esi
call fcn.0048bef0
test al, al
je 0x4a819d
mov eax, dword [ebx + 0x84]
call fcn.0048bbec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a819d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048bbec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4af694
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41d064]
call fcn.00405ccc
xor eax, eax
push ebp
push 0x4af7d8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6236b4], 0
jne 0x4af6e7
mov ecx, dword [0x6284ec]
mov dl, 1
mov eax, dword [0x409030]
call fcn.0040f100
call fcn.00404960
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403378
mov eax, ebx
call fcn.004058f4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4af7e8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004070f8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405904
test eax, eax
jle 0x4af77f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4af778
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00405200
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004051e8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409fd8
test eax, eax
jne 0x4af778
mov ebx, 0x15
jmp 0x4af784
mov ebx, 0x10
jmp 0x4af784
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x6236b4]
call fcn.004af590
mov eax, dword [ebp - 8]
call fcn.004af590
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00407110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af7df
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404f8c
lea eax, [ebp - 0x10]
mov edx, dword [0x41d064]
call fcn.00405d9c
ret
Function at 0x4c7174
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c73d4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4c71d7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004c6c3c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040fa48
cmp al, 1
jne 0x4c71d7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004c6f54
test al, al
je 0x4c7363
cmp dword [ebp - 8], 0
jge 0x4c71f5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004c6c3c
mov eax, dword [ebp - 0x210]
call fcn.00405238
cmp ebx, eax
jge 0x4c723f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004c6c3c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x62952c]
and eax, 0xff
bt dword [edx], eax
jae 0x4c723f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4c7253
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004c7150
cmp ebx, dword [ebp - 8]
je 0x4c7355
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4c727f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004042cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x623904]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4c7342
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004042cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x623904]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0048bbec
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004042cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x623904]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0048bbec
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7349
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4c73b6
cmp dword [ebp - 8], 0
jge 0x4c736e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004c6c3c
mov eax, dword [ebp - 0x218]
call fcn.00405238
cmp eax, dword [ebp - 8]
jg 0x4c73a8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004c6c3c
mov eax, dword [ebp - 0x21c]
call fcn.00405238
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004c7150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c73db
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404f8c
ret
Function at 0x4ed4d3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x62459e
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4ed52b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x6245bf
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4ed521
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4ed52f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x5113e4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x511428
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.0040b584
add esp, 0x200
pop ebx
ret

Function at 0x520044
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5200b5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x624b58]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x52009f
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00520034
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x51fe40]
call fcn.005200dc
mov dword [0x624bbc], eax
mov eax, dword [ebp - 4]
call fcn.0051ffe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5200bc
lea eax, [ebp - 8]
call fcn.004070f8
ret

Function at 0x520674
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x520699
cmp dword [esp + 4], 5
jb 0x520699
mov al, 1
jmp 0x52069b
xor eax, eax
add esp, 0x94
ret
Function at 0x5350d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405438
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x5350ed
test al, 0x10
jne 0x5350f1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x5351fc
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
xor edx, edx
mov dword [ebp - 0x208], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x535279
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x200
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x204]
push eax
call sub.advapi32.dll_GetUserNameA
push ebx
lea eax, [ebp - 0x208]
lea edx, [ebp - 0x204]
mov ecx, 0x200
call fcn.00405058
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 4]
dec ecx
mov edx, 1
call fcn.00405498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x535280
lea eax, [ebp - 0x208]
call fcn.00404f68
ret
Function at 0x538c00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x538d7d
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
jne 0x538cb5
lea eax, [ebp - 0x109]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x20e]
push eax
push 0
push 0x538d90
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.004051e8
mov eax, dword [ebp - 0x214]
call fcn.0040b010
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.004051e8
mov eax, dword [ebp - 0x218]
mov ecx, ebx
xor edx, edx
call fcn.0040b0a8
jmp 0x538ced
lea edx, [ebp - 0x21c]
mov eax, edi
call fcn.0040b13c
push dword [ebp - 0x21c]
push 0x538d9c
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 4]
call fcn.0040a818
push dword [ebp - 0x220]
mov eax, ebx
mov edx, 3
call fcn.004052f8
mov eax, esi
call fcn.00430300
test eax, eax
je 0x538d06
mov eax, ebx
mov edx, 0x538da8
call fcn.00405240
jmp 0x538d5f
mov eax, esi
call fcn.00430330
test eax, eax
je 0x538d3a
mov eax, esi
call fcn.00430330
cmp byte [eax + 0x2c], 0
je 0x538d2c
mov eax, ebx
mov edx, 0x538db8
call fcn.00405240
jmp 0x538d5f
mov eax, ebx
mov edx, 0x538dc8
call fcn.00405240
jmp 0x538d5f
mov eax, esi
call fcn.00430318
test eax, eax
je 0x538d53
mov eax, ebx
mov edx, 0x538dd8
call fcn.00405240
jmp 0x538d5f
mov eax, ebx
mov edx, 0x538da8
call fcn.00405240
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x538d84
lea eax, [ebp - 0x220]
mov edx, 4
call fcn.00404f8c
ret

Function at 0x53c74c
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
mov al, byte [ebx + 0xc8]
dec al
je 0x53c75f
dec al
je 0x53c77f
jmp 0x53c78e
push 1
push 0
push 0
mov eax, dword [ebx + 0xe0]
call fcn.00405438
push eax
push 0x53c790
push 0
call sub.shell32.dll_ShellExecuteA
pop ebx
ret
xor ecx, ecx
mov edx, dword [ebx + 0xe0]
mov eax, ebx
call fcn.0053bbcc
pop ebx
ret
Function at 0x5549ac
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405428
xor eax, eax
push ebp
push 0x554a3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00405238
mov esi, eax
add esi, 2
mov eax, dword [edi + 0x30]
call fcn.00554b0c
mov ebx, eax
mov eax, dword [edi + 0x38]
add eax, esi
cmp ebx, eax
jge 0x554a0d
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x34]
call fcn.00420418
xor eax, eax
mov dword [edi + 0x38], eax
cmp ebx, esi
jge 0x554a24
mov eax, dword [edi + 0x34]
mov edx, ebx
call fcn.00420418
mov eax, ebx
dec eax
sub esi, eax
cmp ebx, esi
jl 0x554a11
add dword [edi + 0x38], esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x554a44
lea eax, [ebp - 4]
call fcn.00404f68
ret

Function at 0x563ed4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405438
push eax
call sub.kernel32.dll_GetFileAttributesA
test eax, eax
jns 0x563ef0
call fcn.00404008
cmp eax, 0xffffffff
je 0x563ef9
test al, 0x10
jne 0x563efe
xor eax, eax
pop ebx
pop ebp
ret
mov al, 1
pop ebx
pop ebp
ret
Function at 0x578cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, eax
lea edi, [ebp - 0x21]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
lea edi, [ebp - 0x10]
xor eax, eax
push ebp
push 0x578e0b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x578e24
call fcn.00405000
mov ebx, dword [ebp - 4]
test ebx, ebx
jle 0x578d2b
mov dword [edi], 1
lea eax, [ebp - 0xc]
mov edx, 0x578e30
call fcn.00405240
inc dword [edi]
dec ebx
jne 0x578d19
mov al, byte [ebp - 0x21]
test al, 0xc0
je 0x578d53
test al, 0x80
jne 0x578d53
lea eax, [ebp - 0xc]
call fcn.00405490
mov byte [eax], 0x2d
xor eax, eax
mov dword [edi], eax
lea eax, [ebp - 0x20]
xor byte [eax], 0xff
inc dword [edi]
inc eax
cmp dword [edi], 0x10
jne 0x578d48
mov ebx, 2
xor eax, eax
mov dword [edi], eax
lea esi, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00405238
cmp ebx, eax
jg 0x578d81
lea eax, [ebp - 0xc]
call fcn.00405490
xor edx, edx
mov dl, byte [esi]
shr edx, 4
add dl, 0x30
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, dword [ebp - 0xc]
call fcn.00405238
cmp ebx, eax
jg 0x578da2
lea eax, [ebp - 0xc]
call fcn.00405490
mov dl, byte [esi]
and dl, 0xf
add dl, 0x30
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [edi]
inc esi
cmp dword [edi], 0x10
jne 0x578d5f
mov al, byte [ebp - 0x21]
and al, 0x3f
and eax, 0xff
mov edx, dword [ebp - 4]
add edx, 2
sub edx, eax
mov dword [edi], edx
cmp dword [edi], 1
jl 0x578ddf
mov eax, dword [ebp - 0xc]
call fcn.00405238
cmp eax, dword [edi]
jl 0x578ddf
lea edx, [ebp - 0xc]
mov ecx, dword [edi]
mov eax, 0x578e3c
call fcn.00405520
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.00403ae0
mov eax, dword [ebp - 8]
fstp qword [eax]
wait
cmp dword [edi], 0
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x578e12
lea eax, [ebp - 0xc]
call fcn.00404f68
ret
Function at 0x58894c
Capabilities:
Encode data using xor

Disassembly:
push ebx
movzx ecx, cx
shr ecx, 1
dec ecx
test ecx, ecx
jl 0x588968
inc ecx
mov bx, word [eax + 0xb8]
xor word [edx], bx
add edx, 2
dec ecx
jne 0x588958
pop ebx
ret

Function at 0x588998
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov edx, dword [ebp + 8]
add edx, 0xfffffffc
mov al, 2
xor ecx, ecx
mov cl, al
mov ebx, dword [edx]
add ebx, 0xcc
mov esi, dword [edx]
mov si, word [esi + 0xb8]
xor word [ebx + ecx*2], si
inc eax
cmp al, 0x2a
jne 0x5889a5
pop esi
pop ebx
pop ebp
ret
Function at 0x58fccc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov esi, eax
xor eax, eax
push ebp
push 0x58feb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x188]
mov eax, dword [eax + 0xa8]
mov edx, dword [esi + 0x174]
call fcn.005794e4
mov ebx, eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jl 0x58fe9a
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x120]
call fcn.00566fd0
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x74], 0
jle 0x58fda6
mov edx, dword [ebx + 0x30]
mov ecx, dword [edx + 0x14]
mov eax, dword [esi + 0x74]
cmp ecx, eax
jg 0x58fd49
cmp eax, dword [edx + 0x1c]
jg 0x58fda6
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [ebx + 0x30]
call fcn.00420574
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
call fcn.0057900c
mov edi, eax
test edi, edi
je 0x58fd8a
lea edx, [ebp - 0x18]
lea eax, [edi + 8]
call fcn.0041969c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add eax, 0xc
call fcn.00404fbc
mov al, byte [edi + 0x18]
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x20], al
jmp 0x58fdc0
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
inc eax
call fcn.00578bbc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
add eax, 0xc
call fcn.00404fbc
jmp 0x58fdc0
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
inc eax
call fcn.00578bbc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
add eax, 0xc
call fcn.00404fbc
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x14], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x90]
test al, al
je 0x58fe6b
mov eax, dword [esi + 0x74]
mov edx, eax
sub edx, eax
jl 0x58fe6b
inc edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], eax
mov edi, dword [ebx + 0x30]
mov eax, dword [edi + 0x14]
cmp eax, dword [ebp - 8]
jle 0x58fe6b
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00420574
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
call fcn.0057900c
mov edi, eax
test edi, edi
je 0x58fe63
lea eax, [edi + 8]
call fcn.004195c0
movzx eax, ax
cmp eax, 2
je 0x58fe28
cmp eax, 3
jne 0x58fe31
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x14], 1
jmp 0x58fe63
cmp eax, 4
je 0x58fe40
cmp eax, 5
je 0x58fe40
cmp eax, 6
jne 0x58fe49
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x14], 2
jmp 0x58fe63
cmp eax, 7
jne 0x58fe57
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x14], 3
jmp 0x58fe63
cmp eax, 0xb
jne 0x58fe63
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x14], 6
inc dword [ebp - 8]
dec dword [ebp - 0x14]
jne 0x58fded
mov edi, dword [ebx + 0x38]
mov eax, dword [edi + 8]
cmp eax, dword [ebp - 4]
jle 0x58fe8e
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00420574
mov ecx, 0xe6
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], eax
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x58fd23
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58febc
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404f8c
ret