joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4024f0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x402515
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x402520
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x402515
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402568
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40255e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40256a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402550
xor eax, eax
pop ebx
pop esi
ret
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x40520c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40524e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405258
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405279
mov al, byte [esp]
jmp 0x40527b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x406f48
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x406f32
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x406e6d
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x406f32
cmp dword [ebp - 0x10], 0
jne 0x406e82
mov eax, dword [ebp - 8]
call fcn.00403198
mov bl, 1
jmp 0x406f32
cmp dword [ebp - 0x10], 0x70000000
jb 0x406e90
call fcn.00405884
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
lea eax, [ebp - 0x14]
mov ecx, esi
xor edx, edx
call fcn.00403278
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.00403420
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
cmp eax, 0xea
je 0x406e36
test eax, eax
jne 0x406f32
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x406ee0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x406f32
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
jmp 0x406eeb
dec esi
test esi, esi
je 0x406ef9
mov eax, dword [ebp - 0x14]
cmp byte [eax + esi - 1], 0
je 0x406eea
cmp dword [ebp - 0xc], 7
jne 0x406f04
test esi, esi
je 0x406f04
inc esi
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.004034f0
cmp dword [ebp - 0xc], 7
jne 0x406f25
test esi, esi
je 0x406f25
lea eax, [ebp - 0x14]
call fcn.00403420
mov byte [eax + esi - 1], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004031e8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406f4f
lea eax, [ebp - 0x14]
call fcn.00403198
ret
Function at 0x407890
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x4078ac
shr eax, 1
xor eax, 0xedb88320
jmp 0x4078ae
shr eax, 1
dec edx
jne 0x40789f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407898
pop esi
ret

Function at 0x4078db
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x4078e7
call fcn.00407890
push 1
push 0x40c558
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x407912
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4078ed
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x408fbc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408f70
test al, al
jne 0x408fdd
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x409029
xor eax, eax
push ebp
push 0x409019
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403414
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409020
lea eax, [ebp - 0xc]
call fcn.00408fac
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409330
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x40941f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00406cf4
mov edx, dword [ebp - 8]
mov ecx, 0x409438
xor eax, eax
call fcn.00409224
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x4093ed
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x409350
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x36
call fcn.00408dd8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404c94
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00407284
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x68
call fcn.00408da8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x404660
call fcn.00405890
call fcn.00402eb4
jmp 0x409350
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040322c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409426
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004031b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004031b8
ret
Function at 0x55b34a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x65d7d8]
jne 0x55b354
repz ret
jmp fcn.0055e03c

