Function at 0x4892e0
Capabilities:
Print debug messages
Send data
Send data on socket
Send http request
Send http request with host header
Write file on windows

Disassembly:
sub esp, 0xe30
mov eax, dword [0x628560]
xor eax, esp
mov dword [esp + 0xe2c], eax
mov eax, dword [esp + 0xe44]
push ebx
push ebp
mov ebp, dword [esp + 0xe48]
push esi
mov esi, ecx
mov ecx, dword [str.AddPortMapping]
mov ebx, edx
mov edx, dword [0x60df34]
mov dword [esp + 0x10], ecx
movzx ecx, word [0x60df3c]
mov dword [esp + 0x14], edx
mov dl, byte [0x60df3e]
mov dword [esp + 0xc], eax
mov eax, dword [0x60df38]
push edi
mov edi, dword [esp + 0xe5c]
mov word [esp + 0x20], cx
mov ecx, dword [0x60df44]
mov byte [esp + 0x22], dl
mov edx, dword [0x60df48]
mov dword [esp + 0x1c], eax
mov eax, dword [str.HTTP_1.1_200_OK_r_n]
mov dword [esp + 0x28], ecx
movzx ecx, word [0x60df50]
push 0x200
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], eax
mov eax, dword [0x60df4c]
lea edx, [esp + 0x3c]
push 0
push edx
mov dword [esp + 0x3c], eax
mov word [esp + 0x40], cx
call fcn.004f9940
add esp, 0xc
push 0x400
lea eax, [esp + 0x63c]
push 0
push eax
call fcn.004f9940
add esp, 0xc
push 0x400
lea ecx, [esp + 0x23c]
push 0
push ecx
call fcn.004f9940
add esp, 0xc
push 0x400
lea edx, [esp + 0xa3c]
push 0
push edx
call fcn.004f9940
mov eax, dword [esp + 0xe58]
mov ecx, dword [esp + 0xe54]
add esp, 0xc
push 0
push 1
push ebp
push ebx
push eax
push esi
push ecx
push str._NewRemoteHost___NewRemoteHost__NewExternalPort__d__NewExternalPort__NewProtocol__s__NewProtocol__NewInternalPort__d__NewInternalPort__NewInternalClient__s__NewInternalClient__NewPortMappingDescription__s__NewPortMappingDescription__NewEnabled__d__NewEnabled__NewLeaseDuration__d__NewLeaseDuration_
lea edx, [esp + 0x58]
push 0x200
push edx
call fcn.004f5e00
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x64]
push ecx
push edi
mov edx, eax
push edx
push str.__xml_version_1.0____s:Envelope_r_n____xmlns:s_http:__schemas.xmlsoap.or_soap_envelope___r_n____s:encodingStyle_http:__schemas.xmlsoap.org_soap_encoding____r_n___s:Body__r_n_____u:_s_xmlns:u__s___r_n_s______u:_s__r_n____s:Body__r_n__s:Envelope__r_n_r_n
lea eax, [esp + 0xa74]
push 0x400
push eax
call fcn.004f5e00
add esp, 0x44
mov edx, dword [esp + 0xe58]
lea ecx, [esp + 0x14]
push ecx
push edi
mov esi, eax
mov eax, dword [esp + 0x18]
push esi
push edx
push eax
push 0x6411d8
push str.POST__s_HTTP_1.1_r_nHOST:__s:_d_r_nContent_Length:__d_r_nContent_Type:_text_xml__charset_utf_8__r_nSOAPAction:___s_s__r_n_r_n
lea ecx, [esp + 0x654]
push 0x400
push ecx
call fcn.004f5e00
add esp, 0x24
mov edi, eax
push esi
lea edx, [esp + 0xa3c]
push edx
lea eax, [esp + edi + 0x640]
push eax
call fcn.004ffc50
add esp, 0xc
test edi, edi
jle 0x489557
push 0
add esi, edi
mov edi, dword [esp + 0xe48]
push esi
lea ecx, [esp + 0x640]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_send]
lea edx, [esp + 0x638]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
jle 0x489557
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push str.C:AddPortMapping.txt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
lea eax, [esp + 0x238]
push 0x400
push eax
mov eax, edi
xor esi, esi
call fcn.00488900
add esp, 8
test eax, eax
jle 0x489557
lea ecx, [ecx]
add esi, eax
lea ecx, [esp + esi + 0x238]
push 0x400
push ecx
mov eax, edi
call fcn.00488900
add esp, 8
test eax, eax
jg 0x4894f0
test esi, esi
je 0x489557
push 0
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x244]
push eax
push ebx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x23c]
push edx
call fcn.004f5e40
add esp, 8
test eax, eax
je 0x489557
mov eax, 1
jmp 0x489559
xor eax, eax
mov ecx, dword [esp + 0xe3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f2a78
add esp, 0xe30
ret