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

Disassembly:
push ecx
mov eax, dword [0x1d023fc]
xor edx, edx
cmp eax, edx
jne 0x48f786
xor eax, eax
mov byte [eax + 0x1d022fc], al
inc eax
cmp eax, 0x100
jl 0x48f76e
mov dword [0x1d023fc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1d022fc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x48f817
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 0x48f7ea
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 0x48f7b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x48f890
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 0x48f8e3
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 0x48f8ca
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 0x496270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e531e
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.00496b90
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1c521b4
call fcn.005bbdc5
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x496303
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bbdc5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4962fc
push 0
mov ecx, eax
call fcn.0048d3a0
mov dword [esi + 0xc], eax
jmp 0x496305
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x496305
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 0x4b6140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e6568
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.005bae9d
mov dword [esp + 0xc], 0x1c56b58
mov edi, dword [ebx + 0x180]
mov dword [esp + 0x30], 0
test edi, edi
je 0x4b61b9
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 0x4b61b5
push esi
lea ecx, [esp + 0x10]
call fcn.005baf2f
mov edx, dword [esi]
push 0xfffffffffffffffe
mov ecx, esi
call dword [edx + 0x21c]
push esi
mov ecx, ebx
call fcn.004b5ee0
test edi, edi
jne 0x4b6182
push 0
push 0
mov ecx, ebx
call fcn.004b5fe0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4b61e1
mov eax, esi
mov esi, dword [esi]
push 1
mov ecx, ebx
mov eax, dword [eax + 8]
push eax
call fcn.004b5fe0
test esi, esi
jne 0x4b61cc
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.005baedc
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4bb200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e6c70
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.004ba0e0
mov ebx, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.005bb0ae
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0
call fcn.005bb0ae
mov eax, dword [esp + 0x78]
mov byte [esp + 0x68], 1
test eax, eax
je 0x4bb26c
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004d00d0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.004d0150
push ebp
push esi
mov ecx, edi
call fcn.004bab10
mov edx, dword [esp + 0x74]
inc esi
push eax
push esi
push edx
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.004badc0
mov ebp, dword [ebx + 0x8c]
lea ecx, [esp + 0x3c]
call fcn.005bb0ae
xor esi, esi
mov byte [esp + 0x6c], 2
test ebp, ebp
jle 0x4bb2e0
jmp 0x4bb2ab
mov ebx, dword [esp + 0x10]
push esi
mov ecx, ebx
call fcn.0056aa40
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.004bb3d0
inc esi
cmp esi, ebp
jl 0x4bb2a7
mov ecx, edi
call fcn.004ba440
mov eax, dword [esp + 0x7c]
pop ebp
test eax, eax
je 0x4bb38b
lea ecx, [esp + 0x24]
call fcn.005bb0ae
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
mov byte [esp + 0x68], 3
mov ebx, eax
jle 0x4bb356
mov ecx, dword [esp + 0x14]
push 0x10
mov edi, dword [ecx + esi*4]
call fcn.005bbdc5
add esp, 4
test eax, eax
je 0x4bb340
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 0x4bb342
xor eax, eax
mov edx, dword [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.005ba96b
inc esi
cmp esi, ebx
jl 0x4bb30e
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.005186c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 2
call fcn.005bb0e1
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 1
call fcn.005bb0e1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0
call fcn.005bb0e1
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call fcn.005bb0e1
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 0x4c2f70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e74c4
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.00571170
lea edi, [esi + 0x9c]
mov dword [esp + 0x1c], ebp
mov ecx, edi
call fcn.005bb0ae
mov dword [edi], method.CObArray.virtual_0
lea edi, [esi + 0xb0]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.005bb0ae
mov dword [edi], method.CObArray.virtual_0
lea edi, [esi + 0xcc]
mov byte [esp + 0x1c], 2
mov ecx, edi
call fcn.005bb0ae
mov dword [edi], method.CObArray.virtual_0
mov ecx, dword [0x1cb6e58]
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], 0x1c5718c
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 0x4d0510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e7e08
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.005bb0ae
lea eax, [esp + 0xc]
xor edi, edi
push eax
push 1
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.004cf0a0
mov ebp, dword [esp + 0x14]
cmp ebp, edi
jle 0x4d0592
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.004b5fb0
inc edi
cmp edi, ebp
jl 0x4d0557
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bb0e1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x4d05c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e7e28
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.005bb0ae
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 1
mov dword [esp + 0x30], 0
call fcn.004cf0a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d063a
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.005bb0e1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x4d0790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e7e68
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.005bb0ae
lea eax, [esp + 0xc]
xor edi, edi
push eax
push 3
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.004cf0a0
mov ebp, dword [esp + 0x14]
cmp ebp, edi
jle 0x4d0812
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.004b5fb0
inc edi
cmp edi, ebp
jl 0x4d07d7
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bb0e1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x4d0840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e7e88
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.005bb0ae
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 3
mov dword [esp + 0x30], 0
call fcn.004cf0a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d08ba
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.005bb0e1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x4d3500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e8238
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.005bbdf9
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.005bbdf9
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 0x4d3d40
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e8343
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x1cb6e58]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
mov ecx, dword [0x1cb6e58]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [ebx], ecx
push 0x1cbb138
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.005bc20d
push 0x1c52c40
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.005bc20d
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 0x4d3f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e8382
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.005bc1bd
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.005bc1bd
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 0x4d3fbd
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x38], 0
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4d3fff
push 0x18
call fcn.005bbdc5
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x4d3ff2
mov ecx, dword [edi + 0x38]
push ecx
mov ecx, eax
call fcn.004d88f0
jmp 0x4d3ff4
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.005bbdf9
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.005bbdf9
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 0x4d9e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e8cb8
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.005bbdf9
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.005bbdf9
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 0x4dbd40
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 0x4dbe32
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, edi
call fcn.00421440
test eax, eax
jne 0x4dbe32
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.00421440
test eax, eax
jne 0x4dbe32
lea edx, [esp + 0x10]
push 0x1cbb598
push edx
call fcn.004a69b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4dbe03
lea eax, [esp + 0x10]
push 0x1cbb594
push eax
call fcn.004a6930
mov esi, eax
add esp, 8
test esi, esi
jne 0x4dbe03
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4dbe06
mov byte [esi], 0
push 0x1cbae7c
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 0x4e4190
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ea1b7
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 0x4e43f3
mov edi, dword [ebp + 0x180]
test edi, edi
je 0x4e432b
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.005bc084
test bl, bl
je 0x4e431c
mov eax, dword [0x1cb6e58]
mov dword [esp + 0x10], eax
push 0xa2d8
lea ecx, [esp + 0x14]
mov dword [esp + 0x110], 0
call fcn.005c2b7c
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.005bbdf9
push 0
lea ecx, [esp + 0x5c]
call fcn.0054d3e0
push 0x1cbb9b0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x110], 1
call fcn.005bc20d
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.005bc1bd
lea ecx, [esp + 0x18]
mov byte [esp + 0x10c], 1
call fcn.005bc084
lea ecx, [esp + 0x54]
call fcn.005bd8d5
cmp eax, 1
je 0x4e42a7
push esi
mov ecx, ebp
call fcn.004b6220
mov edi, dword [ebp + 0x180]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x10c], 6
call fcn.005bc084
lea ecx, [esp + 0xb8]
mov byte [esp + 0x10c], 5
call fcn.005bc084
lea ecx, [esp + 0xb4]
mov byte [esp + 0x10c], 4
call fcn.005bc084
lea ecx, [esp + 0xb0]
mov byte [esp + 0x10c], 3
call fcn.005bc084
lea ecx, [esp + 0x54]
mov byte [esp + 0x10c], 0
call fcn.005bd490
lea ecx, [esp + 0x10]
mov dword [esp + 0x10c], 0xffffffff
call fcn.005bc084
test edi, edi
jne 0x4e41ce
mov esi, dword [esp + 0x114]
push 0x1000
push 0x2002
lea ecx, [esp + 0x28]
call fcn.005cd561
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.005c47a0
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.005c4904
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.005cd686
push eax
mov eax, dword [0x1d145e4]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4e43be
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4e43cc
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
mov ecx, ebp
call fcn.004e7630
lea ecx, [esp + 0xc0]
mov byte [esp + 0x10c], bl
call fcn.005c487c
lea ecx, [esp + 0x20]
mov dword [esp + 0x10c], 0xffffffff
call fcn.005cd5a7
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x100
ret 4