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

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x100e432c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x100e43bf
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x100e4389
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.100e43d0
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x100e435e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x100e43f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x100e44ed
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x100e4442
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x100e446e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.100e43d0
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x100e44af
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x100e4431
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x100e5450
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + 0x1017c164]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x1017c0f4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x100e5463
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x100e54a4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x1017c19c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x100e54d6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x100e54da
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x100e54cb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x100e54f8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x100e54fc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x100e54ed
xor ecx, ecx
mov eax, 0x1017c104
xor ebx, ebx
mov bl, byte [ecx + 0x1017c1ac]
cmp byte [esp + ebx + 0x14], 0
je 0x100e5527
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x1017c1c4]
cmp byte [esp + ebx + 0x14], 0
je 0x100e553e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, 0x1017c164
jl 0x100e550e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x100e5497
lea edx, [esp + 0x84]
push edx
call fcn.100e5580
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x100fab1d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100fab55
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100f8bd4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100f8bac
jmp 0x100fab61
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100fc212
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100fc254
call fcn.10101e24
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100fc254
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100fc24b
xor eax, eax
jmp 0x100fc25c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100fc262
pop edi
pop esi
pop ebx
ret 4

Function at 0x101d5fe9
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov si, cx
not dx
popal
jmp fcn.10010d55

Function at 0x101d6abf
Capabilities:
Packed with generic packer

Disassembly:
pushal
sete al
jmp 0x101d6af1
popal
call fcn.101d6adb

Function at 0x101d6d92
Capabilities:
Packed with generic packer

Disassembly:
pushal
jmp 0x101d6ddb
setg cl
not ax
bswap edi
popal
call fcn.101d6d95

Function at 0x101d76e9
Capabilities:
Packed with generic packer

Disassembly:
push word [esp + 3]
lea esp, [esp + 2]
jmp 0x101d771c
mov word [esp + 0xe], cx
lea esp, [esp + 2]
lea esp, [esp + 0x1c]
jmp fcn.1001a4e4
lea esp, [esp + 4]
pushal
mov bx, di
popal
pushal
pop word [esp + 9]
jmp 0x101d7704

Function at 0x101d835c
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov dl, 0xd5
mov eax, ebp
jmp 0x101d8399
mov al, byte [esp]
popal
pushal
lea esp, [esp + 0x20]
jmp fcn.10010d55

Function at 0x101d9b83
Capabilities:
Packed with generic packer

Disassembly:
pushal
not ebx
popal
pushal
pop dword [esp + 0xc]
pop dword [esp + 1]
call fcn.101d9b3b
jmp 0x101d9b51

Function at 0x101da499
Capabilities:
Packed with generic packer

Disassembly:
call 0x101da483
pushal
not al
xchg bx, bp
bswap edi
mov dl, 0x18
popal
call fcn.101da4af
bnd jmp 0x101da4e5
jmp 0x101da4e5

Function at 0x101db7f0
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 2]
lea esp, [esp + 0xc]
jmp 0x101db846
pushal

Function at 0x101db810
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0xc]
jmp fcn.10008bbd
pushfd
lea esp, [esp + 2]
call fcn.101db7f0
xor ch, byte [edx + 0x1daa5f38]
dec ebx
loop 0x101db840
sbb eax, 0x8d467f6c
and al, 4
insb byte es:[edi], dx
jg 0x101db86c
lea esp, [esp + 4]
popal
call fcn.101db7eb
lea esp, [esp + 4]
jmp fcn.10001054
jb 0x101db822
xchg dword [edx - 0xb], esi
pushal
mov edx, 0xe9ce4271
popal
push di
push ebx
lea esp, [esp + 2]
jmp 0x101db830
and al, 8
push dword [esp + 7]
jmp 0x101db7e0
Function at 0x101db8a7
Capabilities:
Packed with generic packer

Disassembly:
pushal
lea esp, [esp + 0x10]
mov dword [esp + 7], ecx
mov dword [esp + 8], edi
lea esp, [esp + 8]
pushal
popal
jmp 0x101db85e

