joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cb5d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.004019d1
fld1
lea eax, [ebp - 0xc]
fstp qword [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromIID]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x42ccf9
push dword [ebp - 0xc]
call fcn.0040f873
mov edi, eax
lea eax, [ebp - 0x30]
mov dword [esp], str.interface_
call fcn.0040214f
push edi
lea esi, [ebp - 0x30]
call fcn.00401a27
push str.TypeLib
call fcn.00401a27
push edi
call fcn.004575ad
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 - 0x30]
push accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x42ccf9
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x248]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], 0x1fe
call edi
mov esi, eax
cmp esi, ebx
jne 0x42ccf0
shr dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ebp + ecx*2 - 0x248], ax
lea eax, [ebp - 0x248]
push eax
call fcn.0040f873
pop ecx
lea ecx, [ebp - 0x40]
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.004575ad
pop ecx
cmp esi, ebx
jl 0x42ccf0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x248]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 8]
mov dword [ebp - 4], 0x1fe
call edi
test eax, eax
jne 0x42cc95
shr dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
mov word [ebp + ecx*2 - 0x248], ax
lea eax, [ebp - 0x248]
push eax
call fcn.00457c7d
fstp qword [ebp - 0x20]
pop ecx
fld1
lea eax, [ebp - 0x10]
push eax
push ebx
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.004595e0
add esp, 0x10
call fcn.00469f36
fld qword [ebp - 0x20]
movzx eax, ax
push eax
call fcn.00469f36
movzx eax, ax
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
mov esi, eax
cmp esi, ebx
jl 0x42ccf0
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]
lea ecx, [ebp - 0x30]
call fcn.00401a04
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42cd08
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
push edi
xor edi, edi
lea ecx, [ebp - 0x2c]
mov ebx, eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.004019d1
lea ecx, [ebp - 0x1c]
call fcn.004019d1
lea ecx, [ebp - 0x3c]
call fcn.004019d1
push str.SOFTWAREClasses_
lea eax, [ebp - 0x2c]
call fcn.0040214f
push dword [ebp + 8]
lea esi, [ebp - 0x2c]
call fcn.00401a27
push str.CLSID
call fcn.00401a27
push 0x46df88
lea eax, [ebp - 0x1c]
call fcn.0040214f
cmp ebx, edi
je 0x42cd8c
cmp word [ebx], 0x5c
je 0x42cd8c
cmp word [ebx + 2], 0x5c
je 0x42cd8c
push 0x474080
lea eax, [ebp - 0x1c]
call fcn.0040214f
push ebx
lea esi, [ebp - 0x1c]
call fcn.00401a27
cmp dword [ebp + 0x10], edi
je 0x42cddc
push 0x20
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00456fd0
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x58], edi
call fcn.00401b3c
push str.IPC_
lea esi, [ebp - 0x3c]
call fcn.00401a27
mov eax, dword [ebp - 0x3c]
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
cmp esi, edi
jne 0x42ce7a
lea eax, [ebp - 0xc]
push eax
push reloc.WSOCK32.dll_bind
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
cmp esi, edi
jne 0x42ce7a
lea eax, [ebp - 8]
push eax
push 0x20019
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
cmp esi, edi
jne 0x42ce75
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x268]
push eax
push edi
push edi
push edi
push dword [ebp - 8]
mov dword [ebp - 4], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, edi
jne 0x42ce70
shr dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ebp + ecx*2 - 0x268], ax
lea eax, [ebp - 0x268]
push eax
call fcn.0040f873
pop ecx
push dword [ebp + 0xc]
mov edi, eax
push edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
push edi
mov esi, eax
call fcn.004575ad
pop ecx
push dword [ebp - 8]
call ebx
push dword [ebp - 0xc]
call ebx
lea ecx, [ebp - 0x3c]
call fcn.00401a04
lea ecx, [ebp - 0x1c]
call fcn.00401a04
lea ecx, [ebp - 0x2c]
call fcn.00401a04
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x436363
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004019d1
xor ebx, ebx
push 0x3c
lea eax, [esp + 0x30]
push ebx
push eax
xor edi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
call fcn.00456fd0
add esp, 0xc
cmp dword [ebp + 0x10], 2
jb 0x4363c4
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
call fcn.00412bb1
cmp word [eax], bx
je 0x4363c4
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
call fcn.00412bb1
push eax
call fcn.0040f873
pop ecx
mov edi, eax
cmp dword [ebp + 0x10], 3
jb 0x4363e0
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
call fcn.00412bb1
push eax
call fcn.0040f873
pop ecx
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x10], 4
jb 0x43641f
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
call fcn.00412bb1
cmp word [eax], bx
je 0x43641f
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
call fcn.0041d49c
test al, al
jne 0x43641f
mov eax, dword [esp + 0x18]
call fcn.00412bcc
lea ecx, [esp + 0x1c]
cmp ecx, eax
je 0x43641f
call fcn.00401b3c
cmp dword [ebp + 0x10], 5
jb 0x436437
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
call fcn.00412c92
movzx eax, ax
mov dword [esp + 0x14], eax
push 0x3c
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.00456fd0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], 0x3c
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x40], ebx
mov eax, dword [eax]
add esp, 0xc
call fcn.00412bb1
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [esp + 0x18], eax
cmp edi, ebx
je 0x43649f
push edi
call fcn.0045526c
pop ecx
cmp esi, ebx
je 0x4364aa
push esi
call fcn.0045526c
pop ecx
cmp dword [esp + 0x18], ebx
jne 0x4364df
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov esi, dword [eax + 4]
add esi, ecx
lea eax, [esi + 4]
call fcn.00418aa2
mov dword [eax + 0x14], 1
lea eax, [esi + 4]
call fcn.00418aa2
mov esi, dword [ebp + 0x14]
push ebx
mov byte [eax + 0x18], bl
call fcn.004131a1
jmp 0x43650d
cmp byte [ebp + 0xc], bl
je 0x4364f3
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x450], eax
jmp 0x43650d
mov esi, dword [ebp + 0x14]
push 1
call fcn.004131a1
cmp dword [esp + 0x64], ebx
je 0x43650d
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
call fcn.00401a04
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x438e06
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x24]
push eax
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x228]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call edi
cmp eax, 0x103
je 0x438f12
mov eax, dword [ebp + 0xc]
or eax, 0x20019
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x228]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438f24
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.00438e06
pop ecx
pop ecx
push dword [ebp - 0xc]
mov byte [ebp - 1], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 1], bl
je 0x438f24
lea esi, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
call fcn.0043964e
test al, al
je 0x438ec6
call fcn.0043964e
test al, al
mov eax, dword [ebp - 0x10]
jne 0x438eb4
mov eax, 0x43967d
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x228]
push ecx
push dword [ebp + 8]
call eax
jmp 0x438ed6
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x438f16
cmp dword [ebp - 0x18], ebx
je 0x438ee8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x228]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call edi
cmp eax, 0x103
jne 0x438e4f
mov al, 1
jmp 0x438f26
cmp dword [ebp - 0x18], ebx
je 0x438f24
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4402a5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x44
xor ebx, ebx
push ebx
mov edi, 0x492438
push edi
call fcn.00456fd0
push 0x10
push ebx
mov esi, 0x492424
push esi
call fcn.00456fd0
add esp, 0x18
push esi
push edi
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp + 8]
xor eax, eax
inc eax
push ebx
mov dword [0x492438], 0x44
mov dword [0x492464], eax
mov word [0x492468], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
pop ebx
test eax, eax
je 0x44030a
push dword [0x492424]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4
Function at 0x440909
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x160], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x164], eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [edi + 0x168]
jne 0x440953
cmp edx, dword [edi + 0x16c]
je 0x440972
cmp dword [ebp + 0xc], 1
mov dword [edi + 0x168], ecx
mov dword [edi + 0x16c], edx
jl 0x440972
push edx
push ecx
push dword [ebp + 8]
push 0xfffffffffffffff5
pop ebx
call fcn.004401a6
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
shr eax, 0xf
and eax, 1
mov dword [ebp - 4], eax
cmp esi, dword [edi + 0x170]
je 0x440a03
cmp dword [ebp + 0xc], 1
jl 0x440a03
cmp byte [edi + 0x19c], 0
je 0x440a03
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 8]
test esi, esi
je 0x4409c2
push 0xfffffffffffffff9
jmp 0x4409f3
push 0xfffffffffffffff8
pop ebx
call fcn.004401a6
cmp byte [edi + 0x178], 0
je 0x4409f9
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 8]
test eax, 0x1000000
je 0x4409f1
push 0xfffffffffffffffa
jmp 0x4409f3
push 0xfffffffffffffff4
pop ebx
call fcn.004401a6
mov eax, dword [ebp - 4]
mov byte [edi + 0x178], 0
cmp dword [ebp + 0xc], 0
je 0x440a0f
mov dword [edi + 0x170], esi
cmp eax, dword [edi + 0x174]
je 0x440a39
cmp dword [ebp + 0xc], 1
jl 0x440a39
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 8]
test eax, eax
je 0x440a2e
push 0xfffffffffffffff7
jmp 0x440a30
push 0xfffffffffffffff6
pop ebx
call fcn.004401a6
mov eax, dword [ebp - 4]
cmp dword [ebp + 0xc], 0
je 0x440a45
mov dword [edi + 0x174], eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x441943
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x491510
test edi, edi
je 0x441960
call fcn.0043fcd2
mov dword [0x49157c], eax
jmp 0x441965
mov eax, dword [0x49157c]
cmp eax, 0xffffffff
jne 0x441971
xor eax, eax
jmp 0x441aac
mov ecx, dword [0x491570]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax]
cmp byte [edi + 0x3a], 0
mov ecx, dword [edi]
push ebx
mov dword [ebp + 0xc], ecx
je 0x4419b3
cmp dword [edi + 0x180], 0
mov byte [edi + 0x3a], 0
jl 0x4419b3
cmp byte [edi + 0x18c], 0
je 0x4419b3
push dword [edi + 0x188]
call fcn.00446802
mov ecx, dword [ebp + 0xc]
mov byte [edi + 0x18c], 0
mov ebx, dword [ebp + 8]
cmp ebx, 8
jg 0x441a45
je 0x441a1b
test ebx, ebx
je 0x441a09
cmp ebx, 1
je 0x441a1b
cmp ebx, 2
je 0x4419ed
cmp ebx, 3
je 0x441a8e
jle 0x441aa4
cmp ebx, 5
jle 0x441a1b
cmp ebx, 6
je 0x4419f1
jmp 0x441aa4
mov byte [edi + 0x38], 1
cmp byte [edi + 0x38], 0
je 0x441aa9
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x441aa4
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 0x38], 0
jmp 0x441aa4
cmp byte [edi + 0x38], 0
jne 0x441aa9
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, 8
je 0x441a3f
cmp ebx, 4
je 0x441a3f
push dword [ebp + 0xc]
call fcn.0040b74f
mov byte [edi + 0x38], 1
jmp 0x441aa4
mov eax, ebx
sub eax, 9
je 0x441a8e
sub eax, 0x37
je 0x441a8a
dec eax
je 0x441a7f
dec eax
je 0x441a72
dec eax
jne 0x441aa4
push eax
mov byte [edi + 0x39], al
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x441aa4
push ecx
mov byte [edi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x441aa4
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x441aa4
push 1
jmp 0x441a81
cmp byte [edi + 0x38], 0
je 0x441aa9
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
call fcn.0040b74f
xor eax, eax
inc eax
jmp 0x441aab
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x444f6a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea edi, [ebp - 0xc]
lea esi, [ebp - 8]
mov eax, 0x491510
call fcn.0043febe
test al, al
jne 0x444f8e
xor eax, eax
jmp 0x44516b
mov ecx, dword [0x491570]
mov eax, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x491584]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax]
mov al, byte [edi + 0x88]
mov esi, dword [edi]
lea edx, [ebp + 8]
mov dword [ebp - 0xc], esi
mov byte [ebp - 1], al
call fcn.0040ff63
mov eax, dword [edi + 0x44]
xor edx, edx
cmp eax, edx
jl 0x444fd1
push eax
call fcn.00440d4c
xor edx, edx
movzx eax, byte [ebp - 1]
cmp eax, 0x12
jg 0x4450ad
je 0x44506b
cmp eax, edx
je 0x44505b
jle 0x444f87
cmp eax, 4
jle 0x4450f4
cmp eax, 8
je 0x44503d
cmp eax, 0x10
je 0x445029
cmp eax, 0x11
jne 0x444f87
mov ecx, dword [ebp + 8]
cmp ecx, edx
jl 0x444f87
push 1
mov dword [edi + 0x44], ecx
call fcn.00440ca0
push 1
push 0
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x445154
cmp dword [ebp + 8], edx
jl 0x444f87
push dword [ebp + 8]
push edx
push 0x111d
jmp 0x44504f
cmp dword [ebp + 8], edx
jl 0x444f87
push dword [ebp + 8]
push edx
push 0x2001
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x445154
mov ecx, dword [ebp + 8]
cmp ecx, edx
jge 0x445117
jmp 0x444f87
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
jl 0x444f87
push 1
mov dword [edi + 0x44], ecx
call fcn.00440ca0
test byte [edi + 0x8a], 0x20
jne 0x445154
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 0x445154
cmp eax, 0x13
je 0x445103
cmp eax, 0x14
je 0x445002
cmp eax, 0x17
je 0x4450f4
cmp eax, 0x18
je 0x4450d5
jle 0x444f87
cmp eax, 0x1b
jle 0x4450f4
jmp 0x444f87
cmp dword [ebp + 8], edx
jl 0x444f87
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]
mov ecx, dword [ebp + 8]
push 1
mov dword [edi + 0x44], ecx
call fcn.00440ca0
jmp 0x445144
cmp dword [ebp + 8], 0xfffffffe
je 0x444f87
mov ecx, 0xfe000000
cmp dword [ebp + 8], ecx
jne 0x445123
push 1
mov dword [edi + 0x44], ecx
call fcn.00440ca0
jmp 0x445154
push dword [ebp + 8]
push edx
push 0x1001
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push dword [ebp + 8]
push 0
push 0x1026
push dword [ebp - 0xc]
call esi
cmp byte [ebx + 0x39], 0
jne 0x445154
push 1
push edi
mov esi, ebx
call fcn.0043ff2c
cmp dword [0x4803fc], 0
je 0x445168
cmp byte [ebp - 1], 8
jne 0x445168
or eax, 0xffffffff
jmp 0x44516b
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x445f4a
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0xc], esi
cmp word [eax], si
je 0x446046
push esi
push esi
push 3
push esi
push esi
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x445f81
xor eax, eax
jmp 0x446072
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 2
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0xc]
push eax
push 0x46b9f0
push esi
push esi
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 edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x445f7a
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_GetObjectW]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cmp dword [ecx], esi
jne 0x446025
cmp dword [eax], esi
jne 0x446025
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 esi
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 0x446049
mov dword [ebp - 8], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x60]
cmp eax, esi
je 0x44605a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 8]
push eax
push esi
mov dword [edi + 0x60], eax
mov edi, dword [edi]
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x446802
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x184]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, dword [ebp + 8]
je 0x4468c6
push 3
pop eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x84], eax
jl 0x4468bd
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
cmp dword [eax], 0
je 0x4468ab
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
cmp dword [eax + 4], ecx
jne 0x4468ab
cmp byte [eax + 0x88], 0xb
je 0x4468ab
mov cl, byte [eax + 0x8b]
movzx edx, cl
cmp edx, dword [edi + 0x184]
je 0x44687e
cmp byte [edi + 0x18c], 0
je 0x4468ab
cmp cl, 0xff
je 0x4468ab
cmp byte [eax + 0x88], 0xa
je 0x4468ab
push 0
push dword [eax]
call ebx
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
test byte [eax + 0x8a], 0x40
je 0x4468ab
cmp byte [eax + 0x88], 0x1a
jne 0x4468ab
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x84]
jle 0x446835
mov eax, dword [ebp + 8]
mov dword [edi + 0x184], eax
push 3
pop eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x84], eax
jl 0x446961
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
cmp dword [eax], 0
je 0x44694f
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
cmp dword [eax + 4], ecx
jne 0x44694f
cmp byte [eax + 0x88], 0xb
je 0x44694f
movzx ecx, byte [eax + 0x8b]
cmp ecx, dword [edi + 0x184]
jne 0x44694f
test byte [eax + 0x8a], 0x20
jne 0x44694f
push 0
push dword [eax]
call ebx
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
push 4
push dword [eax]
call ebx
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
test byte [eax + 0x8a], 0x40
je 0x44694f
cmp byte [eax + 0x88], 0x1a
jne 0x44694f
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x84]
jle 0x4468d8
push 0
push dword [ebp + 8]
push 0x130c
push dword [edi + 0x17c]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebx
leave
ret 4
Function at 0x45e2a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x479d40]
jne 0x45e2aa
repz ret
jmp fcn.004663a6

Function at 0x46453c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x479d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0045b92c
and dword [ebp - 0x14], 0
cmp dword [0x480034], 0
mov dword [ebp - 0x18], eax
jne 0x4645ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x464697
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46d490
push ebx
call edi
test eax, eax
je 0x464697
mov esi, dword [section..data]
push eax
call esi
push 0x46d480
push ebx
mov dword [0x480034], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x480038], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48003c], eax
call edi
push eax
call esi
mov dword [0x480044], eax
test eax, eax
je 0x4645ef
push 0x46d438
push ebx
call edi
push eax
call esi
mov dword [0x480040], eax
mov eax, dword [0x480040]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x479004]
cmp eax, ecx
je 0x464648
cmp dword [0x480044], ecx
je 0x464648
push eax
call esi
push dword [0x480044]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x464648
test ebx, ebx
je 0x464648
call edi
test eax, eax
je 0x46463f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46463f
test byte [ebp - 8], 1
jne 0x464648
or dword [ebp + 0x10], 0x200000
jmp 0x46467b
mov eax, dword [0x480038]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46467b
mov eax, dword [0x48003c]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x480034]
call esi
test eax, eax
je 0x464697
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x464699
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e2a0
leave
ret