joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cfd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44c3db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00421ff0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x104
push eax
mov dword [esp + 0x228], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00422d70
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.00425050
mov eax, dword [eax]
push 0x4557dc
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.00422a90
test edi, edi
je 0x43d06f
push 0x4557dc
mov ecx, esi
call fcn.004236d0
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret

Function at 0x43d1b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44c41b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00421ff0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x104
push eax
mov dword [esp + 0x228], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00422d70
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.00425050
mov eax, dword [eax]
push 0x4557dc
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.00422a90
test edi, edi
je 0x43d24f
push 0x4557dc
mov ecx, esi
call fcn.004236d0
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0xd8b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00d8b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd8b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd8b06a
add dl, dl
jne 0xd8b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd8b0dc
xor eax, eax
add dl, dl
jne 0xd8b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd8b17d
add dl, dl
jne 0xd8b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd8b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd8b075
mov eax, 1
add dl, dl
jne 0xd8b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd8b0e1
sub eax, ebx
mov ebx, 1
jne 0xd8b128
mov ecx, 1
add dl, dl
jne 0xd8b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd8b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd8b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd8b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd8b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd8b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd8b136
cmp eax, 0x7d00
jae 0xd8b16d
cmp eax, 0x500
jb 0xd8b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd8b075
cmp eax, 0x7f
ja 0xd8b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd8b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd8b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd8b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4015da
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x401649
mov eax, 0xa04969
mov dword [ebp - 0xc], eax
mov eax, esp
lea ecx, [ebp - 0xc]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x18], 0xf5
mov dword [eax + 0x14], 0x1bf
mov dword [eax + 0x10], 0xb1
mov dword [eax + 8], 0xc9c998
mov dword [eax + 4], 0xf9c655
mov dword [eax], 0xc9c998
mov eax, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
call eax
sub esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x401708
mov eax, esp
mov dword [eax], 0x97e
mov eax, dword [sym.imp.ADVAPI32.dll_NotifyBootConfigStatus]
call eax
sub esp, 4
mov dword [ebp - 0x18], eax
jmp 0x401697
mov eax, dword [ebp - 0x10]
mov ecx, esp
mov dword [ecx], 0x39
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov dword [ebp - 0x1c], eax
call ecx
sub esp, 4
xor ecx, ecx
mov word [ebp - 0x1e], ax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, 0xaaaaaaab
mov dword [ebp - 0x28], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
je 0x401632
jmp 0x40168a
mov eax, dword [ebp - 0x2c]
sub eax, 0xb
mov dword [ebp - 0x30], eax
je 0x401632
jmp 0x401697
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x60
mov dword [ebp - 0x24], eax
jne 0x40166b
mov dword [ebp - 4], 0xf17a94
mov dword [ebp - 8], 0x929
mov eax, esp
lea ecx, [ebp - 8]
mov dword [eax + 0x10], ecx
lea ecx, [ebp - 4]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0xdbb
mov dword [eax + 4], 0xee7
mov dword [eax], 0xee7
mov eax, dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
call eax
sub esp, 0x14
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x12
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x4015e7
jmp 0x4016f7
mov eax, dword [ebp - 0x1c]
sub eax, 0x25
mov dword [ebp - 0x3c], eax
je 0x4015e7
jmp 0x401708
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
call eax
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x3c
mov dword [ebp - 0x10], eax
jne 0x401649
add esp, 0x5c
pop ebp
ret

Function at 0x55b5da
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x65d018]
jne 0x55b5e4
repz ret
jmp fcn.0055e2cc
Function at 0x55fdaf
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.0055b6dc
and dword [ebp - 4], 0
cmp dword [0x65eb2c], 0
mov ebx, eax
jne 0x55fe60
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x55ff11
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x55ff11
push eax
call fcn.0055b66a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x65eb2c], eax
call esi
push eax
call fcn.0055b66a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x65eb30], eax
call esi
push eax
call fcn.0055b66a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x65eb34], eax
call esi
push eax
call fcn.0055b66a
pop ecx
mov dword [0x65eb3c], eax
test eax, eax
je 0x55fe60
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0055b66a
pop ecx
mov dword [0x65eb38], eax
mov eax, dword [0x65eb38]
cmp eax, ebx
je 0x55feb8
cmp dword [0x65eb3c], ebx
je 0x55feb8
push eax
call fcn.0055b6e5
push dword [0x65eb3c]
mov esi, eax
call fcn.0055b6e5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x55feb8
test edi, edi
je 0x55feb8
call esi
test eax, eax
je 0x55feaf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x55feaf
test byte [ebp - 0xc], 1
jne 0x55feb8
or dword [ebp + 0x10], 0x200000
jmp 0x55fef1
mov eax, dword [0x65eb30]
cmp eax, ebx
je 0x55fef1
push eax
call fcn.0055b6e5
pop ecx
test eax, eax
je 0x55fef1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x55fef1
mov eax, dword [0x65eb34]
cmp eax, ebx
je 0x55fef1
push eax
call fcn.0055b6e5
pop ecx
test eax, eax
je 0x55fef1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x65eb2c]
call fcn.0055b6e5
pop ecx
test eax, eax
je 0x55ff11
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x55ff13
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x560c75
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x65ca9c], 0x115f
mov dword [ebp - 0x10], eax
call fcn.005621ce
xor ecx, ecx
mov edx, eax
mov dword [0x65caa0], 0x25db
mov esi, dword [eax + 0x3c]
mov dword [0x65ca9c], 0x6a9
mov dword [0x65caa0], 0x500
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x65caa0], 0xfffff998
mov ebx, dword [eax + esi + 0x24]
mov dword [0x65ca9c], 0xffffffc8
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x560df6
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x560d77
mov al, byte [ebp - 0x45]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x44]
add edx, 1
mov ah, byte [ebp - 0x46]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x40], edx
jne 0x560d25
mov al, byte [ebp - 0x46]
test al, 1
jne 0x560db4
jmp 0x560d80
xor eax, eax
mov dword [0x65ca9c], 0xfcc
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jb 0x560d0b
jmp 0x560df6
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x20]
add edx, 0x1c
mov esi, dword [ebp - 0x1c]
add esi, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
add eax, dword [ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x4c]
add edx, dword [eax + esi*4]
mov dword [0x65ca9c], 0x203
mov dword [0x65caa0], 0x1ed
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x560e01
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x3c
mov dword [0x65ca9c], 0x149c
mov dword [ebp - 8], 0
mov dword [0x65caa0], 0xd70
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [0x65ca9c], 0x1029
mov ecx, dword [ebp - 8]
add ecx, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x65caa0]
add esi, 0xffffef39
mov dword [0x65caa0], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], eax
jmp 0x560ee2
mov eax, 0x423
mov ecx, 1
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x560eae
jmp 0x560fb2
mov dword [0x65ca9c], 0x1582
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x560e6c
jmp 0x560fb2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x65ca9c], ecx
add esp, 0x3c
pop esi
pop ebp
ret
mov dword [0x65ca9c], 0x6fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x560f9f
jmp 0x560fb2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
je 0x560f2e
mov eax, 0x1e90
mov dword [0x65caa0], 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 - 0x30], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x34], ecx
jl 0x560ee2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [0x65ca9c], 0x2389
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], ecx
jne 0x560fb2
mov eax, dword [ebp - 0x38]
add eax, 0xffffea0e
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [0x65ca9c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x18], 0x6f
jne 0x560fb2
mov dword [0x65ca9c], 0xb97
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp word [eax], 0x61
je 0x560ec0
jmp 0x560fb2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x560e90
mov eax, 0x250b
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x560eae
Function at 0x561560
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 [0x65caa8], 0
mov byte [0x65caac], 0
mov dword [0x65ca9c], 0x154f
mov dword [0x65caa0], 0x2f
mov dword [0x65caa4], 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 [0x65ca9c], 0x198
mov eax, dword [0x65caa4]
add eax, 1
mov dword [0x65caa4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x5615af
xor eax, eax
mov dword [0x65caa0], 0x2124
mov dword [0x65caa4], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x65cab0], 0
mov edi, dword [0x65caa8]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x65cab0], esi
mov dword [0x65caa0], 0xfa3
mov eax, esi
cdq
idiv ecx
mov dword [0x65caa8], edx
mov dword [0x65ca9c], 0x1fab
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x65caac], cl
mov dword [0x65ca9c], 0x291
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x65caac]
mov esi, dword [0x65caa8]
mov byte [ebx + esi], cl
mov dword [0x65ca9c], 0x2472
mov esi, dword [0x65caa4]
add esi, 1
mov dword [0x65caa4], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x5615f8
mov dword [0x65ca9c], 0xdd5
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x561813
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x65ca9c], 0x8fa
mov dword [0x65caa0], 0xd98
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x561897
lea eax, [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov dword [0x65caa0], 0x238
mov dword [0x65ca9c], 0xfffffc53
call fcn.005619b7
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.00561a8a
xor ecx, ecx
mov dword [0x65ca9c], 0x269b
mov dword [0x65caa0], 0x189f
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x56197d
jmp 0x5618bf
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x60fb84]
mov dl, byte [eax + 0x60fb55]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
je 0x561840
jmp 0x561897
mov eax, dword [ebp - 0x34]
mov dword [0x65caa0], 0x4f9
mov dword [0x65ca9c], 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 [0x65ca9c], 0x23d8
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.00561424
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [0x65caa0], 0xfffffa52
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x30], ecx
mov dword [0x65ca9c], 0x3483
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x56197d
mov dword [0x65ca9c], 0x36b
mov eax, dword [ebp - 0x3c]
add eax, 0x273c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
jmp 0x56197d
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
Function at 0x562122
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [0x65ca9c]
add ecx, 0x23ec
mov dword [0x65caa0], ecx
cmp eax, 0
mov dword [ebp - 4], eax
jne 0x5621ab
mov dword [0x65ca9c], 0xe8e
lea eax, [0x5617a3]
mov dword [0x65caa0], 0xfffff37e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
jne 0x562187
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp eax, 0x4550
je 0x562199
mov eax, dword [ebp - 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 8], eax
jmp 0x562164
mov dword [0x65ca9c], 0xe4a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
jmp 0x5621c6
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0x18], eax
call fcn.005611d1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add esp, 0x20
pop ebp
ret
Function at 0x562368
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x25f6
xor ebx, ebx
mov dword [0x65caa4], 0
mov dword [0x65caa8], 0
mov dword [0x65cab4], 0
mov dword [0x65caa0], 0x25f6
mov dword [0x65ca9c], 0x1ee4
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
je 0x56251b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x65caa4], edx
mov dword [0x65ca9c], 0x3b
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x65caa8], edx
add esi, 0xfffff363
mov dword [0x65caa0], esi
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x65caac], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x65ca9c]
add edx, 0xffffdf8e
mov dword [0x65ca9c], edx
mov cl, byte [0x65caac]
mov edx, dword [0x65caa8]
mov byte [edi + edx], cl
mov edx, dword [0x65caa4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x65caa8]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x65cab4], ebx
mov dword [0x65ca9c], 0x1954
mov dword [0x65caa0], 0xfffff92f
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x65cab9], ch
mov byte [0x65caba], cl
xor ch, cl
mov byte [0x65cab8], ch
mov dword [0x65ca9c], 0xffffeeab
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
mov edx, dword [0x65ca9c]
add edx, 0xffffff5b
mov dword [0x65caa0], edx
add ebx, 1
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edx
je 0x56251b
mov eax, dword [0x65caa4]
mov ecx, dword [0x65caa8]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], esi
jmp 0x5623dd
mov dword [0x65caa0], 0x559
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x7b6e79a4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x3c6c48ff
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10007b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], edx
mov esi, edx
lea eax, [ecx - 1]
mov dword [ebp - 4], ebx
mov edi, eax
mov dword [ebp - 0x14], ecx
sar edi, 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
cmp edx, edi
jge 0x10007bea
add esi, esi
lea eax, [esi + 2]
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*4]
lea eax, [ecx - 0xc]
push eax
push ecx
call fcn.10005960
movzx eax, al
xor eax, 1
inc eax
add esi, eax
lea eax, [esi + esi*2]
movq xmm0, qword [ebx + eax*4]
lea edx, [ebx + eax*4]
mov eax, dword [ebp - 8]
mov dword [ebp - 8], esi
lea eax, [eax + eax*2]
movq qword [ebx + eax*4], xmm0
lea ecx, [ebx + eax*4]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
cmp esi, edi
jl 0x10007ba3
mov ecx, dword [ebp - 0x14]
mov edi, esi
cmp esi, dword [ebp - 0x18]
jne 0x10007c15
test cl, 1
jne 0x10007c15
mov edi, dword [ebp - 0x1c]
lea eax, [ecx + ecx*2]
movq xmm0, qword [ebx + eax*4 - 0xc]
lea edx, [ebx + eax*4]
lea eax, [esi + esi*2]
lea ecx, [ebx + eax*4]
movq qword [ecx], xmm0
mov eax, dword [edx - 4]
mov dword [ecx + 8], eax
cmp dword [ebp - 0xc], edi
jge 0x10007c5c
nop word [eax + eax]
push dword [ebp - 0x10]
lea esi, [edi - 1]
sar esi, 1
lea eax, [esi + esi*2]
lea ebx, [ebx + eax*4]
push ebx
call fcn.10005960
test al, al
je 0x10007c59
lea eax, [edi + edi*2]
mov ecx, dword [ebp - 4]
lea ecx, [ecx + eax*4]
movq xmm0, qword [ebx]
mov edi, esi
movq qword [ecx], xmm0
mov eax, dword [ebx + 8]
mov ebx, dword [ebp - 4]
mov dword [ecx + 8], eax
cmp dword [ebp - 0xc], esi
jl 0x10007c20
mov ebx, dword [ebp - 4]
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*4]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret