joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5110e8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x51131d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004090d8
mov dword [ebx + 0x108], eax
cmp dword [ebx + 0x68], 1
jg 0x511129
mov ecx, 0x511338
mov dl, 1
mov eax, dword [0x40b188]
call fcn.00413be4
call fcn.00404e1c
mov byte [ebx + 0xd0], 0
mov byte [ebx + 0xd1], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
call fcn.004090d8
mov dword [ebx + 0x80], eax
call fcn.00410a48
fstp qword [ebx + 0x88]
wait
xor eax, eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x78]
mov eax, dword [ebx + 0x58]
call fcn.00407980
mov esi, eax
dec esi
test esi, esi
jl 0x5111b6
inc esi
xor edi, edi
mov eax, dword [ebx + 0x58]
lea eax, [eax + edi*4]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00404364
inc edi
dec esi
jne 0x51119f
push 1
lea eax, [ebx + 0x58]
mov ecx, 1
mov edx, dword [0x510a60]
call fcn.00407b48
add esp, 4
mov ecx, ebx
mov dl, 1
mov eax, dword [0x51088c]
call fcn.00507da0
mov esi, eax
mov eax, dword [ebx + 0x58]
mov dword [eax], esi
xor eax, eax
mov dword [esi + 0x388], eax
lea eax, [esi + 0xe0]
mov edx, dword [ebx + 0xa8]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x8c
mov edx, dword [ebx + 0xac]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x90
mov edx, dword [ebx + 0xb0]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x84
mov edx, dword [ebx + 0xb4]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x88
mov edx, dword [ebx + 0xb8]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x1bc
mov edx, dword [ebx + 0xbc]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x1c4
mov edx, dword [ebx + 0xc4]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x1c0
mov edx, dword [ebx + 0xc0]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
mov dword [eax + 0x31c], ebx
mov dword [eax + 0x318], 0x5113d4
mov dword [eax + 0x2b4], ebx
mov dword [eax + 0x2b0], 0x5116d4
movzx edx, byte [ebx + 0xc8]
mov byte [eax + 0x25a], dl
call fcn.0050f138
xor ecx, ecx
mov edx, 0x51137c
mov eax, ebx
call fcn.0051109c
mov eax, dword [ebx + 0x58]
call fcn.00407980
lea edx, [ebp - 8]
call fcn.0040d2c8
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x5113a8
call fcn.004067b4
mov eax, dword [ebp - 4]
call fcn.0040646c
push eax
call fcn.004091b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x511324
lea eax, [ebp - 8]
mov edx, 2
call fcn.004063d8
ret
Function at 0x517a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, edx
call fcn.004090d8
sub eax, dword [esi]
cmp eax, 0x7530
jb 0x517a5d
mov bl, 1
call fcn.004090d8
mov dword [esi], eax
jmp 0x517a5f
xor ebx, ebx
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x51c180
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x51c252
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebx + 0x464]
dec edi
test edi, edi
jl 0x51c237
inc edi
xor esi, esi
cmp byte [ebx + esi + 0x610], 0
je 0x51c22f
push dword [ebx + 0x608]
imul eax, esi, 0x17
push dword [ebx + eax*4 + 0x474]
push 0x51c26c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00406884
mov eax, dword [ebp - 4]
call fcn.0040d9d0
test al, al
je 0x51c22f
push 0
push 0
imul eax, esi, 0x17
mov eax, dword [ebx + eax*4 + 0x478]
call fcn.0040646c
push eax
push dword [ebx + 0x608]
imul eax, esi, 0x17
push dword [ebx + eax*4 + 0x474]
push 0x51c26c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406884
mov eax, dword [ebp - 8]
call fcn.0040646c
push eax
push 0x51c278
push 0
call fcn.004471fc
inc esi
dec edi
jne 0x51c1ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c259
lea eax, [ebp - 8]
mov edx, 2
call fcn.004063d8
ret
Function at 0x403bfe
Capabilities:
Encrypt data using tea

