joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d71d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c6b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x684
push esi
push edi
mov dword [ebp - 0x690], ecx
lea ecx, [ebp - 0x480]
call fcn.004044f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x688]
call fcn.004044f0
mov byte [ebp - 4], 1
mov dword [ebp - 0x484], 0
mov ecx, 0xc
mov esi, 0x45eb68
lea edi, [ebp - 0x27c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x34
xor eax, eax
lea edi, [ebp - 0x24c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x60], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x60], 0x44
mov ecx, 0x468268
call fcn.00404560
push eax
call fcn.0042a0a0
add esp, 4
cmp eax, 0x200
jae 0x40d7ef
mov ecx, 0x468268
call fcn.00404560
push eax
lea ecx, [ebp - 0x47c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40d815
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x688]
call fcn.0043d7a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.0043d7a3
jmp 0x40d95a
push 0x45eb98
lea edx, [ebp - 0x47c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 0x468264
call fcn.00404560
push eax
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x64]
call fcn.004044f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x17c]
push ecx
lea edx, [ebp - 0x47c]
push edx
call fcn.0042a24e
add esp, 8
mov dword [ebp - 0x68c], eax
cmp dword [ebp - 0x68c], 0xffffffff
jne 0x40d8c1
push 0x45eb9c
push str.GUIDE_ERROR
push 0x45ebb4
push 0x45ebc4
mov ecx, dword [ebp - 0x690]
call fcn.00411be8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0043d7a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x688]
call fcn.0043d7a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.0043d7a3
jmp 0x40d95a
mov eax, dword [ebp - 0x68c]
push eax
call fcn.0042a31b
add esp, 4
lea ecx, [ebp - 0x27c]
push ecx
mov ecx, dword [ebp - 0x690]
call fcn.0040e09b
lea edx, [ebp - 0x47c]
push edx
lea eax, [ebp - 0x27c]
push eax
push str._s___s_
lea ecx, [ebp - 0x684]
push ecx
call fcn.0042a6b4
add esp, 0x10
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x684]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x484], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0043d7a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x688]
call fcn.0043d7a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.0043d7a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e09b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c72e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.http_shellopencommand
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40e1ee
mov dword [ebp - 0x1c], 0xff
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0x46c960
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x20]
call fcn.004044f0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043d92c
lea ecx, [ebp - 0x20]
call fcn.0043c826
lea ecx, [ebp - 0x20]
call fcn.0043c7da
lea ecx, [ebp - 0x20]
call fcn.00404570
test eax, eax
jle 0x40e1df
push 0x45ee98
lea ecx, [ebp - 0x20]
call fcn.0043c441
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x28], 0
jl 0x40e181
mov ecx, dword [ebp - 0x28]
add ecx, 1
push ecx
push 0x45ee9c
lea ecx, [ebp - 0x20]
call fcn.0043c44f
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
add edx, 1
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043c3c9
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x20]
call fcn.0043d8dc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0043d7a3
lea ecx, [ebp - 0x20]
call fcn.00404560
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00429bd0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.IE_is__s
call fcn.00413e70
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0043d7a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e434
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x20006
push 0
call fcn.004045b0
mov ecx, eax
add ecx, 0xec
call fcn.00404560
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40e4a1
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043d7a3
mov eax, dword [ebp - 0x14]
jmp 0x40e51f
lea ecx, [ebp + 8]
call fcn.00404570
push eax
lea ecx, [ebp + 8]
call fcn.00404560
push eax
push 1
push 0
push str.Default
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40e4e5
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043d7a3
mov eax, dword [ebp - 0x18]
jmp 0x40e51f
lea ecx, [ebp + 8]
call fcn.00404560
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x1d0
call fcn.0041ec35
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043d7a3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x410b30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x410b5e
xor eax, eax
jmp 0x410baa
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x9c], ecx
cmp dword [ebp - 0x9c], 1
je 0x410b7e
cmp dword [ebp - 0x9c], 2
je 0x410b82
jmp 0x410ba4
xor eax, eax
jmp 0x410baa
cmp dword [ebp - 0x90], 4
jne 0x410b92
mov eax, 1
jmp 0x410baa
cmp dword [ebp - 0x90], 5
jb 0x410ba2
mov eax, 1
jmp 0x410baa
jmp 0x410ba8
xor eax, eax
jmp 0x410baa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x411b4b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov dword [ebp - 0x204], ecx
mov eax, dword [ebp - 0x204]
mov ecx, dword [eax + 0xa90]
push ecx
push str.Mullang_path___s
call fcn.00413e70
add esp, 8
mov ecx, dword [ebp - 0x204]
add ecx, 0xa90
call fcn.00404560
push eax
push 0x200
lea edx, [ebp - 0x200]
push edx
push 0x46c994
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x411be0
lea edx, [ebp - 0x200]
push edx
mov eax, dword [ebp - 0x204]
mov ecx, dword [eax + 0xa90]
push ecx
push str.Mullang_path___s__value___s
call fcn.00413e70
add esp, 0xc
lea edx, [ebp - 0x200]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0043d92c
mov eax, 1
jmp 0x411be2
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x411d91
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x411dbc
xor eax, eax
jmp 0x411e59
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 1
je 0x411ddc
cmp dword [ebp - 0x98], 2
je 0x411df3
jmp 0x411e50
cmp dword [ebp - 0x8c], 0xa
jb 0x411dec
mov eax, 1
jmp 0x411e59
mov eax, 3
jmp 0x411e59
cmp dword [ebp - 0x90], 4
jne 0x411e03
mov eax, 4
jmp 0x411e59
cmp dword [ebp - 0x90], 5
jne 0x411e1c
cmp dword [ebp - 0x8c], 0
jne 0x411e1c
mov eax, 2
jmp 0x411e59
cmp dword [ebp - 0x90], 5
jne 0x411e35
cmp dword [ebp - 0x8c], 1
jb 0x411e35
mov eax, 5
jmp 0x411e59
cmp dword [ebp - 0x90], 6
jne 0x411e4e
cmp dword [ebp - 0x8c], 0
jb 0x411e4e
mov eax, 6
jmp 0x411e59
jmp 0x411e57
mov eax, 3
jmp 0x411e59
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x413fd1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cbf2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push edi
mov dword [ebp - 4], 1
mov byte [ebp - 0x10c], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x110], 0xff
push 0xff
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.0042a3a0
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push 0
lea ecx, [ebp + 8]
call fcn.00404560
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4140db
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.00404560
push eax
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4140ce
lea edx, [ebp - 0x10c]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0043d92c
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x118], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0043d7a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043d7a3
mov eax, dword [ebp - 0x118]
jmp 0x414106
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x11c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0043d7a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043d7a3
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4142f1
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
push 0x460600
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x414333
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 8]
push edx
push 0x414214
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x4143e6
mov dword [ebp - 0x24], 0x24
lea ecx, [ebp - 0x24]
push ecx
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x4143b6
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 3
ja case.default.0x414359
mov eax, dword [ebp - 0x2c]
jmp dword [eax*4 + 0x4143ea]
mov ecx, dword [ebp - 8]
sub ecx, 0x64
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 8]
sub eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 8], edx
jmp case.default.0x414359
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x64
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
sub eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp 0x4143e6
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
sub ecx, 0x96
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
sub ecx, 0x1e
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4154a5
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xcb
jne 0x4154e1
mov edx, dword [ebp - 8]
add edx, 0x204
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00429bd0
add esp, 8
mov eax, 1
jmp 0x415667
mov dword [ebp - 4], 0
jmp 0x4154f3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x41c]
jge 0x415665
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov eax, dword [ebp - 4]
imul eax, eax, 0x54
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x414]
mov eax, dword [edx + eax + 4]
push eax
push str.GetPortName___:_SCAN___s__PORT___s__index___d
call fcn.00401000
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004157ec
test eax, eax
jne 0x415593
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.004173a5
test eax, eax
jne 0x415593
mov eax, dword [ebp - 4]
imul eax, eax, 0x54
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x414]
mov eax, dword [edx + eax + 0xc]
push eax
mov ecx, dword [ebp - 8]
call fcn.00417c1b
test eax, eax
jne 0x415593
jmp 0x4154ea
push str.is_Passed
call fcn.00401000
add esp, 4
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 4]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x104
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x415600
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xcc
jne 0x415600
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
jmp 0x415667
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 0x10]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x304
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x415660
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xca
jne 0x415660
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
jmp 0x415667
jmp 0x4154ea
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41566d
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xca
jne 0x4156a9
mov edx, dword [ebp - 8]
add edx, 0x304
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00429bd0
add esp, 8
mov eax, 1
jmp 0x4157e6
mov dword [ebp - 4], 0
jmp 0x4156bb
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x41c]
jge 0x4157e4
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004157ec
test eax, eax
jne 0x41571f
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.004173a5
test eax, eax
jne 0x41571f
mov eax, dword [ebp - 4]
imul eax, eax, 0x54
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x414]
mov eax, dword [edx + eax + 0xc]
push eax
mov ecx, dword [ebp - 8]
call fcn.00417c1b
test eax, eax
jne 0x41571f
jmp 0x4156b2
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 4]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x104
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x41577f
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xcc
jne 0x41577f
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
jmp 0x4157e6
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 0xc]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x204
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4157df
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xcb
jne 0x4157df
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
jmp 0x4157e6
jmp 0x4156b2
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4170a3
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
push str.Inside_PrinterInfoManager::IsForegroundWindow__
call fcn.00401000
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call fcn.004182b0
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetShellWindow]
mov dword [ebp - 0x18], eax
push 0
push 0x461960
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x10], eax
push str.Start
push str.Button
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 8], eax
push 0
push 0x461980
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x24], 0
je 0x4171fa
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1c]
je 0x4171fa
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x18]
je 0x4171fa
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x10]
je 0x4171fa
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 8]
je 0x4171fa
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0xc]
je 0x4171fa
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4171c6
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4171c6
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4171c6
cmp dword [ebp - 0x20], 0
jne 0x4171e6
push 0x461990
push 0x46199c
push 0x4619e4
push 0x4619f4
mov ecx, dword [ebp - 4]
call fcn.00411be8
xor eax, eax
jmp 0x417218
push str.Found_Active_Window...
call fcn.00401000
add esp, 4
mov eax, 1
jmp 0x417218
push str.OK_BUTTON
push str.No_Active_Window._Please_select_a_window_and_press_the_button_again.
push str.FATAL_ERR_TITLE
push 0x461a74
mov ecx, dword [ebp - 4]
call fcn.00411be8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x417f91
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c4
mov dword [ebp - 0x3c4], ecx
push str._nInside_PrinterInfoManager::SelectIPAddress__
call fcn.00401000
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3bc]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x20
push 0
lea ecx, [ebp - 0x22c]
push ecx
call fcn.0042a3a0
add esp, 0xc
lea edx, [ebp - 0x3c0]
push edx
lea eax, [ebp - 0x22c]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004182f0
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x41801b
push 0x461e34
call fcn.00401000
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x4180f8
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x108], edx
jmp 0x418038
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x108], ecx
cmp dword [ebp - 0x108], 0
je 0x4180d0
push 2
push 0
push 0
push pe_nt_image_headers32
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0x18]
push eax
call fcn.004190a0
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 4], 2
jne 0x41809c
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00429bd0
add esp, 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x4180f8
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 4], 0x17
jne 0x4180cb
cmp dword [ebp - 4], 0
jne 0x4180cb
mov dword [ebp - 4], 1
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.00429bd0
add esp, 8
jmp 0x418029
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [ebp - 4], 0
je 0x4180f6
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00429bd0
add esp, 8
mov eax, 1
jmp 0x4180f8
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4180fe
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov dword [ebp - 0x1c4], ecx
push str._nInside_PrinterInfoManager::Is_IPv4_IPv6__
call fcn.00401000
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1bc]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x20
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0042a3a0
add esp, 0xc
lea edx, [ebp - 0x1c0]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004182f0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x418179
push str.PrinterInfoManager::SelectIPAddress____getaddrinfo___error
call fcn.00401000
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x4181ca
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 8], edx
jmp 0x41818d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4181b5
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 2
jne 0x4181a3
mov eax, 2
jmp 0x4181ca
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0x17
jne 0x4181b3
mov dword [ebp - 4], 1
jmp 0x418184
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [ebp - 4], 0
je 0x4181c8
mov eax, 0x17
jmp 0x4181ca
xor eax, eax
mov esp, ebp
pop ebp
ret 4