joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45aeee
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [esi + 8]
mov edx, dword [esi]
mov edi, dword [esi + 4]
cmp eax, edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0xc]
setl bl
cmp ecx, edi
setl bh
mov byte [ebp - 1], bl
mov byte [ebp + 0xf], bh
test bl, bl
je 0x45af21
mov dword [esi], eax
mov dword [esi + 8], edx
test bh, bh
je 0x45af2b
mov dword [esi + 4], ecx
mov dword [esi + 0xc], edi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x108]
call fcn.004577a3
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add dword [esi + 8], ecx
add dword [esi + 0xc], eax
add dword [esi], ecx
add dword [esi + 4], eax
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
sub edi, dword [esi]
sub ebx, dword [esi + 4]
inc edi
inc ebx
push 0
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.DLL_GetDC]
push ebx
push edi
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.DLL_CreateCompatibleBitmap]
push dword [ebp - 8]
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.DLL_CreateCompatibleDC]
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
call dword [sym.imp.GDI32.DLL_SelectObject]
mov dh, byte [ebp + 0xf]
mov dword [ebp - 0x14], eax
mov ecx, ebx
test dh, dh
je 0x45af9c
neg ecx
mov dl, byte [ebp - 1]
mov eax, edi
test dl, dl
je 0x45afa7
neg eax
test dh, dh
je 0x45afb0
mov ebx, dword [esi + 0xc]
jmp 0x45afb3
mov ebx, dword [esi + 4]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0xc]
test dl, dl
je 0x45afc2
mov edx, dword [esi + 8]
jmp 0x45afc4
mov edx, dword [esi]
mov esi, dword [ebp - 0x10]
push 0xcc0020
push ecx
push eax
push dword [ebp + 0xc]
push edx
push dword [ebp - 8]
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.DLL_StretchBlt]
mov eax, ebx
neg eax
mov dword [ebp - 0x40], eax
push 0x20
xor eax, eax
inc eax
xor ecx, ecx
mov word [ebp - 0x3c], ax
pop eax
push ecx
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x48]
push eax
push ecx
push ecx
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x48], 0x28
push esi
mov esi, dword [sym.imp.GDI32.DLL_GetDIBits]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], ecx
call esi
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x10]
push ecx
mov dword [eax], ecx
call fcn.00420bfa
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
push ebx
mov ebx, dword [ebp - 0x10]
push 0
push dword [ebp + 8]
push ebx
call esi
push dword [ebp - 0x14]
mov esi, eax
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
push dword [ebp + 8]
call dword [sym.imp.GDI32.DLL_DeleteObject]
push ebx
call dword [sym.imp.GDI32.DLL_DeleteDC]
push dword [ebp - 8]
push 0
call dword [sym.imp.USER32.DLL_ReleaseDC]
test esi, esi
je 0x45b06d
mov eax, edi
jmp 0x45b076
push edi
call fcn.00420c6e
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45b949
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 2
pop eax
mov word [edi], ax
lea eax, [ebp - 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0045bab1
push dword [eax]
call dword [sym.imp.WSOCK32.DLL_inet_addr]
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00406ea2
cmp ebx, 0xffffffff
jne 0x45b997
mov ecx, dword [ebp + 0xc]
mov edx, 0x4b4e34
call fcn.0043e128
test al, al
je 0x45b997
push 0
push 1
jmp 0x45b9ba
mov ecx, dword [ebp + 0x10]
mov dword [edi + 4], ebx
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja 0x45b9b6
push ecx
call dword [sym.imp.WSOCK32.DLL_htons]
mov word [edi + 2], ax
mov al, 1
jmp 0x45b9c8
push 0
push 2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.0044e3d6
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x464935
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
mov esi, ecx
xor ecx, ecx
lea eax, [ebp - 0x24]
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x228]
push eax
push ecx
mov ebx, edx
push esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], 0xff
call dword [sym.imp.ADVAPI32.DLL_RegEnumKeyExW]
cmp eax, 0x103
je 0x464a34
mov eax, ebx
or eax, 0x20019
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
push ecx
push eax
push 0
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
test eax, eax
jne 0x464a49
mov ecx, dword [ebp - 8]
mov edx, ebx
call fcn.00464935
push dword [ebp - 8]
mov bl, al
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
test bl, bl
je 0x464a49
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
call fcn.0046478c
test al, al
lea eax, [ebp - 0x228]
je 0x4649e6
push ebx
mov ebx, dword [ebp - 0xc]
push ebx
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.004636c0
call eax
jmp 0x4649f1
push eax
push esi
call dword [sym.imp.ADVAPI32.DLL_RegDeleteKeyW]
mov ebx, dword [ebp - 0xc]
test eax, eax
jne 0x464a3a
cmp dword [ebp - 0x18], eax
je 0x464a03
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor ecx, ecx
lea eax, [ebp - 0x24]
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x228]
push eax
push ecx
push esi
mov dword [ebp - 4], 0xff
call dword [sym.imp.ADVAPI32.DLL_RegEnumKeyExW]
cmp eax, 0x103
mov eax, dword [ebp - 0x1c]
jne 0x46497f
mov al, 1
pop esi
pop ebx
leave
ret
cmp dword [ebp - 0x18], 0
je 0x464a49
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor al, al
jmp 0x464a36
Function at 0x46be0c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov ecx, 0x4c2810
call fcn.0040e057
test al, al
jne 0x46be35
xor eax, eax
jmp 0x46c00f
mov ecx, dword [ebp - 4]
mov eax, dword [0x4c2870]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [0x4c2884]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp + 0xc]
mov edi, dword [eax]
mov esi, dword [edi]
mov bl, byte [edi + 0x90]
mov dword [ebp - 8], esi
mov byte [ebp + 0xb], bl
call fcn.0040da89
cmp dword [edi + 0x48], 0
jl 0x46be76
push dword [edi + 0x48]
call fcn.0046dc0d
movzx eax, bl
mov ebx, dword [ebp + 0xc]
cmp eax, 0x12
jg 0x46bf5a
je 0x46bf17
test eax, eax
je 0x46bf07
jle 0x46be2e
cmp eax, 4
jle 0x46bfa0
cmp eax, 8
je 0x46bee7
cmp eax, 0x10
je 0x46bed1
cmp eax, 0x11
jne 0x46be2e
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x46be2e
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041cbd0
push 1
push 0
push dword [edi + 0x34]
call dword [sym.imp.USER32.DLL_InvalidateRect]
jmp 0x46bff8
cmp dword [ebp + 0xc], 0
jl 0x46be2e
push dword [ebp + 0xc]
push 0
push 0x111d
jmp 0x46befb
cmp dword [ebp + 0xc], 0
jl 0x46be2e
push dword [ebp + 0xc]
push 0
push 0x2001
push esi
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x46bff8
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x46bfc2
jmp 0x46be2e
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jl 0x46be2e
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041cbd0
test byte [edi + 0x92], 0x20
jne 0x46bff8
mov esi, dword [sym.imp.USER32.DLL_ShowWindow]
push 0
push dword [edi]
call esi
push 5
push dword [edi]
call esi
push dword [edi]
call dword [sym.imp.USER32.DLL_SetFocus]
jmp 0x46bff8
cmp eax, 0x13
je 0x46bfad
cmp eax, 0x14
je 0x46bea9
cmp eax, 0x17
je 0x46bfa0
cmp eax, 0x18
je 0x46bf82
jle 0x46be2e
cmp eax, 0x1b
jle 0x46bfa0
jmp 0x46be2e
test ebx, ebx
js 0x46be2e
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.DLL_GetWindowLongW]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.DLL_SetWindowLongW]
push 1
push ebx
mov dword [edi + 0x48], ebx
call fcn.0041cbd0
jmp 0x46bfed
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xfffffffe
je 0x46be2e
mov eax, 0xfe000000
cmp ebx, eax
jne 0x46bfcf
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041cbd0
jmp 0x46bff8
push ebx
push 0
push 0x1001
push esi
mov esi, dword [sym.imp.USER32.DLL_SendMessageW]
call esi
push ebx
push 0
push 0x1026
push dword [ebp - 8]
call esi
push 1
push edi
push dword [ebp - 4]
call fcn.0046eaa3
cmp dword [0x4c20ec], 0
je 0x46c00c
cmp byte [ebp + 0xb], 8
jne 0x46c00c
or eax, 0xffffffff
jmp 0x46c00f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x46d7c6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov ecx, 0x4c2810
call fcn.0040e057
test al, al
jne 0x46d7f0
xor eax, eax
jmp 0x46d923
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x4c2870]
push ebx
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov eax, dword [0x4c2884]
push esi
mov eax, dword [eax + ecx*4]
mov esi, dword [ebp + 0xc]
mov ecx, dword [sym.imp.USER32.DLL_SendMessageW]
push edi
mov edi, dword [eax]
mov ebx, dword [edi]
cmp esi, 0xffffffff
je 0x46d88b
movzx eax, byte [edi + 0x90]
dec eax
dec eax
je 0x46d857
dec eax
je 0x46d85a
sub eax, 3
je 0x46d852
dec eax
je 0x46d84d
sub eax, 3
je 0x46d845
sub eax, 0xc
jne 0x46d878
jmp 0x46d920
or esi, 0x4000000
jmp 0x46d878
or esi, 3
jmp 0x46d878
or esi, 0xe
jmp 0x46d878
or esi, 4
push 0
test esi, 0x800
je 0x46d868
push 1
jmp 0x46d870
or esi, 0x10000
push 0
push 0xcf
push ebx
call ecx
or esi, 0x50000000
push esi
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.DLL_SetWindowLongW]
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
cmp esi, 0xffffffff
je 0x46d8c8
push esi
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.DLL_SetWindowLongW]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [0x4c2884]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
cmp byte [eax + 0x90], 0x13
jne 0x46d8c8
push esi
push 0
push 0x1036
push ebx
call dword [sym.imp.USER32.DLL_SendMessageW]
mov dword [ebp - 4], eax
mov al, byte [edi + 0x93]
mov ecx, dword [ebp + 8]
cmp al, 0xff
je 0x46d8eb
movzx eax, al
cmp eax, dword [ecx + 0x190]
je 0x46d8eb
push 0
push ebx
call dword [sym.imp.USER32.DLL_ShowWindow]
jmp 0x46d8f4
push 1
push edi
push ecx
call fcn.0046eaa3
mov al, byte [edi + 0x90]
cmp al, 2
je 0x46d907
cmp al, 3
je 0x46d907
cmp esi, 0xffffffff
je 0x46d918
push 0x27
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi]
call dword [sym.imp.USER32.DLL_SetWindowPos]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46edf3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0x44
push 0
mov ebx, 0x4c4ee0
push ebx
call fcn.00422460
push 0x10
push 0
mov esi, 0x4c4f24
push esi
call fcn.00422460
add esp, 0x18
xor eax, eax
push esi
push ebx
inc eax
mov dword [0x4c4f0c], eax
mov word [0x4c4f10], ax
xor eax, eax
push eax
push eax
push 0x20
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x4c4ee0], 0x44
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
pop esi
pop ebx
test eax, eax
je 0x46ee58
push dword [0x4c4f24]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
ret 4

Function at 0x46ee5c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov edx, dword [ebx + 4]
push edi
push 3
mov edi, ecx
mov dword [ebp + 8], edx
pop esi
cmp dword [ebx + 0x190], eax
je 0x46ef12
cmp dword [edi + 0x84], esi
jl 0x46ef0c
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x46eefd
cmp dword [ecx + 4], edx
jne 0x46eefd
mov dl, byte [ecx + 0x90]
cmp dl, 0xb
je 0x46eefa
mov dh, byte [ecx + 0x93]
movzx eax, dh
cmp eax, dword [ebx + 0x190]
je 0x46eecc
cmp byte [ebx + 0x198], 0
je 0x46eefa
cmp dh, 0xff
je 0x46eefa
cmp dl, 0xa
je 0x46eefa
push 0
push dword [ecx]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test byte [eax + 0x92], 0x40
je 0x46eefa
cmp byte [eax + 0x90], 0x1a
jne 0x46eefa
push 0
push dword [eax]
call dword [sym.imp.USER32.DLL_EnableWindow]
mov edx, dword [ebp + 8]
inc esi
cmp esi, dword [edi + 0x84]
jle 0x46ee8c
mov eax, dword [ebp + 0xc]
push 3
pop esi
mov dword [ebx + 0x190], eax
cmp dword [edi + 0x84], esi
jl 0x46ef9f
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x46ef90
cmp dword [ecx + 4], edx
jne 0x46ef90
cmp byte [ecx + 0x90], 0xb
je 0x46ef90
movzx eax, byte [ecx + 0x93]
cmp eax, dword [ebx + 0x190]
jne 0x46ef90
test byte [ecx + 0x92], 0x20
jne 0x46ef90
push 0
push dword [ecx]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [edi + 0x74]
push 4
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test byte [eax + 0x92], 0x40
je 0x46ef90
cmp byte [eax + 0x90], 0x1a
jne 0x46ef90
push 1
push dword [eax]
call dword [sym.imp.USER32.DLL_EnableWindow]
mov edx, dword [ebp + 8]
inc esi
cmp esi, dword [edi + 0x84]
jle 0x46ef1e
mov eax, dword [ebp + 0xc]
push 0
push eax
push 0x130c
push dword [ebx + 0x188]
call dword [sym.imp.USER32.DLL_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x46f1f6
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
cmp word [eax], di
je 0x46f310
push edi
push edi
push 3
push edi
push edi
push SysAllocStringLen
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x46f22d
xor eax, eax
jmp 0x46f33f
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
push esi
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x46f250
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x46f226
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x46f226
lea eax, [ebp - 8]
push eax
push 1
push ebx
call dword [sym.imp.OLE32.DLL_CreateStreamOnHGlobal]
lea eax, [ebp - 4]
push eax
push 0x48e9bc
xor edi, edi
push edi
push edi
push dword [ebp - 8]
mov dword [ebp - 4], edi
call dword [sym.imp.OLEAUT32.DLL_OleCreatePictureIndirect]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x46f226
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push ecx
call dword [eax + 0xc]
lea eax, [ebp - 0x24]
push eax
push 0x18
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.DLL_GetObjectW]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
cmp dword [edx], edi
jne 0x46f2ec
cmp dword [ecx], edi
jne 0x46f2ec
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
push 0x2000
push dword [ecx]
push dword [edx]
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.DLL_CopyImage]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
jmp 0x46f315
mov eax, edi
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x64], 0
je 0x46f32a
push dword [esi + 0x64]
call dword [sym.imp.GDI32.DLL_DeleteObject]
mov eax, dword [ebp + 0xc]
push eax
push edi
mov dword [esi + 0x64], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.DLL_SendMessageW]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x46fbc0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x4c2810
push edi
mov ecx, esi
call fcn.0041cedf
mov ecx, dword [0x4c2870]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
cmp dword [ebp + 0xc], edi
jne 0x46fc17
xor esi, esi
cmp dword [ebx + 0x1a0], esi
je 0x46fc7b
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
push esi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push esi
push dword [ebx + 0x1a0]
call dword [sym.imp.USER32.DLL_TrackPopupMenuEx]
jmp 0x46fc95
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041d09e
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x46fc7b
mov ecx, dword [0x4c2884]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
mov cl, byte [eax + 0x90]
cmp cl, 0xe
je 0x46fc7b
cmp cl, 0xf
je 0x46fc7b
cmp cl, 0x13
je 0x46fc7b
cmp cl, 0x10
je 0x46fc7b
xor esi, esi
cmp dword [eax + 0xc], esi
je 0x46fc7b
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
mov eax, dword [0x4c2884]
mov ecx, dword [ebp + 8]
push esi
push dword [ebx]
mov eax, dword [eax + ecx*4]
push dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 8]
push esi
push dword [eax + 0xc]
jmp 0x46fc0f
movzx ecx, word [ebp + 0x14]
movzx eax, word [ebp + 0x10]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 0x7b
push edi
call dword [sym.imp.USER32.DLL_DefDlgProcW]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40b2d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x7c2f850e
mov esp, 0x1a5aff55
cmp al, 0x2b
adc ch, byte [ebp - 0x73a3b12e]
out 0xf3, eax
call 0xc07eb456
mov byte [0x91afcf3e], al
or al, byte [edi + 0x110acae3]
aad 0x7f
jmp 0xdb0dff44
push edi
jp 0x40b27f
cmp dword [esi + eax*8 - 0x354d58ed], ebx
or dh, dl
mov dl, byte [ecx + 0x6c0cb39b]
popfd
dec ebx
daa
mov dl, 0xb0
insd dword es:[edi], dx
inc eax
xor eax, 0x14196b80
clc
rcl dword [ebx - 0x22a56205], cl
and dl, byte [edi + 0x34]
mov bl, 0x5d
adc eax, 0xa5113eae
inc byte [ecx + 0x3547b32b]
pop esi
adc byte [esi + 0x36e7df3], 0x83
clc
sub al, 0x55
popfd
das
mov ch, byte [edi - 0x31e9cd30]
test byte [ebx - 0x70], 0x2f
fnstsw word [edx - 0xbe0f71b]
rcr dword [edi], cl
rcl ah, cl
xor edx, esi
sbb al, dl
pop ecx
push dword [ebx + 0x4e64ac12]
inc ebx
pop edx
invalid
in eax, dx
cmp byte [edi], ah
imul dword [ebx + edi*2 - 0x13]
dec ebp
loop 0x40b2d5
mov ah, byte [0xc5e7d4e2]
xchg ebp, eax
rol bh, 1
add ebx, dword [edx - 0x62a18332]
xchg dword [edx + 0x57d6fd1e], ecx
jecxz 0x40b3b8
sub byte [edi], cl
bound esp, qword [eax + 0x5f54c8ab]
xor esi, dword [ebx + eax]
call 0x548022f7
int3
add bh, byte [eax + 0x55c05556]
imul ecx
mov ecx, edx
ror esp, 0x1f
leave
ror dword [ebp + 0x19504], 1
add byte [eax], al
pop ebp
ret 4
Function at 0x43f8a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa7fb
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.0049d2a2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43f922
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049ad20
mov eax, dword [eax]
push 0x4c6224
push eax
call fcn.0048d7b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049d52d
test bl, bl
je 0x43f922
push 0x4c6224
lea ecx, [esp + 0xc]
call fcn.0049d909
push 0x4c9d94
lea ecx, [esp + 0xc]
call fcn.0049d909
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 0x43f95e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049d52d
jmp 0x43fa29
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 0x43f9e2
lea edx, [esp + 0x7c]
push 0x4c9d90
push edx
call fcn.0048d7b4
add esp, 8
test eax, eax
je 0x43f9e2
lea eax, [esp + 0x7c]
push 0x4c9d8c
push eax
call fcn.0048d7b4
add esp, 8
test eax, eax
je 0x43f9e2
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 0x43f972
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.0049d52d
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 0x440220
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 0x440282
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 0x440290
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa87b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d1180]
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 0x4403c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4402f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049d52d
xor eax, eax
jmp 0x44043f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049d6b6
push esi
lea ecx, [esp + 0xc]
call fcn.0049d945
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4c9dcc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44041d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00440220
test eax, eax
jne 0x44041d
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.00440220
test eax, eax
jne 0x44041d
lea eax, [esp + 0x14]
push 0x4c9da8
push eax
call fcn.0048e960
mov esi, eax
add esp, 8
test esi, esi
jne 0x4403fc
lea ecx, [esp + 0x14]
push 0x4c9da4
push ecx
call fcn.0048e8e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4403fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4403ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049d666
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44030e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049d52d
xor eax, eax
jmp 0x44043f
mov byte [esi], 0
push 0x4c9da0
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.0049d52d
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