joyce8/EMBER2024-capa huggingface dataset:
Function at 0x612e9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x6b0de0
call fcn.0067aec0
sub esp, 0x2c
push ebx
push esi
push edi
push 0x13
mov word [ebp - 0x38], 0x20
mov word [ebp - 0x36], 0x2c
mov word [ebp - 0x34], 0x2e
mov word [ebp - 0x32], 0xa
mov word [ebp - 0x30], 0xd
mov word [ebp - 0x2e], 9
mov word [ebp - 0x2c], 0x21
mov word [ebp - 0x2a], 0x3f
mov word [ebp - 0x28], 0x2a
mov word [ebp - 0x26], 0x28
mov word [ebp - 0x24], 0x29
mov word [ebp - 0x22], 0x2b
mov word [ebp - 0x20], 0x3d
mov word [ebp - 0x1e], 0x7c
mov word [ebp - 0x1c], 0x5c
mov word [ebp - 0x1a], 0x2f
mov word [ebp - 0x18], 0x5b
mov word [ebp - 0x16], 0x5d
mov word [ebp - 0x14], 0x2d
or edi, 0xffffffff
lea esi, [ebp - 0x38]
pop ebx
mov ax, word [esi]
push 1
push eax
lea ecx, [ebp - 0x10]
call fcn.00679522
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call fcn.006793fc
cmp eax, dword [ebp + 0xc]
jle 0x612f58
cmp edi, 0xffffffff
je 0x612f56
cmp eax, edi
jge 0x612f58
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.006791bc
inc esi
inc esi
dec ebx
jne 0x612f28
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x633fcf
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6b420a
call fcn.0067aec0
push ecx
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 8]
mov dword [ebp - 0x14], esi
mov dword [esi + 4], edi
call fcn.006791ce
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
call fcn.006791ce
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.006791ce
or dword [esi + 0x18], 0xffffffff
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi], 0x6de2d0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x645b5e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x645b6c
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x645c4d
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x6e044c]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x6e044c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x6e044c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x6e044c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x6e044c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x6e044c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x6e044c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x6e044c]
xor eax, esi
inc edx
dec edi
jne 0x645b89
pop ebx
cmp dword [ebp + 0x10], 0
je 0x645c6e
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x6e044c]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x645c53
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x645c74
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [esp + 0x10]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0x6e044c]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov edi, esi
and edi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr esi, 8
mov eax, dword [eax*4 + 0x6e044c]
xor eax, esi
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x64a93c
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x6b57b5
call fcn.0067aec0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.006791ce
and dword [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.006791ce
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.006791ce
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.006791ce
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.006791ce
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 4
call fcn.006791ce
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
call fcn.006791ce
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 6
call fcn.006791ce
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 7
call fcn.006791ce
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 8
call fcn.006791ce
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 9
call fcn.006791ce
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 0xa
call fcn.006791ce
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0xb
call fcn.006791ce
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xc
call fcn.006791ce
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xd
call fcn.006791ce
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xe
call fcn.006791ce
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xf
call fcn.006791ce
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x64aa56
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x6b5881
call fcn.0067aec0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x40]
mov dword [ebp - 4], 0xf
call fcn.006791bc
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xe
call fcn.006791bc
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xd
call fcn.006791bc
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xc
call fcn.006791bc
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0xb
call fcn.006791bc
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 0xa
call fcn.006791bc
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 9
call fcn.006791bc
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 8
call fcn.006791bc
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 7
call fcn.006791bc
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 6
call fcn.006791bc
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
call fcn.006791bc
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 4
call fcn.006791bc
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.006791bc
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.006791bc
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.006791bc
and byte [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.006791bc
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.006791bc
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x64b41f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push dword [ebp + 8]
call fcn.0064b405
mov edi, eax
pop ecx
test edi, edi
je 0x64b458
and byte [ebp - 1], 0
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 1]
push eax
push edi
mov ecx, esi
call fcn.005aeea5
mov esi, dword [esi + 4]
push edi
push esi
push dword [ebp + 8]
call fcn.0064b38f
add esp, 0xc
pop esi
pop edi
leave
ret
Function at 0x65927a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6b73b5
call fcn.0067aec0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.006791ce
and dword [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.006791ce
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.006791ce
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.006592ef
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
mov dword [esi + 0x30], eax
call fcn.006791d4
mov eax, dword [ebp + 0x14]
and dword [esi + 0x3c], 0
and dword [esi + 0x28], 0
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x2c], 0
mov dword [esi + 0x38], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x662b34
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push 1
xor edi, edi
pop eax
cmp ebx, eax
jl 0x662b49
cmp ebx, 8
jle 0x662b4b
xor eax, eax
mov esi, dword [esp + 0x10]
push str.bad_pack_level
push eax
push esi
call fcn.006616bd
lea ecx, [esi + 0x6af70]
lea eax, [esi + 0x6af78]
add esp, 0xc
cmp dword [ecx], edi
mov dword [eax], edi
jne 0x662b7c
mov dword [eax], 1
mov dword [ecx], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.0067af24
mov eax, ebx
add esp, 0xc
shl eax, 3
cmp ebx, 2
movzx ecx, word [eax + 0x6e237a]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax + 0x6e2378]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax + 0x6e237c]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax + 0x6e237e]
mov dword [esi + 0x6af94], eax
jg 0x662bde
mov eax, dword [esp + 0x18]
or byte [eax], 4
jmp 0x662bea
cmp ebx, 8
jl 0x662bea
mov eax, dword [esp + 0x18]
or byte [eax], 2
lea ebx, [esi + 0x1af70]
push 0x10000
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x6af90], eax
je 0x662c5a
cmp eax, 0xffffffff
je 0x662c5a
cmp eax, 0x106
mov dword [esi + 0x6af8c], edi
jae 0x662c2c
push esi
call fcn.00662e31
pop ecx
mov dword [esi + 0x6af7c], edi
movzx eax, byte [ebx + edi]
mov ecx, dword [esi + 0x6af7c]
and eax, 0x7fff
and ecx, 0x3ff
shl ecx, 5
xor eax, ecx
inc edi
cmp edi, 2
mov dword [esi + 0x6af7c], eax
jb 0x662c32
jmp 0x662c6a
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
ret
Function at 0x662f5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebp, ebp
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x663176
push ebx
mov ebx, 0x7fff
cmp eax, 3
jb 0x662fd4
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
and edx, 0x3ff
movzx eax, byte [ecx + esi + 0x1af72]
and eax, ebx
shl edx, 5
xor eax, edx
and ecx, ebx
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebp, ebp
je 0x663010
mov eax, dword [esi + 0x6af84]
sub eax, ebp
cmp eax, 0x7efa
ja 0x663010
mov ecx, dword [esi + 0x6af90]
lea eax, [esi + 0x6afa0]
cmp dword [eax], ecx
jbe 0x662ff9
mov dword [eax], ecx
push ebp
push esi
call fcn.00662c6e
mov edi, eax
mov eax, dword [esi + 0x6af90]
pop ecx
cmp edi, eax
pop ecx
jbe 0x663010
mov edi, eax
cmp edi, 3
jb 0x6630ed
lea eax, [edi - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.006624a6
sub dword [esi + 0x6af90], edi
add esp, 0xc
cmp edi, dword [esi + 0x6af98]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x6af90]
ja 0x6630a6
cmp eax, 3
jb 0x6630a6
dec edi
inc dword [esi + 0x6af84]
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
movzx eax, byte [esi + ecx + 0x1af72]
and edx, 0x3ff
and eax, ebx
shl edx, 5
xor eax, edx
and ecx, ebx
mov dword [esi + 0x6af7c], eax
dec edi
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x663051
jmp 0x663111
add dword [esi + 0x6af84], edi
mov eax, dword [esi + 0x6af84]
lea edx, [esi + 0x6af7c]
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
lea ecx, [eax + esi]
push 1
push esi
xor edi, edi
movzx eax, byte [ecx + 0x1af70]
mov dword [edx], eax
and eax, 0x3ff
movzx ecx, byte [ecx + 0x1af71]
and ecx, ebx
shl eax, 5
xor ecx, eax
mov dword [edx], ecx
call fcn.006616bd
add esp, 0xc
jmp 0x663117
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.006624a6
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [esp + 0x14], eax
inc dword [esi + 0x6af84]
cmp dword [esp + 0x14], 0
je 0x663154
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x663131
lea ecx, [eax + esi + 0x1af70]
jmp 0x663133
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00662296
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x663167
push esi
call fcn.00662e31
pop ecx
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x662f85
pop ebx
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x663189
lea ecx, [eax + esi + 0x1af70]
jmp 0x66318b
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.00662296
add esp, 0x10
pop edi
pop esi
pop ebp
ret
Function at 0x663cce
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x663cdc
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x663dbd
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x6e23c8]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x6e23c8]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x6e23c8]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x6e23c8]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x6e23c8]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x6e23c8]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x6e23c8]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x6e23c8]
xor eax, esi
inc edx
dec edi
jne 0x663cf9
pop ebx
cmp dword [ebp + 0x10], 0
je 0x663dde
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x6e23c8]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x663dc3
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x663de4
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [esp + 0x10]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0x6e23c8]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov edi, esi
and edi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr esi, 8
mov eax, dword [eax*4 + 0x6e23c8]
xor eax, esi
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x663fa4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [0x6ba274]
test eax, eax
jne 0x663fc7
mov eax, 0x200
jmp 0x66413c
mov ecx, dword [ebp - 0x4c]
push ebx
push esi
push 1
mov edx, ecx
pop eax
xor ebx, ebx
and edx, eax
mov dword [ebp - 8], ebx
je 0x663fdd
mov dword [ebp - 8], eax
test cl, 2
je 0x663fe6
or dword [ebp - 8], 2
test cl, 4
je 0x663fef
or dword [ebp - 8], 4
mov eax, ecx
and eax, 0x10
je 0x663ffa
or dword [ebp - 8], 0x10
test cl, 0x20
je 0x664003
or dword [ebp - 8], 0x20
cmp eax, ebx
je 0x66400d
or byte [ebp - 5], 0x40
jmp 0x664011
or byte [ebp - 5], 0x80
or byte [ebp - 5], 1
cmp edx, ebx
jne 0x66401d
or byte [ebp - 6], 0x80
push ebx
push edi
call dword [0x6ba358]
cmp eax, 0x28
mov dword [ebp - 0x10], eax
jbe 0x6640b8
mov esi, dword [0x6ba2b0]
push ebx
push ebx
push ebx
push edi
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 2]
push 2
push eax
push edi
mov edi, dword [0x6ba360]
call edi
push ebx
push ebx
push 0x24
push dword [ebp + 8]
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x14]
push 4
push eax
push dword [ebp + 8]
call edi
cmp word [ebp - 2], 0x54ad
jne 0x6640b8
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x6640b8
push ebx
push ebx
push eax
push dword [ebp + 8]
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x18]
push 4
push eax
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 0x18]
cmp eax, 0x5a4d
je 0x6640b4
cmp eax, 0x454e
je 0x6640b4
cmp eax, 0x454c
je 0x6640b4
cmp eax, 0x4550
jne 0x6640b8
or byte [ebp - 6], 0x40
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x6640c4
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x6640d0
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x66410c
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.00663f23
push dword [ebp - 0x34]
mov dword [esi], eax
mov dword [esi + 4], edx
push dword [ebp - 0x38]
call fcn.00663f23
push dword [ebp - 0x44]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
push dword [ebp - 0x48]
call fcn.00663f23
mov dword [esi + 0x10], eax
add esp, 0x18
mov dword [esi + 0x14], edx
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x664138
lea eax, [ebp + 0xe]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00663f45
movzx eax, word [ebp + 0xa]
movzx ecx, word [ebp + 0xe]
shl eax, 0x10
add esp, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
pop edi
leave
ret
Function at 0x66ca45
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6b88de
call fcn.0067aec0
push ecx
push ecx
mov al, byte [ebp - 0xd]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], esi
mov byte [esi], al
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov al, byte [ebp - 0xd]
mov dword [ebp - 4], edi
mov byte [esi + 0x10], al
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov al, byte [ebp - 0xd]
mov dword [esi + 0x24], edi
mov byte [esi + 0x20], al
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
lea eax, [ebp - 0xd]
lea ecx, [esi + 0x30]
push eax
lea eax, [ebp - 0xe]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.00670c68
mov al, byte [ebp - 0xe]
mov cl, byte [ebp - 0xe]
mov byte [esi + 0x40], al
mov al, byte [ebp - 0xe]
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov byte [esi + 0x54], al
mov al, byte [ebp - 0xe]
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov byte [esi + 0x64], al
lea eax, [esi + 0x74]
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov byte [eax], cl
mov cl, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0x84]
mov byte [eax], cl
mov cl, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0x94]
mov byte [eax], cl
mov cl, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xa4]
mov byte [eax], cl
mov cl, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xb4]
mov byte [eax], cl
mov cl, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xc4]
mov byte [eax], cl
mov cl, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xd4]
mov byte [eax], cl
mov cl, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xe4]
mov byte [eax], cl
mov cl, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xf4]
mov byte [eax], cl
mov cl, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0x104]
mov byte [eax], cl
mov cl, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0x114]
mov byte [eax], cl
mov cl, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0x124]
mov byte [eax], cl
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x678f80
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edi, dword [ebp + 8]
add edi, 8
mov ecx, 8
mov esi, 0x6e28fc
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
ret
Function at 0x4011c6
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call fcn.0040114f
call section..text
movzx eax, al
cmp eax, 1
jne 0x4011e9
push 5
pop eax
jmp 0x4013b8
and dword [ebp - 0x40], 0
and dword [ebp - 0xc], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x44], 0
and dword [ebp - 8], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x330
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, eax
add ebx, 0xc
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x30]
mov ecx, 0x18
xor esi, esi
xor ebx, ebx
add bl, byte [edi + ecx - 1]
add esi, ebx
loop 0x401234
cmp esi, dword [ebp - 0x2c]
je 0x401249
mov eax, dword [eax]
cmp eax, ebx
jne 0x40122a
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
nop
popal
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x55eb34
push dword [0x404714]
push 0x55eb18
push dword [0x55eb34]
push 0x55eb38
call fcn.0040102b
add esp, 0x14
push 0x55eb38
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
push 0x55eb54
push dword [0x404714]
push 0x55eb18
push dword [0x55eb54]
push 0x55eb58
call fcn.0040102b
add esp, 0x14
push 0x55eb58
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x55eb74
push dword [0x404714]
push 0x55eb18
push dword [0x55eb74]
push 0x55eb78
call fcn.0040102b
add esp, 0x14
push 0x55eb78
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [0x404038]
mov dword [ebp - 0x10], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
call dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x404040
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
push eax
push dword [section..data]
push 0x404004
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0x20
push dword [0x404038]
push dword [ebp - 4]
call dword [ebp - 0x24]
push 0x404710
push dword [0x40403c]
push 0x4046e0
push dword [0x404710]
push 0x404718
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [0x55ebcc], eax
and dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [0x55ebcc]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret