Function at 0x4cf5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x514aa8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [0x5e2330]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5e3f50]
xor ebx, ebx
cmp eax, ebx
je 0x4cf814
lea ecx, [esp + 0x14]
call fcn.0046e990
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], ebx
call fcn.0046e990
mov eax, dword [0x5e3f50]
mov byte [esp + 0x34], 1
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jbe 0x4cf7ef
lea ebp, [esi + 0x68]
mov edi, 0x5e23a0
mov eax, dword [edi - 0x68]
add eax, 0xfffffff6
cmp eax, 0xbe
ja case.0x4cf635.28
xor ecx, ecx
mov cl, byte [eax + 0x4cfff0]
jmp dword [ecx*4 + 0x4cffa4]
mov edx, dword [edi]
lea eax, [esp + 0x14]
push edx
push str.INTERNET_STATUS_CLOSING_CONNECTION__Length:_u_
push eax
call fcn.00470090
add esp, 0xc
mov ecx, 0x5e3e48
call fcn.00470660
push eax
mov ecx, ebp
call fcn.0046ebf0
jmp 0x4cf7bb
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push ecx
push str.INTERNET_STATUS_CONNECTED_TO_SERVER__Length:_u_
push edx
call fcn.00470090
add esp, 0xc
lea eax, [edi - 0x60]
mov ecx, 0x5e3f48
push eax
call fcn.00470660
push eax
push ebp
call fcn.00470090
add esp, 0xc
jmp 0x4cf7bb
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push ecx
push str.INTERNET_STATUS_CONNECTING_TO_SERVER__Length:_u_
push edx
call fcn.00470090
add esp, 0xc
lea eax, [edi - 0x60]
mov ecx, 0x5e3e58
push eax
call fcn.00470660
push eax
push ebp
call fcn.00470090
add esp, 0xc
jmp 0x4cf7bb
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push ecx
push str.INTERNET_STATUS_CONNECTION_CLOSED__Length:_u_
push edx
call fcn.00470090
add esp, 0xc
mov ecx, 0x5e3e68
call fcn.00470660
push eax
mov ecx, ebp
call fcn.0046ebf0
jmp 0x4cf7bb
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push eax
push str.INTERNET_STATUS_CTL_RESPONSE_RECEIVED__Length:_u___This_shouldnt_happen_
push ecx
call fcn.00470090
add esp, 0xc
jmp 0x4cf7bb
mov edx, dword [edi - 0x60]
lea eax, [esp + 0x18]
push edx
push str.__p_
push eax
call fcn.00470090
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00470660
mov ecx, dword [edi]
push eax
push ecx
lea edx, [esp + 0x1c]
push str.INTERNET_STATUS_HANDLE_CLOSING__Length:_u_Handle:_s_
push edx
call fcn.00470090
add esp, 0x10
mov ecx, 0x5e3e78
call fcn.00470660
push eax
mov ecx, ebp
call fcn.0046ebf0
jmp 0x4cf7bb
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push eax
push str.INTERNET_STATUS_HANDLE_CREATED__Length:_u_
push ecx
call fcn.00470090
mov edx, dword [edi - 0x60]
add esp, 0xc
lea eax, [esp + 0x18]
push edx
push str.__p_
push eax
call fcn.00470090
add esp, 0xc
mov ecx, 0x5e3e80
call fcn.00470660
lea ecx, [esp + 0x18]
mov ebx, eax
call fcn.00470660
push eax
push ebx
push ebp
call fcn.00470090
mov eax, dword [esi + 0x34]
add esp, 0xc
test eax, eax
je 0x4cf7b9
mov ecx, dword [edi - 0x60]
mov dword [eax], ecx
mov dword [esi + 0x34], 0
xor ebx, ebx
mov ecx, ebp
call fcn.00470660
push eax
lea eax, [esp + 0x18]
push 0x53223c
push eax
call fcn.00470110
mov eax, dword [esp + 0x28]
mov ecx, dword [0x5e3f50]
add esp, 0xc
inc eax
add edi, 0x6c
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x4cf61c
lea ecx, [esp + 0x18]
mov dword [0x5e3f50], ebx
mov byte [esp + 0x34], 0
call fcn.0046ebb0
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call fcn.0046ebb0
mov ecx, dword [0x5e2330]
or edi, 0xffffffff
mov edx, dword [ecx]
call dword [edx + 8]
mov al, byte [esi + 0x24]
test al, al
jne 0x4cfaeb
mov al, byte [esi + 8]
test al, al
jne 0x4cfa43
call fcn.00449ac0
mov byte [esi + 0x78], 0
jmp 0x4cff8c
mov edx, dword [edi]
lea eax, [esp + 0x14]
push edx
push str.INTERNET_STATUS_INTERMEDIATE_RESPONSE__Length:_u_
push eax
call fcn.00470090
add esp, 0xc
jmp 0x4cf7bb
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push ecx
push str.INTERNET_STATUS_NAME_RESOLVED__Length:_u_
push edx
call fcn.00470090
add esp, 0xc
lea eax, [edi - 0x60]
mov ecx, 0x5e2328
push eax
call fcn.00470660
push eax
push ebp
call fcn.00470090
add esp, 0xc
jmp 0x4cf7bb
mov ecx, dword [edi]
push ecx
push str.INTERNET_STATUS_PREFETCH__Length:_u___This_shouldnt_happen_
jmp 0x4cfa1e
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push eax
push str.INTERNET_STATUS_RECEIVING_RESPONSE__Length:_u_
push ecx
call fcn.00470090
add esp, 0xc
mov ecx, 0x5e3e40
call fcn.00470660
push eax
mov ecx, ebp
call fcn.0046ebf0
jmp 0x4cf7bb
mov edx, dword [edi]
lea eax, [esp + 0x14]
push edx
push str.INTERNET_STATUS_REDIRECT__Length:_u_
push eax
call fcn.00470090
add esp, 0xc
lea ecx, [edi - 0x60]
push ecx
mov ecx, 0x5e3e70
call fcn.00470660
push eax
push ebp
call fcn.00470090
add esp, 0xc
jmp 0x4cf7bb
mov edx, dword [edi - 0x60]
lea eax, [esp + 0x18]
push edx
push str.__p_
push eax
call fcn.00470090
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00470660
mov ecx, dword [edi]
push eax
push ecx
lea edx, [esp + 0x1c]
push str.INTERNET_STATUS_REQUEST_COMPLETE__Length:_u_Request_complete_for_handle__s_
push edx
call fcn.00470090
add esp, 0x10
mov byte [esi + 0x6c], 1
mov eax, dword [edi - 0x60]
lea ecx, [esp + 0x18]
push eax
push str.__p_
push ecx
call fcn.00470090
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00470660
mov edx, dword [edi]
push eax
push edx
lea eax, [esp + 0x1c]
push str.INTERNET_STATUS_REQUEST_SENT__Length:_u_Handle:_s_
push eax
call fcn.00470090
add esp, 0x10
mov ecx, 0x5e3e60
call fcn.00470660
push eax
push ebp
call fcn.00470090
add esp, 8
jmp 0x4cf7bb
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push ecx
push str.INTERNET_STATUS_NAME_RESOLVED__Length:_u_
push edx
call fcn.00470090
add esp, 0xc
lea eax, [edi - 0x60]
mov ecx, 0x5e3e90
push eax
call fcn.00470660
push eax
push ebp
call fcn.00470090
add esp, 0xc
jmp 0x4cf7bb
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push ecx
push str.INTERNET_STATUS_RESPONSE_RECEIVED__Length:_u_
push edx
call fcn.00470090
add esp, 0xc
mov ecx, 0x5e3e50
call fcn.00470660
mov ecx, dword [edi - 0x60]
push ecx
push eax
push ebp
call fcn.00470090
add esp, 0xc
jmp 0x4cf7bb
mov edx, dword [edi]
lea eax, [esp + 0x14]
push edx
push str.INTERNET_STATUS_SENDING_REQUEST__Length:_u_
push eax
call fcn.00470090
add esp, 0xc
mov ecx, 0x5e3e88
call fcn.00470660
push eax
push ebp
call fcn.00470090
add esp, 8
jmp 0x4cf7bb
mov ecx, dword [edi]
push ecx
push str.INTERNET_STATUS_STATE_CHANGE__Length:_u_
lea edx, [esp + 0x1c]
push edx
call fcn.00470090
add esp, 0xc
jmp 0x4cf7bb
push str.Error__Undefined_case.
lea ecx, [esp + 0x18]
call fcn.0046ebf0
jmp 0x4cf7bb
lea ecx, [esp + 0x18]
call fcn.0046e990
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 2
call fcn.004c6410
push 0x10000000
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
call fcn.00470660
push eax
call dword [esi + 0x7c]
cmp eax, ebx
mov dword [esi + 0x28], eax
jne 0x4cfa94
call fcn.00449ac0
lea ecx, [esp + 0x18]
mov byte [esi + 0x78], 0
mov dword [esp + 0x34], edi
call fcn.0046ebb0
jmp 0x4cff8c
push 0x4ce440
push eax
call dword [esi + 0xa8]
cmp eax, edi
jne 0x4cfac9
mov eax, dword [esi + 0x28]
push eax
call dword [esi + 0x88]
call fcn.00449ac0
lea ecx, [esp + 0x18]
mov byte [esi + 0x78], 0
mov dword [esp + 0x34], edi
call fcn.0046ebb0
jmp 0x4cff8c
lea ecx, [esi + 0x68]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.0046ee90
lea ecx, [esp + 0x18]
mov byte [esi + 0x6c], 1
mov dword [esp + 0x34], edi
call fcn.0046ebb0
mov al, byte [esi + 0x6c]
mov edi, dword [esp + 0x3c]
test al, al
jne 0x4cfaff
cmp edi, 1
jne 0x4cff8c
cmp dword [esi + 0x38], ebx
jne 0x4cfb4b
push 0x28
mov byte [esi + 0x78], 1
call fcn.004fff6b
mov dword [esi + 0x38], eax
mov dword [eax], 0x28
mov ecx, dword [esi + 0x38]
add esp, 4
mov dword [ecx + 4], ebx
mov edx, dword [esi + 0x38]
mov dword [edx + 8], ebx
mov eax, dword [esi + 0x38]
mov dword [eax + 0xc], ebx
mov ecx, dword [esi + 0x38]
mov dword [ecx + 0x14], ebx
mov edx, dword [esi + 0x38]
mov dword [edx + 0x18], ebx
mov eax, dword [esi + 0x38]
mov dword [eax + 0x1c], ebx
mov ecx, dword [esi + 0x38]
mov dword [ecx + 0x20], ebx
mov edx, dword [esi + 0x38]
mov dword [edx + 0x24], ebx
mov dword [esp + 0x28], ebx
mov bl, byte [esi + 0x24]
test edi, edi
mov dword [esp + 0x24], str.Accept:__
mov byte [esp + 0x13], 0
mov byte [esp + 0x3c], 0
je case.default.0x4cfb9c
call fcn.00449ac0
mov byte [esi + 0x78], 0
jmp 0x4cff2c
mov byte [esp + 0x3c], 1
call fcn.00449ac0
mov byte [esi + 0x78], 0
mov al, byte [esp + 0x3c]
test al, al
jne 0x4cff2c
mov eax, dword [esi + 0xc]
mov ebp, 6
cmp eax, ebp
ja case.default.0x4cfb9c
jmp dword [eax*4 + 0x4d00b0]
test bl, bl
jne 0x4cfc10
push esi
push 0x84000100
push 0
push 0
lea ecx, [esi + 0x10]
call fcn.00470660
push eax
mov eax, dword [esi + 0x28]
push eax
call dword [esi + 0x80]
lea edi, [esi + 0x30]
test eax, eax
mov dword [edi], eax
jne 0x4cfbf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4cfbe4
mov dword [esi + 0x34], edi
mov byte [esp + 0x13], 1
jmp 0x4cfbf2
mov byte [esp + 0x3c], 1
call fcn.00449ac0
mov byte [esi + 0x78], 0
mov al, byte [esp + 0x13]
mov byte [esi + 0x24], 1
test al, al
mov bl, 1
jne 0x4cff24
mov al, byte [esp + 0x3c]
test al, al
jne 0x4cff2c
mov eax, dword [esi + 0xa4]
xor bl, bl
test eax, eax
je 0x4cfe87
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4cfe87
mov dword [esi + 0xc], 4
jmp case.default.0x4cfb9c
test bl, bl
jne 0x4cfcb4
lea ecx, [esi + 0x14]
call fcn.00470660
mov cl, byte [esi + 0x1e]
mov dx, word [esi + 0x1c]
neg cl
sbb ecx, ecx
push esi
and ecx, 0x800000
push ecx
push 3
push 0
push 0
push edx
push eax
mov eax, dword [esi + 0x28]
push eax
call dword [esi + 0x94]
lea edi, [esi + 0x2c]
test eax, eax
mov dword [edi], eax
jne 0x4cfc96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4cfc88
mov dword [esi + 0x34], edi
mov byte [esp + 0x13], 1
jmp 0x4cfc96
mov byte [esp + 0x3c], 1
call fcn.00449ac0
mov byte [esi + 0x78], 0
mov al, byte [esp + 0x13]
mov byte [esi + 0x24], 1
test al, al
mov bl, 1
jne 0x4cff24
mov al, byte [esp + 0x3c]
test al, al
jne 0x4cff2c
xor bl, bl
mov dword [esi + 0xc], 2
jmp case.default.0x4cfb9c
test bl, bl
jne 0x4cfd13
lea ecx, [esi + 0x18]
call fcn.00470660
mov cl, byte [esi + 0x1e]
push esi
neg cl
sbb ecx, ecx
lea edx, [esp + 0x28]
and ecx, 0x800000
push ecx
push edx
push 0
push 0
push eax
mov eax, dword [esi + 0x2c]
push str.POST
push eax
call dword [esi + 0x98]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x4cfd13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4cff1c
jmp 0x4cfb76
xor bl, bl
mov dword [esi + 0xc], 3
jmp case.default.0x4cfb9c
test bl, bl
jne 0x4cfd73
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.00470660
mov ecx, edi
mov ebp, eax
call fcn.00470670
push eax
mov edi, str.Content_Type:_application_x_www_form_urlencoded
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebp
push ecx
mov ecx, dword [esi + 0x30]
push str.Content_Type:_application_x_www_form_urlencoded
push ecx
call dword [esi + 0x9c]
test eax, eax
jne 0x4cfd73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4cff88
jmp 0x4cfb76
mov eax, dword [esi + 0xa4]
xor bl, bl
test eax, eax
je 0x4cfd99
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4cfd99
mov al, byte [esi + 0x1e]
test al, al
je 0x4cfd99
mov dword [esi + 0xc], 4
jmp case.default.0x4cfb9c
mov dword [esi + 0xc], 6
jmp 0x4cfb80
test bl, bl
jne 0x4cfdfc
mov eax, dword [esi + 0x30]
lea edx, [esp + 0x1c]
lea edi, [esi + 0x3c]
push edx
push edi
push 0x24
push eax
mov dword [esp + 0x2c], 4
call dword [esi + 0xa4]
test eax, eax
je 0x4cfddd
mov ecx, dword [esi + 0x74]
mov edx, dword [edi]
mov dword [ecx], edx
mov dword [esi + 0xc], 5
jmp case.default.0x4cfb9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4cff88
xor bl, bl
mov dword [esi + 0xc], 5
jmp case.default.0x4cfb9c
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x3c]
xor bl, bl
mov dword [eax], ecx
mov dword [esi + 0xc], 5
jmp case.default.0x4cfb9c
test bl, bl
jne 0x4cfe67
mov ecx, dword [esi + 0x30]
lea edx, [esp + 0x20]
lea eax, [esi + 0x40]
push edx
push eax
push 0x20
push ecx
mov dword [esp + 0x30], 0x28
call dword [esi + 0xa4]
test eax, eax
je 0x4cfe4c
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x74]
push edx
add ecx, 8
call fcn.00470b50
mov eax, dword [esi + 0x50]
push eax
jmp 0x4cfe7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4cff88
xor bl, bl
mov dword [esi + 0xc], ebp
jmp 0x4cfb80
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, dword [esi + 0x74]
add ecx, 8
call fcn.00470b50
mov edx, dword [esi + 0x50]
push edx
mov ecx, dword [esi + 0x74]
add ecx, 4
call fcn.00470b50
xor bl, bl
mov dword [esi + 0xc], ebp
jmp 0x4cfb80
test bl, bl
jne 0x4cfefa
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x4cfeb0
push 0x401
call fcn.004fff6b
mov ecx, dword [esi + 0x38]
add esp, 4
mov dword [ecx + 0x14], eax
mov edx, dword [esi + 0x38]
mov dword [edx + 0x18], 0x400
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 0x14]
lea ecx, [eax + 0x18]
mov eax, dword [esi + 0x30]
push ecx
mov ecx, dword [ecx]
push ecx
push edx
push eax
call dword [esi + 0x84]
test eax, eax
jne 0x4cfefa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4cff88
mov byte [esi + 0x78], 0
call fcn.00449ac0
mov byte [esp + 0x3c], 1
jmp case.default.0x4cfb9c
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4cfef0
push ecx
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [esi + 0x70]
call fcn.0044f8f0
mov byte [esi + 0x78], 1
xor bl, bl
jmp case.default.0x4cfb9c
lea edx, [esi + 0x30]
mov dword [esi + 0x34], edx
jmp 0x4cff88
mov al, byte [esp + 0x3c]
test al, al
je 0x4cff80
mov eax, dword [esi + 0x38]
xor edi, edi
mov eax, dword [eax + 0x14]
cmp eax, edi
je 0x4cff47
push eax
call fcn.004ffee0
mov ecx, dword [esi + 0x38]
add esp, 4
mov dword [ecx + 0x14], edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x4cff5a
push eax
call fcn.004ffee0
add esp, 4
mov dword [esi + 0x38], edi
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x4cff68
push eax
call dword [esi + 0x88]
mov eax, dword [esi + 0x2c]
cmp eax, edi
je 0x4cff76
push eax
call dword [esi + 0x88]
mov edx, dword [esi + 0x28]
push edx
call dword [esi + 0x88]
mov al, byte [esp + 0x13]
test al, al
je 0x4cff8c
mov byte [esi + 0x6c], 0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4