joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034ab0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10034c7d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x10034ada
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10034ae1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10034ad0
mov eax, 1
add ebx, ebx
jne 0x10034af3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10034ae8
jne 0x10034b04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10034ae8
xor ecx, ecx
sub eax, 3
jb 0x10034b18
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10034b8a
mov ebp, eax
add ebx, ebx
jne 0x10034b23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10034b30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10034b54
inc ecx
add ebx, ebx
jne 0x10034b40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10034b35
jne 0x10034b51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10034b35
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10034b74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10034b65
jmp 0x10034ad6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10034b74
add edi, ecx
jmp 0x10034ad6
pop esi
mov edi, esi
mov ecx, 0xcec
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10034b92
cmp byte [edi], 0xc
jne 0x10034b92
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10034b97
lea edi, [esi + 0x31000]
mov eax, dword [edi]
or eax, eax
je 0x10034c0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x34000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3408c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10034bc4
mov ecx, edi
jns 0x10034bf3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x34090]
or eax, eax
je 0x10034c09
mov dword [ebx], eax
add ebx, 4
jmp 0x10034be1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10034c40
cmp al, 0xef
ja 0x10034c33
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10034c15
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10034c22
mov ebp, dword [esi + 0x34094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10034c74
sub esp, 0xffffff80
jmp 0x10009530
Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x7d517174
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x215710b2
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x55b2ca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x65cca8]
jne 0x55b2d4
repz ret
jmp fcn.0055dfbc

Function at 0x55fa9f
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.0055b3cc
and dword [ebp - 4], 0
cmp dword [0x65e9fc], 0
mov ebx, eax
jne 0x55fb50
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x55fc01
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x55fc01
push eax
call fcn.0055b35a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x65e9fc], eax
call esi
push eax
call fcn.0055b35a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x65ea00], eax
call esi
push eax
call fcn.0055b35a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x65ea04], eax
call esi
push eax
call fcn.0055b35a
pop ecx
mov dword [0x65ea0c], eax
test eax, eax
je 0x55fb50
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0055b35a
pop ecx
mov dword [0x65ea08], eax
mov eax, dword [0x65ea08]
cmp eax, ebx
je 0x55fba8
cmp dword [0x65ea0c], ebx
je 0x55fba8
push eax
call fcn.0055b3d5
push dword [0x65ea0c]
mov esi, eax
call fcn.0055b3d5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x55fba8
test edi, edi
je 0x55fba8
call esi
test eax, eax
je 0x55fb9f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x55fb9f
test byte [ebp - 0xc], 1
jne 0x55fba8
or dword [ebp + 0x10], 0x200000
jmp 0x55fbe1
mov eax, dword [0x65ea00]
cmp eax, ebx
je 0x55fbe1
push eax
call fcn.0055b3d5
pop ecx
test eax, eax
je 0x55fbe1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x55fbe1
mov eax, dword [0x65ea04]
cmp eax, ebx
je 0x55fbe1
push eax
call fcn.0055b3d5
pop ecx
test eax, eax
je 0x55fbe1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x65e9fc]
call fcn.0055b3d5
pop ecx
test eax, eax
je 0x55fc01
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x55fc03
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x560953
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [0x65c72c]
add ecx, 0xffffea48
mov dword [0x65c730], ecx
mov dword [ebp - 0x10], eax
call fcn.00561dc8
xor ecx, ecx
mov edx, eax
mov dword [0x65c72c], 0x249c
mov esi, dword [eax + 0x3c]
mov dword [0x65c730], 0x19ce
mov dword [0x65c72c], 0xfffff674
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x65c72c], 0xffffecdd
mov ebx, dword [eax + esi + 0x24]
mov dword [0x65c730], 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 0x560ad2
jmp 0x560a0e
mov eax, dword [ebp - 0x2c]
mov ecx, eax
mov edx, dword [ebp - 0x30]
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 - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
je 0x560a6c
jmp 0x560a40
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x3c], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edx
jmp 0x5609e3
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x2c], eax
jne 0x5609e3
mov al, byte [ebp - 0x36]
test al, 1
jne 0x560aa5
jmp 0x560a75
xor eax, eax
mov dword [0x65c730], 0xffffe6b4
mov ecx, dword [ebp - 0x4c]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x28], eax
jb 0x560a24
jmp 0x560ad2
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x65c730], 0x17f3
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x65c72c], 0x16e6
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x560add
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword [0x65c72c]
add eax, 0xfffff45e
mov dword [0x65c730], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [0x65c72c], 0xeb8
mov dword [ebp - 8], eax
xor eax, eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [0x65c730], 0x240e
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
jmp 0x560b4d
mov eax, dword [ebp - 0x14]
mov dword [0x65c72c], 0x2db
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x560b7c
jmp 0x560c32
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
je 0x560b2c
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x560b4d
jmp 0x560b2c
mov dword [0x65c72c], 0xffffdf97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x560c32
mov dword [0x65c72c], 0xc2b
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x61
jne 0x560c32
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff6
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x64
jne 0x560c32
mov dword [0x65c72c], 0xffffec1d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x560c32
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x560c32
mov dword [0x65c72c], 0xa99
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x560c32
mov eax, 1
mov dword [0x65c72c], 0x834
mov dword [ebp - 0x28], eax
jmp 0x560c43
mov dword [0x65c730], 0x237b
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x560c43
mov eax, dword [ebp - 0x28]
add esp, 0x28
pop ebp
ret
Function at 0x560dfb
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x65c72c], 0x42d
cmp ecx, 0
sete dl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
sete dl
mov dh, byte [ebp - 0x15]
and dh, dl
test dh, 1
mov dword [ebp - 0x1c], eax
jne 0x560ff6
jmp 0x560e8c
mov eax, dword [ebp - 0x20]
mov cx, word [eax + 0x24]
mov dword [0x65c730], 0x62f
mov edx, dword [eax + 0x28]
mov dword [0x65c72c], 0x1544
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov word [ebp - 0x24], cx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
jne 0x560f04
jmp 0x560f1a
mov dword [0x65c730], 0xf8f
mov dword [0x65c72c], 0x139d
mov ecx, dword fs:[0x18]
mov dword [0x65c72c], 0x1ee6
mov dword [0x65c730], 0x1798
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [0x65c72c], 0x20bd
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x21], dl
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
cmp eax, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
je 0x560ff6
jmp 0x560e4a
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
jmp 0x560ff6
xor eax, eax
mov dword [0x65c72c], 0x151b
mov cx, word [ebp - 0x24]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], eax
je 0x560ee7
mov eax, dword [ebp - 0x40]
mov ecx, 0x1749
mov edx, dword [ebp - 0x28]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov word [ebp - 0x4a], si
mov word [ebp - 0x4c], bx
jb 0x560f80
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x4c], ax
mov ax, word [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
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 - 0x48]
mov byte [ebp - 0x4d], bl
mov dword [ebp - 0x54], esi
jne 0x560fcb
mov eax, 0x1a2c
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x3c]
cmp ecx, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x54], eax
jb 0x560f44
mov eax, dword [ebp - 0x54]
mov dword [0x65c730], 0xd66
mov dword [0x65c72c], eax
mov cl, byte [ebp - 0x4d]
test cl, 1
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], edx
jne 0x560ff6
jmp 0x560ee7
mov eax, dword [ebp - 0x1c]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x56113a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x65c738], 0
mov byte [0x65c73c], 0
mov esi, dword [0x65c72c]
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 - 0x1c]
add ecx, 0xffffe890
mov dword [0x65c730], ecx
mov dword [0x65c734], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x65c72c], 0x842
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x65c730], 0xfb4
mov eax, dword [0x65c734]
add eax, 1
mov dword [0x65c734], eax
cmp eax, 0x100
mov dword [ebp - 0x20], eax
jl 0x56118d
mov eax, 0x41d
xor ecx, ecx
mov dword [0x65c72c], 0x41d
mov dword [0x65c734], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x65c740], 0
mov esi, dword [0x65c738]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], 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 [0x65c740], ebx
add ecx, 0x260d
mov dword [0x65c730], ecx
mov eax, ebx
cdq
mov ecx, dword [ebp - 0x30]
idiv ecx
mov dword [0x65c738], edx
mov dword [0x65c72c], 0xffffe2de
mov ebx, dword [ebp - 0x2c]
mov cl, byte [edi + ebx]
mov byte [0x65c73c], cl
mov dword [0x65c730], 0x1ec0
mov cl, byte [edi + edx]
mov byte [edi + ebx], cl
mov dword [0x65c72c], 0x210a
mov cl, byte [0x65c73c]
mov edx, dword [0x65c738]
mov byte [edi + edx], cl
mov edx, dword [0x65c734]
add edx, 1
mov dword [0x65c734], edx
cmp edx, 0x100
mov dword [ebp - 0x34], edx
jge 0x5612b9
mov eax, dword [0x65c72c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x5611e8
mov dword [0x65c72c], 0xf79
mov dword [0x65c730], 0xcbe
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x561430
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 [0x65c730], 0xcb1
mov dword [0x65c72c], 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 + 0x60fcf4]
mov dl, byte [eax + 0x60fcc5]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x56145b
lea eax, [ebp - 0x20]
mov dword [0x65c72c], 0x2381
mov dword [0x65c730], 0xf0d
mov dword [ebp - 0x30], eax
call fcn.005615da
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.005616c3
xor ecx, ecx
mov dword [0x65c72c], 0xe97
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x5615a0
mov eax, dword [ebp - 0x34]
mov ecx, dword [0x65c730]
mov edx, ecx
add edx, 0x6ec
mov dword [0x65c72c], edx
add ecx, 0xffffe1e6
mov dword [0x65c730], 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 [0x65c72c]
add ecx, 0xea9
mov dword [0x65c72c], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.00561001
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 + 0x24], ecx
mov dword [0x65c730], 0x1a18
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x5c], ecx
mov dword [0x65c72c], 0x1388
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x5615a0
mov eax, dword [ebp - 0x3c]
add eax, 0x2594
mov dword [0x65c72c], 0x1dc3
mov dword [0x65c730], 0x12c2
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x561f47
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x65c734], 0
mov dword [0x65c738], 0
mov dword [0x65c744], 0
mov dword [0x65c72c], 0x1df9
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x5620de
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x65c730], 0x535
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x65c734], edx
mov dword [0x65c72c], 0x914
mov ecx, dword [ebp - 0x20]
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 [0x65c738], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x65c73c], cl
mov dword [0x65c730], 0x4f8
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x65c73c]
mov edx, dword [0x65c738]
mov byte [edi + edx], cl
mov dword [0x65c72c], 0x1cff
mov edx, dword [0x65c734]
movzx edx, byte [edi + edx]
mov ebx, dword [0x65c738]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x65c730], 0x2373
and ebx, 0xff
mov dword [0x65c744], ebx
mov dword [0x65c72c], 0xf7d
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x65c749], ch
mov byte [0x65c74a], cl
xor ch, cl
mov byte [0x65c748], ch
mov dword [0x65c72c], 0x2532
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov edx, dword [0x65c72c]
add edx, 0xfffffdd7
mov dword [0x65c730], edx
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x5620de
mov eax, dword [0x65c734]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x65c738]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x561faa
mov dword [0x65c730], 0x13f8
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5620f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x65c730]
add eax, 0xfffff879
mov dword [0x65c730], eax
call fcn.0040107a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x562146
jmp 0x56229c
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x5621d5
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x56229c
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x65c730], 0xf2f
mov dword [0x65c72c], 0xf1d
mov dword [esp], eax
mov dword [esp + 0x14], ecx
call fcn.005618a7
lea ecx, [0x5613df]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp + 0x3c], 0x137400
mov edx, dword [0x65c718]
mov dword [esp + 0x58], edx
mov edx, dword [0x65c71c]
mov dword [esp + 0x38], edx
mov edx, dword [0x65c720]
mov dword [esp + 0x44], edx
mov edx, dword [0x65c724]
mov dword [esp + 0x8c], edx
mov edx, dword [0x65c728]
mov dword [esp + 0x70], edx
mov dword [0x65c730], 0xe69
mov dword [0x65c72c], 0xfffff84c
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x562122
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + ecx]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
cmp eax, 0x4550
jne 0x562122
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [0x65c730], 0x19ce
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x64], edx
mov dword [0x65c72c], 0xffffd23b
call fcn.00560add
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x562139
lea eax, [esp + 0x38]
mov ecx, dword [0x65c730]
add ecx, 0xffffe6db
mov dword [0x65c72c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00561430
mov dword [0x65c730], 0x1db8
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x65c72c], 0x11f7
mov dword [esp + 0x18], eax
jmp 0x562139
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret