joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fcbf
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push edi
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
mov dword [esp + 0x1c], ecx
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x41fcf4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x44]
push 0x46bb48
push eax
call fcn.00451490
test eax, eax
pop ecx
pop ecx
je 0x41fd49
lea eax, [esp + 0x44]
push 0x46d44c
push eax
call fcn.00451490
test eax, eax
pop ecx
pop ecx
je 0x41fd49
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
not ecx
and eax, ecx
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x41fd68
lea eax, [esp + 0x18]
push eax
push edi
call ebx
test eax, eax
jne 0x41fcfa
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
call edi
cmp byte [ebp + 0x14], 0
jne 0x41fd74
mov al, 1
jmp 0x41fceb
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41fce9
lea eax, [esp + 0x18]
push eax
push 0x46d448
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x41fdf6
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test byte [esp + 0x18], 0x10
je 0x41fde7
lea eax, [esp + 0x44]
push 0x46bb48
push eax
call fcn.00451490
test eax, eax
pop ecx
pop ecx
je 0x41fde7
lea eax, [esp + 0x44]
push 0x46d44c
push eax
call fcn.00451490
test eax, eax
pop ecx
pop ecx
je 0x41fde7
lea eax, [esp + 0x44]
push eax
call esi
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041fcbf
test al, al
je 0x41fdfa
push 0x46d44c
call esi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call ebx
test eax, eax
jne 0x41fd8f
mov bl, 1
jmp 0x41fdfc
xor bl, bl
push dword [esp + 0x10]
call edi
mov al, bl
jmp 0x41fceb
Function at 0x42076c
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push ebx
push esi
push edi
push dword [ebp + 8]
lea esi, [ebp - 0xc]
mov dword [ebp - 0x10], ecx
call fcn.0040fcfe
mov edi, esi
lea esi, [ebp - 0x20]
call fcn.0040fd39
push 0x46d448
mov eax, edi
call fcn.0040ff36
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0xc]
mov byte [ebp + 0xb], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x4208bf
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp - 0x10]
call fcn.0041b024
cmp eax, 1
je 0x4208bb
cmp eax, 0xb
jne 0x4207df
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4207bf
lea eax, [ebp - 0x134]
push 0x46bb48
push eax
call fcn.00451490
test eax, eax
pop ecx
pop ecx
je 0x4208a1
lea eax, [ebp - 0x134]
push 0x46d44c
push eax
call fcn.00451490
test eax, eax
pop ecx
pop ecx
je 0x4208a1
lea ebx, [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.0040fe4f
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0xc]
call fcn.0040ff36
test byte [ebp - 0x160], 0x10
je 0x420879
mov edi, dword [ebp + 0x14]
xor ebx, ebx
cmp byte [ebp + 0x18], bl
je 0x420848
add dword [edi], 1
adc dword [edi + 4], ebx
cmp byte [ebp + 0x1c], bl
je 0x4208a1
push 0x46b458
lea eax, [ebp - 0xc]
call fcn.0040ff36
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0x18]
push edi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.0042076c
cmp al, bl
mov byte [ebp + 0xb], al
je 0x4208bf
jmp 0x4208a1
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x144]
xor ecx, ecx
xor edi, edi
or ecx, eax
mov eax, dword [ebp + 0xc]
or edx, edi
add dword [eax], ecx
adc dword [eax + 4], edx
cmp byte [ebp + 0x18], 0
je 0x4208a1
add dword [esi], 1
adc dword [esi + 4], edi
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4207bf
jmp 0x4208bf
mov byte [ebp + 0xb], 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x20]
call fcn.0044f500
pop ecx
push dword [ebp - 0xc]
call fcn.0044f500
mov al, byte [ebp + 0xb]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x4287ed
Capabilities:
Set socket configuration

Disassembly:
push ebx
push edi
push dword [esp + 0x10]
mov word [esi], 2
call fcn.0040f119
pop ecx
mov ebx, eax
push ebx
call sub.WSOCK32.dll_inet_addr
push ebx
mov edi, eax
call fcn.0044f500
cmp edi, 0xffffffff
pop ecx
jne 0x42881a
push 0
push 1
jmp 0x42883e
mov eax, dword [esp + 0x14]
lea ecx, [eax - 1]
cmp ecx, 0xfffe
mov dword [esi + 4], edi
ja 0x42883a
push eax
call sub.WSOCK32.dll_htons
mov word [esi + 2], ax
mov al, 1
jmp 0x428849
push 0
push 2
mov eax, dword [esp + 0x14]
call fcn.0041c3a1
xor al, al
pop edi
pop ebx
ret 0xc

Function at 0x4294cd
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
and dword [ebp - 8], 0
push ebx
push esi
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xc], 0x80004002
mov dword [ebp - 4], 0x28
call fcn.0040fcca
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x20019
push ebx
push 0
push str.interface
mov edi, connect
push edi
call esi
test eax, eax
je 0x42952b
mov esi, 0x80004002
push dword [ebp - 0x24]
call fcn.0044f500
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x2c]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x42960a
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x54], 0
push str.interface_
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xff
call fcn.0040fe78
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
call fcn.0040ff36
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push dword [ebp - 0x24]
push edi
call esi
test eax, eax
jne 0x4295f5
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x160]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4295ec
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov byte [ebp + eax - 0x160], 0
lea eax, [ebp - 0x160]
push eax
call fcn.0044f2eb
test eax, eax
pop ecx
pop ecx
jne 0x4295ec
lea eax, [ebp - 0x54]
push eax
or eax, 0xffffffff
call fcn.0040f8fd
pop ecx
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
push dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
call fcn.0044f500
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
je 0x42960a
inc dword [ebp - 8]
mov dword [ebp - 4], 0x28
jmp 0x42952b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xc]
jmp 0x42951b
Function at 0x42961b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.0040fcca
fld1
lea eax, [ebp - 0xc]
fstp qword [ebp - 0x28]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromIID]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x4297b0
push dword [ebp - 0xc]
or eax, 0xffffffff
call fcn.0040f96c
mov esi, eax
lea eax, [ebp - 0x20]
mov dword [esp], str.interface_
call fcn.0040fe78
push esi
lea eax, [ebp - 0x20]
call fcn.0040ff36
push str.TypeLib
lea eax, [ebp - 0x20]
call fcn.0040ff36
push esi
call fcn.0044f500
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x20]
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x4297b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x140]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], 0xff
call edi
mov esi, eax
cmp esi, ebx
jne 0x4297a7
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x140], bl
lea eax, [ebp - 0x140]
push eax
or eax, 0xffffffff
call fcn.0040f8fd
pop ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
push dword [ebp - 0x14]
mov esi, eax
call fcn.0044f500
cmp esi, ebx
pop ecx
jl 0x4297a7
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x140]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 8]
mov dword [ebp - 4], 0xff
call edi
test eax, eax
jne 0x429752
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x140], bl
lea eax, [ebp - 0x140]
push eax
call fcn.004523e2
fstp qword [ebp - 0x28]
pop ecx
fld1
lea eax, [ebp - 0x10]
push eax
push ebx
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x28]
fstp qword [esp]
call fcn.00454280
add esp, 0x10
call fcn.004659a6
fld qword [ebp - 0x28]
push eax
call fcn.004659a6
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
mov esi, eax
cmp esi, ebx
jl 0x4297a7
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x20]
call fcn.0044f500
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4297c0
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x24]
mov esi, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.0040fcca
lea ecx, [ebp - 0x18]
call fcn.0040fcca
lea ecx, [ebp - 0x30]
call fcn.0040fcca
push str.SOFTWAREClasses_
lea eax, [ebp - 0x24]
call fcn.0040fe78
push dword [ebp + 8]
lea eax, [ebp - 0x24]
call fcn.0040ff36
push str.CLSID
lea eax, [ebp - 0x24]
call fcn.0040ff36
push 0x46ad3e
lea eax, [ebp - 0x18]
call fcn.0040fe78
cmp esi, ebx
je 0x429845
cmp byte [esi], 0x5c
je 0x429845
cmp byte [esi + 1], 0x5c
je 0x429845
push 0x46db24
lea eax, [ebp - 0x18]
call fcn.0040fe78
push esi
lea eax, [ebp - 0x18]
call fcn.0040ff36
cmp dword [ebp + 0x10], ebx
je 0x429897
push 0x20
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.004512b0
mov dword [ebp - 0x4c], ebx
add esp, 0xc
lea ebx, [ebp - 0x18]
lea eax, [ebp - 0x30]
call fcn.0040fe4f
push str.IPC_
lea eax, [ebp - 0x30]
call fcn.0040ff36
mov eax, dword [ebp - 0x30]
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x50]
push eax
call sub.MPR.dll_WNetAddConnection2A
mov esi, eax
test esi, esi
jne 0x42992e
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push reloc.WSOCK32.dll_bind
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
mov esi, eax
cmp esi, ebx
jne 0x42992e
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x24]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
cmp esi, ebx
jne 0x429929
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x158]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0xc], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebx
jne 0x429924
mov eax, dword [ebp - 0xc]
mov byte [ebp + eax - 0x158], bl
lea eax, [ebp - 0x158]
push eax
or eax, 0xffffffff
call fcn.0040f8fd
pop ecx
push dword [ebp + 0xc]
mov ebx, eax
push ebx
call dword [sym.imp.ole32.dll_CLSIDFromString]
push ebx
mov esi, eax
call fcn.0044f500
pop ecx
push dword [ebp - 8]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 0x30]
call fcn.0044f500
push dword [ebp - 0x18]
call fcn.0044f500
push dword [ebp - 0x24]
call fcn.0044f500
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43238b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push str.open
lea esi, [ebp - 0x18]
mov edi, eax
call fcn.0040fcfe
xor ebx, ebx
push 0x3c
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 1
call fcn.004512b0
add esp, 0xc
cmp dword [ebp + 0x10], 2
jb 0x4323eb
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
call fcn.00411f94
cmp byte [eax], bl
je 0x4323eb
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
call fcn.00411f94
push eax
call fcn.0040f119
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 3
jb 0x432406
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
call fcn.00411f94
push eax
call fcn.0040f119
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 4
jb 0x432432
mov eax, dword [edi + 4]
mov esi, dword [eax + 0xc]
call fcn.00411f94
cmp byte [eax], bl
je 0x432432
mov eax, dword [edi + 4]
mov esi, dword [eax + 0xc]
call fcn.00411fb6
mov ebx, eax
lea eax, [ebp - 0x18]
call fcn.0040fe4f
xor ebx, ebx
cmp dword [ebp + 0x10], 5
jb 0x432449
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x10]
call fcn.00412089
movzx eax, ax
mov dword [ebp - 0xc], eax
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.004512b0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], ebx
mov esi, dword [eax]
add esp, 0xc
call fcn.00411f94
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp esi, ebx
mov dword [ebp + 0x10], eax
je 0x4324a4
push esi
call fcn.0044f500
pop ecx
cmp edi, ebx
je 0x4324af
push edi
call fcn.0044f500
pop ecx
cmp dword [ebp + 0x10], ebx
jne 0x4324ca
mov eax, dword [ebp + 8]
push ebx
push 1
call fcn.0041c3a1
mov esi, dword [ebp + 0x14]
push ebx
call fcn.00412534
jmp 0x4324f5
cmp byte [ebp + 0xc], bl
je 0x4324dd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x454], eax
jmp 0x4324f5
mov esi, dword [ebp + 0x14]
push 1
call fcn.00412534
cmp dword [ebp - 0x1c], ebx
je 0x4324f5
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call fcn.0044f500
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4359c8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edi
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [ebp + 8]
mov dword [esp + 0x30], 0xff
call esi
mov edi, 0x103
jmp 0x435a83
xor eax, eax
cmp byte [0x47e0f0], bl
je 0x435a15
mov eax, 0x100
lea ecx, [esp + 0x14]
push ecx
or eax, 0x20019
push eax
push ebx
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x435a8f
push dword [esp + 0x14]
call fcn.004359c8
pop ecx
push dword [esp + 0x14]
mov byte [esp + 0x13], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0xf], bl
je 0x435a8f
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x435a8f
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [ebp + 8]
mov dword [esp + 0x30], 0xff
call esi
cmp eax, edi
jne 0x435a06
mov al, 1
jmp 0x435a91
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b7c9
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
push 0x44
xor ebx, ebx
push ebx
mov edi, 0x47f4c0
push edi
call fcn.004512b0
push 0x10
push ebx
mov esi, 0x47f4b0
push esi
call fcn.004512b0
add esp, 0x18
push esi
push edi
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [esp + 0x30]
xor eax, eax
inc eax
push ebx
mov dword [0x47f4c0], 0x44
mov dword [0x47f4ec], eax
mov word [0x47f4f0], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
pop esi
pop ebx
je 0x43b82c
push dword [0x47f4b0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret 4
Function at 0x43be08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 8]
mov dword [edi + 0x11c], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x120], eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [edi + 0x124]
cmp ecx, dword [eax]
jne 0x43be53
cmp edx, dword [edi + 0x128]
je 0x43be6d
cmp dword [ebp + 0xc], 1
mov dword [eax], ecx
mov dword [edi + 0x128], edx
jl 0x43be6d
push edx
push ecx
push 0xfffffffffffffff5
push dword [ebp + 8]
call fcn.0043b6d1
mov eax, dword [ebp + 8]
push dword [eax + 0x18]
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call ebx
movzx esi, ax
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
shr esi, 0xf
and esi, 1
call ebx
movzx ebx, ax
shr ebx, 0xf
and ebx, 1
cmp esi, dword [edi + 0x12c]
je 0x43bef9
cmp dword [ebp + 0xc], 1
jl 0x43bef9
cmp byte [edi + 0x158], 0
je 0x43bef9
test esi, esi
push dword [ebp - 4]
push dword [ebp - 8]
je 0x43beba
push 0xfffffffffffffff9
jmp 0x43beea
push 0xfffffffffffffff8
push dword [ebp + 8]
call fcn.0043b6d1
cmp byte [edi + 0x134], 0
je 0x43bef2
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x1000000
push dword [ebp - 4]
push dword [ebp - 8]
je 0x43bee8
push 0xfffffffffffffffa
jmp 0x43beea
push 0xfffffffffffffff4
push dword [ebp + 8]
call fcn.0043b6d1
mov byte [edi + 0x134], 0
cmp dword [ebp + 0xc], 0
je 0x43bf05
mov dword [edi + 0x12c], esi
cmp ebx, dword [edi + 0x130]
je 0x43bf2b
cmp dword [ebp + 0xc], 1
jl 0x43bf2b
test ebx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
je 0x43bf21
push 0xfffffffffffffff7
jmp 0x43bf23
push 0xfffffffffffffff6
push dword [ebp + 8]
call fcn.0043b6d1
cmp dword [ebp + 0xc], 0
je 0x43bf37
mov dword [edi + 0x130], ebx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43cb9c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
mov esi, 0x47def8
je 0x43cbb9
call fcn.0043b1db
mov dword [0x47df60], eax
jmp 0x43cbbe
mov eax, dword [0x47df60]
cmp eax, 0xffffffff
jne 0x43cbca
xor eax, eax
jmp 0x43cd19
mov ecx, dword [0x47df54]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax]
cmp byte [edi + 0x32], 0
mov ecx, dword [edi]
push ebx
mov dword [ebp + 0xc], ecx
je 0x43cc0a
cmp dword [edi + 0x13c], 0
mov byte [edi + 0x32], 0
jl 0x43cc0a
lea ebx, [edi + 0x148]
cmp byte [ebx], 0
je 0x43cc0a
push dword [edi + 0x144]
call fcn.004416ef
mov ecx, dword [ebp + 0xc]
mov byte [ebx], 0
mov ebx, dword [ebp + 8]
cmp ebx, 8
jg 0x43cca7
je 0x43cc72
test ebx, ebx
je 0x43cc60
cmp ebx, 1
je 0x43cc72
cmp ebx, 2
je 0x43cc44
cmp ebx, 3
je 0x43ccf0
jle 0x43cd11
cmp ebx, 5
jle 0x43cc72
cmp ebx, 6
je 0x43cc48
jmp 0x43cd11
mov byte [edi + 0x30], 1
cmp byte [edi + 0x30], 0
je 0x43cd16
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43cd11
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 0x30], 0
jmp 0x43cd11
cmp byte [edi + 0x30], 0
jne 0x43cd16
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, 8
je 0x43cca1
cmp ebx, 4
je 0x43cca1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp + 0xc], eax
je 0x43cca1
push dword [ebp + 0xc]
call fcn.0040b22c
mov byte [edi + 0x30], 1
jmp 0x43cd11
mov eax, ebx
sub eax, 9
je 0x43ccf0
sub eax, 0x37
je 0x43ccec
dec eax
je 0x43cce1
dec eax
je 0x43ccd4
dec eax
jne 0x43cd11
push eax
mov byte [edi + 0x31], al
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x43cd11
push ecx
mov byte [edi + 0x31], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x43cd11
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x43cd11
push 1
jmp 0x43cce3
cmp byte [edi + 0x30], 0
je 0x43cd16
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp + 0xc], eax
je 0x43cd11
push dword [ebp + 0xc]
call fcn.0040b22c
xor eax, eax
inc eax
jmp 0x43cd18
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x440e81
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
cmp byte [eax], bl
push esi
push edi
mov dword [ebp - 0xc], ebx
je 0x440f7c
push ebx
push ebx
push 3
push ebx
push ebx
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x440eb7
xor eax, eax
jmp 0x440fa8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 2
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0xc]
push eax
push 0x4668e4
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x440eb0
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0xc]
lea eax, [ebp - 0x30]
push eax
push 0x18
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], ebx
mov eax, dword [ebp + 0x10]
jne 0x440f5b
cmp dword [eax], ebx
jne 0x440f5b
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
push 0x2000
push dword [eax]
push dword [ecx]
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x440f7f
mov dword [ebp - 8], ebx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x440f90
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 8]
push eax
push ebx
mov dword [esi + 0x48], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc