Function at 0x40dbb0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x47fcf2
mov eax, dword fs:[0]
push eax
sub esp, 0x9e8
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x9e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x9fc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa0c]
push ebp
push str.SetHotspotDynamicIP__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 + 0xa0c], ebx
call fcn.00404070
test eax, eax
jne 0x40dc8d
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 0x40dc8d
push 0x2710
call edi
mov ecx, ebp
call fcn.00422320
test eax, eax
jne 0x40dc59
add esi, 1
cmp esi, 0x12
jl 0x40dc30
mov dword [esp + 0xa04], 0xffffffff
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x40dc77
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x40dc77
push ecx
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40dc86
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x40e06f
push 0x7cf
lea edx, [esp + 0x229]
push ebx
push edx
mov byte [esp + 0x230], bl
call fcn.00461780
mov esi, 0xf
add esp, 0xc
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
mov byte [esp + 0xa04], 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 + 0xa04], 2
push 0x91
push str.__xml_version_1.0__encoding_UTF_8____r_n_nadyn:NetAppsDyn__r_n_dd:AutoIP_enabled__dd:AutoIP__r_n_dd:DHCPv4_enabled__dd:DHCPv4__r_n__nadyn:NetAppsDyn__r_n
lea ecx, [esp + 0x150]
mov dword [esp + 0x168], esi
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
call fcn.00401960
mov byte [esp + 0xa04], 3
mov eax, dword [esp + 0x14c]
mov esi, 0x10
cmp dword [esp + 0x160], esi
jae 0x40dd4b
lea eax, [esp + 0x14c]
push eax
lea eax, [esp + 0x228]
push 0x7d0
push eax
call fcn.0045ecdb
lea eax, [esp + 0x230]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x40dd70
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40dd70
sub eax, edx
push eax
lea ecx, [esp + 0x228]
push ecx
lea ecx, [esp + 0x16c]
call fcn.00401960
cmp dword [esp + 0x128], esi
mov edi, dword [esp + 0x114]
jae 0x40dda7
lea edi, [esp + 0x114]
cmp dword [esp + 0x1c], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x64]
je 0x40de17
cmp esi, ebx
jne 0x40ddff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40ddea
push str.PutPage
push eax
call ebp
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x64], esi
jne 0x40ddff
push str.EWSIntf::put_page:_Function_not_found_in_DLL:_PutPage_n
mov dword [esp + 0x18], 0x7f
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40de17
push str.EWSIntf::put_page:_Attempting_to_lookup_PutPage_with_no_DLL_handle_n
mov dword [esp + 0x18], 6
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40de17
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x19c]
push edx
lea eax, [esp + 0x228]
push eax
push edi
push ecx
call esi
push 0x18
mov edi, 0xf
push str._DevMgmt_IOConfigDyn.xml
lea ecx, [esp + 0x188]
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x19c], ebx
mov byte [esp + 0x18c], bl
call fcn.00401960
mov byte [esp + 0xa04], 4
push 0x2fe
push str.__xml_version_1.0__encoding_UTF_8____r_n_iocfgdyn2:IOConfigDyn_xmlns:xsi_http:__www.w3.org_2001_XMLSchema_instance__xmlns:dd_http:__www.hp.com_schemas_imaging_con_dictionaries_1.0___xmlns:iocfgdyn_http:__www.hp.com_schemas_imaging_con_ledm_ioconfigdyn_2007_11_1__xsi:schemaLocation_http:__www.hp.com_schemas_imaging_con_dictionaries_1.0__.._.._schemas_DataDictionaryMaster.xsd_http:__www.hp.com_schemas_imaging_con_ledm_ioconfigdyn_2007_11_1_.._.._schemas_IOConfigDyn.xsd___r_n_dd3:IOAdaptorConfig__r_n_dd3:NetworkAdaptorConfig__r_n_dd3:IPVersionConfig__r_n_dd3:IPConfig__r_n_dd:IPConfigMethod_DHCP__dd:IPConfigMethod__r_n__dd3:IPConfig__r_n__dd3:IPVersionConfig__r_n__dd3:NetworkAdaptorConfig__r_n_dd:DHCPv4_enabled__dd:DHCPv4__r_n__dd3:IOAdaptorConfig__r_n__iocfgdyn2:IOConfigDyn__r_n
lea ecx, [esp + 0x134]
mov dword [esp + 0x14c], edi
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
call fcn.00401960
mov byte [esp + 0xa04], 5
mov eax, dword [esp + 0x130]
mov edi, 0x10
cmp dword [esp + 0x144], edi
jae 0x40de9b
lea eax, [esp + 0x130]
push eax
lea edx, [esp + 0x228]
push 0x7d0
push edx
call fcn.0045ecdb
lea eax, [esp + 0x230]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x40dec0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40dec0
sub eax, edx
push eax
lea eax, [esp + 0x228]
push eax
lea ecx, [esp + 0x16c]
call fcn.00401960
cmp dword [esp + 0x128], edi
mov edi, dword [esp + 0x114]
jae 0x40def7
lea edi, [esp + 0x114]
cmp dword [esp + 0x1c], ebx
je 0x40df4d
cmp esi, ebx
jne 0x40df35
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40df28
push str.PutPage
push eax
call ebp
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x64], esi
jne 0x40df35
push str.EWSIntf::put_page:_Function_not_found_in_DLL:_PutPage_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40df4d
push str.EWSIntf::put_page:_Attempting_to_lookup_PutPage_with_no_DLL_handle_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40df4d
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x19c]
push ecx
lea edx, [esp + 0x228]
push edx
push edi
push eax
call esi
mov edi, 0x10
cmp dword [esp + 0x144], edi
jb 0x40df6b
mov ecx, dword [esp + 0x130]
push ecx
call fcn.0044204a
add esp, 4
cmp dword [esp + 0x198], edi
mov esi, 0xf
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
jb 0x40df9e
mov edx, dword [esp + 0x184]
push edx
call fcn.0044204a
add esp, 4
cmp dword [esp + 0x160], edi
mov dword [esp + 0x198], esi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
jb 0x40dfcc
mov eax, dword [esp + 0x14c]
push eax
call fcn.0044204a
add esp, 4
cmp dword [esp + 0x128], edi
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
jb 0x40dffa
mov ecx, dword [esp + 0x114]
push ecx
call fcn.0044204a
add esp, 4
cmp dword [esp + 0x17c], edi
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
jb 0x40e028
mov edx, dword [esp + 0x168]
push edx
call fcn.0044204a
add esp, 4
mov dword [esp + 0xa04], 0xffffffff
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
je 0x40e05b
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x40e05b
push ecx
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40e06a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov ecx, dword [esp + 0x9fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9e0]
xor ecx, esp
call fcn.0045e88c
add esp, 0x9f4
ret 4