joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b2e0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f630
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ebx, ax
cmp si, bx
jne 0x46b44b
mov ecx, ebx
mov dword [ebp - 0x20], 0
and ecx, 0x3ff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0046b110
lea ecx, [ebp - 0x2c]
call fcn.0046ade0
mov eax, ebx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
xor edi, edi
shr eax, 0xa
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
test edi, edi
cmovne eax, ecx
cmp eax, esi
jae 0x46b3d1
mov eax, dword [ebx + eax*4]
mov dword [ebp - 0x14], eax
cmp dword [eax + 4], ecx
je 0x46b3d1
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.0049f1c0
add esp, 4
push 0x6adc10
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0049f250
mov byte [ebp - 4], 3
push dword [eax]
call fcn.0049e3b0
push dword [ebp - 0x38]
mov bl, al
call fcn.00545b61
add esp, 4
mov byte [ebp - 4], 1
push dword [ebp - 0x44]
call fcn.00545b61
add esp, 4
test bl, bl
jne 0x46b3dc
mov ebx, dword [ebp - 0x20]
inc edi
cmp edi, 2
jae 0x46b40e
mov eax, dword [ebp - 0x10]
jmp 0x46b368
push dword [ebp - 0x14]
mov ecx, 0x6f3ed4
call fcn.0049f5a0
push dword [ebp - 0x2c]
call fcn.00545b61
add esp, 4
lea ecx, [ebp - 0x20]
call fcn.00406650
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 dword [ebp - 0x2c]
call fcn.00545b61
add esp, 4
test esi, esi
je 0x46b442
nop dword [eax]
mov edi, dword [ebx + esi*4 - 4]
dec esi
test edi, edi
je 0x46b43e
push dword [edi]
call fcn.00545b61
add esp, 4
push 0xc
push edi
call fcn.00545b66
add esp, 8
test esi, esi
jne 0x46b420
push ebx
call fcn.00545b61
add esp, 4
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 0x46c5d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f7de
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], 0x6adc98
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 8
mov dword [esi + 0x10], 0
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 3
mov word [eax], cx
mov byte [ebp - 4], 1
push 8
mov dword [esi + 0x1c], ecx
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 3
mov word [eax], cx
mov byte [ebp - 4], 2
push 8
mov dword [esi + 0x28], ecx
call fcn.00545b74
add esp, 0xc
mov dword [esi + 0x28], eax
xor ecx, ecx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 3
mov word [eax], cx
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 0x46f630
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
sub eax, 0x100
je 0x46f6ef
sub eax, 2
je 0x46f6c2
sub eax, 2
jne 0x46f6d0
lea eax, [edi - 0x70]
cmp eax, 1
mov eax, dword [ebp + 0x10]
ja 0x46f6d3
test eax, 0x20000000
je 0x46f6d3
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
movzx ebx, ax
push 0x11
shr ebx, 0xf
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x10
mov dword [ebp + 0xc], eax
call esi
shr eax, 0xf
and al, 1
and bl, 1
je 0x46f6d0
cmp byte [ebp + 0xc], 0
jne 0x46f6d0
test al, al
jne 0x46f6d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
xor eax, eax
cmp edi, 0x70
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 9
je 0x46f74b
cmp edi, 0x1b
je 0x46f74b
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
push edi
push dword [ebp + 8]
push dword [eax]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 9
je 0x46f73f
cmp edi, 0x78
jne 0x46f6d0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
movzx ebx, ax
push 0x11
shr ebx, 0xf
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x10
mov dword [ebp + 0xc], eax
call esi
shr eax, 0xf
and al, 1
and bl, 1
jne 0x46f6d0
cmp byte [ebp + 0xc], bl
jne 0x46f6d0
test al, al
jne 0x46f6d0
call fcn.00458320
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 8]
push dword [eax + 0x68]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46f760
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xb4], 4
mov dword [edi + 4], eax
mov dword [edi + 0x144], 4
mov byte [edi + 0x148], 1
mov byte [edi + 0x78], 1
jb 0x46f799
mov dword [edi + 0xb4], 3
mov esi, dword [edi + 0xb4]
mov eax, dword [ebp + 0xc]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [edi + 0x68], eax
cmp esi, 4
jae 0x46f7d6
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi*4 + 0x691e64]
mov ecx, eax
and ecx, 3
cmp ecx, edx
je 0x46f7d6
and eax, 0xfffffffc
or eax, edx
push eax
push 0xfffffffffffffff0
push dword [edi + 0x68]
call ebx
lea esi, [edi + 0x64]
mov dword [edi + 0x70], edi
push esi
push 0xffffffffffffffeb
push dword [esi + 4]
call ebx
push 0x4a2260
push 0xfffffffffffffffc
push dword [esi + 4]
call ebx
push 5
mov dword [esi + 8], eax
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 8
push eax
mov dword [ebp - 8], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 4
push 4
push 0x40e
push eax
mov dword [edi + 0x48], eax
call esi
push 0
push 0
push 0x407
push dword [edi + 0x48]
call esi
lea esi, [edi + 0x58]
mov dword [esi], eax
push esi
push 0xffffffffffffffeb
push eax
call ebx
push 0x46f600
push 0xfffffffffffffffc
push dword [esi]
mov dword [edi + 0x60], edi
call ebx
push 0
push 0x3e8
push 1
push dword [edi + 4]
mov dword [edi + 0x5c], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, edi
call fcn.00480350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x472d70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x648bcb
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 byte [esi], 0
push 8
mov dword [esi + 4], 0
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 4], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 3
mov word [eax], cx
mov dword [ebp - 4], ecx
push 8
mov dword [esi + 0x10], ecx
call fcn.00545b74
mov dword [esi + 0x10], eax
add esp, 8
xor ecx, ecx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 3
mov word [eax], cx
mov eax, esi
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 dword [esi + 0x34], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x477cc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65077b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
call fcn.00545b74
add esp, 4
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], 3
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push eax
push 0x105
mov dword [ebp - 0x224], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
lea ecx, [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
call fcn.0049f520
lea eax, [esi - 1]
mov esi, dword [ebp - 0x228]
cmp eax, 0x103
ja 0x477d9b
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x477d9b
cmp dword [edi + 4], eax
jb 0x477d9b
push eax
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
call fcn.00426300
mov edx, esi
mov ecx, dword [eax]
call fcn.004a07d0
push dword [ebp - 0x234]
test eax, eax
sete bl
call fcn.00545b61
add esp, 4
jmp 0x477d9d
xor bl, bl
push esi
call fcn.00545b61
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret

Function at 0x477dd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6507bb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
call fcn.00545b74
add esp, 4
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], 3
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push eax
push 0x105
mov dword [ebp - 0x224], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
lea ecx, [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
call fcn.0049f520
lea eax, [esi - 1]
cmp eax, 0x103
jbe 0x477e6d
xor bl, bl
jmp 0x477ede
mov esi, dword [ebp - 0x224]
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
lea ecx, [esi*2 + 2]
mov ebx, eax
push ecx
push dword [ebp - 0x228]
mov dword [ebp - 0x22c], ebx
push ebx
call fcn.005e0850
add esp, 0x10
test esi, esi
je 0x477ece
xor esi, esi
cmp dword [edi + 4], esi
jbe 0x477ece
mov eax, dword [edi]
mov edx, ebx
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx]
call fcn.0049ebc0
test al, al
jne 0x477f0a
inc esi
cmp esi, dword [edi + 4]
jb 0x477eb6
xor bl, bl
push dword [ebp - 0x22c]
call fcn.00545b61
add esp, 4
push dword [ebp - 0x228]
call fcn.00545b61
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x477ed0
Function at 0x47b1f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x650de6
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
mov esi, dword [ecx + 4]
test esi, esi
je 0x47b257
nop dword [eax + eax]
mov eax, dword [ecx]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x47b253
push dword [edi + 8]
call fcn.00545b61
push 0x14
push edi
call fcn.00545b66
mov ecx, dword [ebp - 0x240]
add esp, 0xc
test esi, esi
jne 0x47b230
mov dword [ecx + 4], 0
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x258], esi
cmp esi, 0xffffffff
je 0x47b3ad
push 8
call fcn.00545b74
mov ebx, eax
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x244], 3
mov word [ebx], ax
push 0x22c
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 1
push eax
call fcn.005e0dd0
add esp, 0x10
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x47b39d
mov eax, dword [ebp - 0x234]
xor edi, edi
mov edx, 2
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x250], eax
cmp word [ebp - 0x218], di
je 0x47b354
nop dword [eax]
inc edi
cmp word [ebp + edi*2 - 0x218], 0
jne 0x47b310
cmp edi, dword [ebp - 0x244]
jbe 0x47b354
xor ecx, ecx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
push dword [ebp - 0x24c]
mov ebx, eax
call fcn.00545b61
add esp, 8
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x248], edi
lea eax, [ebp - 0x218]
lea edi, [edi*2 + 2]
push edi
push eax
push ebx
call fcn.005e0850
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x254]
add esp, 0xc
push eax
call fcn.0047f230
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov ebx, dword [ebp - 0x24c]
jmp 0x47b2d9
push ebx
call fcn.00545b61
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x47c460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65107c
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov edi, ecx
mov eax, dword [ebp + 0xc]
push 8
mov dword [ebp - 0x23c], eax
call fcn.00545b74
xor ecx, ecx
mov dword [ebp - 0x238], eax
add esp, 4
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 3
mov word [eax], cx
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x238]
mov cl, bl
call fcn.00493570
cmp dword [ebp - 0x234], 0
jne 0x47c5a1
push 8
call fcn.00545b74
xor ecx, ecx
mov dword [ebp - 0x22c], eax
add esp, 4
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 3
mov word [eax], cx
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x220]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, eax
lea ecx, [ebp - 0x22c]
lea eax, [ebp - 0x220]
push eax
call fcn.0049f520
lea eax, [esi - 1]
cmp eax, 0x103
jbe 0x47c562
push dword [ebp - 0x22c]
call fcn.00545b61
mov edi, dword [ebp - 0x238]
add esp, 4
xor esi, esi
jmp 0x47c60e
lea ecx, [ebp - 0x22c]
call fcn.004a5e00
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x238]
call fcn.0049f5a0
push str.notepad.exe
lea ecx, [ebp - 0x238]
call fcn.0049f700
mov byte [ebp - 4], 0
push dword [ebp - 0x22c]
call fcn.00545b61
add esp, 4
mov edx, edi
lea ecx, [ebp - 0x22c]
call fcn.0042fb70
push ecx
mov ecx, dword [ebp - 0x23c]
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x238]
push eax
push edi
call fcn.004a7260
mov byte [ebp - 4], 0
mov esi, eax
push dword [ebp - 0x22c]
call fcn.00545b61
add esp, 4
test esi, esi
je 0x47c60e
mov edx, 0xbc3
lea ecx, [ebp - 0x22c]
call fcn.0046b000
mov byte [ebp - 4], 3
xor edx, edx
mov ecx, dword [eax]
push 0
call fcn.0042f0f0
add esp, 4
push dword [ebp - 0x22c]
call fcn.00545b61
add esp, 4
push edi
call fcn.00545b61
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x480750
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6518a9
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
push 8
mov dword [ebp - 0x418], 0
call fcn.00545b74
xor ecx, ecx
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], 0
add esp, 4
mov dword [ebp - 0x410], 3
mov word [eax], cx
lea ecx, [ebp - 0x40c]
mov byte [ebp - 4], 1
call fcn.004c6d20
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ebx
cmp esi, dword [ebp - 0x410]
jbe 0x48081f
xor ecx, ecx
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 edi, eax
push dword [ebp - 0x418]
call fcn.00545b61
add esp, 4
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x410], esi
jmp 0x480825
mov edi, dword [ebp - 0x418]
lea eax, [esi*2 + 2]
mov dword [ebp - 0x414], esi
push eax
push dword [ebp + 8]
push edi
call fcn.005e0850
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x420], 0
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 3
push eax
push 0
lea eax, [ebp - 0x41c]
push eax
push 0x47f810
push 0
push 0
call fcn.005e7638
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x480897
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov edi, 1
cmovne edi, eax
test edi, edi
jne 0x4808d1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4808a7
mov eax, dword [ebx + 0x38]
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x40c]
call fcn.004c7050
xor edi, edi
test esi, esi
je 0x4808d1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4808d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0x6b3598
mov dword [ebp - 0x408], 0x6b349c
mov dword [ebp - 0x404], 0x6b7ec8
mov dword [ebp - 0x400], 0x6b348c
mov dword [ebp - 0x1d0], 0x6b3480
call fcn.0054e428
push dword [ebp - 0x418]
call fcn.00545b61
add esp, 4
push dword [ebp + 8]
call fcn.00545b61
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret 0xc
Function at 0x486320
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x651f16
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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 esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov eax, dword [esi + 0xe0]
push ecx
push 0x6aa8b0
push eax
mov edx, dword [eax]
call dword [edx]
cmp dword [ebp - 0x18], 0
jne 0x486388
push 1
push 0x6ae254
mov ecx, esi
call fcn.00485430
jmp 0x486503
push 8
call fcn.00545b74
mov ebx, eax
mov dword [ebp - 0x1c], 3
xor edi, edi
mov dword [ebp - 0x24], ebx
xor eax, eax
mov dword [ebp - 0x20], edi
add esp, 4
mov word [ebx], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00481830
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x2c], eax
jbe 0x4864bb
nop
test eax, eax
je 0x486438
xor esi, esi
nop word [eax + eax]
inc esi
cmp word [esi*2 + 0x6ae25c], 0
jne 0x4863e0
mov eax, dword [ebp - 0x1c]
sub eax, edi
cmp esi, eax
jbe 0x486414
lea ecx, [edi + esi]
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [ebp - 0x24]
and eax, 0xfffffff0
dec eax
push eax
call fcn.0049f070
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
lea eax, [esi*2 + 2]
push eax
lea ecx, [ebx + edi*2]
push 0x6ae25c
push ecx
call fcn.005e0850
mov eax, dword [ebp - 0x10]
add esp, 0xc
add edi, esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp - 0x30]
push dword [ecx + eax*4]
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.00481cd0
mov esi, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
sub ecx, edi
cmp eax, ecx
jbe 0x48647a
lea ecx, [edi + eax]
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [ebp - 0x24]
and eax, 0xfffffff0
dec eax
push eax
call fcn.0049f070
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov eax, dword [esi + 4]
lea ecx, [ebx + edi*2]
lea eax, [eax*2 + 2]
push eax
push dword [esi]
push ecx
call fcn.005e0850
add edi, dword [esi + 4]
add esp, 0xc
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], edi
push dword [ebp - 0x3c]
call fcn.00545b61
mov eax, dword [ebp - 0x10]
add esp, 4
mov esi, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x2c]
jb 0x4863d0
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
test al, al
je 0x4864ef
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4864e9
lea eax, [edi*2 + 2]
mov edx, ebx
push eax
call fcn.004a1f80
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp - 0x30]
call fcn.00545b61
add esp, 4
push ebx
call fcn.00545b61
add esp, 4
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x486517
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
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 0x4882c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4882d9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x488316
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x488312
nop word [eax + eax]
cmp esi, edx
jae 0x488316
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x488300
cmp esi, edx
jb 0x48831d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x48a380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65264e
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], 0x6ae3f0
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
mov dword [esi + 0x24], eax
add esp, 0xc
xor ecx, ecx
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 3
mov word [eax], cx
mov eax, esi
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x48c680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652933
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], 0x6ae4d0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 8
mov dword [esi + 0x10], 0
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 3
mov word [eax], cx
mov byte [ebp - 4], 1
push 8
mov dword [esi + 0x1c], ecx
call fcn.00545b74
mov dword [esi + 0x1c], eax
add esp, 8
xor ecx, ecx
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 3
mov word [eax], cx
mov eax, esi
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 esi
mov esp, ebp
pop ebp
ret