Function at 0x55fb1f
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.0055b44c
and dword [ebp - 4], 0
cmp dword [0x65f13c], 0
mov ebx, eax
jne 0x55fbd0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x55fc81
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x55fc81
push eax
call fcn.0055b3da
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x65f13c], eax
call esi
push eax
call fcn.0055b3da
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x65f140], eax
call esi
push eax
call fcn.0055b3da
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x65f144], eax
call esi
push eax
call fcn.0055b3da
pop ecx
mov dword [0x65f14c], eax
test eax, eax
je 0x55fbd0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0055b3da
pop ecx
mov dword [0x65f148], eax
mov eax, dword [0x65f148]
cmp eax, ebx
je 0x55fc28
cmp dword [0x65f14c], ebx
je 0x55fc28
push eax
call fcn.0055b455
push dword [0x65f14c]
mov esi, eax
call fcn.0055b455
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x55fc28
test edi, edi
je 0x55fc28
call esi
test eax, eax
je 0x55fc1f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x55fc1f
test byte [ebp - 0xc], 1
jne 0x55fc28
or dword [ebp + 0x10], 0x200000
jmp 0x55fc61
mov eax, dword [0x65f140]
cmp eax, ebx
je 0x55fc61
push eax
call fcn.0055b455
pop ecx
test eax, eax
je 0x55fc61
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x55fc61
mov eax, dword [0x65f144]
cmp eax, ebx
je 0x55fc61
push eax
call fcn.0055b455
pop ecx
test eax, eax
je 0x55fc61
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x65f13c]
call fcn.0055b455
pop ecx
test eax, eax
je 0x55fc81
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x55fc83
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5609d3
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 ecx, dword [0x65d258]
add ecx, 0xffffea48
mov dword [0x65d25c], ecx
mov dword [ebp - 0x10], eax
call fcn.00561e66
xor ecx, ecx
mov edx, eax
mov dword [0x65d258], 0x249c
mov esi, dword [eax + 0x3c]
mov dword [0x65d25c], 0x19ce
mov dword [0x65d258], 0xfffff674
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x65d258], 0xffffecdd
mov ebx, dword [eax + esi + 0x24]
mov dword [0x65d25c], 0x23a3
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 0x560b5a
jmp 0x560a9b
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
add eax, dword [eax + ecx + 0x1c]
mov dword [0x65d25c], 0x17f3
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
add edx, dword [eax + esi*4]
mov dword [0x65d258], 0x16e6
mov dword [ebp - 0x28], edx
jmp 0x560b5a
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], 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 - 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 - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x560b16
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 0x560ac5
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x560a63
jmp 0x560b23
mov dword [0x65d25c], 0xffffe6b4
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x50], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x28], eax
jb 0x560aab
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x560b65
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword [0x65d258]
add eax, 0xfffff45e
mov dword [0x65d25c], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x65d258], 0xeb8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x65d25c], 0x240e
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x560be6
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
jl 0x560bb2
mov eax, dword [ebp - 0x18]
mov dword [0x65d258], 0x2db
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x560caa
mov dword [0x65d258], 0xffffdf97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x560caa
mov dword [0x65d258], 0xc2b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x61
jne 0x560caa
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x560caa
mov dword [0x65d258], 0xffffec1d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x560caa
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x560caa
mov dword [0x65d258], 0xa99
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x560caa
mov dword [0x65d258], 0x834
mov eax, 1
mov dword [ebp - 0x28], eax
jmp 0x560cbb
mov dword [0x65d25c], 0x237b
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x560cbb
mov eax, dword [ebp - 0x28]
add esp, 0x28
pop ebp
ret
Function at 0x560e73
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x65d258], 0x42d
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x560ee2
jmp 0x560f8c
mov eax, dword [ebp - 0x1c]
mov dword [0x65d25c], 0xd66
mov dword [0x65d258], eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], edx
jne 0x560ee2
jmp 0x560fe7
mov eax, dword [ebp - 0x18]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x65d258], 0x151b
mov cx, word [ebp - 0x2e]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], esi
je 0x560fe7
mov eax, dword [ebp - 0x38]
mov ecx, 0x1749
mov edx, dword [ebp - 0x3c]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x46], si
mov word [ebp - 0x48], bx
jb 0x560f57
mov ax, word [ebp - 0x46]
mov word [ebp - 0x48], ax
mov ax, word [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x40]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov esi, dword [ebp - 0x44]
mov byte [ebp - 0x1d], bl
mov dword [ebp - 0x1c], esi
jne 0x560eb7
jmp 0x561051
mov dword [0x65d25c], 0xf8f
mov dword [0x65d258], 0x139d
mov ecx, dword fs:[0x18]
mov dword [0x65d258], 0x1ee6
mov dword [0x65d25c], 0x1798
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [0x65d258], 0x20bd
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], dl
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x4c]
cmp eax, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
je 0x560ee2
mov eax, dword [ebp - 0x28]
mov cx, word [eax + 0x24]
mov dword [0x65d25c], 0x62f
mov edx, dword [eax + 0x28]
mov dword [0x65d258], 0x1544
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x4d]
and bh, bl
test bh, 1
mov word [ebp - 0x2e], cx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x24], esi
jne 0x561041
jmp 0x560eed
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x560ee2
mov eax, 0x1a2c
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x34]
cmp ecx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], ecx
jb 0x560f1b
jmp 0x560eb7
Function at 0x5611a9
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x65d264], 0
mov byte [0x65d268], 0
mov edi, dword [0x65d258]
add edi, 0xffffe890
mov dword [0x65d25c], edi
mov dword [0x65d260], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x561237
mov dword [0x65d258], 0xf79
mov dword [0x65d25c], 0xcbe
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x41d
xor ecx, ecx
mov dword [0x65d258], 0x41d
mov dword [0x65d260], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x561273
mov eax, dword [ebp - 0x1c]
mov dword [0x65d258], 0x842
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x65d25c], 0xfb4
mov eax, dword [0x65d260]
add eax, 1
mov dword [0x65d260], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x561237
jmp 0x561214
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [0x65d26c], 0
mov esi, dword [0x65d264]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x65d26c], ebx
add ecx, 0x260d
mov dword [0x65d25c], ecx
mov eax, ebx
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x65d264], edx
mov dword [0x65d258], 0xffffe2de
mov ebx, dword [ebp - 0x28]
mov cl, byte [edi + ebx]
mov byte [0x65d268], cl
mov dword [0x65d25c], 0x1ec0
mov cl, byte [edi + edx]
mov byte [edi + ebx], cl
mov dword [0x65d258], 0x210a
mov cl, byte [0x65d268]
mov edx, dword [0x65d264]
mov byte [edi + edx], cl
mov edx, dword [0x65d260]
add edx, 1
mov dword [0x65d260], edx
cmp edx, 0x100
mov dword [ebp - 0x30], edx
jge 0x5611f8
mov eax, dword [0x65d258]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x561273
Function at 0x5614a6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x65d25c], 0xcb1
mov dword [0x65d258], 0x2d58
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x60fbb4]
mov dl, byte [eax + 0x60fb85]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
je 0x561501
jmp 0x5614d1
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop ebp
ret
lea eax, [ebp - 0x20]
mov dword [0x65d258], 0x2381
mov dword [0x65d25c], 0xf0d
mov dword [ebp - 0x34], eax
call fcn.00561659
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.00561746
xor ecx, ecx
mov dword [0x65d258], 0xe97
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
je 0x5614f9
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x65d25c]
mov edx, ecx
add edx, 0x6ec
mov dword [0x65d258], edx
add ecx, 0xffffe1e6
mov dword [0x65d25c], ecx
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 ecx, dword [0x65d258]
add ecx, 0xea9
mov dword [0x65d258], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
call fcn.00561075
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x50], ecx
mov dword [0x65d25c], 0x1a18
mov ecx, dword [ebp - 0x3c]
mov dword [edx], ecx
mov dword [0x65d258], 0x1388
cmp ecx, 0
mov dword [ebp - 0x30], eax
je 0x5614f9
mov eax, dword [ebp - 0x3c]
add eax, 0x142a
mov dword [0x65d258], 0x1dc3
mov dword [0x65d25c], 0x12c2
mov dword [ebp - 0x30], eax
jmp 0x5614f9
Function at 0x562000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x65d260], 0
mov dword [0x65d264], 0
mov dword [0x65d270], 0
mov dword [0x65d258], 0x1df9
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x562196
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x65d25c], 0x535
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x65d260], edx
mov dword [0x65d258], 0x914
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x65d264], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x65d268], cl
mov dword [0x65d25c], 0x4f8
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x65d268]
mov edx, dword [0x65d264]
mov byte [edi + edx], cl
mov dword [0x65d258], 0x1cff
mov edx, dword [0x65d260]
movzx edx, byte [edi + edx]
mov ebx, dword [0x65d264]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x65d25c], 0x2373
and ebx, 0xff
mov dword [0x65d270], ebx
mov dword [0x65d258], 0xf7d
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x65d275], ch
mov byte [0x65d276], cl
xor ch, cl
mov byte [0x65d274], ch
mov dword [0x65d258], 0x2532
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov edx, dword [0x65d258]
add edx, 0xfffffdd7
mov dword [0x65d25c], edx
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x562196
mov eax, dword [0x65d260]
mov ecx, dword [0x65d264]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x562067
mov dword [0x65d25c], 0x13f8
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret