Function at 0x536b60
Capabilities:
Get file size
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x72c
push ebx
push ebp
mov ebp, dword [esp + 0x74c]
push esi
mov esi, dword [esp + 0x744]
push edi
mov edi, dword [esp + 0x744]
push 3
push 1
push SysReAllocStringLen
push eax
mov eax, 0xbb8
call fcn.004abf70
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x536bb1
mov dword [edi], 2
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x72c
ret 0x18
lea ecx, [esp + 0x50]
push ecx
xor ebx, ebx
push eax
mov word [esp + 0x538], bx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x536bd5
mov dword [esp + 0x64], ebx
jmp 0x536be1
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x64], edx
fldz
mov dword [esp + 0x30], eax
lea ecx, [eax + 0x4b00000]
fstp qword [esp + 0x50]
mov eax, 0x1b4e81b5
mul ecx
shr edx, 0x18
test edx, edx
mov dword [esp + 0x4c], edx
fild dword [esp + 0x4c]
jge 0x536c0d
fadd qword [0x7235b8]
fld1
mov edx, dword [esi]
fdivrp st(1)
mov eax, dword [edx]
mov ecx, esi
fstp qword [esp + 0x60]
call eax
test al, al
jne 0x537306
jmp 0x536c30
fld qword [esp + 0x50]
lea ecx, [esp + 0x20]
fstp qword [esp + 0xbc]
mov edx, ecx
fld qword [esp + 0x60]
push 0x104
fstp qword [esp + 0xc8]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], 0x6dbc50
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call fcn.0069c0de
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x536cbc
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x536c9c
mov ecx, dword [esp + 0x24]
push ecx
push eax
push esi
call fcn.006a4bd0
add esp, 0xc
mov edx, dword [esp + 0x24]
mov byte [edx + esi], bl
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], 0x104
call fcn.0069c8fa
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov byte [eax], 0x7b
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edi, 1
add ecx, edi
cmp ecx, eax
mov dword [esp + 0x24], ecx
jb 0x536cfe
cmp eax, 0x20000000
ja 0x536cfa
lea ecx, [eax*4]
push ecx
lea esi, [esp + 0x24]
call fcn.00552ef0
test al, al
jne 0x536cfe
sub dword [esp + 0x24], edi
cmp dword [esp + 0x2c], ebx
mov byte [esp + 0x18], bl
je 0x536db2
mov edi, str.cursor
lea esi, [esp + 0x10]
call fcn.004c70b0
lea edx, [esp + 0x530]
push edx
mov eax, str.session_id
mov edi, esi
call fcn.004c7350
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xd8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x536d4e
mov dword [esp + 0xe4], ebx
jmp 0x536d63
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xe4], edx
sub eax, dword [esp + 0x30]
mov edi, str.offset
push eax
lea esi, [esp + 0x14]
call fcn.004c7230
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov byte [eax + ecx], 0x7d
add dword [esi + 4], 1
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
cmp ecx, eax
jb 0x536dad
cmp eax, 0x20000000
ja 0x536da9
lea edx, [eax*4]
push edx
call fcn.00552ef0
test al, al
jne 0x536dad
add dword [esi + 4], 0xffffffff
mov byte [esp + 0x18], 1
cmp dword [esp + 0x2c], 2
lea esi, [esp + 0x10]
jne 0x536ea2
mov edi, str.commit
call fcn.004c70b0
mov eax, dword [esp + 0x74c]
push eax
mov eax, str.path
mov edi, esi
call fcn.004c7350
cmp byte [esp + 0x750], bl
je 0x536df9
push str.overwrite
mov eax, str.mode
call fcn.004c7350
jmp 0x536e4c
cmp ebp, ebx
jne 0x536e12
push 0x703e2c
mov eax, str.mode
lea edi, [esp + 0x14]
call fcn.004c7350
jmp 0x536e4c
mov edi, str.mode
lea esi, [esp + 0x10]
call fcn.004c70b0
push str.update
mov eax, str..tag
mov edi, esi
call fcn.004c7350
push ebp
mov eax, str.update
call fcn.004c7350
push 0x7d
lea eax, [esp + 0x18]
call fcn.00552b50
mov byte [esp + 0x18], 1
push ebx
mov eax, str.autorename
lea esi, [esp + 0x14]
call fcn.004c7430
push ebx
mov eax, str.mute
call fcn.004c7430
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov byte [ecx + edx], 0x7d
add dword [esi + 4], 1
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
cmp ecx, eax
jb 0x536eb1
cmp eax, 0x20000000
jbe 0x536e8e
add dword [esi + 4], 0xffffffff
jmp 0x536eb1
add eax, eax
add eax, eax
push eax
call fcn.00552ef0
test al, al
jne 0x536eb1
add dword [esi + 4], 0xffffffff
jmp 0x536eb1
push ebx
mov eax, str.close
call fcn.004c7430
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov byte [ecx + edx], 0x7d
add dword [esi + 4], 1
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
cmp ecx, eax
jb 0x536ee1
cmp eax, 0x20000000
ja 0x536edd
add eax, eax
add eax, eax
push eax
call fcn.00552ef0
test al, al
jne 0x536ee1
add dword [esi + 4], 0xffffffff
cmp dword [esi], ebx
mov byte [esp + 0x18], 1
je 0x536ef2
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov byte [ecx + edx], bl
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
jne 0x536f0b
mov eax, 0x6bc0ce
push eax
mov eax, dword [esp + 0x744]
add eax, 0x14
push eax
push str.Authorization:_Bearer__s_r_nDropbox_API_Arg:__s_r_nContent_Type:_application_octet_stream
lea eax, [esp + 0x4c]
call fcn.00552e70
mov esi, dword [esp + 0x38]
mov eax, esi
add esp, 0xc
sub eax, ebx
je 0x536f4e
sub eax, 1
je 0x536f47
sub eax, 1
jne 0x53731d
mov edx, str.https:__content.dropboxapi.com_2_files_upload_session_finish
jmp 0x536f53
mov edx, str.https:__content.dropboxapi.com_2_files_upload_session_append_v2
jmp 0x536f53
mov edx, str.https:__content.dropboxapi.com_2_files_upload_session_start
fldz
mov ecx, dword [esp + 0x30]
cmp ecx, 0x9600000
fstp qword [esp + 0xa4]
fld qword [0x723c00]
lea eax, [esp + 0xb4]
fstp qword [esp + 0xac]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], 0x6dbc50
jbe 0x536f93
mov ecx, 0x9600000
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
jne 0x536fb0
mov eax, 0x6bc0ce
lea edi, [esp + 0x34]
push edi
lea edi, [esp + 0x70]
push edi
push ecx
lea ecx, [esp + 0x28]
push ecx
push eax
push edx
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.00537e00
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jne 0x537359
mov eax, dword [esp + 0x6c]
cmp eax, 0xc8
jl 0x53741a
cmp eax, 0x12b
jg 0x53741a
cmp esi, ebx
jne 0x53720a
mov esi, dword [esp + 0x38]
lea eax, [esi + 1]
cmp eax, ebx
jne 0x537011
xor ebp, ebp
jmp 0x537023
push eax
call fcn.0069c0de
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x537023
mov byte [ebp], bl
mov ecx, dword [esp + 0x34]
push esi
push ecx
push ebp
call fcn.006a4bd0
fld qword [0x723c00]
fstp qword [esp + 0x84]
xor eax, eax
fld qword [0x723640]
add esp, 0xc
cmp ebp, ebx
fstp qword [esp + 0x80]
lea edx, [esp + 0xb4]
mov byte [esi + ebp], bl
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], 0x6dbc50
mov dword [esp + 0xe8], 6
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], ebx
mov word [esp + 0x118], bx
mov esi, ebp
jne 0x5370cf
mov esi, 0x6bc0ce
lea ecx, [esp + 0x104]
call fcn.0048da40
cmp dword [esp + 0x10c], ebx
je 0x5370eb
mov dword [esp + 0x10c], ebx
push esi
lea eax, [esp + 0xd0]
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x324], 0x6bc0cc
mov word [esp + 0x328], bx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
call fcn.004bb860
mov esi, dword [esp + 0xcc]
cmp esi, ebx
mov eax, esi
jne 0x537140
mov eax, 0x6bc0cc
push eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x54]
push ecx
lea eax, [esp + 0xf4]
lea ecx, [esp + 0x32c]
call fcn.004c7ed0
push esi
call fcn.0069c8fa
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x5c], eax
jne 0x53739f
mov edi, str.session_id
lea eax, [esp + 0xe8]
call fcn.00558690
cmp eax, ebx
je 0x53729b
cmp dword [eax], 3
jne 0x53719e
mov eax, dword [eax + 0x10]
cmp eax, ebx
mov edx, eax
jne 0x5371a3
mov edx, 0x6bc0cc
lea esi, [esp + 0x530]
call fcn.004011d0
cmp word [esp + 0x530], bx
je 0x5372a3
mov ecx, dword [esp + 0x108]
cmp ecx, ebx
je 0x5371e3
mov eax, dword [ecx - 4]
lea esi, [ecx - 4]
push fcn.004276c0
push 0x2c
call fcn.00407720
push esi
call fcn.0069c8fa
add esp, 4
lea ecx, [esp + 0x104]
call fcn.0048da40
mov edx, dword [esp + 0xf8]
push edx
call fcn.0069c8fa
add esp, 4
push ebp
call fcn.0069c8fa
add esp, 4
jmp 0x537213
cmp esi, 2
je 0x5373d5
mov eax, dword [esp + 0x30]
fld qword [esp + 0x60]
sub eax, dword [esp + 0x2c]
fadd qword [esp + 0x50]
mov esi, dword [esp + 0x748]
mov edx, dword [esi]
mov ecx, 0x9600000
fst qword [esp + 0x50]
cmp ecx, eax
mov dword [esp + 0x30], eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x24]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call eax
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0069c8fa
mov edx, dword [esp + 0x44]
add esp, 4
push edx
mov dword [esp + 0xa0], 0x70c5e4
call fcn.0069c8fa
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.0069c8fa
mov edx, dword [esi]
mov eax, dword [edx]
add esp, 4
mov ecx, esi
call eax
test al, al
jne 0x537306
mov ebp, dword [esp + 0x754]
jmp 0x536c30
mov word [esp + 0x530], bx
mov esi, dword [esp + 0x744]
lea edi, [esp + 0xe8]
mov dword [esi], 2
call fcn.0048e8f0
mov edi, 0x70c5e4
push ebp
mov dword [esp + 0x74], edi
call fcn.0069c8fa
mov ecx, dword [esp + 0x38]
add esp, 4
push ecx
call fcn.0069c8fa
mov edx, dword [esp + 0x44]
add esp, 4
push edx
mov dword [esp + 0xa0], edi
call fcn.0069c8fa
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.0069c8fa
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
jmp 0x53754f
mov esi, dword [esp + 0x744]
mov ecx, dword [esp + 0x1c]
mov dword [esi], 1
push ecx
jmp 0x537556
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x744]
push edx
mov dword [esi], 2
call fcn.0069c8fa
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.0069c8fa
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0xb4], 0x70c5e4
push ecx
jmp 0x537556
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x744]
push edx
mov dword [esi], eax
call fcn.0069c8fa
mov eax, dword [esp + 0x44]
add esp, 4
mov edi, 0x70c5e4
push eax
mov dword [esp + 0xa0], edi
call fcn.0069c8fa
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
call fcn.0069c8fa
mov edx, dword [esp + 0x20]
add esp, 4
push edx
jmp 0x53754f
mov esi, dword [esp + 0x744]
lea edi, [esp + 0xe8]
mov dword [esi], eax
call fcn.0048e8f0
mov edi, 0x70c5e4
push ebp
mov dword [esp + 0x74], edi
call fcn.0069c8fa
mov eax, dword [esp + 0x38]
add esp, 4
push eax
call fcn.0069c8fa
jmp 0x537526
mov edx, dword [esp + 0x34]
push edx
call fcn.0069c8fa
mov eax, dword [esp + 0x44]
add esp, 4
push eax
mov dword [esp + 0xa0], 0x70c5e4
call fcn.0069c8fa
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
call fcn.0069c8fa
mov esi, dword [esp + 0x748]
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [esi], ebx
push edx
jmp 0x537556
mov esi, dword [esp + 0x38]
lea eax, [esi + 1]
cmp eax, ebx
jne 0x537429
xor ebp, ebp
jmp 0x53743b
push eax
call fcn.0069c0de
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x53743b
mov byte [ebp], bl
mov eax, dword [esp + 0x34]
push esi
push eax
push ebp
call fcn.006a4bd0
mov byte [esi + ebp], bl
xor eax, eax
add esp, 0xc
cmp ebp, ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x70], 6
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 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 eax, ebp
jne 0x53749f
mov eax, 0x6bc0ce
mov ecx, dword [esp + 0x748]
push eax
push ecx
lea eax, [esp + 0x54]
lea esi, [esp + 0x78]
call fcn.00558570
cmp dword [eax], ebx
jne 0x5374f8
mov edi, str.error_summary
mov eax, esi
call fcn.00558690
test eax, eax
je 0x5374f8
lea ecx, [esp + 0x320]
mov eax, esi
call fcn.004c7030
cmp word [esp + 0x320], bx
je 0x5374f8
mov esi, dword [esp + 0x740]
lea edx, [esp + 0x320]
push edx
add esi, 4
call fcn.00480630
mov esi, dword [esp + 0x744]
lea ecx, [esp + 0x70]
mov dword [esi], 2
call fcn.004276c0
push ebp
call fcn.0069c8fa
mov eax, dword [esp + 0x38]
add esp, 4
push eax
call fcn.0069c8fa
mov edi, 0x70c5e4
mov ecx, dword [esp + 0x44]
add esp, 4
push ecx
mov dword [esp + 0xa0], edi
call fcn.0069c8fa
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call fcn.0069c8fa
mov eax, dword [esp + 0x20]
add esp, 4
push eax
mov dword [esp + 0xb8], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x72c
ret 0x18