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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c0280
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 4]
call fcn.00423570
mov ebx, dword [esi + 4]
mov byte [esp + 0x17], al
call fcn.00423600
mov ebx, dword [esi + 4]
mov edi, eax
mov dword [esp + 0x18], edi
call fcn.00423600
mov ebx, eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x20], ebx
call fcn.00423130
mov dword [esp + 0x68], 0
test edi, edi
je 0x4666c7
mov eax, dword [esp + 0x30]
mov ebx, eax
cmp eax, dword [esp + 0x34]
jbe 0x46669e
call fcn.00480e22
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x466712
call fcn.00480e22
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4666b7
call fcn.00480e22
mov ecx, dword [esi + 4]
push ebx
push ecx
mov ebx, edi
call fcn.00423530
mov ebx, dword [esp + 0x1c]
mov esi, dword [esi + 0xe0]
push ebx
push edi
push str.upload_data__cs___d__us___d__requested
call fcn.004239b0
mov edi, dword [ebp + 8]
add esp, 0xc
mov ecx, edi
call fcn.00467390
cmp dword [edi + 0x14], 0
jne 0x466716
push str.No_active_upload_at_the_moment
lea edx, [esp + 0x40]
push edx
call fcn.004048f0
push 0x56ea74
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], vtable.FileTransferException.0
call fcn.004841dc
mov eax, dword [eax]
jmp 0x4666ad
cmp dword [esp + 0x18], 0
je 0x4667b2
cmp byte [esp + 0x17], 0
jne 0x466758
mov eax, dword [edi + 0x18]
test eax, eax
je 0x466734
add eax, 4
jmp 0x466736
xor eax, eax
mov dword [esp + 0x1c], vtable.DataOutputStream.0
mov dword [esp + 0x20], eax
lea esi, [esp + 0x24]
mov byte [esp + 0x68], 1
call fcn.004231a0
push eax
lea ecx, [esp + 0x20]
push ecx
jmp 0x4667a8
lea esi, [esp + 0x24]
call fcn.004231a0
mov edx, dword [esp + 0x18]
lea esi, [edi + 0x78]
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [edi + 0xd4], ebx
call fcn.0047da90
mov eax, dword [edi + 0x18]
test eax, eax
je 0x466784
add eax, 4
jmp 0x466786
xor eax, eax
mov dword [esp + 0x1c], vtable.DataOutputStream.0
mov dword [esp + 0x20], eax
mov byte [esp + 0x68], 2
mov ebx, dword [edi + 0x98]
call fcn.00404960
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00423530
mov byte [esp + 0x68], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x4667be
lea esi, [eax + 8]
jmp 0x4667c0
xor esi, esi
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
mov dword [esp + 0x1c], vtable.AutoLock.0
mov dword [esp + 0x20], esi
call eax
mov byte [esp + 0x68], 3
mov ebx, dword [edi + 8]
mov eax, 0xfc000109
call fcn.00423300
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
xor ebx, ebx
mov byte [esp + 0x68], bl
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x466811
push eax
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4