Function at 0x40bc60
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x47fe9c
mov eax, dword fs:[0]
push eax
sub esp, 0x3d4
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x3d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x3e8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3f8]
push ebp
push str.EnableHotspot__s_
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 8
lea esi, [esp + 0x14]
call fcn.00402120
push ebp
mov eax, esi
xor ebx, ebx
push eax
mov dword [esp + 0x3f8], ebx
call fcn.00404070
test eax, eax
jne 0x40bd3d
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov edi, edi
push ebp
lea ecx, [esp + 0x18]
push ecx
call fcn.00404070
test eax, eax
jne 0x40bd3d
push 0x2710
call edi
mov ecx, ebp
call fcn.00422320
test eax, eax
jne 0x40bd09
add esi, 1
cmp esi, 0x12
jl 0x40bce0
mov dword [esp + 0x3f0], 0xffffffff
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x40bd27
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x40bd27
push ecx
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40bd36
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x40bf7d
push 0x1f3
lea edx, [esp + 0x1f1]
push ebx
push edx
mov byte [esp + 0x1f8], bl
call fcn.00461780
mov esi, 0xf
add esp, 0xc
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
mov byte [esp + 0x3f0], 1
push 0x17
push 0x48d83c
lea ecx, [esp + 0x118]
mov dword [esp + 0x130], esi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.00401960
mov byte [esp + 0x3f0], 2
push 0x7c
push str.__xml_version_1.0__encoding_UTF_8____r_n_nadyn:NetAppsDyn__r_n_nadyn:DirectPrint__s__nadyn:DirectPrint__r_n__nadyn:NetAppsDyn__r_n
lea ecx, [esp + 0x134]
mov dword [esp + 0x14c], esi
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
call fcn.00401960
cmp dword [esp + 0x3fc], ebx
mov byte [esp + 0x3f0], 3
mov ecx, str.enabled
jne 0x40bdef
mov ecx, str.disabled
mov eax, dword [esp + 0x130]
mov esi, 0x10
cmp dword [esp + 0x144], esi
jae 0x40be0b
lea eax, [esp + 0x130]
push ecx
push eax
lea eax, [esp + 0x1f4]
push 0x1f4
push eax
call fcn.0045ecdb
lea eax, [esp + 0x1fc]
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40be30
sub eax, edx
push eax
lea ecx, [esp + 0x1f0]
push ecx
lea ecx, [esp + 0x150]
call fcn.00401960
cmp dword [esp + 0x128], esi
mov esi, dword [esp + 0x114]
jae 0x40be67
lea esi, [esp + 0x114]
mov edi, dword [esp + 0x1c]
cmp edi, ebx
mov ebp, dword [esp + 0x18]
je 0x40bec1
mov eax, dword [esp + 0x64]
cmp eax, ebx
jne 0x40bead
cmp ebp, ebx
je 0x40bea0
push str.PutPage
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esp + 0x64], eax
jne 0x40bead
push str.EWSIntf::put_page:_Function_not_found_in_DLL:_PutPage_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40bec1
push str.EWSIntf::put_page:_Attempting_to_lookup_PutPage_with_no_DLL_handle_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40bec1
lea edx, [esp + 0x164]
push edx
lea ecx, [esp + 0x1f0]
push ecx
push esi
push edi
call eax
cmp dword [esp + 0x144], 0x10
jb 0x40bedb
mov edx, dword [esp + 0x130]
push edx
call fcn.0044204a
add esp, 4
cmp dword [esp + 0x128], 0x10
mov esi, 0xf
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
jb 0x40bf0f
mov eax, dword [esp + 0x114]
push eax
call fcn.0044204a
add esp, 4
cmp dword [esp + 0x160], 0x10
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
jb 0x40bf3e
mov ecx, dword [esp + 0x14c]
push ecx
call fcn.0044204a
add esp, 4
cmp edi, ebx
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
mov dword [esp + 0x3f0], 0xffffffff
je 0x40bf6d
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x40bf6d
push edi
call eax
cmp ebp, ebx
je 0x40bf78
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov ecx, dword [esp + 0x3e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3d0]
xor ecx, esp
call fcn.0045e88c
add esp, 0x3e0
ret 8