Function at 0x101dbad2
Capabilities:
Execute anti-debugging instructions
Packed with generic packer

Disassembly:
imul ecx, dword [eax - 0x34f09fd5], 0x9d1c8d
add byte [eax], al
add byte [edi], cl
xor ebx, ebp
fmul qword [ebp - 0x16f7db9c]
out 0xe3, eax
inc dword [ebx - 0x40]
push esi
xor eax, eax
invalid
mov word [esp + 1], bx
mov word [esp], cx
lea esp, [esp + 4]
call fcn.101dbbbc
jecxz 0x101dbba2
cmc
pushfd
outsd dx, dword [esi]
adc dword [ebx], 0xffffff96
add al, 0x63
sahf
ja 0x101dbacf
call fcn.101dbb29
lea esp, [esp + 2]
mov dword [esp], edi
lea edi, [ebx*4]
jmp 0x101dbb98
lea edi, [edx + edx]
mov edi, 0xcb6b92
lea edi, [esi + 0x1d]
mov edi, dword [esp]
push ecx
sbb eax, 0x51243c8b
call fcn.101dbb82
add ecx, dword [ecx + 0x5d8b7819]
mov dword [0x2adfb82a], eax
invalid

Function at 0x101dc8bd
Capabilities:
Packed with generic packer

Disassembly:
bswap ebp
mov ecx, dword [esp + 0x14]
mov bp, 0x7f5c
mov ebp, ebx
mov ebp, dword [esp + 0x18]
jmp 0x101dc858
mov esi, dword [esp + 0x10]
mov ecx, 0x96ce199d
mov ebp, dword [esp]
mov ecx, 0xc8d0833c
mov ch, 0x1b
mov ch, byte [esp]
jmp 0x101dc814
pushfd
mov byte [esp + 2], cl
push dword [esp + 3]
pop dword [esp]
pushal
jmp 0x101dc8a6
lea esp, [esp + 0x1c]
pushal
bswap ebp
mov dx, 0x9c65
mov cl, 0x9a
popal
jmp 0x101dc842
xchg word [esp + 0x11], si
lea esp, [esp + 0x10]
mov si, word [esp]
lea ecx, [eax*4]
mov ch, dl
mov cl, 0xaa
jmp 0x101dc82a
mov word [esp + 4], ax
mov dword [esp + 0x16], esi
lea esp, [esp + 0x24]
jmp fcn.1001ad9d
xchg dword [esp], ebp
mov dword [esp], esi
pushal
mov dword [esp + 5], esi
jmp 0x101dc876

Function at 0x101dc8f6
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp]
lea esp, [esp + 4]
jmp fcn.100304f5

Function at 0x101ddd60
Capabilities:
Packed with generic packer

Disassembly:
mov edi, dword [esp + 4]
lea esp, [esp + 8]
jmp fcn.100304f5

Function at 0x101df759
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 4]
pushal
not bx
jmp 0x101df792
mov cl, 0xab
xchg ebx, ecx
popal
push esi
pushal
lea esp, [esp + 0x24]
jmp fcn.1001a503

Function at 0x101df77c
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
call fcn.101df957
xchg edx, eax
sbb ecx, dword [ebx - 0x704e212]
jl 0x101df79c
jne 0x101df710
push 0xffffffffffffffc9
push 0xb15d228b
stosd dword es:[edi], eax
and al, 0xe9
popal
lodsd eax, dword [esi]
jecxz 0x101df7a1
jmp [ebx + 0x36dbbc2e]
stosd dword es:[edi], eax
mov esp, 0xb7df36db
inc ebx
sal dword [esi + 0x3186a145], cl
xor byte [ebx], dh
sub cl, byte [ebp - 0x899efec]
xlatb

Function at 0x101e06eb
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 4]
jmp fcn.100304f5
Function at 0x10266d1a
Capabilities:
Encode data using xor

Disassembly:
push dword [esp + 3]
mov edi, 0xf8866729
mov edi, dword [esp + 0x30]
jmp 0x10266d76
lea esp, [esp + 0x34]
jmp 0x1026731e
push 0x101e249c
call int.101d5663
cmpsb byte [esi], byte es:[edi]
rcl dword [eax - 0x31]
mov ah, 0x87
adc byte es:[edi], al
jo 0x10267337
push edx
mov dl, 0x73
push 0xffffffffffffff85
test dword [edi + ecx*8], esi
xor al, 0xcf
or cl, byte [eax + 0x70071026]
cmp ch, byte [ebp + 0x10267316]
pop es
jo 0x10267338
or al, 0xb2
ljmp 0x268b
Function at 0x4064f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48fb8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00487f6e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x406572
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048297a
mov eax, dword [eax]
push 0x4acb84
push eax
call fcn.004749aa
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004881f9
test bl, bl
je 0x406572
push 0x4acb84
lea ecx, [esp + 0xc]
call fcn.00488589
push 0x4acb90
lea ecx, [esp + 0xc]
call fcn.00488589
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4065ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004881f9
jmp 0x406679
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x406632
lea edx, [esp + 0x7c]
push 0x4acb8c
push edx
call fcn.004749aa
add esp, 8
test eax, eax
je 0x406632
lea eax, [esp + 0x7c]
push 0x4acb88
push eax
call fcn.004749aa
add esp, 8
test eax, eax
je 0x406632
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4065c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004881f9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x406e80
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x406ee2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x406ef0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48fc0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4bc388]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x407028
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x406f56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004881f9
xor eax, eax
jmp 0x40709f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00488336
push esi
lea ecx, [esp + 0xc]
call fcn.004885c5
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40707d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00406e80
test eax, eax
jne 0x40707d
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00406e80
test eax, eax
jne 0x40707d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00474e40
mov esi, eax
add esp, 8
test esi, esi
jne 0x40705c
lea ecx, [esp + 0x14]
push 0x4acb9c
push ecx
call fcn.00474dc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40705c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40705f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004882e6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x406f6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004881f9
xor eax, eax
jmp 0x40709f
mov byte [esi], 0
push 0x4acb98
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.DLL_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004881f9
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41a270
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x490c28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0041adf0
lea edx, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x41a319
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00419f00
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x4c]
call fcn.0048bd0e
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00432a80
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.0048bd80
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x41a850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490c50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00418390
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x41a8a9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.004228f0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.004228e0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00419f00
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x4c]
call fcn.0048bd0e
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00432a80
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00417db0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, ebx
call fcn.00422860
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x41a974
push edi
mov ecx, esi
call fcn.00417ec0
push eax
push ebp
mov ecx, esi
call fcn.00418080
cmp eax, dword [esp + 0x40]
jg 0x41a970
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x41a94e
mov eax, ebx
jmp 0x41a97a
cmp edi, ebx
jl 0x41a978
mov eax, ebx
jmp 0x41a97a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x41a98b
mov dword [esp + 0x30], eax
jmp 0x41a996
cmp edi, ebx
jl 0x41a991
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00422820
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x41a9dd
push edi
mov ecx, esi
call fcn.00417de0
push eax
push ebx
mov ecx, esi
call fcn.004181b0
cmp eax, dword [esp + 0x44]
jg 0x41a9d5
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x41a9af
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x41a9e7
cmp edi, ebp
jl 0x41a9e1
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x41a9e7
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x41a9f0
mov ecx, eax
jmp 0x41a9f9
cmp edi, ebp
jl 0x41a9f6
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.00417dd0
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0048bd80
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x41db50
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x490e78
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00418390
test eax, eax
je 0x41dc58
lea ecx, [esp + 0xc]
call fcn.00401130
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00418390
mov ecx, eax
call fcn.00422c60
test eax, eax
je 0x41dc3f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x41dc3f
push eax
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41dc3f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00401330
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x41dc21
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x41dc3f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4cc570]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x497a38
call fcn.00401330
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10