joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450d80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00450d70
push ebp
push 0x414620
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x5d092c]
xor edx, edx
call fcn.00408a60
mov dword [ebx*4 + 0x5d094c], 0xffffffff
cmp ebx, 7
jl 0x450da8
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x450e34
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00409450
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.00447500
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x450e34
push 4
push ebx
push esi
mov eax, 0x450c50
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x450ce0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00450d70
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451480
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00451450
push ebp
push 0x414620
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040afb0
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0044d170
jmp 0x451558
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040af60
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040ba30
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040b7d0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0044d170
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040b610
test eax, eax
jne 0x451548
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x451536
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040b7d0
jmp 0x45155f
mov eax, esi
call fcn.00404740
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x4514e0
push edi
call sub.kernel32.dll_FreeEnvironmentStringsW
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00451450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451590
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x5d0990], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x5d07f0], eax
mov eax, dword [ebp - 0x90]
mov dword [0x5d0800], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x5d0810], eax
mov eax, dword [ebp - 0x88]
mov dword [0x5d0820], eax
mov edx, 0x5d0831
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.004035c0
lea eax, [ebp - 0x80]
call fcn.00404720
mov byte [0x5d0830], al
mov eax, 0x584ec0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x5d09a0], eax
test eax, eax
je 0x451630
mov eax, 0x584ecc
push eax
push dword [0x5d09a0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5d0990], eax
nop
cmp dword [0x5d0800], 6
jae 0x451644
mov dword [0x55d710], 0
nop
cmp dword [0x5d0800], 6
jb 0x451660
cmp dword [0x5d0810], 1
jb 0x451660
mov dword [0x55d720], 2
mov esp, ebp
pop ebp
ret
Function at 0x48c8a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x48c8d4
mov edi, 0xffffffff
nop
add edi, 1
mov cl, al
xor cl, byte [edx]
and ecx, 0xff
mov ebx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x5d0fa0]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x48c8b0
pop edi
pop esi
pop ebx
ret

Function at 0x4aa360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov edx, eax
xor eax, eax
lea ebx, [edx + 1]
movzx ecx, byte [edx]
add ecx, 1
and ecx, 0xff
add edx, ecx
jmp 0x4aa391
mov ecx, eax
shl ecx, 5
sub ecx, eax
movzx esi, byte [ebx]
xor ecx, esi
mov eax, ecx
add ebx, 1
cmp edx, ebx
ja 0x4aa380
pop esi
pop ebx
ret

