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

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1004bfe3
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1004bf8a
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1004bf99
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10451c3c
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1004bfea
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10032e60
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1004c089
add edi, 4
add eax, 2
dec ecx
jne 0x1004bfcf
call 0x1004c036
loope 0x1004c02c
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1004c086
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1004c097
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1004c04a
cmp eax, ecx
ja 0x1004c04a
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1004c0d4
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1004c0ca
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1003333f
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1014
push ebp
mov ebp, esp
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
or eax, 0xffffffff
mov dword [0x415c84], 9
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
mov dword [ebp - 8], eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
mov ecx, 0x1000
xor eax, eax
lea edx, [ebp - 0x1010]
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
mov edi, eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
test eax, eax
mov esi, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x50806831
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2418162a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x55b2ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x65e308]
jne 0x55b2f4
repz ret
jmp fcn.0055dfdc

Function at 0x55fabf
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.0055b3ec
and dword [ebp - 4], 0
cmp dword [0x6604ec], 0
mov ebx, eax
jne 0x55fb70
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x55fc21
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x55fc21
push eax
call fcn.0055b37a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6604ec], eax
call esi
push eax
call fcn.0055b37a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6604f0], eax
call esi
push eax
call fcn.0055b37a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6604f4], eax
call esi
push eax
call fcn.0055b37a
pop ecx
mov dword [0x6604fc], eax
test eax, eax
je 0x55fb70
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0055b37a
pop ecx
mov dword [0x6604f8], eax
mov eax, dword [0x6604f8]
cmp eax, ebx
je 0x55fbc8
cmp dword [0x6604fc], ebx
je 0x55fbc8
push eax
call fcn.0055b3f5
push dword [0x6604fc]
mov esi, eax
call fcn.0055b3f5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x55fbc8
test edi, edi
je 0x55fbc8
call esi
test eax, eax
je 0x55fbbf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x55fbbf
test byte [ebp - 0xc], 1
jne 0x55fbc8
or dword [ebp + 0x10], 0x200000
jmp 0x55fc01
mov eax, dword [0x6604f0]
cmp eax, ebx
je 0x55fc01
push eax
call fcn.0055b3f5
pop ecx
test eax, eax
je 0x55fc01
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x55fc01
mov eax, dword [0x6604f4]
cmp eax, ebx
je 0x55fc01
push eax
call fcn.0055b3f5
pop ecx
test eax, eax
je 0x55fc01
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6604ec]
call fcn.0055b3f5
pop ecx
test eax, eax
je 0x55fc21
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x55fc23
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x560955
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x65dd84], 0x115f
mov dword [ebp - 0x10], eax
call fcn.00561f02
mov ecx, eax
mov dword [0x65dd88], 0x25db
mov edx, dword [eax + 0x3c]
mov dword [0x65dd84], 0x6a9
mov dword [0x65dd88], 0x500
mov edx, dword [eax + edx + 0x78]
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov dword [0x65dd88], 0xfffff998
mov eax, dword [eax + edx + 0x24]
mov dword [0x65dd84], 0xffffffc8
mov edi, edx
add edi, 0x18
mov ebx, ecx
add ebx, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ebx
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
cmp edx, 0
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jne 0x560a28
mov eax, dword [ebp - 0x2c]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x18]
add edi, dword [edx + ecx*4]
mov dword [0x65dd84], 0x203
mov dword [0x65dd88], 0x1ed
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
jmp 0x5609e8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add eax, ecx
mov dword [ebp - 0x38], eax
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x560ab6
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x59], ch
mov al, byte [ebp - 0x59]
test al, 1
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x4c], ecx
jne 0x560a58
jmp 0x560ab6
mov al, byte [ebp - 0x52]
test al, 1
jne 0x5609f3
jmp 0x560ac3
xor eax, eax
mov dword [0x65dd84], 0xfcc
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x28]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], ecx
jb 0x560a3e
jmp 0x5609e8
Function at 0x560afa
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x3c
mov dword [0x65dd84], 0x149c
mov dword [ebp - 8], 0
mov dword [0x65dd88], 0xd70
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x65dd84], 0x1029
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x65dd88]
add esi, 0xffffef39
mov dword [0x65dd88], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
jmp 0x560b93
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [0x65dd84], 0x2389
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x560be4
jmp 0x560caa
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [0x65dd84], ecx
add esp, 0x3c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
cmp word [edx + ecx*2], 0
mov esi, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
je 0x560b5a
mov eax, 0x1e90
mov dword [0x65dd88], 0x1e90
mov ecx, dword [ebp - 0x34]
add ecx, 1
cmp ecx, 0x104
mov edx, eax
mov esi, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
jl 0x560b93
jmp 0x560b5a
mov eax, dword [ebp - 0x28]
add eax, 0xffffea0e
mov dword [0x65dd84], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x560caa
mov dword [0x65dd84], 0xb97
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x560caa
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff6
mov dword [0x65dd84], 0x6fe
shl eax, 1
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp word [eax], 0x64
jne 0x560caa
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x560caa
mov dword [0x65dd84], 0x1582
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x39], dl
mov al, byte [ebp - 0x39]
test al, 1
jne 0x560c7d
jmp 0x560caa
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff9
mov dword [ebp - 0x40], eax
mov eax, 0x423
mov ecx, 1
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x40]
cmp word [edx + esi*2], 0x6c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
je 0x560b81
mov eax, 0x250b
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
jmp 0x560b81
Function at 0x56125e
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 [0x65dd90], 0
mov byte [0x65dd94], 0
mov dword [0x65dd84], 0x154f
mov dword [0x65dd88], 0x2f
mov dword [0x65dd8c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x56136f
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x65dd98], 0
mov edx, dword [0x65dd90]
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 [0x65dd98], edi
mov dword [0x65dd88], 0xfa3
mov eax, edi
cdq
idiv ecx
mov dword [0x65dd90], edx
mov dword [0x65dd84], 0x1fab
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x65dd94], cl
mov dword [0x65dd84], 0x291
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x65dd94]
mov edx, dword [0x65dd90]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x65dd84], 0x2472
mov edx, dword [0x65dd8c]
add edx, 1
mov dword [0x65dd8c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x5612b2
jmp 0x5613bd
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x65dd84], 0x198
mov eax, dword [0x65dd8c]
add eax, 1
mov dword [0x65dd8c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x56136f
mov dword [0x65dd88], 0x2124
xor eax, eax
mov dword [0x65dd8c], 0
mov dword [ebp - 0x20], eax
jmp 0x5612b2
mov dword [0x65dd84], 0xdd5
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x56151f
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 [0x65dd84], 0x8fa
mov dword [0x65dd88], 0xd98
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x60fce4]
mov dh, byte [eax + 0x60fcb5]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x56154a
lea eax, [ebp - 0x20]
mov dword [0x65dd88], 0x238
mov dword [0x65dd84], 0xfffffc53
mov dword [ebp - 0x30], eax
call fcn.005616bf
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.0056179b
xor ecx, ecx
mov dword [0x65dd84], 0x269b
mov dword [0x65dd88], 0x189f
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x561685
mov eax, dword [ebp - 0x34]
mov dword [0x65dd88], 0x4f9
mov dword [0x65dd84], 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 [0x65dd84], 0x23d8
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.00561124
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [0x65dd88], 0xfffffa52
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x50], ecx
mov dword [0x65dd84], 0x3483
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x561685
mov eax, dword [ebp - 0x3c]
add eax, 0x1556
mov dword [ebp - 0x40], eax
mov dword [0x65dd84], 0x36b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
Function at 0x561e48
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [0x65dd84]
add ecx, 0x23ec
mov dword [0x65dd88], ecx
cmp eax, 0
mov dword [ebp - 4], eax
je 0x561e9c
jmp 0x561edf
mov eax, dword [ebp - 8]
add eax, 0x3c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
cmp dword [edx + ecx], 0x4550
je 0x561ecd
jmp 0x561ebb
mov eax, dword [ebp - 0x10]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
je 0x561e6f
jmp 0x561ebb
lea eax, [0x5614b3]
mov dword [0x65dd84], 0xe8e
mov dword [0x65dd88], 0xfffff37e
mov dword [ebp - 0x10], eax
jmp 0x561e8d
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 0x10], eax
jmp 0x561e8d
mov dword [0x65dd84], 0xe4a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
jmp 0x561efa
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0x18], eax
call fcn.00560ec9
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add esp, 0x20
pop ebp
ret
Function at 0x562081
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 [0x65dd8c], 0
mov dword [0x65dd90], 0
mov dword [0x65dd9c], 0
mov dword [0x65dd88], 0x25f6
mov dword [0x65dd84], 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 0x562234
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 [0x65dd8c], edx
mov dword [0x65dd84], 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 [0x65dd90], edx
add esi, 0xfffff363
mov dword [0x65dd88], esi
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x65dd94], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x65dd84]
add edx, 0xffffdf8e
mov dword [0x65dd84], edx
mov cl, byte [0x65dd94]
mov edx, dword [0x65dd90]
mov byte [edi + edx], cl
mov edx, dword [0x65dd8c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x65dd90]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x65dd9c], ebx
mov dword [0x65dd84], 0x1954
mov dword [0x65dd88], 0xfffff92f
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x65dda1], ch
mov byte [0x65dda2], cl
xor ch, cl
mov byte [0x65dda0], ch
mov dword [0x65dd84], 0xffffeeab
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
mov edx, dword [0x65dd84]
add edx, 0xffffff5b
mov dword [0x65dd88], edx
add ebx, 1
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edx
je 0x562234
mov eax, dword [0x65dd8c]
mov ecx, dword [0x65dd90]
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 0x5620f6
mov dword [0x65dd88], 0x559
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41dbca
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x4a85ae
call fcn.00480765
mov edi, ecx
cmp dword [edi + 0x3c], 0
mov dword [ebp - 0x38], edi
je 0x41dce1
cmp byte [edi + 0x42], 0
je 0x41dce1
mov eax, dword [edi]
mov esi, 0xffff
push esi
call dword [eax + 4]
movzx eax, ax
cmp si, ax
jne 0x41dc09
xor al, al
jmp 0x41dce3
lea eax, [ebp - 0x30]
call fcn.0041d477
and dword [ebp - 4], 0
lea eax, [edi + 0x44]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.0041d4d7
mov esi, eax
call fcn.0041decd
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.0041d4d7
mov esi, eax
call fcn.0041decd
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
mov esi, dword [ebp - 0x40]
add ebx, esi
push ebx
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
sub eax, 0
je 0x41dc79
dec eax
je 0x41dc7d
dec eax
dec eax
je 0x41dcdd
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004051e6
mov al, bl
jmp 0x41dce3
mov byte [edi + 0x42], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.0041d4d7
mov esi, eax
call fcn.0041decd
mov ebx, dword [ebp - 0x34]
sub ebx, eax
je 0x41dcbb
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.0041d4d7
mov esi, eax
call fcn.0041decd
push dword [edi + 0x4c]
push ebx
push 1
push eax
call fcn.0047c926
add esp, 0x10
cmp ebx, eax
jne 0x41dc67
cmp byte [edi + 0x42], 0
je 0x41dcdd
test ebx, ebx
jne 0x41dc1b
push ebx
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.0041d493
mov edi, dword [ebp - 0x38]
jmp 0x41dc1b
mov bl, 1
jmp 0x41dc69
mov al, 1
call fcn.004807e8
ret

Function at 0x42735c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a760f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4ec340]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0xa
mov dword [esp + 0x30], eax
lea eax, [esi + 0x50]
push eax
lea eax, [esp + 0x10]
call fcn.00407ffa
mov ecx, dword [esi + 0x4c]
lea eax, [esp + 0xc]
push eax
call fcn.0045d19b
mov edi, dword [0x4b458c]
movzx eax, al
push eax
push dword [esi + 0xfc]
call edi
mov ecx, dword [esi + 0x4c]
lea eax, [esp + 0xc]
push eax
call fcn.0045d25f
movzx eax, al
push eax
push dword [esi + 0x160]
call edi
mov ecx, dword [esi + 0x4c]
lea eax, [esp + 0xc]
push eax
call fcn.0045d38b
movzx eax, al
push eax
push dword [esi + 0x1c4]
call edi
xor eax, eax
cmp eax, dword [esp + 0x14]
sbb eax, eax
neg eax
push eax
push dword [esi + 0x270]
call edi
lea ecx, [esp + 0xc]
call fcn.0044bdd9
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret