Function at 0x46a85c
Capabilities:
Check http status code

Disassembly:
push 0x9fc
mov eax, 0x496d29
call fcn.0045cdd3
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x89c], ebx
mov dword [ebp - 0x898], ebx
mov dword [ebp - 0x894], ebx
mov dword [ebp - 0x890], ebx
mov dword [ebp - 0x88c], ebx
mov dword [ebp - 0x888], ebx
lea eax, [ebp - 0x89c]
mov dword [ebp - 4], ebx
push eax
lea ecx, [edi + 0x124]
call fcn.0048a2fd
sub esp, 0x18
lea eax, [ebp - 0x89c]
mov ecx, esp
push eax
call fcn.00413841
call fcn.00469b55
add esp, 0x18
test al, al
jne 0x46a927
push ebx
push 0xffffffffffffffff
push str.Unable_to_access_SMB_resource:
lea ecx, [ebp - 0x440]
call fcn.00417813
lea eax, [ebp - 0x89c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x8e8]
push eax
call fcn.00413e39
add esp, 0xc
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x458]
mov dword [ebp - method.RSException.virtual_0], vtable.RSException.0
call fcn.00413841
push 0x4b0a7c
lea eax, [ebp - 0x45c]
push eax
call sub.MSVCR120.dll__CxxThrowException
or dword [ebp - 0x884], 0xffffffff
push 2
push 4
push 0x120116
lea eax, [ebp - 0x89c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x884]
call fcn.00411cc9
test eax, eax
je 0x46acd4
or esi, 0xffffffff
lea ecx, [ebp - 0x89c]
push esi
push 0x2f
call fcn.00411cc9
cmp eax, esi
je 0x46ac98
push eax
push ebx
lea eax, [ebp - 0x8b8]
push eax
lea ecx, [ebp - 0x89c]
call fcn.004191ca
push eax
lea ecx, [ebp - 0x8d0]
mov byte [ebp - 4], 4
call fcn.00413841
lea ecx, [ebp - 0x8d0]
mov byte [ebp - 4], 5
call fcn.00418c11
lea ecx, [ebp - 0x8a8]
mov byte [ebp - 4], 7
call fcn.0041394e
lea ecx, [ebp - 0x8b0]
call fcn.0041394e
lea eax, [ebp - 0x8d0]
push eax
call fcn.00411cc9
pop ecx
test eax, eax
jne 0x46ac7e
lea ecx, [ebp - 0xa08]
call fcn.0043a6bb
lea ecx, [ebp - 0x880]
mov byte [ebp - 4], 8
call fcn.0041ac8d
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 0x30]
call fcn.0042f575
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x460], 0xf
mov dword [ebp - 0x464], ebx
mov byte [ebp - 0x474], bl
call fcn.00411cc9
cmp dword [ebp - 0x460], 0x10
lea eax, [ebp - 0x474]
push 2
cmovae eax, dword [ebp - 0x474]
lea ecx, [ebp - 0x428]
push esi
push eax
mov byte [ebp - 4], 0xb
call fcn.00417813
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0xc
call fcn.00418c11
push ebx
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x554]
call fcn.00489b52
lea ecx, [ebp - 0x418]
call fcn.0041394e
lea ecx, [ebp - 0x420]
call fcn.0041394e
push ebx
push 1
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 0x10
call fcn.00411cc9
push ebx
push 1
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 0x11
call fcn.00411cc9
push ebx
push esi
push 0x49f7d8
lea ecx, [ebp - 0x8b8]
call fcn.00417813
lea ecx, [ebp - 0x534]
mov byte [ebp - 4], 0x12
call fcn.00430033
push eax
lea ecx, [ebp - 0x918]
call fcn.00420758
push ebx
push esi
push str.smb:__
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0x13
call fcn.00417813
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x918]
push ecx
push eax
lea eax, [ebp - 0x8e8]
push eax
call fcn.00413e39
lea ecx, [ebp - 0x8b8]
mov byte [ebp - 4], 0x15
push ecx
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.00413e39
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0x900]
push eax
call fcn.00413e39
add esp, 0x24
lea ecx, [ebp - 0x448]
call fcn.0041394e
lea ecx, [ebp - 0x450]
call fcn.0041394e
lea ecx, [ebp - 0x8d8]
call fcn.0041394e
lea ecx, [ebp - 0x8e0]
call fcn.0041394e
lea ecx, [ebp - 0x430]
call fcn.0041394e
lea ecx, [ebp - 0x438]
call fcn.0041394e
lea ecx, [ebp - 0x908]
call fcn.0041394e
lea ecx, [ebp - 0x910]
call fcn.0041394e
lea ecx, [ebp - 0x8a8]
mov byte [ebp - 4], 0x1c
call fcn.0041394e
lea ecx, [ebp - 0x8b0]
call fcn.0041394e
push esi
lea eax, [ebp - 0x900]
push eax
lea ecx, [ebp - 0xa00]
call fcn.00411cc9
lea eax, [ebp - 0xa08]
push eax
lea ecx, [ebp - 0x614]
call fcn.0048990c
lea eax, [ebp - 0x900]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x614]
call fcn.0048a2fd
lea eax, [ebp - 0x900]
push eax
lea ecx, [ebp - 0x880]
call fcn.0041adc3
mov esi, dword [0x4a8954]
lea ecx, [ebp - 0x614]
neg eax
mov byte [ebp - 4], 0x1c
sbb eax, eax
and eax, 0xc7
inc eax
cmp eax, 0xc8
cmovne esi, dword [0x4a8960]
call fcn.00489e9c
lea ecx, [ebp - 0x8f0]
call fcn.0041394e
lea ecx, [ebp - 0x8f8]
call fcn.0041394e
lea ecx, [ebp - 0x554]
call fcn.0046496e
lea ecx, [ebp - 0x880]
mov byte [ebp - 4], 8
call fcn.00413cfd
lea ecx, [ebp - 0xa08]
call fcn.0043a9b1
lea ecx, [ebp - 0x8c0]
call fcn.0041394e
lea ecx, [ebp - 0x8c8]
call fcn.0041394e
jmp 0x46ad21
lea ecx, [ebp - 0x8c0]
mov byte [ebp - 4], 3
call fcn.0041394e
lea ecx, [ebp - 0x8c8]
call fcn.0041394e
push ebx
push esi
push str.Unable_to_access_SMB_resource:
lea ecx, [ebp - 0x440]
call fcn.00417813
lea eax, [ebp - 0x89c]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x8e8]
push eax
call fcn.00413e39
add esp, 0xc
mov byte [ebp - 4], 0x1f
jmp 0x46a900
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x46acfb
lea ecx, [ebp - 0x8a0]
push ecx
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x884]
call fcn.00411cc9
test eax, eax
jne 0x46ad4f
mov eax, dword [esi]
mov ecx, 0x400
push ecx
push ecx
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
jg 0x46acdd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [0x4a8948]
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], bl
call fcn.00419e8e
lea ecx, [ebp - 0x88c]
call fcn.0041394e
lea ecx, [ebp - 0x894]
call fcn.0041394e
mov eax, esi
call fcn.0045cd82
ret 4
lea eax, [ebp - 0x440]
push eax
lea ecx, [edi + 0x30]
call fcn.0042f575
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], ebx
mov byte [ebp - 0x428], bl
call fcn.00411cc9
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x458]
push str.error_writing_file
push eax
call fcn.00411cc9
add esp, 0xc
push eax
lea ecx, [ebp - 0x8e8]
mov byte [ebp - 4], 0x22
call fcn.00420758
lea eax, [ebp - 0x8e8]
mov byte [ebp - 4], 0x23
push eax
lea ecx, [ebp - 0x48c]
mov dword [ebp - method.RSException.virtual_0], vtable.RSException.0
call fcn.00413841
push 0x4b0a7c
lea eax, [ebp - 0x490]
jmp 0x46a921