Function at 0x4abb70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, 1
jne 0x4abb94
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
call dword [edx + 0x34]
mov dword [ebp - 8], eax
lea esi, [esi]
cmp dword [ebp - 8], 0
je 0x4abc5a
mov esi, esi
xor eax, eax
push 0x4abc3b
push ebp
push 0x4149a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040cf60
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0xe], 0
mov edx, 1
mov eax, 0x57f9d0
call fcn.00437350
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004abdf0
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004abe60
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004abed0
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4abc30
cmp dword [ebp - 4], 0
je 0x4abc30
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x44]
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4abc5a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4530
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x4b4558
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
lea esi, [esi]
cmp dword [ebp - 0xc], 0
je 0x4b4606
mov esi, esi
xor eax, eax
push 0x4b45e7
push ebp
push 0x4149a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
je 0x4b45bc
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_SizeofResource
mov ebx, eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.004354b0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x4b45dc
cmp dword [ebp - 8], 0
je 0x4b45dc
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4b4606
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b6270
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4b62a4
mov eax, esi
call fcn.004ba7f0
cmp byte [esi + 0x40], 0
je 0x4b629c
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4b6355
mov dword [esi + 0x14], 0xcb
nop
cmp dword [esi + 0x14], 0xcb
jne 0x4b6334
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4b632c
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4b62d8
mov eax, esi
mov edx, dword [esi + 8]
call dword [edx]
lea esi, [esi]
mov eax, esi
mov edx, dword [esi + 0x184]
call dword [edx]
mov edi, eax
test edi, edi
jne 0x4b62f0
xor bl, bl
jmp 0x4b6355
cmp edi, 2
je 0x4b632a
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4b62c8
cmp edi, 3
je 0x4b6308
cmp edi, 1
jne 0x4b62c8
mov eax, dword [esi + 8]
add dword [eax + 4], 1
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4b62c8
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
mov esi, esi
jmp 0x4b62c8
mov esi, esi
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4b634c
cmp dword [esi + 0x14], 0xcc
je 0x4b634c
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004b6690
lea esi, [esi]
mov eax, esi
call fcn.004b6360
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
ret
Function at 0x4d2dd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
mov dword [ebp - 4], eax
cmp dword [eax + 0x24], 0
je 0x4d2e18
mov eax, dword [0x55d0e0]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x170]
cmp eax, dword [edx + 0x24]
jne 0x4d2e18
mov eax, dword [0x55d0e0]
cmp byte [eax + 0x11c], 0
jne 0x4d2e18
mov eax, dword [0x55d4c0]
mov edx, dword [0x55d4c0]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx], eax
nop
mov ebx, dword [ebp - 4]
mov eax, dword [0x55d4c0]
mov edx, dword [0x55d4c0]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx]
jne 0x4d2f0e
mov eax, dword [0x55d0e0]
cmp byte [eax + 0x11c], 0
jne 0x4d2f0e
mov eax, dword [0x55d4c0]
mov edx, dword [0x55d4c0]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.00541c30
mov eax, dword [0x55d0e0]
cmp dword [eax + 0x170], 0
je 0x4d2ed4
push 0x10
push 0
mov eax, dword [0x55d0e0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x254]
mov eax, dword [0x55d0e0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x248]
mov eax, dword [0x55d0e0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x12c]
push 0
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x55d0e0]
mov eax, dword [eax + 0x170]
call fcn.004f2300
test al, al
je 0x4d2ed4
push 0
mov eax, dword [0x55d0e0]
call fcn.00422110
push eax
call sub.user32.dll_ShowWindow
lea esi, [esi]
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x55d0e0]
call fcn.00425310
jmp 0x4d2fa4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
je 0x4d2f62
mov eax, dword [ebp - 4]
mov edx, dword [0x55d0e0]
mov eax, dword [eax + 0x24]
cmp eax, dword [edx + 0x170]
jne 0x4d2f62
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x55d0e0]
call fcn.00425310
jmp 0x4d2fa4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
je 0x4d2fa4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
test dword [eax + 0x48c], 8
je 0x4d2fa4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x55d4c0]
mov edx, dword [0x55d4c0]
mov edx, dword [edx]
call dword [edx + 0x8c]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d2fb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
mov dword [ebp - 4], eax
mov ebx, eax
mov eax, dword [0x55d4c0]
mov edx, dword [0x55d4c0]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx]
jne 0x4d3080
mov eax, dword [0x55d0e0]
cmp byte [eax + 0x11c], 0
jne 0x4d3080
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x55d0e0]
cmp dword [eax + 0x170], 0
je 0x4d3074
mov eax, dword [0x55d0e0]
mov eax, dword [eax + 0x170]
call fcn.004f2300
test al, al
je 0x4d3074
mov eax, dword [0x55d0e0]
mov eax, dword [eax + 0x170]
mov edx, dword [0x55d0e0]
mov edx, dword [edx + 0x170]
mov edx, dword [edx]
call dword [edx + 0x344]
test al, al
je 0x4d306c
push 8
mov eax, dword [0x55d0e0]
call fcn.00422110
push eax
call sub.user32.dll_ShowWindow
lea esi, [esi]
call fcn.00541d00
lea esi, [esi]
mov eax, dword [0x55d0e0]
call fcn.00425350
jmp 0x4d30e4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
je 0x4d30a9
mov eax, dword [ebp - 4]
mov edx, dword [0x55d0e0]
mov eax, dword [eax + 0x24]
cmp eax, dword [edx + 0x170]
jne 0x4d30a9
mov eax, dword [0x55d0e0]
call fcn.00425350
jmp 0x4d30e4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
je 0x4d30e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
test dword [eax + 0x48c], 8
je 0x4d30e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [eax + 0xc], 1
mov eax, dword [0x55d4c0]
mov edx, dword [0x55d4c0]
mov edx, dword [edx]
call dword [edx + 0x90]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d86a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 8
mov eax, fcn.004d6e40
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00413530
mov dword [ebp - 0x20], eax
mov eax, str.MAINICON
push eax
push dword [0x5cd2d0]
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4d86f8
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x1c], eax
mov esi, esi
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, str.Window
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
setne byte [ebp - 8]
cmp byte [ebp - 8], 0
je 0x4d8774
or dword [ebp - 0x30], 0x800
cmp dword [0x5764d0], 6
jb 0x4d874c
or dword [ebp - 0x30], 0x20000
mov esi, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov eax, str.HintWindow
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
setne byte [ebp - 8]
mov esi, esi
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4d9810
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov byte [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push dword [eax - 8]
call sub.user32.dll_GetClipboardData
mov edx, dword [ebp - 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x14], 0
je 0x4d98a8
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalSize
mov edx, dword [ebp - 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x1c], 0
jle 0x4d98a8
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalLock
mov edx, dword [ebp - 8]
mov dword [edx - 0x18], eax
xor eax, eax
push fcn.004d97f0
push ebp
push 0x414620
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x84]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004d97f0
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d9f50
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x2c]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.004d9f30
push ebp
push 0x414620
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4da01c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.00467410
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
call fcn.00467360
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
call fcn.00467b20
mov ebx, eax
mov eax, str._DataSize
push eax
push dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov eax, ebx
call fcn.00468fd0
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x4da073
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.004d9f10
push ebp
push 0x414620
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
call dword [ebx + pe_nt_image_headers32]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004d9f10
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004d9f30
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x502790
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x5027b8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
lea esi, [esi]
cmp dword [ebp - 0xc], 0
je 0x50286e
mov esi, esi
xor eax, eax
push 0x50284f
push ebp
push 0x4149a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.0040cf60
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x502844
cmp dword [ebp - 8], 0
je 0x502844
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x50286e
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x542050
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.00542030
push ebp
push 0x414620
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0xc], eax
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.0040a7e0
cmp dword [ebp - 0xc], 0
jle 0x5420b8
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x5420ac
mov eax, 0x5cd2f0
push eax
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040a7e0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
call fcn.0040af20
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x5420e1
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x5420ed
mov eax, 0x5cd2f0
call fcn.0042e0a0
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00542030
mov esp, ebp
pop ebp
ret
Function at 0x543470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov eax, ecx
mov edx, 0x5c1b38
call fcn.0040e670
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00543460
push ebp
push 0x414620
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0xc]
add eax, 0x34
xor edx, edx
call fcn.00408a60
mov eax, dword [ebp - 0xc]
mov edx, fcn.004d6e40
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [edx + 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [edx + 0x28], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
xor dx, dx
call fcn.004093b0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, 0x30
call fcn.00408a60
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x18], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.00541760
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00543ae0
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
jne 0x54358c
mov eax, dword [ebp - 4]
call fcn.004f6df0
test al, al
jne 0x54358c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
or eax, 0x8000000
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00543460
mov esp, ebp
pop ebp
ret
Function at 0x4163b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
or ebp, 0xffffffff
jmp 0x4163d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4163d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4163c8
mov eax, 1
add ebx, ebx
jne 0x4163eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4163e0
jne 0x4163fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4163e0
xor ecx, ecx
sub eax, 3
jb 0x416410
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x416482
mov ebp, eax
add ebx, ebx
jne 0x41641b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416428
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41644c
inc ecx
add ebx, ebx
jne 0x416438
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41642d
jne 0x416449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41642d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41646c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41645d
jmp 0x4163ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41646c
add edi, ecx
jmp 0x4163ce
pop esi
mov edi, esi
mov ecx, 0x429
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41648a
cmp byte [edi], 1
jne 0x41648a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41648f
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4164fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16c70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16cfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4164bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16d00]
or eax, eax
je 0x4164f8
mov dword [ebx], eax
add ebx, 4
jmp 0x4164d9
call dword [esi + 0x16d04]
popal
jmp section.UPX0