joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652bf9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi], 0x6ae498
mov dword [esi + 8], 0
push 8
mov dword [esi + 0xc], 0
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 3
mov word [eax], cx
mov byte [ebp - 4], 1
push 8
mov dword [esi + 0x18], ecx
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 3
mov word [eax], cx
mov byte [ebp - 4], 2
push 8
mov dword [esi + 0x24], ecx
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 3
mov word [eax], cx
mov byte [ebp - 4], 3
push 8
mov dword [esi + 0x30], ecx
call fcn.00545b74
mov dword [esi + 0x30], eax
add esp, 0x10
xor ecx, ecx
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 3
mov word [eax], cx
mov eax, esi
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x48e5f0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652d07
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov word [esi], 0
mov byte [esi + 2], 1
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
push 8
mov dword [esi + 0x38], 0
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 3
mov word [eax], cx
mov dword [ebp - 4], ecx
push 8
mov dword [esi + 0x44], ecx
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 3
mov word [eax], cx
mov byte [ebp - 4], 1
push 8
mov dword [esi + 0x50], ecx
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
add esp, 0xc
mov dword [esi + 0x58], 3
mov word [eax], cx
mov byte [esi + 0x5c], cl
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], ecx
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 3
call fcn.00471300
lea ecx, [esi + 0xac]
mov byte [ebp - 4], 4
call fcn.004a8fd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4923e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x492453
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x492453
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 4]
push eax
push 0x6621ac
push 1
push 0
push 0x6621cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x492453
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x492460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c4
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 5
push dword [edi + 0x248]
mov byte [edi + 0x4ca], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x4924f6
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4924f6
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x3c4]
push eax
push 0x6621ac
push 1
push 0
push 0x6621cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4924f6
mov eax, dword [ebp - 0x3c4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x3c4]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x3c4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x3b8
lea eax, [ebp - 0x3bc]
push 0
push eax
call fcn.005e0dd0
mov eax, dword [edi + 0x248]
add esp, 0xc
mov dword [ebp - 0x3bc], eax
lea eax, [ebp - 0x3c0]
mov dword [ebp - 0x3c0], 0x3bc
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x492550
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653128
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0
push ebx
push 0x48e580
push 0
push 0
call fcn.005e7638
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x4925d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
je 0x4925d1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea ecx, [ebx + 0x88]
call fcn.00490f90
test esi, esi
je 0x4925fb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4925fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x493aa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x218], 0
mov ecx, 0x11
mov dword [ebp - 0x214], edi
mov esi, edx
call fcn.004951d0
mov dword [esi], eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x11
push 0
mov dword [ebp - 0x214], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x493b1b
push 0
push ecx
mov ecx, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.004dffd0
add esp, 8
push dword [ebp - 0x214]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
cmp word [ebp - 0x210], si
je 0x493b3c
nop word [eax + eax]
inc esi
cmp word [ebp + esi*2 - 0x210], 0
jne 0x493b30
xor ecx, ecx
mov dword [edi], 0
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
add esp, 4
mov dword [edi + 4], esi
mov dword [edi + 8], esi
lea ecx, [ebp - 0x210]
lea esi, [esi*2 + 2]
mov dword [edi], eax
push esi
push ecx
push eax
call fcn.005e0850
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x493b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x218], 0
mov ecx, 0x12
mov dword [ebp - 0x214], edi
mov esi, edx
call fcn.004951d0
mov dword [esi], eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x12
push 0
mov dword [ebp - 0x214], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x493c0b
push 0
push ecx
mov ecx, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.004dffd0
add esp, 8
push dword [ebp - 0x214]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
cmp word [ebp - 0x210], si
je 0x493c2c
nop word [eax + eax]
inc esi
cmp word [ebp + esi*2 - 0x210], 0
jne 0x493c20
xor ecx, ecx
mov dword [edi], 0
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
add esp, 4
mov dword [edi + 4], esi
mov dword [edi + 8], esi
lea ecx, [ebp - 0x210]
lea esi, [esi*2 + 2]
mov dword [edi], eax
push esi
push ecx
push eax
call fcn.005e0850
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.00545b50
mov esp, ebp
pop ebp
ret

Function at 0x493c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x218], 0
mov ecx, 5
mov dword [ebp - 0x214], edi
mov esi, edx
call fcn.004951d0
mov dword [esi], eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 5
push 0
mov dword [ebp - 0x214], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x493cfb
push 0
push ecx
mov ecx, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.004dffd0
add esp, 8
push dword [ebp - 0x214]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
cmp word [ebp - 0x210], si
je 0x493d1c
nop word [eax + eax]
inc esi
cmp word [ebp + esi*2 - 0x210], 0
jne 0x493d10
xor ecx, ecx
mov dword [edi], 0
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
add esp, 4
mov dword [edi + 4], esi
mov dword [edi + 8], esi
lea ecx, [ebp - 0x210]
lea esi, [esi*2 + 2]
mov dword [edi], eax
push esi
push ecx
push eax
call fcn.005e0850
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x493d70
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6533f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edx, [esi + 0x3c]
lea ecx, [ebp - 0x18]
call fcn.00493aa0
push eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.0049f5a0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
call fcn.00545b61
add esp, 4
lea edx, [esi + 0x40]
lea ecx, [ebp - 0x18]
call fcn.00493c80
push eax
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 1
call fcn.0049f5a0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
call fcn.00545b61
add esp, 4
lea edx, [esi + 0x44]
lea ecx, [ebp - 0x24]
call fcn.00493b90
push eax
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 2
call fcn.0049f5a0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x24]
call fcn.00545b61
add esp, 4
lea ecx, [esi + 0x30]
push 0x6adf0c
call fcn.0049f520
mov ecx, 0x11
call fcn.004951d0
mov dword [esi + 0x48], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x494cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov ebx, edx
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0x18], ebx
xor al, al
mov dword [esp + 0x2c], edi
mov dword [ebx + 4], 0
cmp dword [edi + 4], esi
jbe 0x494dfb
nop dword [eax]
mov edx, dword [edi]
mov dword [esp + 0x24], esi
movzx ecx, word [edx + esi*2]
inc esi
cmp ecx, 0x20
je 0x494df2
cmp ecx, 0x2d
je 0x494dfb
test al, al
je case.0x494d43.99
lea eax, [ecx - 0x41]
mov byte [esp + 0x13], 0
cmp ax, 0x19
ja 0x494d2b
lea eax, [ecx + 0x20]
movzx eax, ax
jmp 0x494d2d
mov eax, ecx
movzx eax, ax
add eax, 0xffffff9e
cmp eax, 0x12
ja case.0x494d43.99
movzx eax, byte [eax + 0x494e88]
jmp dword [eax*4 + 0x494e70]
mov edx, 0xa
jmp 0x494d64
mov edx, 0x14
jmp 0x494d64
mov edx, 0x1e
jmp 0x494d64
mov edx, 0x28
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x14], edx
lea eax, [eax + ecx*8]
mov ecx, dword [eax - 8]
add eax, 0xfffffff8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
xor ecx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov eax, 0x40
sub eax, edx
xor edx, edx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
cmp dword [esp + 0x20], ecx
ja 0x494e66
mov eax, dword [esp + 0x1c]
jb 0x494db9
cmp eax, edx
jae 0x494e66
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
call fcn.0061a8b0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [edi + 4]
cmp esi, ecx
jae case.0x494d43.98
mov eax, dword [edi]
lea eax, [eax + esi*2]
nop dword [eax + eax]
cmp word [eax], 0x20
je case.0x494d43.98
inc esi
add eax, 2
cmp esi, ecx
jb 0x494de0
mov al, byte [esp + 0x13]
cmp esi, dword [edi + 4]
jb 0x494cf0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x24]
lea ebx, [edx + esi*2]
lea edx, [esp + 0x28]
mov ecx, ebx
call fcn.004a00c0
mov edi, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
cmp ebx, edi
je 0x494e66
mov ecx, eax
or ecx, edx
je 0x494e66
mov ecx, dword [esp + 0x18]
call fcn.004038f0
mov eax, dword [esp + 0x18]
sub edi, ebx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
sar edi, 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [esp + 0x18]
inc dword [eax + 4]
add esi, edi
mov edi, dword [esp + 0x2c]
mov al, 1
jmp 0x494df2
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x494dee
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov ebx, edx
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0x18], ebx
xor al, al
mov dword [esp + 0x2c], edi
mov dword [ebx + 4], 0
cmp dword [edi + 4], esi
jbe 0x494dfb
nop dword [eax]
mov edx, dword [edi]
mov dword [esp + 0x24], esi
movzx ecx, word [edx + esi*2]
inc esi
cmp ecx, 0x20
je 0x494df2
cmp ecx, 0x2d
je 0x494dfb
test al, al
je case.0x494d43.99
lea eax, [ecx - 0x41]
mov byte [esp + 0x13], 0
cmp ax, 0x19
ja 0x494d2b
lea eax, [ecx + 0x20]
movzx eax, ax
jmp 0x494d2d
mov eax, ecx
movzx eax, ax
add eax, 0xffffff9e
cmp eax, 0x12
ja case.0x494d43.99
movzx eax, byte [eax + 0x494e88]
jmp dword [eax*4 + 0x494e70]
mov edx, 0xa
jmp 0x494d64
mov edx, 0x14
jmp 0x494d64
mov edx, 0x1e
jmp 0x494d64
mov edx, 0x28
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x14], edx
lea eax, [eax + ecx*8]
mov ecx, dword [eax - 8]
add eax, 0xfffffff8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
xor ecx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov eax, 0x40
sub eax, edx
xor edx, edx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
cmp dword [esp + 0x20], ecx
ja 0x494e66
mov eax, dword [esp + 0x1c]
jb 0x494db9
cmp eax, edx
jae 0x494e66
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
call fcn.0061a8b0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [edi + 4]
cmp esi, ecx
jae case.0x494d43.98
mov eax, dword [edi]
lea eax, [eax + esi*2]
nop dword [eax + eax]
cmp word [eax], 0x20
je case.0x494d43.98
inc esi
add eax, 2
cmp esi, ecx
jb 0x494de0
mov al, byte [esp + 0x13]
cmp esi, dword [edi + 4]
jb 0x494cf0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x24]
lea ebx, [edx + esi*2]
lea edx, [esp + 0x28]
mov ecx, ebx
call fcn.004a00c0
mov edi, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
cmp ebx, edi
je 0x494e66
mov ecx, eax
or ecx, edx
je 0x494e66
mov ecx, dword [esp + 0x18]
call fcn.004038f0
mov eax, dword [esp + 0x18]
sub edi, ebx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
sar edi, 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [esp + 0x18]
inc dword [eax + 4]
add esi, edi
mov edi, dword [esp + 0x2c]
mov al, 1
jmp 0x494df2
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4951d0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2bc], 0
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x2bc]
test eax, eax
je 0x495267
push 0x4008
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0x2c0]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov ecx, dword [ebp - 0x2c0]
test ecx, ecx
je 0x495253
push dword [ebp - 0x2bc]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov eax, dword [ebp - 0x2c0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x4977f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x6dc0b8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov ebx, ecx
push edi
push 0x1ba
mov dword [esp + 0x10], ebx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, ebx
call fcn.00497710
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
xor esi, esi
mov dword [esp + 0x14], eax
nop word [eax + eax]
push 0x6ae484
push dword [esi + str.rsnopqtuvwxyz]
push dword [ebx + 4]
call edi
add esi, 4
cmp esi, 0x4c
jb 0x497840
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebx + 0x18], eax
call esi
sub eax, dword [ebx + 0x18]
mov dword [esp + 0x10], eax
cmp eax, 0x3e8
jb 0x49788f
lea esi, [ebx + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [ebx + 0x21]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
mov ebx, dword [esp + 0xc]
jne 0x4978b9
mov eax, 0x10624dd3
lea ecx, [esp + 0x18]
mul dword [esp + 0x10]
push 0
shr edx, 6
push edx
call fcn.0048ffa0
add esp, 8
lea eax, [esp + 0x18]
push eax
push 0x8c
push dword [ebx + 4]
call edi
lea esi, [ebx + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebx + 0x20]
call fcn.00496cc0
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
mov dword [ebx + 0x24], eax
mov byte [ebx + 0x22], 1
push dword [ebx + 0xc]
call edi
push 0
push eax
push 0x150
push dword [ebx + 0xc]
call edi
push esi
mov dword [ebx + 0x28], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x49b8c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
cmp ecx, dword [esi + 4]
jae 0x49b8dd
mov eax, dword [esi]
mov ebx, dword [eax + ecx*4]
jmp 0x49b8e0
lea ebx, [esi + 0xc]
push 0
push 0x80
push 3
push 0
push 1
push accept
push dword [ebp + 0xc]
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x49b934
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
jmp 0x49b940
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
mov ecx, dword [esi + 0x3c]
push eax
push dword [ebp + 0x10]
add ecx, 0x4f0
push dword [ebp + 0xc]
push ebx
call fcn.0048ea60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a06f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649058
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
xor ecx, ecx
mov edx, 2
mov esi, dword [edi + 4]
mov dword [ebx], 0
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov ecx, dword [edi + 4]
lea ecx, [ecx*2 + 2]
push ecx
push dword [edi]
push eax
call fcn.005e0850
lea esi, [ebx + 0xc]
mov dword [ebp - 4], 0
mov dword [esi], 0
push 8
mov dword [ebp + 8], esi
mov dword [esi + 4], 0
call fcn.00545b74
mov dword [esi + 4], eax
add esp, 0x14
xor ecx, ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 3
mov word [eax], cx
mov eax, ebx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a1ea0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654288
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004066d0
push 0xf
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4a1eef
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
mov byte [ebp - 0xd], al
test al, al
jne 0x4a1f20
xor bl, bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4a1f64
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4a1f64
mov word [ebp - 0x14], 0x100
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push edi
mov dword [ebp - 0x18], eax
call fcn.004a8660
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov bl, 1
jmp 0x4a1f66
xor bl, bl
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
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 0x4a1f80
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 8]
mov ebx, edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4a1fa1
xor al, al
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4a1fd3
push dword [ebp + 8]
push ebx
push eax
call fcn.005e0850
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4a1fd3
mov al, 1
pop esi
pop ebx
pop ebp
ret
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
mov al, bl
pop ebx
pop ebp
ret