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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x565f09
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5ca1c8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x5ca1c8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x30]
xor ebx, ebx
test ecx, ecx
je 0x414cbf
mov ecx, dword [ecx]
test ecx, ecx
je 0x414cad
push esi
push 0x417621
push 0xffffffffffffffff
call fcn.004488f2
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
test ecx, ecx
je 0x414cbf
call fcn.004027d2
mov eax, dword [esi + 0x38]
test eax, eax
je 0x414ceb
cmp byte [esi + 0xaa], bl
je 0x414cd9
mov ecx, dword [eax]
test ecx, ecx
je 0x414cd9
call fcn.0048132f
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
test ecx, ecx
je 0x414ceb
call fcn.004027d2
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x414d08
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x14], ebx
test ecx, ecx
je 0x414d08
mov eax, dword [ecx]
push 1
call dword [eax + 4]
cmp dword [esi + 0x10], ebx
je 0x414d1e
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x10], ebx
test ecx, ecx
je 0x414d1e
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
cmp dword [esi + 0x88], ebx
je 0x414e49
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
lea ebx, [esi + 0x78]
push eax
mov edx, ebx
lea ecx, [esp + 0x50]
call fcn.0042d433
pop ecx
mov edi, eax
and dword [esp + 0x80], 0
and dword [esp + 0x44], 0
push 0x30
mov byte [esp + 0x84], 1
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
jne 0x414d6c
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_alloc_void_]
push ecx
push edi
mov ecx, eax
mov byte [esp + 0x88], 3
call fcn.0043016d
mov edi, eax
mov dword [esp + 0x44], edi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80], 5
call fcn.004026eb
lea ecx, [esp + 0x4c]
call fcn.004026eb
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.0042d465
pop ecx
push eax
mov byte [esp + 0x84], 6
call fcn.00539b40
push eax
push 0x106
push str.transfer_session.cpp
push str.transfer::TransferSession::Stop
lea ecx, [esp + 0x30]
call fcn.00539b00
mov ecx, dword [esi + 0x70]
push eax
call fcn.0053c7d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 5
call fcn.0053a640
and dword [esp + 0x2c], 0
lea eax, [esp + 0x1c]
mov byte [esp + 0x80], 7
cmp ebx, eax
je 0x414e0d
mov ecx, ebx
call fcn.004026eb
and dword [ebx + 0x10], 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 5
call fcn.004026eb
lea ecx, [esp + 0x1c]
call fcn.004026eb
or dword [esp + 0x80], 0xffffffff
test edi, edi
je 0x414e47
mov edx, dword [edi]
lea eax, [esp + 0x34]
cmp edi, eax
mov ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor ebx, ebx
mov eax, dword [esi + 0x48]
test eax, eax
je 0x414e78
mov eax, dword [eax]
mov eax, dword [eax + 0x88]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
add esi, 0x138
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x414ea3
mov ecx, dword [eax + 0x14]
call fcn.00440118
lea ecx, [esp + 0x14]
call fcn.0040964b
mov eax, dword [esp + 0x14]
cmp eax, dword [esi]
jne 0x414e8a
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
call fcn.0042c6ac
mov eax, dword [esi]
mov dword [eax + 4], eax
mov eax, dword [esi]
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0055fedc
mov esp, ebp
pop ebp
ret