joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fcf0
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 0x41fd25
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.004514b0
test eax, eax
pop ecx
pop ecx
je 0x41fd7a
lea eax, [esp + 0x44]
push 0x46d44c
push eax
call fcn.004514b0
test eax, eax
pop ecx
pop ecx
je 0x41fd7a
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 0x41fd99
lea eax, [esp + 0x18]
push eax
push edi
call ebx
test eax, eax
jne 0x41fd2b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
call edi
cmp byte [ebp + 0x14], 0
jne 0x41fda5
mov al, 1
jmp 0x41fd1c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41fd1a
lea eax, [esp + 0x18]
push eax
push 0x46d448
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x41fe27
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test byte [esp + 0x18], 0x10
je 0x41fe18
lea eax, [esp + 0x44]
push 0x46bb48
push eax
call fcn.004514b0
test eax, eax
pop ecx
pop ecx
je 0x41fe18
lea eax, [esp + 0x44]
push 0x46d44c
push eax
call fcn.004514b0
test eax, eax
pop ecx
pop ecx
je 0x41fe18
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.0041fcf0
test al, al
je 0x41fe2b
push 0x46d44c
call esi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call ebx
test eax, eax
jne 0x41fdc0
mov bl, 1
jmp 0x41fe2d
xor bl, bl
push dword [esp + 0x10]
call edi
mov al, bl
jmp 0x41fd1c
Function at 0x42079d
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.0040fd2f
mov edi, esi
lea esi, [ebp - 0x20]
call fcn.0040fd6a
push 0x46d448
mov eax, edi
call fcn.0040ff67
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 0x4208f0
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp - 0x10]
call fcn.0041b055
cmp eax, 1
je 0x4208ec
cmp eax, 0xb
jne 0x420810
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4207f0
lea eax, [ebp - 0x134]
push 0x46bb48
push eax
call fcn.004514b0
test eax, eax
pop ecx
pop ecx
je 0x4208d2
lea eax, [ebp - 0x134]
push 0x46d44c
push eax
call fcn.004514b0
test eax, eax
pop ecx
pop ecx
je 0x4208d2
lea ebx, [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.0040fe80
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0xc]
call fcn.0040ff67
test byte [ebp - 0x160], 0x10
je 0x4208aa
mov edi, dword [ebp + 0x14]
xor ebx, ebx
cmp byte [ebp + 0x18], bl
je 0x420879
add dword [edi], 1
adc dword [edi + 4], ebx
cmp byte [ebp + 0x1c], bl
je 0x4208d2
push 0x46b458
lea eax, [ebp - 0xc]
call fcn.0040ff67
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.0042079d
cmp al, bl
mov byte [ebp + 0xb], al
je 0x4208f0
jmp 0x4208d2
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 0x4208d2
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 0x4207f0
jmp 0x4208f0
mov byte [ebp + 0xb], 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x20]
call fcn.0044f520
pop ecx
push dword [ebp - 0xc]
call fcn.0044f520
mov al, byte [ebp + 0xb]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x42881e
Capabilities:
Set socket configuration

Disassembly:
push ebx
push edi
push dword [esp + 0x10]
mov word [esi], 2
call fcn.0040f14a
pop ecx
mov ebx, eax
push ebx
call sub.WSOCK32.dll_inet_addr
push ebx
mov edi, eax
call fcn.0044f520
cmp edi, 0xffffffff
pop ecx
jne 0x42884b
push 0
push 1
jmp 0x42886f
mov eax, dword [esp + 0x14]
lea ecx, [eax - 1]
cmp ecx, 0xfffe
mov dword [esi + 4], edi
ja 0x42886b
push eax
call sub.WSOCK32.dll_htons
mov word [esi + 2], ax
mov al, 1
jmp 0x42887a
push 0
push 2
mov eax, dword [esp + 0x14]
call fcn.0041c3d2
xor al, al
pop edi
pop ebx
ret 0xc

