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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5738c8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x67eb4c]
push str.FileClientV2
mov esi, ecx
xor edi, edi
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
call fcn.004f1577
push 1
push str.AutoCloseConnection
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], edi
call fcn.004f0f3d
push 0x1e
push str.AutoCloseTimeInterval
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x70], eax
call fcn.004f116f
mov dword [ebp - 0x68], eax
cmp eax, edi
jg 0x5324ca
mov dword [ebp - 0x68], 0x1e
mov ecx, dword [0x67eb64]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 2
je 0x532a39
mov ecx, dword [0x67eb64]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 4
je 0x532a39
mov eax, dword [esi + 0x94]
xor ebx, ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
cmp eax, ebx
je 0x53251d
push eax
call fcn.005383cd
add esp, 4
mov dword [esi + 0x94], ebx
lea edi, [esi + 0x78]
cmp edi, ebx
je 0x53252b
mov ecx, edi
call fcn.004f0b18
mov dword [esi + 0x5c], ebx
cmp edi, ebx
je 0x532539
mov ecx, edi
call fcn.004f0b20
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [esi + 0x44]
test ebx, ebx
je 0x53254f
mov ecx, ebx
call fcn.004f0b18
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x53255a
xor edi, edi
jmp 0x53258b
mov ecx, dword [eax + 4]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x3c]
mov edi, dword [eax]
cmp ecx, dword [esi + 0x38]
jl 0x532579
dec ecx
push eax
mov dword [esi + 0x3c], ecx
call fcn.00535f7c
add esp, 4
jmp 0x532588
mov dword [eax], 0
mov edx, dword [esi + 0x28]
mov dword [eax + 4], edx
mov dword [esi + 0x28], eax
dec dword [esi + 0x40]
test ebx, ebx
je 0x532596
mov ecx, ebx
call fcn.004f0b20
test edi, edi
jne 0x5325d5
cmp dword [ebp - 0x70], edi
je 0x5325c0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x5325c0
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x68]
jle 0x5325bd
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x64], edi
call eax
mov dword [esi + 0x24], edi
jmp 0x5325c0
inc dword [ebp - 0x64]
push 0x2710
lea ecx, [esi + 0x12c]
call fcn.004f1643
jmp 0x532a23
cmp dword [ebp - 0x60], 3
mov dword [ebp - 0x64], 0
jl 0x532628
mov ecx, dword [0x67eb58]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004ebfc1
push str.File_trans_task_timeout_happens_many_times
lea edx, [ebp - 0x6c]
push str.FileTask
push edx
mov byte [ebp - 4], 1
call fcn.004ebe5c
add esp, 0xc
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x60], 0
mov dword [esi + 0x128], 1
mov byte [ebp - 4], 0
call fcn.004f5a61
mov ecx, dword [0x67eb64]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 2
je 0x53271a
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x67eb64]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 4
je 0x53271a
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x53267c
cmp dword [esi + 0x128], 0
je 0x5326bb
test ecx, ecx
je 0x53267c
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
push 0x3e8
call ebx
movsx eax, byte [esi + 0xa4]
movzx ebx, word [esi + 0xe4]
lea ecx, [esi + 0xa4]
neg eax
push esi
sbb eax, eax
and eax, ecx
mov dword [esi + 0x128], 0
mov ecx, dword [0x67eb54]
mov edx, dword [ecx]
push 0
push ebx
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esi + 0x24], eax
cmp dword [esi + 0x24], 0
jne 0x53271a
mov ecx, dword [edi + 0x38]
cmp dword [ecx + 0x618], 0xffffffff
je 0x5326f7
push 0
call fcn.005377d5
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + 0x61c]
add esp, 4
cmp eax, edx
jle 0x5326f7
sub eax, edx
xor edx, edx
cmp eax, dword [ecx + 0x618]
setg dl
mov eax, edx
test eax, eax
jne 0x53271a
cmp dword [edi + 0x3c], 7
je 0x53271a
push 0x7d0
call ebx
mov ecx, dword [0x67eb64]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 2
jne 0x532644
mov ecx, dword [0x67eb64]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 2
je 0x532a39
mov ecx, dword [0x67eb64]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 4
je 0x532a39
cmp dword [edi + 0x3c], 0
jne 0x5327c1
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov ecx, edi
call edx
test eax, eax
je 0x5327c1
lea ebx, [esi + 0x60]
test ebx, ebx
je 0x532767
mov ecx, ebx
call fcn.004f0b18
mov eax, dword [esi + 0x2c]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x5c], ecx
test ebx, ebx
je 0x53277f
mov ecx, ebx
call fcn.004f0b20
cmp dword [ebp - 0x5c], 0
jne 0x532790
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [esi + 0x44]
mov dword [ebp - 0x5c], ebx
test ebx, ebx
je 0x5327a1
mov ecx, ebx
call fcn.004f0b18
push edi
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 2
call fcn.00527dd0
mov byte [ebp - 4], 0
test ebx, ebx
je 0x532a23
mov ecx, ebx
jmp 0x532a1e
mov edx, dword [edi + 0x38]
cmp dword [edx + 0x618], 0xffffffff
je 0x5327fe
push 0
call fcn.005377d5
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + 0x61c]
add esp, 4
cmp eax, edx
jle 0x5327fe
sub eax, edx
xor edx, edx
cmp eax, dword [ecx + 0x618]
setg dl
mov eax, edx
test eax, eax
je 0x5327fe
mov dword [edi + 0x3c], 6
cmp dword [edi + 0x3c], 0
jne 0x53297f
lea ebx, [esi + 0x78]
test ebx, ebx
je 0x532816
mov ecx, ebx
call fcn.004f0b18
mov dword [esi + 0x5c], edi
test ebx, ebx
je 0x532824
mov ecx, ebx
call fcn.004f0b20
mov eax, dword [edi + 0x38]
cmp dword [eax + 0x624], 0
jle 0x53283b
lea ecx, [eax + 0x628]
mov dword [ebp - 0x5c], ecx
jmp 0x532842
mov dword [ebp - 0x5c], 0
mov ecx, dword [eax + 0x604]
mov edx, dword [ecx]
mov edx, dword [edx]
push edi
lea ebx, [eax + 0x204]
push ebx
mov ebx, dword [eax + 0x624]
mov eax, dword [eax]
push ebx
mov ebx, dword [ebp - 0x5c]
push ebx
push eax
mov eax, dword [esi + 0xa0]
push 5
push eax
call edx
mov ecx, esi
call fcn.005334a0
lea ebx, [esi + 0x78]
test ebx, ebx
je 0x532882
mov ecx, ebx
call fcn.004f0b18
mov dword [esi + 0x5c], 0
test ebx, ebx
je 0x532894
mov ecx, ebx
call fcn.004f0b20
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
mov ecx, edi
call edx
xor ecx, ecx
test eax, eax
je 0x5328a6
mov dword [edi + 0x3c], ecx
mov eax, dword [edi + 0x3c]
cmp eax, 6
jne 0x5328b3
inc dword [ebp - 0x60]
jmp 0x5328b6
mov dword [ebp - 0x60], ecx
cmp eax, 0xb
je 0x5328ea
cmp eax, ecx
je 0x5328e1
cmp dword [edi + 0x54], ecx
jne 0x5328e1
mov edx, dword [edi + 0x38]
cmp dword [edx + 0x618], 0xffffffff
jne 0x5328e1
mov dword [edi + 0x3c], ecx
push edi
lea ecx, [esi + 0x28]
call fcn.00530a10
jmp 0x532a23
cmp eax, 0xb
jne 0x53297f
mov dword [edi + 0x48], 1
movzx ebx, word [esi + 0x126]
call fcn.00530470
lea ecx, [eax + 0x78]
push ecx
lea edx, [eax + 0x48]
push edx
push ebx
lea ecx, [esi + 0xe6]
push ecx
lea ecx, [eax + 4]
call fcn.00531e10
test eax, eax
je 0x532978
push edi
mov ecx, eax
call fcn.005314a0
neg eax
sbb eax, eax
neg eax
je 0x532978
lea ebx, [esi + 0x60]
mov dword [ebp - 0x5c], ebx
test ebx, ebx
je 0x53293a
mov ecx, ebx
call fcn.004f0b18
mov eax, dword [edi + 0x38]
push eax
lea edx, [ebp - 0x78]
push edx
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 3
call fcn.00530c80
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
push eax
push ecx
lea edx, [ebp - 0x88]
push edx
lea ecx, [esi + 0x14]
call fcn.00515d60
mov byte [ebp - 4], 0
test ebx, ebx
je 0x532a23
mov ecx, ebx
jmp 0x532a1e
mov dword [edi + 0x3c], 1
mov eax, dword [edi + 0x38]
cmp dword [eax + 0x624], 0
jle 0x532996
lea ecx, [eax + 0x628]
mov dword [ebp - 0x5c], ecx
jmp 0x53299d
mov dword [ebp - 0x5c], 0
mov ecx, dword [eax + 0x604]
mov edx, dword [ecx]
mov edx, dword [edx]
push edi
lea ebx, [eax + 0x204]
push ebx
mov ebx, dword [eax + 0x624]
mov eax, dword [eax]
push ebx
mov ebx, dword [ebp - 0x5c]
push ebx
push eax
mov eax, dword [edi + 0x3c]
push eax
mov eax, dword [esi + 0xa0]
push eax
call edx
lea eax, [esi + 0x60]
mov ecx, eax
mov dword [ebp - 0x5c], ecx
test eax, eax
je 0x5329db
call fcn.004f0b18
mov eax, dword [edi + 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 4
call fcn.00530c80
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x80]
push ecx
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [esi + 0x14]
call fcn.00515d60
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push 1
mov ecx, edi
call eax
cmp dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0
je 0x532a23
mov ecx, dword [ebp - 0x5c]
call fcn.004f0b20
mov ecx, dword [0x67eb64]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 2
jne 0x5324e0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.004f12d2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret