joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6ea85152
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, str.O_M_
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3f0f59c3
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x6c15e0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov eax, dword fs:[0x30]
lea edi, [esp + 0xe]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
je 0x6c281e
jne 0x6c281e
jmp 0x54f4e88f
Function at 0x6c3580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
je 0x6c3626
jne 0x6c3626
je 0x6c2bc5
jne 0x6c2076
push esi
sub esp, 0x23c
mov edi, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0
je 0x6c3bf9
mov eax, dword [ebp + 0x10]
mov ecx, 0xffffff00
nop word cs:[eax + eax]
nop dword [eax]
Function at 0x6c5c10
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
movzx edx, word [ecx]
cmp edx, 0x5a4d
jmp 0x6c5c21
jne 0x6c5c3f
je 0x6c5c40
jne 0x6c5c40
jmp 0x4e162a0
push 0x6c5c38
ret
ret
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
je 0x6c5c30
jne 0x6c5c30
nop
Function at 0x6ce8f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
je 0x6cf7de
jmp 0x6cee2a
Function at 0x6df2c0
Capabilities:
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x46c
je 0x6df7b9
jmp 0x6dfc0e
Function at 0x6f2550
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [edx]
mov dword [eax + 0x10], esi
mov esi, dword [edx + 4]
mov dword [eax + 0x14], esi
mov esi, dword [edx + 8]
mov dword [eax + 0x18], esi
mov esi, dword [edx + 0xc]
mov dword [eax + 0x1c], esi
lea esi, [edx + 0x10]
cmp ecx, 0x100
cmovne esi, edx
mov ecx, str.expand_32_byte_kexpand_16_byte_k
mov edx, 0x709690
cmove edx, ecx
mov ecx, dword [esi]
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 0x28], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx]
mov esi, dword [edx + 4]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
pop esi
ret
Function at 0x6fbbf0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x6fbc83
mov dword [eax + 0x48], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 8], 0xf3bcc908
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x10], 0x84caa73b
mov dword [eax + 0x1c], 0x3c6ef372
mov dword [eax + 0x18], 0xfe94f82b
mov dword [eax + 0x24], 0xa54ff53a
mov dword [eax + 0x20], 0x5f1d36f1
mov dword [eax + 0x2c], 0x510e527f
mov dword [eax + 0x28], 0xade682d1
mov dword [eax + 0x34], 0x9b05688c
mov dword [eax + 0x30], 0x2b3e6c1f
mov dword [eax + 0x3c], 0x1f83d9ab
mov dword [eax + 0x38], 0xfb41bd6b
mov dword [eax + 0x44], 0x5be0cd19
mov dword [eax + 0x40], 0x137e2179
xor eax, eax
ret
mov eax, 1
ret
Function at 0x6fcc20
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebx
push edi
push esi
sub esp, 0xa0
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
push edi
push 0x20
push dword [esp + 0xc0]
call fcn.006fc9f0
add esp, 0xc
and byte [edi], 0xf8
mov al, byte [edi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
mov ebx, esp
push edi
push ebx
call fcn.006f6d10
add esp, 8
push ebx
push esi
call fcn.006f6ca0
add esp, 0xa8
pop esi
pop edi
pop ebx
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x11e91105
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4d3652e3
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x41422b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449ca0]
jne 0x414235
repz ret
jmp fcn.00419f1d
Function at 0x42bd20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x42bd2f
pop dword [ebp - 0x2c]
mov eax, 0x356ae37d
sub eax, 0x3528264e
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x499d2
push 0
mov eax, 0x2cc99694
sub eax, 0x2c86045c
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x37c8ad5
sub ecx, 0x37c4ac0
mov esi, eax
mov edx, 0x461e00
add edx, dword [ebp - 0x2c]
mov ebx, 0x24a38b4b
sub ebx, 0x44e97a2e
sub dword [ebp - 8], 0xc1bfb686
mov edi, dword [edx]
mov dword [ebp - 4], 0x2ede974
add edi, ebx
xor dword [ebp - 0xc], 0x432a5408
mov dword [esi], edi
sub dword [ebp - 0x1c], ebx
add esi, 0x259eab27
add esi, 0xda6154dd
add edx, 4
loop 0x42bd88
add eax, 0x8a4fe619
add eax, 0x75b10d0e
mov ebx, eax
add eax, 0x4ac62e55
sub eax, 0x4ac62e50
mov ecx, 0x27da9827
add ecx, 0xd86567d9
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x102440f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102583b4], 0x795
mov dword [0x102583c0], 0
mov byte [0x102583c4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x102583bc], 0
mov dword [ebp - 0x1c], eax
jmp 0x10244201
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0xf92
mov esi, 0x100
mov dword [0x102583c8], 0
mov dword [0x102583b8], eax
mov eax, dword [0x102583c0]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x28], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x102583c8], ebx
mov eax, ebx
cdq
idiv esi
mov dword [0x102583c0], edx
mov dword [0x102583b4], 0x1e22
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x102583c4], bl
mov dword [0x102583b4], 0x112f
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x102583c4]
mov ecx, dword [0x102583c0]
mov byte [esi + ecx], bl
mov dword [0x102583b4], 0xa8a
mov dword [0x102583b8], 0xfffffb26
mov ecx, dword [0x102583bc]
add ecx, 1
mov dword [0x102583bc], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
jl 0x1024413a
jmp 0x1024425e
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x102583b4], 0xc9a
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102583bc]
add eax, 1
mov dword [0x102583bc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10244201
xor eax, eax
mov dword [0x102583b4], 0x9b7
mov dword [0x102583bc], 0
mov ecx, dword [0x102583b8]
add ecx, 0x146c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x1024413a
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10244c00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [0x102583b4], 0xa55
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102583b4], 0xa74
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10244c57
mov eax, 1
mov dword [0x102583b4], 0x12d7
mov dword [ebp - 0x14], eax
jmp 0x10244d79
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x10244cca
jmp 0x10244cb3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff9
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x24], ecx
xor eax, eax
mov ecx, dword [ebp - 0x24]
cmp word [ecx], 0x6c
mov dword [ebp - 0x14], eax
je 0x10244c40
jmp 0x10244d79
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x14], eax
je 0x10244d35
jmp 0x10244d79
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x10244c57
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x102583b4], 0x21ff
mov edx, dword [0x102583b8]
add edx, 0xfffffbd3
mov dword [0x102583b8], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
jne 0x10244d79
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x14], eax
jne 0x10244d79
xor eax, eax
mov dword [0x102583b4], 0xfffffc44
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x14], eax
je 0x10244c96
jmp 0x10244d79
xor eax, eax
mov dword [0x102583b4], 0xfffff436
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x14], eax
jne 0x10244d79
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov ecx, dword [ebp - 0x28]
cmp word [ecx], 0x6c
mov dword [ebp - 0x14], eax
je 0x10244c6f
mov eax, dword [ebp - 0x14]
add esp, 0x28
pop ebp
ret
Function at 0x10244d90
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dl, 0x6b
xor esi, esi
lea edi, [ebp - 0x6c]
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 0x8c], 0x56
mov byte [ebp - 0x8b], 0x69
mov byte [ebp - 0x8a], 0x72
mov byte [ebp - 0x89], 0x74
mov byte [ebp - 0x88], 0x75
mov byte [ebp - 0x87], 0x61
mov byte [ebp - 0x86], 0x6c
mov byte [ebp - 0x85], 0x41
mov byte [ebp - 0x84], 0x6c
mov byte [ebp - 0x83], 0x6c
mov byte [ebp - 0x82], 0x6f
mov byte [ebp - 0x81], 0x63
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x7f], 0x5f
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x5f
mov dword [0x102583b8], 0xd93
mov dword [0x102583b4], 0x642
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], edi
mov byte [ebp - 0x9d], dl
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], esi
jmp 0x10244f97
mov eax, dword [ebp - 0xac]
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 [0x102583b8], 0x1cc2
mov dword [esp], eax
mov ecx, dword [ebp - 0x90]
mov dword [esp + 4], ecx
mov dword [ebp - 0xb0], eax
call fcn.10243f60
xor eax, eax
mov ecx, dword [ebp - 0xb0]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0x14], ecx
mov dword [0x102583b4], 0x1b22
mov dword [0x102583b8], 0x10
cmp ecx, 0
mov dword [ebp - 0xb4], eax
je 0x10244fec
jmp 0x10244fd1
xor eax, eax
lea ecx, [ebp - 0x6c]
mov dword [0x102583b8], 0x956
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0xb8], eax
call fcn.102439c0
mov dword [esp], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
call fcn.10243db0
xor ecx, ecx
mov edx, dword [0x102583b8]
add edx, 0xffffe8c4
mov dword [0x102583b8], edx
cmp eax, 0
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb4], ecx
je 0x10244fec
jmp 0x10244e89
mov eax, dword [ebp - 0xa8]
mov cl, byte [ebp - 0x9d]
movsx edx, cl
mov si, dx
mov edx, eax
add edx, 1
mov word [ebp + eax*2 - 0x6c], si
mov cl, byte [ebp + eax - 0x2b]
cmp cl, 0
mov byte [ebp - 0x9d], cl
mov dword [ebp - 0xa8], edx
je 0x10244f34
jmp 0x10244f97
mov dword [0x102583b4], 0x1d80
mov eax, dword [ebp - 0xb0]
add eax, 0x1739
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10245170
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]
mov dword [0x102583bc], 0
mov dword [0x102583c0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x102583cc], 0
mov dword [0x102583b4], 0x1678
mov eax, dword [ebp - 0x10]
cmp eax, 0
jne 0x102451d7
mov dword [0x102583b4], 0x1361
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x102451c3
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x102451e8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102583bc], edx
mov ecx, dword [0x102583b8]
mov edi, ecx
add edi, 0xffffe86c
mov dword [0x102583b4], edi
mov edi, dword [ebp - 0x1c]
movzx ebx, byte [edi + edx]
mov edi, dword [ebp - 0x30]
add ebx, edi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102583c0], edx
add ecx, 0xffffe02d
mov dword [0x102583b8], ecx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102583c4], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x102583b4], 0x12a7
mov cl, byte [0x102583c4]
mov edx, dword [0x102583c0]
mov byte [edi + edx], cl
mov edx, dword [0x102583bc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102583c0]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x102583b4], 0x1110
and ebx, 0xff
mov dword [0x102583cc], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x102583d1], ch
mov byte [0x102583d2], cl
xor ch, cl
mov byte [0x102583d0], ch
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x102451d5
mov eax, dword [0x102583bc]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x102583c0]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x102451e8
Function at 0x10245490
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
lea eax, [esp + 0x88]
lea ecx, [esp + 0x30]
mov dword [0x102583b4], 0xd9e
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.10244280
mov ecx, 0x1ae7
lea edx, [0x10244b70]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x54], esi
mov dword [esp + 0x3c], 0x137400
mov esi, dword [0x102583a0]
mov dword [esp + 0x60], esi
mov esi, dword [0x102583a4]
mov dword [esp + 0x38], esi
mov esi, dword [0x102583a8]
mov dword [esp + 0x6c], esi
mov esi, dword [0x102583ac]
mov dword [esp + 0x34], esi
mov dword [0x102583b4], 0x26c3
mov esi, dword [0x102583b0]
mov dword [esp + 0x74], esi
mov dword [0x102583b8], 0x29d7
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
jmp 0x1024554d
mov eax, 0xf45
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jne 0x10245530
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
jne 0x10245530
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [0x102583b8], eax
mov dword [esp + 0x80], edx
mov dword [0x102583b4], 0x1b01
mov eax, dword [edx + ecx + 0x50]
mov dword [esp + 0x40], eax
call fcn.10244c00
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x10245601
lea eax, [esp + 0x30]
mov dword [0x102583b4], 0x189e
mov ecx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10244d90
mov dword [0x102583b8], 0x1d69
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x401350
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d71b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x560410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0050d3ad
push 4
mov dword [ebp - 4], 0
call fcn.00403ae9
mov edi, eax
add esp, 4
test edi, edi
je 0x4013d0
call fcn.0050d17d
mov dword [edi], eax
call fcn.0050cf3b
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0050ce70
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4013c6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0050ce98
jmp 0x4013d2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403500
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d99b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x560410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403573
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x250]
call fcn.004031c0
push str.tempApp.exe
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x234]
push ecx
mov dword [ebp - 4], ebx
call fcn.004034b0
mov esi, 0x10
add esp, 0xc
cmp dword [ebp - 0x23c], esi
jb 0x4035c9
mov edx, dword [ebp - 0x250]
push edx
call fcn.00403b18
add esp, 4
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x4035dd
lea eax, [ebp - 0x234]
push ebx
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x403618
push str.Failed_to_copy_file_to_temporary_folder._n
call fcn.004f2d2a
add esp, 4
cmp dword [ebp - 0x220], esi
jb 0x403614
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00403b18
add esp, 4
xor al, al
jmp 0x40365c
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x40362c
lea eax, [ebp - 0x234]
push 0xa
push ebx
push ebx
push eax
push str.runas
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
setg bl
cmp dword [ebp - 0x220], esi
jb 0x40365a
mov edx, dword [ebp - 0x234]
push edx
call fcn.00403b18
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f2c9b
mov esp, ebp
pop ebp
ret