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

Disassembly:
sub esp, 0xac0
push ebx
push ebp
mov ebp, dword [esp + 0xad4]
push esi
mov esi, eax
push edi
mov edx, esi
lea eax, [esp + 0x6c0]
call fcn.005368c0
mov edx, esi
lea esi, [esp + 0x2b0]
call fcn.004ad160
mov dx, word [esp + 0x2b0]
xor ebx, ebx
xor ecx, ecx
xor esi, esi
cmp dx, bx
movzx eax, dx
je 0x5350d9
cmp ax, 0x2e
jne 0x5350bd
mov esi, ecx
movzx eax, word [esp + ecx*2 + 0x2b2]
add ecx, 1
cmp ax, bx
jne 0x5350b5
cmp esi, ebx
je 0x5350d9
mov word [esp + esi*2 + 0x2b0], bx
mov eax, dword [esp + 0xae0]
push eax
lea ecx, [esp + 0x2b4]
push ecx
push str.Sharing_folder___s__to___s_
mov esi, 0x104
lea edi, [esp + 0x8d4]
call fcn.004af0d0
mov edx, dword [ebp]
mov edx, dword [edx + 0x20]
add esp, 0xc
push ebx
mov eax, edi
push eax
mov ecx, ebp
call edx
lea eax, [esp + 0x24]
mov ecx, eax
push esi
mov esi, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call fcn.00552ef0
push 0x7b
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x20], bl
call fcn.00552b50
lea edx, [esp + 0x6c0]
push edx
mov eax, str.path
lea edi, [esp + 0x18]
mov byte [esp + 0x20], bl
call fcn.004c7350
push 0x7d
lea eax, [esp + 0x1c]
call fcn.00552b50
mov eax, dword [esp + 0xad4]
add eax, 0x14
push eax
push str.Authorization:_Bearer__s
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00552e70
fldz
add esp, 8
fstp qword [esp + 0x68]
fld qword [0x7236e0]
push str.application_json
lea ecx, [esp + 0x58]
fstp qword [esp + 0x74]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x50]
push ecx
push str.https:__api.dropboxapi.com_2_sharing_share_folder
push str.POST
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x44]
mov esi, 0x6dbc50
push eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], esi
call fcn.00544150
mov eax, dword [esp + 0x20]
cmp eax, ebx
push ebx
je 0x535259
mov esi, dword [esp + 0xadc]
mov dword [esi], eax
mov dword [esp + 0x64], 0x70c5e4
call fcn.0069c8fa
mov ecx, dword [esp + 0x34]
add esp, 4
push ecx
call fcn.0069c8fa
mov eax, dword [esp + 0x1c]
add esp, 4
cmp dword [eax], ebx
je 0x535242
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov byte [edx + eax], bl
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0069c8fa
mov edx, dword [esp + 0x58]
add esp, 4
push edx
jmp 0x53540e
mov edi, 0x70c5e4
mov dword [esp + 0x64], edi
call fcn.0069c8fa
mov eax, dword [esp + 0x34]
add esp, 4
push eax
call fcn.0069c8fa
mov eax, dword [esp + 0x1c]
add esp, 4
cmp dword [eax], ebx
je 0x535287
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov byte [ecx + edx], bl
mov eax, dword [esp + 0x24]
push eax
call fcn.0069c8fa
fld qword [0x7236e0]
xor eax, eax
fst qword [esp + 0x48]
mov dword [esp + 0x44], ebp
fstp qword [esp + 0x50]
mov ebp, dword [esp + 0x58]
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], 6
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov word [esp + 0xa8], bx
mov dword [esp + 0x3c], esi
mov eax, ebp
jne 0x535315
mov eax, 0x6bc0ce
push eax
lea ecx, [esp + 0x40]
push ecx
lea eax, [esp + 0x28]
lea esi, [esp + 0x80]
call fcn.005588e0
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x53534e
mov esi, dword [esp + 0xad8]
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x78]
mov dword [esi], eax
call fcn.0048e8f0
jmp 0x53540d
mov edi, str.error_summary
lea eax, [esp + 0x78]
mov word [esp + 0x4b8], bx
call fcn.00558690
cmp eax, ebx
je 0x5353b1
cmp dword [eax], 3
jne 0x535376
mov eax, dword [eax + 0x10]
cmp eax, ebx
mov edx, eax
jne 0x53537b
mov edx, 0x6bc0cc
lea esi, [esp + 0x4b8]
call fcn.004011d0
cmp word [esp + 0x4b8], bx
je 0x5353b1
mov esi, dword [esp + 0xad8]
lea edi, [esp + 0x78]
mov dword [esi], 2
mov dword [esp + 0x3c], 0x70c5e4
call fcn.0048e8f0
jmp 0x53540d
mov edi, str.shared_folder_id
lea eax, [esp + 0x78]
call fcn.00558690
cmp eax, ebx
jne 0x5353cf
mov edx, dword [esp + 0xae4]
mov word [edx], bx
jmp 0x535391
cmp dword [eax], 3
jne 0x5353dd
mov eax, dword [eax + 0x10]
cmp eax, ebx
mov edx, eax
jne 0x5353e2
mov edx, 0x6bc0cc
mov esi, dword [esp + 0xae4]
call fcn.004011d0
cmp word [esi], bx
je 0x535391
lea edi, [esp + 0x78]
mov dword [esp + 0x3c], 0x70c5e4
call fcn.0048e8f0
mov esi, dword [esp + 0xad8]
mov dword [esi], ebx
push ebp
call fcn.0069c8fa
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xac0
ret 0x14