joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4987c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1a6040c]
xor edx, edx
cmp eax, edx
jne 0x4987e6
xor eax, eax
mov byte [eax + 0x1a6030c], al
inc eax
cmp eax, 0x100
jl 0x4987ce
mov dword [0x1a6040c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1a6030c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x498877
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x49884a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x498818
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4988f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x498943
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x49892a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49f2d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ee33e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0049fbf0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x19aff34
call fcn.005c4e25
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x49f363
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c4e25
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x49f35c
push 0
mov ecx, eax
call fcn.00496400
mov dword [esi + 0xc], eax
jmp 0x49f365
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x49f365
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4bf1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ef588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
push edi
push 0xa
lea ecx, [esp + 0x10]
call fcn.005c3efd
mov dword [esp + 0xc], 0x19b48d8
mov edi, dword [ebx + 0x180]
mov dword [esp + 0x30], 0
test edi, edi
je 0x4bf219
mov eax, edi
mov edi, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x80]
mov esi, eax
test esi, esi
je 0x4bf215
push esi
lea ecx, [esp + 0x10]
call fcn.005c3f8f
mov edx, dword [esi]
push 0xfffffffffffffffe
mov ecx, esi
call dword [edx + 0x21c]
push esi
mov ecx, ebx
call fcn.004bef40
test edi, edi
jne 0x4bf1e2
push 0
push 0
mov ecx, ebx
call fcn.004bf040
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4bf241
mov eax, esi
mov esi, dword [esi]
push 1
mov ecx, ebx
mov eax, dword [eax + 8]
push eax
call fcn.004bf040
test esi, esi
jne 0x4bf22c
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.005c3f3c
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4c4260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5efc90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [esp + 0x70]
push edi
mov edi, ecx
push esi
call fcn.004c3140
mov ebx, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.005c410e
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0
call fcn.005c410e
mov eax, dword [esp + 0x78]
mov byte [esp + 0x68], 1
test eax, eax
je 0x4c42cc
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004d9130
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.004d91b0
push ebp
push esi
mov ecx, edi
call fcn.004c3b70
mov edx, dword [esp + 0x74]
inc esi
push eax
push esi
push edx
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.004c3e20
mov ebp, dword [ebx + 0x8c]
lea ecx, [esp + 0x3c]
call fcn.005c410e
xor esi, esi
mov byte [esp + 0x6c], 2
test ebp, ebp
jle 0x4c4340
jmp 0x4c430b
mov ebx, dword [esp + 0x10]
push esi
mov ecx, ebx
call fcn.00573aa0
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x78]
add edx, ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
lea ebx, [esp + 0x3c]
dec ecx
push ebx
push ecx
push edx
push eax
mov eax, dword [esp + 0x84]
push edx
push eax
mov ecx, edi
call fcn.004c4430
inc esi
cmp esi, ebp
jl 0x4c4307
mov ecx, edi
call fcn.004c34a0
mov eax, dword [esp + 0x7c]
pop ebp
test eax, eax
je 0x4c43eb
lea ecx, [esp + 0x24]
call fcn.005c410e
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
mov byte [esp + 0x68], 3
mov ebx, eax
jle 0x4c43b6
mov ecx, dword [esp + 0x14]
push 0x10
mov edi, dword [ecx + esi*4]
call fcn.005c4e25
add esp, 4
test eax, eax
je 0x4c43a0
add edi, 0x14
mov edx, eax
mov ecx, dword [edi]
mov dword [edx], ecx
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 8]
mov dword [edx + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [edx + 0xc], ecx
jmp 0x4c43a2
xor eax, eax
mov edx, dword [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.005c39cb
inc esi
cmp esi, ebx
jl 0x4c436e
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x18]
push edx
push eax
push 1
push 2
add ecx, 0xb8
call fcn.00521720
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 2
call fcn.005c4141
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 1
call fcn.005c4141
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0
call fcn.005c4141
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call fcn.005c4141
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x74]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc
Function at 0x4cbfd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5f04e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
mov edx, dword [esp + 0x30]
sub esp, 0x10
mov esi, ecx
mov eax, esp
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x38]
push eax
call fcn.0057a1d0
lea edi, [esi + 0x9c]
mov dword [esp + 0x1c], ebp
mov ecx, edi
call fcn.005c410e
mov dword [edi], method.CObArray.virtual_0
lea edi, [esi + 0xb0]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.005c410e
mov dword [edi], method.CObArray.virtual_0
lea edi, [esi + 0xcc]
mov byte [esp + 0x1c], 2
mov ecx, edi
call fcn.005c410e
mov dword [edi], method.CObArray.virtual_0
mov ecx, dword [0x1a14e58]
xor eax, eax
mov dword [esi + 0x118], ecx
mov dword [esi + 0xe8], eax
lea ebx, [esi + 0xf0]
xor ecx, ecx
mov eax, 1
mov dword [esi + 0xec], ecx
mov dword [ebx], eax
mov ecx, eax
mov edx, eax
mov edi, eax
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
mov dword [ebx + 8], edx
mov dword [esi + 0xc8], eax
mov dword [esi + 0x100], eax
mov eax, edi
mov dword [ebx + 0xc], edi
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], eax
mov dword [esi], 0x19b4f0c
mov dword [esi + 0xe0], ebp
mov dword [esi + 0xe4], ebp
mov dword [esi + 0x98], ebp
mov word [esi + 0xc4], bp
mov dword [esi + 0x104], 0x64
mov dword [esi + 0x108], ebp
mov dword [esi + 0x10c], 2
mov dword [esi + 0x11c], 0xc8
mov dword [esi + 0x120], 0x50
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4d9570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f0e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.005c410e
lea eax, [esp + 0xc]
xor edi, edi
push eax
push 1
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.004d8100
mov ebp, dword [esp + 0x14]
cmp ebp, edi
jle 0x4d95f2
push ebx
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push 0
push eax
mov esi, dword [ecx + edi*4]
push ebx
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x204]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
push 0
push eax
push ebx
mov ecx, esi
call dword [edx + 0x20c]
push 0
push esi
mov ecx, ebx
call fcn.004bf010
inc edi
cmp edi, ebp
jl 0x4d95b7
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c4141
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x4d9620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f0e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [edi], 0
mov dword [ebx], 0
call fcn.005c410e
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 1
mov dword [esp + 0x30], 0
call fcn.004d8100
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d969a
mov ecx, dword [esp + 0x10]
push 0
mov esi, dword [ecx]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x208]
mov dword [edi], eax
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x210]
mov dword [ebx], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c4141
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x4d97f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f0e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.005c410e
lea eax, [esp + 0xc]
xor edi, edi
push eax
push 3
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.004d8100
mov ebp, dword [esp + 0x14]
cmp ebp, edi
jle 0x4d9872
push ebx
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push 1
push eax
mov esi, dword [ecx + edi*4]
push ebx
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x204]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
push 1
push eax
push ebx
mov ecx, esi
call dword [edx + 0x20c]
push 0
push esi
mov ecx, ebx
call fcn.004bf010
inc edi
cmp edi, ebp
jl 0x4d9837
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c4141
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x4d98a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f0ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [edi], 0
mov dword [ebx], 0
call fcn.005c410e
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 3
mov dword [esp + 0x30], 0
call fcn.004d8100
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d991a
mov ecx, dword [esp + 0x10]
push 1
mov esi, dword [ecx]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x208]
mov dword [edi], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x210]
mov dword [ebx], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c4141
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x4dc560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f1258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
lea esi, [ecx + 0x98]
push esi
mov ecx, edi
mov dword [esp + 0xc], 0
call fcn.005c4e59
mov eax, dword [esi + 4]
mov dword [esp + 0x14], 0
mov dword [edi + 4], eax
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov ecx, dword [esi + 0x20]
lea edx, [esi + 0x24]
mov dword [edi + 0x20], ecx
push edx
lea ecx, [edi + 0x24]
call fcn.005c4e59
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x2c], ecx
mov edx, dword [esi + 0x30]
mov dword [edi + 0x30], edx
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov ecx, dword [esi + 0x38]
mov dword [edi + 0x38], ecx
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4dcda0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5f1363
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x1a14e58]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
mov ecx, dword [0x1a14e58]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [ebx], ecx
push 0x1a19138
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.005c526d
push 0x19b09c0
mov ecx, ebx
mov dword [esi + 4], edi
mov dword [esi + 8], 0x190
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0x64
mov dword [esi + 0x20], edi
call fcn.005c526d
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x2c], 0xffffff
mov dword [esi + 0x34], 0xfffffff7
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4dcf90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f13a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
push edi
mov eax, dword [edi + 4]
mov dword [esp + 0x10], 0
mov dword [esi + 4], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov ecx, esi
call fcn.005c521d
mov edx, dword [edi + 8]
lea ebx, [esi + 0x24]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
mov dword [esi + 0x20], edx
call fcn.005c521d
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x38]
mov edx, dword [edi + 0x30]
test ecx, ecx
mov dword [esi + 0x30], edx
je 0x4dd01d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x38], 0
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4dd05f
push 0x18
call fcn.005c4e25
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x4dd052
mov ecx, dword [edi + 0x38]
push ecx
mov ecx, eax
call fcn.004e1950
jmp 0x4dd054
xor eax, eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esi + 0x38], eax
mov edi, dword [esp + 0x20]
push esi
mov ecx, edi
call fcn.005c4e59
mov edx, dword [esi + 4]
push ebx
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x10]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x18], ecx
mov edx, dword [esi + 0x1c]
mov dword [edi + 0x1c], edx
mov eax, dword [esi + 0x20]
lea ecx, [edi + 0x24]
mov dword [esp + 0x1c], 1
mov dword [edi + 0x20], eax
call fcn.005c4e59
mov ecx, dword [esi + 0x28]
mov dword [edi + 0x28], ecx
mov edx, dword [esi + 0x2c]
mov dword [edi + 0x2c], edx
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x34], ecx
mov edx, dword [esi + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x38], edx
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4e2eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f1cd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005c4e59
mov eax, dword [edi + 4]
mov dword [esp + 0x14], 0
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
lea edx, [edi + 0x24]
mov dword [esi + 0x20], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.005c4e59
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4e4da0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4e4e92
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, edi
call fcn.00429e10
test eax, eax
jne 0x4e4e92
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push accept
mov ecx, edi
call fcn.00429e10
test eax, eax
jne 0x4e4e92
lea edx, [esp + 0x10]
push 0x1a19598
push edx
call fcn.004afa10
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e4e63
lea eax, [esp + 0x10]
push 0x1a19594
push eax
call fcn.004af990
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e4e63
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4e4e66
mov byte [esi], 0
push 0x1a18e7c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x4ed1f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f31d7
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x110]
test esi, esi
push edi
mov ebp, ecx
je 0x4ed453
mov edi, dword [ebp + 0x180]
test edi, edi
je 0x4ed38b
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0x14]
mov esi, dword [eax + 8]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc8]
mov edx, dword [eax]
mov ecx, dword [edx - 8]
test ecx, ecx
lea ecx, [esp + 0x14]
setne bl
call fcn.005c50e4
test bl, bl
je 0x4ed37c
mov eax, dword [0x1a14e58]
mov dword [esp + 0x10], eax
push 0xa2d8
lea ecx, [esp + 0x14]
mov dword [esp + 0x110], 0
call fcn.005cbbdc
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.005c4e59
push 0
lea ecx, [esp + 0x5c]
call fcn.00556440
push 0x1a199b0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x110], 1
call fcn.005c526d
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x110], 2
call fcn.005c521d
lea ecx, [esp + 0x18]
mov byte [esp + 0x10c], 1
call fcn.005c50e4
lea ecx, [esp + 0x54]
call fcn.005c6935
cmp eax, 1
je 0x4ed307
push esi
mov ecx, ebp
call fcn.004bf280
mov edi, dword [ebp + 0x180]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x10c], 6
call fcn.005c50e4
lea ecx, [esp + 0xb8]
mov byte [esp + 0x10c], 5
call fcn.005c50e4
lea ecx, [esp + 0xb4]
mov byte [esp + 0x10c], 4
call fcn.005c50e4
lea ecx, [esp + 0xb0]
mov byte [esp + 0x10c], 3
call fcn.005c50e4
lea ecx, [esp + 0x54]
mov byte [esp + 0x10c], 0
call fcn.005c64f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10c], 0xffffffff
call fcn.005c50e4
test edi, edi
jne 0x4ed22e
mov esi, dword [esp + 0x114]
push 0x1000
push 0x2002
lea ecx, [esp + 0x28]
call fcn.005d65c1
push 0
push 0x1000
lea edx, [esp + 0x28]
mov ebx, 7
push 0
push edx
lea ecx, [esp + 0xd0]
mov dword [esp + 0x11c], ebx
call fcn.005cd800
mov eax, dword [esi]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, esi
mov byte [esp + 0x110], 8
call dword [eax + 8]
lea ecx, [esp + 0xc0]
call fcn.005cd964
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [esp + 0x20]
call fcn.005d66e6
push eax
mov eax, dword [0x1a725f4]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4ed41e
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4ed42c
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
mov ecx, ebp
call fcn.004f0690
lea ecx, [esp + 0xc0]
mov byte [esp + 0x10c], bl
call fcn.005cd8dc
lea ecx, [esp + 0x20]
mov dword [esp + 0x10c], 0xffffffff
call fcn.005d6607
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x100
ret 4