Disassembly:
sub esp, 0x28
and dword [esp + 8], 0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], edi
mov eax, dword [edi]
mov ebp, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x30], eax
call fcn.00403289
mov ebx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
add ebx, 0x23f
mov edi, dword [esi + 8]
push 0x20
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
pop esi
mov dword [esp + 0x20], 2
add dword [esp + 0x20], 3
mov edx, dword [esp + 0x1c]
mov eax, edx
shl eax, 4
add eax, edi
mov dword [esp + 0x24], 0xedeb2e40
cmp dword [0x6a26e4], 0xfa9
mov dword [esp + 0x10], eax
lea ecx, [ebx + edx]
mov eax, dword [0x6a2728]
cmove eax, dword [esp + 0x24]
and dword [esp + 0x24], 0
cmp dword [0x6a26e4], 0x3eb
mov dword [0x6a2728], eax
mov eax, dword [0x6a2730]
cmove eax, dword [esp + 0x24]
mov dword [0x6a2730], eax
mov eax, dword [esp + 0x1c]
shr eax, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x28]
xor eax, ecx
mov dword [0x6a272c], 0xf4ea3dee
xor eax, dword [esp + 0x10]
sub ebp, eax
mov dword [esp + 0x14], eax
mov eax, ebp
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
mov eax, ebp
shr eax, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x14], eax
lea eax, [ebx + ebp]
xor eax, dword [esp + 0x14]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
mov edx, 0x9e3779b9
lea ecx, [esp + 0x18]
call fcn.00403bf2
dec esi
je 0x403d22
mov ebx, dword [esp + 0x18]
jmp 0x403c4c
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], ebp
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x41240f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46bfc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407976
mov dword [ebp - 0x14], eax
cmp dword [0x6a38a4], esi
jne 0x412502
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41248f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4125e2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4125e2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4125e2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x6a38a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x6a38a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x6a38ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6a38b4], eax
test eax, eax
je 0x4124ff
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6a38b0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x412527
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41251a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41253c
push 4
pop eax
jmp 0x4125e4
cmp dword [ebp - 0x14], esi
je 0x41253c
push dword [0x6a38a4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x412521
mov eax, dword [0x6a38b0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41259a
cmp dword [0x6a38b4], edi
je 0x41259a
push eax
call ebx
push dword [0x6a38b4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41259a
test eax, eax
je 0x41259a
call ecx
test eax, eax
je 0x41258f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41258f
test byte [ebp - 8], 1
jne 0x41259a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4125ca
mov eax, dword [0x6a38a8]
cmp eax, edi
je 0x4125c7
push eax
call ebx
test eax, eax
je 0x4125c7
call eax
mov esi, eax
test esi, esi
je 0x4125c7
mov eax, dword [0x6a38ac]
cmp eax, edi
je 0x4125c7
push eax
call ebx
test eax, eax
je 0x4125c7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x6a38a4]
call ebx
test eax, eax
je 0x4125e2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4125e4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bb0
mov esp, ebp
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ed0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6fe600e6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x69dd5efe
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x597a92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x597b67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x597b31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x597b5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00597b71
test eax, eax
je 0x597b67
add ebx, 0x14
jmp 0x597b3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x597b71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x597ddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x597ddd
mov eax, 1
test eax, eax
je 0x597ddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x597ddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x597dd3
mov ebx, eax
and eax, 0x80000000
jne 0x597d4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x597ddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x597ddd
mov eax, 1
test eax, eax
je 0x597ddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x597ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x597ca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x597ddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x597b67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x597ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x597ca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x597e9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x597fee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x597fee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.00597ff8
test eax, eax
je 0x597fee
add ebx, 0x28
dec ecx
jne 0x597fc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x59809e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x5980c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x59812e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x5980e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x59812e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x598105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x59812e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x598123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x59812e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x59816b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x598172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x5981a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x5981a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x598dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00598f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00598f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00598eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00598f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00598ecb
push ecx
push dword [ebp + 8]
call fcn.00598f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00598f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00598ecb
push ecx
push dword [ebp + 8]
call fcn.00598f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00598f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00598ecb
push ecx
push dword [ebp + 8]
call fcn.00598f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00598f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00598ecb
cmp ecx, 0x2b
jne 0x598e0f
leave
ret 0xc

Function at 0x59a4b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x59a544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0xc8030
push 0
call dword [eax + 0x20]
test eax, eax
je 0x59a5d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0xc8030
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0xc8030
call fcn.0059a3fa
push 0xc8030
push dword [ebp + 0xc]
call fcn.005981a8
test eax, eax
jne 0x59a5b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0xc8030
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.0059a5dd
test eax, eax
je 0x59a5d6
jmp 0x59a574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x59a5d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x59a60b
Capabilities:
Terminate process

Disassembly:
call fcn.0059a618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x10001b50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10023a1c], 0x10
push ebx
push esi
push edi
mov eax, 0x10023a08
cmovae eax, dword [0x10023a08]
push 0x1001f474
push eax
mov esi, ecx
call fcn.10005ee6
push 2
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0xc], ebx
call fcn.1000696b
push ebx
call fcn.10006874
mov dword [esi], eax
dec eax
push eax
call fcn.100048d8
push dword [esi]
mov dword [ebp - 4], eax
call fcn.10005652
push 0
push 0
push ebx
mov edi, eax
call fcn.1000696b
push ebx
push dword [esi]
push 1
push edi
call fcn.100061c9
mov esi, dword [esi]
movzx ebx, byte [edi]
xor ecx, ecx
dec esi
lea edx, [ecx + 1]
add esp, 0x3c
mov dword [ebp - 8], esi
cmp esi, edx
jbe 0x10001bef
lea ecx, [ecx]
movsx eax, byte [edi + edx]
sub eax, ebx
sub eax, ecx
cmp ecx, 9
jl 0x10001be1
xor ecx, ecx
jmp 0x10001be2
inc ecx
mov esi, dword [ebp - 4]
inc edx
mov byte [esi + edx - 2], al
cmp edx, dword [ebp - 8]
jb 0x10001bd0
push dword [ebp - 0xc]
call fcn.10006aa1
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret