Function at 0x49f570
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x68368f
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [esp + 0x290]
mov edx, dword [esp + 0x298]
mov esi, dword [esp + 0x29c]
mov ebp, dword [esp + 0x2a8]
mov ebx, ecx
test ebx, ebx
mov ecx, dword [esp + 0x294]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2a4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], eax
je 0x49f5f7
lea eax, [ebx + 0x8dc]
jmp 0x49f5f9
xor eax, eax
push eax
lea ecx, [esp + 0x54]
call fcn.004afa40
push ebp
lea edi, [ebx + 0x8dc]
push str.S3_UploadFile
mov ecx, edi
mov dword [esp + 0x290], 0
call fcn.0047be60
push ebp
push 4
mov ecx, edi
call fcn.0047d410
test al, al
jne 0x49f64a
lea ecx, [esp + 0x50]
mov dword [esp + 0x288], 0xffffffff
call fcn.004afa70
xor al, al
jmp 0x49fb3e
mov ecx, dword [esp + 0x1c]
push ecx
push str.bucketName
mov ecx, ebp
mov byte [ebx + 0x16ec], 0
call fcn.004b11c0
push esi
push str.objectName
mov ecx, ebp
call fcn.004b11c0
mov edx, dword [esp + 0x24]
push edx
push str.contentType
mov ecx, ebp
call fcn.004b11c0
mov edi, dword [esp + 0x28]
push edi
push str.localFilePath
mov ecx, ebp
call fcn.004b11c0
mov ecx, dword [esp + 0x1c]
call fcn.00481560
push 0
push 0x75a328
mov ecx, esi
call fcn.00482fe0
test al, al
je 0x49f6d5
lea esp, [esp]
push 0
push 0x7589ce
push 0x75a328
mov ecx, esi
call fcn.004814d0
push 0
push 0x75a328
mov ecx, esi
call fcn.00482fe0
test al, al
jne 0x49f6b0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x14], 1
call fcn.00485650
xor eax, eax
mov byte [esp + 0x288], 1
mov dword [esp + 0x258], eax
mov dword [esp + 0x25c], eax
mov dword [esp + 0x260], eax
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], eax
mov dword [esp + 0x26c], eax
mov dword [esp + 0x270], eax
mov dword [esp + 0x274], eax
mov dword [esp + 0x278], eax
call sub.KERNEL32.dll_GetTickCount
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
push ebp
push edi
call fcn.0048bc00
add esp, 0xc
or eax, edx
je 0x49f942
push str.hashFile
push ebp
lea ecx, [esp + 0x64]
call fcn.004b1850
cmp dword [ebx + 0x2bb8], 2
mov byte [esp + 0x288], 2
lea ecx, [esp + 0x188]
jne 0x49f83c
call fcn.004d1a20
push ebp
push edi
lea ecx, [esp + 0x190]
mov byte [esp + 0x290], 3
call fcn.004d2110
test al, al
je 0x49f91d
lea ecx, [esp + 0x114]
call fcn.004cebe0
mov ecx, dword [ebx + 0xb7c]
mov edx, dword [ebx + 0xb78]
mov eax, dword [esp + 0x20]
push 0
push 0
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x29c], 4
call fcn.004d1550
push 0
lea ecx, [esp + 0x25c]
push ecx
push ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x294], 5
call fcn.004d0860
push eax
lea edx, [esp + 0x198]
push edx
lea ecx, [esp + 0x128]
call fcn.004cef50
lea ecx, [esp + 0x188]
mov byte [esp + 0x14], al
call fcn.004d1ab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 4
call fcn.004d0880
lea ecx, [esp + 0x114]
mov byte [esp + 0x288], 3
call fcn.004cec10
jmp 0x49f91d
call fcn.004d1a20
push ebp
push edi
lea ecx, [esp + 0x190]
mov byte [esp + 0x290], 6
call fcn.004d2110
test al, al
je 0x49f91d
mov eax, dword [ebx + 0xb7c]
mov ecx, dword [ebx + 0xb78]
mov edx, dword [esp + 0x20]
push 0
push 0
push eax
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.004d1550
lea ecx, [esp + 0x34]
mov byte [esp + 0x288], 7
call fcn.00468060
push ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28c], 8
call fcn.004d0860
push eax
lea eax, [esp + 0x3c]
push eax
push 0
lea ecx, [esp + 0x198]
push 7
push ecx
call fcn.0048e260
add esp, 0x18
test al, al
mov byte [esp + 0x14], al
je 0x49f8ef
lea ecx, [esp + 0x34]
call fcn.00544a30
cmp eax, 0x20
jb 0x49f8ef
lea ecx, [esp + 0x34]
call fcn.00467d80
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x258]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x188]
call fcn.004d1ab0
lea ecx, [esp + 0x34]
mov byte [esp + 0x288], 7
call fcn.00468860
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 6
call fcn.004d0880
lea ecx, [esp + 0x188]
mov byte [esp + 0x288], 2
call fcn.004d1b40
lea ecx, [esp + 0x5c]
mov byte [esp + 0x288], 1
call fcn.004b18c0
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jb 0x49f9af
sub eax, ecx
cmp eax, 0x1f40
jbe 0x49f9af
lea ecx, [esp + 0x114]
call fcn.00485650
mov ecx, dword [esp + 0x1c]
push ebp
lea edx, [esp + 0x118]
push edx
mov byte [esp + 0x290], 9
call fcn.00480da0
push eax
mov ecx, ebx
call fcn.00493a70
push ebp
push ebx
lea eax, [esp + 0x11c]
push eax
lea ecx, [ebx + 0x25f0]
call fcn.004f9d80
lea ecx, [esp + 0x114]
mov byte [esp + 0x288], 1
call fcn.00485710
cmp byte [esp + 0x14], 0
je 0x49faf8
cmp dword [ebx + 0x2bb8], 2
jne 0x49fa25
lea ecx, [esp + 0x34]
call fcn.00468060
push 0x10
lea ecx, [esp + 0x25c]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x290], 0xa
call fcn.00469150
lea edx, [esp + 0xa0]
push edx
push str.base64
lea ecx, [esp + 0x3c]
call fcn.0046ce70
lea ecx, [esp + 0xa0]
call fcn.00483ec0
mov edi, eax
lea eax, [esp + 0xa0]
push eax
push str.fileMd5
mov ecx, ebp
call fcn.004b1210
lea ecx, [esp + 0x34]
jmp 0x49fa85
lea ecx, [esp + 0x68]
call fcn.00468060
push 0x20
lea ecx, [esp + 0x25c]
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x290], 0xb
call fcn.00469150
lea edx, [esp + 0xa0]
push edx
push 0x75a514
lea ecx, [esp + 0x70]
call fcn.0046ce70
lea ecx, [esp + 0xa0]
call fcn.00483ec0
mov edi, eax
lea eax, [esp + 0xa0]
push eax
push str.fileSha256
mov ecx, ebp
call fcn.004b1210
lea ecx, [esp + 0x68]
mov byte [esp + 0x288], 1
call fcn.00468860
cmp byte [esp + 0x14], 0
je 0x49faf8
lea ecx, [esp + 0x84]
call fcn.00468060
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2a0]
mov eax, dword [esp + 0x1c]
push ebp
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push esi
push eax
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x9c]
push edx
push edi
mov byte [esp + 0x2a8], 0xc
call fcn.00480da0
push eax
mov ecx, ebx
call fcn.0049e810
lea ecx, [esp + 0x84]
mov byte [esp + 0x14], al
mov byte [esp + 0x288], 1
call fcn.00468860
mov eax, dword [esp + 0x14]
push ebp
push eax
call fcn.0047b140
mov edx, dword [ebp]
mov eax, dword [edx + 0x28]
add esp, 8
mov ecx, ebp
call eax
mov bl, byte [esp + 0x14]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x288], 0
call fcn.00485710
lea ecx, [esp + 0x50]
mov dword [esp + 0x288], 0xffffffff
call fcn.004afa70
mov al, bl
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x278
ret 0x1c