Function at 0x4294fe
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.0040fcfb
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 0x42955c
mov esi, 0x80004002
push dword [ebp - 0x24]
call fcn.0044f520
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 0x42963b
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.0040fea9
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
call fcn.0040ff67
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push dword [ebp - 0x24]
push edi
call esi
test eax, eax
jne 0x429626
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 0x42961d
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov byte [ebp + eax - 0x160], 0
lea eax, [ebp - 0x160]
push eax
call fcn.0044f30b
test eax, eax
pop ecx
pop ecx
jne 0x42961d
lea eax, [ebp - 0x54]
push eax
or eax, 0xffffffff
call fcn.0040f92e
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.0044f520
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
je 0x42963b
inc dword [ebp - 8]
mov dword [ebp - 4], 0x28
jmp 0x42955c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xc]
jmp 0x42954c
Function at 0x42964c
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.0040fcfb
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 0x4297e1
push dword [ebp - 0xc]
or eax, 0xffffffff
call fcn.0040f99d
mov esi, eax
lea eax, [ebp - 0x20]
mov dword [esp], str.interface_
call fcn.0040fea9
push esi
lea eax, [ebp - 0x20]
call fcn.0040ff67
push str.TypeLib
lea eax, [ebp - 0x20]
call fcn.0040ff67
push esi
call fcn.0044f520
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 0x4297e1
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 0x4297d8
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x140], bl
lea eax, [ebp - 0x140]
push eax
or eax, 0xffffffff
call fcn.0040f92e
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.0044f520
cmp esi, ebx
pop ecx
jl 0x4297d8
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 0x429783
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x140], bl
lea eax, [ebp - 0x140]
push eax
call fcn.00452402
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.004542a0
add esp, 0x10
call fcn.004659c6
fld qword [ebp - 0x28]
push eax
call fcn.004659c6
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
mov esi, eax
cmp esi, ebx
jl 0x4297d8
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.0044f520
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4297f1
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.0040fcfb
lea ecx, [ebp - 0x18]
call fcn.0040fcfb
lea ecx, [ebp - 0x30]
call fcn.0040fcfb
push str.SOFTWAREClasses_
lea eax, [ebp - 0x24]
call fcn.0040fea9
push dword [ebp + 8]
lea eax, [ebp - 0x24]
call fcn.0040ff67
push str.CLSID
lea eax, [ebp - 0x24]
call fcn.0040ff67
push 0x46ad3e
lea eax, [ebp - 0x18]
call fcn.0040fea9
cmp esi, ebx
je 0x429876
cmp byte [esi], 0x5c
je 0x429876
cmp byte [esi + 1], 0x5c
je 0x429876
push 0x46db24
lea eax, [ebp - 0x18]
call fcn.0040fea9
push esi
lea eax, [ebp - 0x18]
call fcn.0040ff67
cmp dword [ebp + 0x10], ebx
je 0x4298c8
push 0x20
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.004512d0
mov dword [ebp - 0x4c], ebx
add esp, 0xc
lea ebx, [ebp - 0x18]
lea eax, [ebp - 0x30]
call fcn.0040fe80
push str.IPC_
lea eax, [ebp - 0x30]
call fcn.0040ff67
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 0x42995f
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 0x42995f
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 0x42995a
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 0x429955
mov eax, dword [ebp - 0xc]
mov byte [ebp + eax - 0x158], bl
lea eax, [ebp - 0x158]
push eax
or eax, 0xffffffff
call fcn.0040f92e
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.0044f520
pop ecx
push dword [ebp - 8]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 0x30]
call fcn.0044f520
push dword [ebp - 0x18]
call fcn.0044f520
push dword [ebp - 0x24]
call fcn.0044f520
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4323bc
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.0040fd2f
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.004512d0
add esp, 0xc
cmp dword [ebp + 0x10], 2
jb 0x43241c
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
call fcn.00411fc5
cmp byte [eax], bl
je 0x43241c
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
call fcn.00411fc5
push eax
call fcn.0040f14a
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 3
jb 0x432437
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
call fcn.00411fc5
push eax
call fcn.0040f14a
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 4
jb 0x432463
mov eax, dword [edi + 4]
mov esi, dword [eax + 0xc]
call fcn.00411fc5
cmp byte [eax], bl
je 0x432463
mov eax, dword [edi + 4]
mov esi, dword [eax + 0xc]
call fcn.00411fe7
mov ebx, eax
lea eax, [ebp - 0x18]
call fcn.0040fe80
xor ebx, ebx
cmp dword [ebp + 0x10], 5
jb 0x43247a
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x10]
call fcn.004120ba
movzx eax, ax
mov dword [ebp - 0xc], eax
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.004512d0
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.00411fc5
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 0x4324d5
push esi
call fcn.0044f520
pop ecx
cmp edi, ebx
je 0x4324e0
push edi
call fcn.0044f520
pop ecx
cmp dword [ebp + 0x10], ebx
jne 0x4324fb
mov eax, dword [ebp + 8]
push ebx
push 1
call fcn.0041c3d2
mov esi, dword [ebp + 0x14]
push ebx
call fcn.00412565
jmp 0x432526
cmp byte [ebp + 0xc], bl
je 0x43250e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x454], eax
jmp 0x432526
mov esi, dword [ebp + 0x14]
push 1
call fcn.00412565
cmp dword [ebp - 0x1c], ebx
je 0x432526
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call fcn.0044f520
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4359f9
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 0x435ab4
xor eax, eax
cmp byte [0x47e0f0], bl
je 0x435a46
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 0x435ac0
push dword [esp + 0x14]
call fcn.004359f9
pop ecx
push dword [esp + 0x14]
mov byte [esp + 0x13], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0xf], bl
je 0x435ac0
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x435ac0
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 0x435a37
mov al, 1
jmp 0x435ac2
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b7fa
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.004512d0
push 0x10
push ebx
mov esi, 0x47f4b0
push esi
call fcn.004512d0
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 0x43b85d
push dword [0x47f4b0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret 4
Function at 0x43be39
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 0x43be84
cmp edx, dword [edi + 0x128]
je 0x43be9e
cmp dword [ebp + 0xc], 1
mov dword [eax], ecx
mov dword [edi + 0x128], edx
jl 0x43be9e
push edx
push ecx
push 0xfffffffffffffff5
push dword [ebp + 8]
call fcn.0043b702
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 0x43bf2a
cmp dword [ebp + 0xc], 1
jl 0x43bf2a
cmp byte [edi + 0x158], 0
je 0x43bf2a
test esi, esi
push dword [ebp - 4]
push dword [ebp - 8]
je 0x43beeb
push 0xfffffffffffffff9
jmp 0x43bf1b
push 0xfffffffffffffff8
push dword [ebp + 8]
call fcn.0043b702
cmp byte [edi + 0x134], 0
je 0x43bf23
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x1000000
push dword [ebp - 4]
push dword [ebp - 8]
je 0x43bf19
push 0xfffffffffffffffa
jmp 0x43bf1b
push 0xfffffffffffffff4
push dword [ebp + 8]
call fcn.0043b702
mov byte [edi + 0x134], 0
cmp dword [ebp + 0xc], 0
je 0x43bf36
mov dword [edi + 0x12c], esi
cmp ebx, dword [edi + 0x130]
je 0x43bf5c
cmp dword [ebp + 0xc], 1
jl 0x43bf5c
test ebx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
je 0x43bf52
push 0xfffffffffffffff7
jmp 0x43bf54
push 0xfffffffffffffff6
push dword [ebp + 8]
call fcn.0043b702
cmp dword [ebp + 0xc], 0
je 0x43bf68
mov dword [edi + 0x130], ebx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43cbb7
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 0x43cbd4
call fcn.0043b20c
mov dword [0x47df60], eax
jmp 0x43cbd9
mov eax, dword [0x47df60]
cmp eax, 0xffffffff
jne 0x43cbe5
xor eax, eax
jmp 0x43cd34
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 0x43cc25
cmp dword [edi + 0x13c], 0
mov byte [edi + 0x32], 0
jl 0x43cc25
lea ebx, [edi + 0x148]
cmp byte [ebx], 0
je 0x43cc25
push dword [edi + 0x144]
call fcn.0044170a
mov ecx, dword [ebp + 0xc]
mov byte [ebx], 0
mov ebx, dword [ebp + 8]
cmp ebx, 8
jg 0x43ccc2
je 0x43cc8d
test ebx, ebx
je 0x43cc7b
cmp ebx, 1
je 0x43cc8d
cmp ebx, 2
je 0x43cc5f
cmp ebx, 3
je 0x43cd0b
jle 0x43cd2c
cmp ebx, 5
jle 0x43cc8d
cmp ebx, 6
je 0x43cc63
jmp 0x43cd2c
mov byte [edi + 0x30], 1
cmp byte [edi + 0x30], 0
je 0x43cd31
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43cd2c
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 0x30], 0
jmp 0x43cd2c
cmp byte [edi + 0x30], 0
jne 0x43cd31
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, 8
je 0x43ccbc
cmp ebx, 4
je 0x43ccbc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp + 0xc], eax
je 0x43ccbc
push dword [ebp + 0xc]
call fcn.0040b25d
mov byte [edi + 0x30], 1
jmp 0x43cd2c
mov eax, ebx
sub eax, 9
je 0x43cd0b
sub eax, 0x37
je 0x43cd07
dec eax
je 0x43ccfc
dec eax
je 0x43ccef
dec eax
jne 0x43cd2c
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 0x43cd2c
push ecx
mov byte [edi + 0x31], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x43cd2c
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x43cd2c
push 1
jmp 0x43ccfe
cmp byte [edi + 0x30], 0
je 0x43cd31
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp + 0xc], eax
je 0x43cd2c
push dword [ebp + 0xc]
call fcn.0040b25d
xor eax, eax
inc eax
jmp 0x43cd33
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x440e9c
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 0x440f97
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 0x440ed2
xor eax, eax
jmp 0x440fc3
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 0x440ecb
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 0x440f76
cmp dword [eax], ebx
jne 0x440f76
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 0x440f9a
mov dword [ebp - 8], ebx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x440fab
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