joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464c20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
push edi
call fcn.0049e2e0
add esp, 4
cmp eax, 7
jl 0x464cbe
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edi, [ebp - 0x208]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x464c60
lea eax, [ebp - 0x208]
mov ecx, 7
mov esi, str.WtsApi32.dll
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x464ca2
push str.WTSRegisterSessionNotification
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x464cab
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebx + 0x8f8]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x464f20
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
xor eax, eax
xor esi, esi
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.004a4860
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x104
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
push 1
push str.control.exe_mouse
call fcn.004a0b40
add esp, 0xc
test eax, eax
jne 0x464f9e
push 0x10
push eax
push 6
call fcn.00462930
add esp, 0xc
mov esi, eax
cmp word [ebp - 0x208], 0
je 0x464fb5
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x465730
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d9488
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push esi
push edi
mov edi, 1
mov esi, ecx
push 0
mov ebx, edi
call fcn.0049e2e0
add esp, 4
cmp eax, 0xb
jl 0x4657f1
cmp word [esi + 0x190], 0
je 0x4657f1
lea ecx, [ebp - 0x28]
call fcn.004917a0
push 0
push 0
push 0
lea eax, [esi + 0x398]
mov dword [ebp - 4], 0
push eax
push SysReAllocString
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], 0
call fcn.004948e0
test eax, eax
je 0x4657dc
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x5a0]
push eax
lea ecx, [ebp - 0x24]
call fcn.004a1050
test eax, eax
je 0x4657dc
cmp dword [ebp - 0x10], 0
mov dword [esi + 0x1548], 0
jne 0x4657de
xor edi, edi
xor ebx, ebx
jmp 0x4657de
xor edi, edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00491a30
test ebx, ebx
je 0x465838
cmp dword [esi + 0x1548], 0
je 0x465838
push 0x104
lea eax, [ebp - 0x230]
push eax
lea eax, [esi + 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.00465680
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x466d90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push 0
mov ebx, ecx
call fcn.0049e2e0
add esp, 4
cmp eax, 7
jl 0x466e1d
cmp dword [ebx + 0x8f8], 0
je 0x466e1d
push esi
push edi
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edi, [ebp - 0x208]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x466dd1
lea eax, [ebp - 0x208]
mov ecx, 7
mov esi, str.WtsApi32.dll
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x466e1b
push str.WTSUnRegisterSessionNotification
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x466e14
push dword [ebx + 0x8f8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x467560
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x8ec], 0
je 0x4675a9
cmp dword [esi + 0x8f0], 0
je 0x46758c
push dword [esi + 0x870]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46758c
mov eax, 1
pop esi
ret
cmp dword [esi + 0x1514], 0
jne 0x4675a9
push 0
push 0
push esi
push 0x465cd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
pop esi
ret
Function at 0x471aa0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x5172d8
push 0
call fcn.00445e10
test eax, eax
jne 0x471abb
mov ecx, esi
pop esi
jmp fcn.0046ef40
cmp dword [esi + 0x498], 0
je 0x471acc
mov ecx, esi
pop esi
jmp fcn.00470d60
cmp dword [esi + 0x4c4], 0
jne case.0x471b4f.2
cmp dword [esi + 0x4bc], 0
mov dword [esi + 0x30], 0
je 0x471b25
push 0
push 3
mov ecx, 0x5172d8
call fcn.00415e40
test eax, eax
jne 0x471b1b
push 1
push 3
mov ecx, 0x5172d8
call fcn.00415e40
test eax, eax
jne 0x471b1b
mov ecx, 0x5172d8
call fcn.00438010
test eax, eax
je 0x471b25
mov ecx, eax
call fcn.0040c5b0
mov dword [esi + 0x30], eax
cmp dword [esi + 0x30], 0
je 0x471b40
test byte [esi + 8], 0x20
jne 0x471b40
push dword [esi + 0x8c]
mov ecx, esi
call fcn.0046e2b0
pop esi
ret
mov eax, dword [esi + 8]
cmp eax, 0x31
ja case.0x471b4f.2
movzx eax, byte [eax + 0x471bb0]
jmp dword [eax*4 + 0x471b9c]
test byte [esi + 0x4d4], 0x20
mov ecx, esi
jne 0x471b8e
pop esi
jmp fcn.0046ef40
push dword [esi + 0x90]
mov ecx, esi
call fcn.0046e2b0
pop esi
ret
cmp dword [esi + 0x4b0], 0
mov ecx, esi
je 0x471b8e
push dword [esi + 0x90]
call fcn.0046e2b0
pop esi
ret
push 0
push 0
push 0
call fcn.0046e570
pop esi
ret

Function at 0x475540
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push 0
mov esi, ecx
call fcn.0049e2e0
add esp, 4
cmp eax, 0xb
jl 0x47563f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004a4860
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x20c], 0
je 0x47563f
lea eax, [ebp - 0x20c]
push str.Charm_Bar
push eax
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x47563f
push edi
cmp dword [esi + 0x2a8], eax
je 0x475631
mov eax, dword [esi + 0x2b0]
lea edi, [esi + 0x2b0]
test eax, eax
je 0x475621
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x98]
cmp dword [ebp - 4], 0
jne 0x4755f9
mov eax, dword [edi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x2b4]
test ecx, ecx
je 0x475613
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x2b4], 0
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi], 0
mov eax, dword [esi + 0x2a8]
push edi
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x2b0]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47ae40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9833
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CZone.0
mov dword [esi + 0x78], vtable.CIncidentalContactFilter.0
mov dword [esi + 0x7c], 4
mov dword [ebp - 4], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [esi + 0xa4], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], eax
call fcn.0047dfd0
mov edi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47af21
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a3ac6
add esp, 4
mov dword [esi + 0x10], eax
nop
movzx ecx, word [edi]
lea edi, [edi + 2]
mov word [eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x47af50
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x30], 4
mov dword [esi + 0x34], 0xc
mov edx, dword [eax + 0x34]
mov dword [ebp + 8], ecx
test edx, edx
je 0x47afaa
mov eax, dword [edx]
lea ecx, [ebp + 8]
push ecx
push 0x1000132
push edx
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, 7
ja 0x47afad
mov dword [esi + 0x7c], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x74], eax
mov eax, esi
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 4], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47d8f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [edi]
test ecx, ecx
jne 0x47d908
xor eax, eax
jmp 0x47d91a
mov eax, dword [ecx]
lea edx, [ebp - 8]
push edx
push 0x10000301
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 8]
push 0
push eax
mov ecx, 0x5172d8
call fcn.0045fba0
mov ecx, dword [eax + 0x34]
mov dword [ebp + 8], 0
lea ebx, [eax + 0x30]
test ecx, ecx
je 0x47d94d
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0x10000102
push ecx
call dword [eax + 0xc]
cmp dword [ebp + 8], 5
je 0x47d978
mov ecx, dword [ebx + 4]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x47da7e
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
push 0x10000102
push ecx
call dword [eax + 0xc]
cmp dword [ebp - 4], 4
jne 0x47da7e
mov ecx, dword [edi]
test ecx, ecx
jne 0x47d982
xor eax, eax
jmp 0x47d994
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0x10000312
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
shr eax, 0x16
test al, 1
jne 0x47da77
mov ecx, dword [edi]
test ecx, ecx
jne 0x47d9a9
xor eax, eax
jmp 0x47d9bb
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0x10000314
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
test al, 1
jne 0x47da77
mov ecx, dword [edi]
test ecx, ecx
jne 0x47d9cd
xor eax, eax
jmp 0x47d9df
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0x10000314
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
shr eax, 1
test al, 1
jne 0x47da77
mov ecx, dword [ebp + 0xc]
call fcn.0046fec0
test al, al
jne 0x47da7e
mov ecx, edi
call fcn.0046fec0
test al, al
je 0x47da7e
inc dword [esi + 0x5c]
cmp dword [esi + 0x5c], 1
jne 0x47da1f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
pop edi
mov dword [esi + 0x60], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, 0x5dc
cmp eax, dword [esi + 0x60]
jae 0x47da35
call edi
jmp 0x47da3e
call edi
mov dword [esi + 0x5c], 1
cmp dword [esi + 0x5c], 3
mov dword [esi + 0x60], eax
jne 0x47da7e
push 0
push str.SynTPLpr
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x47da77
push 0
mov ecx, ebx
call fcn.0041e850
movzx ecx, al
push ecx
push 0x4e4
push edi
mov ecx, 0x515d60
call fcn.00466610
mov dword [esi + 0x5c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47f650
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d99c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
lea ecx, [ebp - 0x10]
push 0x4db8b8
mov dword [ebp - 0x14], ebx
call fcn.00406c50
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
test di, di
jne 0x47f693
call fcn.0047f510
movzx edi, ax
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x47f6a3
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov cx, word [ebp + 0xc]
shr cx, 4
push edi
inc cx
movzx ecx, cx
push ecx
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x47f6d3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00407430
add esp, 4
jmp 0x47f7f3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x47f6f5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00407430
add esp, 4
jmp 0x47f7f3
mov eax, dword [ebp + 0xc]
movzx ecx, ax
and ecx, 0x8000000f
jns 0x47f708
dec ecx
or ecx, 0xfffffff0
inc ecx
test ecx, ecx
jle 0x47f71c
lea esp, [esp]
movzx eax, word [edi]
lea edi, [edi + eax*2]
add edi, 2
dec ecx
jne 0x47f710
movzx esi, word [edi]
xor ecx, ecx
mov edx, 2
add edi, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a3ac6
push esi
push edi
mov edi, eax
mov dword [ebp + 0xc], eax
push edi
call fcn.004a6cd4
xor eax, eax
add esp, 0x10
mov word [edi + esi*2], ax
cmp dword [ebp + 0x18], eax
je 0x47f785
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00406df0
lea eax, [ebp - 0x2c]
push eax
call fcn.004a0250
add esp, 0x1c
mov edx, eax
cmp dword [edx + 0x14], 8
mov ebx, 2
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
jb 0x47f787
mov edx, dword [edx]
jmp 0x47f787
mov edx, edi
test edx, edx
jne 0x47f78f
xor ecx, ecx
jmp 0x47f7a3
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f794
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00408980
mov dword [ebp - 4], 0
test bl, 2
je 0x47f7de
cmp dword [ebp - 0x18], 8
jb 0x47f7ca
push dword [ebp - 0x2c]
call fcn.004a46e7
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push edi
call fcn.004a6088
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00407430
add esp, 8
mov esi, dword [ebp - 0x10]
add eax, 0x10
mov edi, dword [ebp + 8]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov dword [edi], eax
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f81f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480720
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push ebx
push esi
push eax
push dword [ebp + 8]
xor esi, esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4807b3
push edi
push ebx
call fcn.004aa070
mov edi, eax
add esp, 4
test edi, edi
je 0x4807a8
push edi
push ebx
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x48079f
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 4]
push eax
push 0x4dbeb4
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48079f
mov edx, dword [ebp - 4]
test edx, edx
je 0x48079f
mov ecx, dword [ebp + 0xc]
mov esi, 1
movzx eax, word [edx + 0xa]
mov dword [ecx], eax
movzx eax, word [edx + 8]
mov dword [ecx + 4], eax
movzx eax, word [edx + 0xe]
mov dword [ecx + 8], eax
movzx eax, word [edx + 0xc]
mov dword [ecx + 0xc], eax
push edi
call fcn.004a8ef0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4807c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4807ee
pop edi
mov esp, ebp
pop ebp
ret 8
push esi
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x48083b
lea eax, [ebp + 8]
push eax
push 4
lea eax, [ebp - 8]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x480834
push ebx
mov ebx, dword [ebp + 0xc]
push 0x104
push ebx
push dword [ebp - 8]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
mov edi, eax
test edi, edi
jne 0x480833
mov word [ebx], ax
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x482640
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jl 0x48269b
mov eax, dword [esi + 0x30]
test eax, eax
je 0x482670
push 0
push 0
push 0x8460
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x30], 0
mov dword [esi + 0x1c], 0xffffffff
pop esi
ret
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetCursor]
push 0
push dword [esi + 0x18]
mov dword [esi + 0x1c], 0xffffffff
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x2c], eax
pop esi
ret

Function at 0x482820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push edi
mov edi, ecx
cmp dword [edi + 0x24], 0
jne 0x48291c
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x1c]
je 0x482844
push eax
call fcn.004827d0
lea eax, [ebp - 8]
push eax
call fcn.0045fc40
add esp, 4
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.HwndWrapper
lea eax, [ebp - 0x210]
xor ecx, ecx
push eax
call fcn.00482470
test eax, eax
jne 0x48291c
push str.MKSEmbedded
lea eax, [ebp - 0x210]
xor ecx, ecx
push eax
call fcn.00482470
test eax, eax
jne 0x48291c
push str.MozillaWindowClass
lea eax, [ebp - 0x210]
xor ecx, ecx
push eax
call fcn.00482470
test eax, eax
jne 0x48291c
push str.NS_AE_WindowClass
lea eax, [ebp - 0x210]
xor ecx, ecx
push eax
call fcn.00482470
test eax, eax
jne 0x48291c
push 0x15
push eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push eax
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 8
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [edi + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x2c], eax
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x482e30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00482fe0
mov ecx, dword [edi + 0x20]
add esp, 4
movzx eax, word [edi + 0x14]
shr ecx, 1
sub ax, cx
mov ecx, edi
movzx esi, ax
call fcn.00483050
mov ecx, eax
movsx eax, si
add ecx, eax
movzx eax, word [edi + 0x18]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi + 0x1c]
shr ecx, 1
sub ax, cx
mov ecx, edi
movzx esi, ax
call fcn.00483020
mov ecx, eax
movsx eax, si
add ecx, eax
mov eax, dword [edi + 0x20]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x1c]
add eax, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
sub esi, dword [ebp - 0x3c]
sub edi, dword [ebp - 0x38]
push dword [ebp - 0xc]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push esi
push dword [ebp - 8]
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x482f6c
mov eax, dword [ebp - 0x28]
xor esi, esi
xor edi, edi
test eax, eax
jns 0x482f06
cdq
mov edi, eax
xor edi, edx
sub edi, edx
mov eax, dword [ebp - 0x2c]
test eax, eax
jns 0x482f14
cdq
mov esi, eax
xor esi, edx
sub esi, edx
push ecx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
call fcn.00482f90
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push ecx
push eax
push edi
push esi
push dword [edx + 0x64]
push ecx
push eax
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_StretchBlt]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp - 0x1c]
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
mov ecx, 1
cmovne ebx, ecx
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4836c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x517cec]
push 0
push dword [eax + 0xb8]
call dword [sym.imp.USER32.dll_ShowWindow]
ret