Function at 0x40d770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ce98
mov eax, dword fs:[0]
push eax
sub esp, 0x3b4
mov eax, dword [0x554910]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2ec], edi
xor eax, eax
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 4], eax
lea ecx, [ebp + 0xc]
lea eax, [ebp - 0x22c]
push eax
call fcn.0040ec10
mov esi, eax
mov byte [ebp - 4], 1
mov eax, dword [0x55d814]
test eax, eax
jne 0x40d81b
push 0x4f0
call fcn.004d26a3
mov edi, eax
add esp, 4
mov dword [ebp - 0x2e8], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x40d80a
push 0x4f0
push 0
push edi
call fcn.004dc990
add esp, 0xc
mov ecx, edi
call fcn.00410f80
jmp 0x40d80c
xor eax, eax
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x2ec]
mov dword [0x55d814], eax
lea ecx, [ebp - 0x260]
push ecx
mov ecx, eax
call fcn.00413240
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x40d838
mov esi, dword [esi]
push ecx
push esi
push dword [eax + 0x10]
mov ecx, eax
push 0
call fcn.00402b70
test eax, eax
sete byte [ebp - 0x2dd]
cmp dword [ebp - 0x24c], 8
jb 0x40d866
push dword [ebp - 0x260]
call fcn.0047b130
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x218], 8
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
jb 0x40d89d
push dword [ebp - 0x22c]
call fcn.0047b130
add esp, 4
xor eax, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
cmp byte [ebp - 0x2dd], al
jne 0x40e3c9
mov eax, dword [0x55d814]
test eax, eax
jne 0x40d910
push 0x4f0
call fcn.004d26a3
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ec], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x40d905
push 0x4f0
push 0
push esi
call fcn.004dc990
add esp, 0xc
mov ecx, esi
call fcn.00410f80
jmp 0x40d907
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x55d814], eax
lea ecx, [ebp - 0x2a8]
push ecx
mov ecx, eax
call fcn.00413240
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp + 0xc]
call fcn.00410e50
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.0040d330
mov byte [ebp - 4], 5
cmp dword [ebp - 0x218], 8
jb 0x40d95e
push dword [ebp - 0x22c]
call fcn.0047b130
add esp, 4
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040ec10
xor eax, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 8
mov esi, dword [0x55d814]
test esi, esi
jne 0x40d9dc
push 0x4f0
call fcn.004d26a3
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ec], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x40d9d0
push 0x4f0
push 0
push esi
call fcn.004dc990
add esp, 0xc
mov ecx, esi
call fcn.00410f80
mov esi, eax
jmp 0x40d9d2
xor esi, esi
mov byte [ebp - 4], 8
mov dword [0x55d814], esi
lea eax, [esi + 0x4cc]
lea ecx, [ebp - 0x278]
cmp ecx, eax
je 0x40d9f6
push 0xffffffffffffffff
push 0
push eax
call fcn.00403060
cmp byte [ebp + 8], 0
mov al, byte [esi + 0x4e4]
mov byte [ebp - 0x2de], al
jne 0x40da80
push 2
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x290]
call fcn.0040ebd0
mov esi, eax
push 2
push 0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x2e8], 1
call fcn.0040ebd0
mov ecx, eax
mov dword [ebp - 4], 0xb
mov eax, 3
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], eax
mov eax, dword [esi + 0x10]
jb 0x40da69
mov esi, dword [esi]
push eax
push esi
push dword [ecx + 0x10]
push 0
call fcn.00402b70
mov byte [ebp - 0x2dd], 1
test eax, eax
je 0x40da87
mov byte [ebp - 0x2dd], 0
mov eax, dword [ebp - 0x2e4]
test al, 2
je 0x40dad4
and eax, 0xfffffffd
cmp dword [ebp - 0x218], 8
mov dword [ebp - 0x2e4], eax
jb 0x40dab7
push dword [ebp - 0x22c]
call fcn.0047b130
mov eax, dword [ebp - 0x2e4]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], cx
mov dword [ebp - 4], 8
test al, 1
je 0x40daff
and eax, 0xfffffffe
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x2e4], eax
jb 0x40daff
push dword [ebp - 0x260]
call fcn.0047b130
add esp, 4
cmp byte [ebp - 0x2dd], 0
je 0x40db24
push str.same_path
push 0x495
push str.DNDownloaderMainFrame::changePathClac
call fcn.00431920
add esp, 0xc
jmp 0x40e2dd
cmp dword [ebp - 0x268], 2
jbe 0x40dbb8
push 2
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x290]
call fcn.0040ebd0
mov esi, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x278]
mov eax, dword [ebp - 0x2e4]
or eax, 4
push 2
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0040ebd0
mov ecx, eax
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x2e4]
or eax, 8
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], eax
mov eax, dword [esi + 0x10]
jb 0x40dba1
mov esi, dword [esi]
push eax
push esi
push dword [ecx + 0x10]
push 0
call fcn.00402b70
mov byte [ebp - 0x2dd], 1
test eax, eax
je 0x40dbbf
mov byte [ebp - 0x2dd], 0
mov eax, dword [ebp - 0x2e4]
test al, 8
je 0x40dc0c
and eax, 0xfffffff7
cmp dword [ebp - 0x218], 8
mov dword [ebp - 0x2e4], eax
jb 0x40dbef
push dword [ebp - 0x22c]
call fcn.0047b130
mov eax, dword [ebp - 0x2e4]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], cx
mov dword [ebp - 4], 8
test al, 4
je 0x40dc37
and eax, 0xfffffffb
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x2e4], eax
jb 0x40dc37
push dword [ebp - 0x260]
call fcn.0047b130
add esp, 4
cmp byte [ebp - 0x2dd], 0
je 0x40dc5c
push str.same_best_path
push 0x49b
push str.DNDownloaderMainFrame::changePathClac
call fcn.00431920
add esp, 0xc
jmp 0x40e2dd
cmp byte [ebp + 8], 0
jne 0x40dcbd
cmp byte [ebp - 0x2de], 0
je 0x40dcbd
push 2
push 0
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x290]
call fcn.0040ebd0
mov ecx, eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2e4]
or eax, 0x10
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], eax
jb 0x40dca4
mov ecx, dword [ecx]
call fcn.00429430
test al, al
jne 0x40dcbd
cmp dword [ebp - 0x268], 0
mov byte [ebp - 0x2dd], 1
jne 0x40dcc4
mov byte [ebp - 0x2dd], 0
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x2e4]
test al, 0x10
je 0x40dce0
lea ecx, [ebp - 0x310]
call fcn.00402f00
cmp byte [ebp - 0x2dd], 0
je 0x40dfff
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
xor eax, eax
movq qword [ebp - 0x238], xmm0
push 0xffffffffffffffff
movdqu xmmword [ebp - 0x248], xmm0
push eax
mov word [ebp - 0x244], ax
lea ecx, [ebp - 0x244]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x248], edi
push eax
mov dword [ebp - 0x230], 7
mov dword [ebp - 0x234], 0
call fcn.00403060
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c0]
xorps xmm0, xmm0
mov dword [ebp - 0x2ac], 0
xor eax, eax
movq qword [ebp - 0x2b4], xmm0
push 0xffffffffffffffff
movdqu xmmword [ebp - 0x2c4], xmm0
push eax
mov word [ebp - 0x2c0], ax
lea eax, [ebp - 0x278]
push eax
mov dword [ebp - 0x2c4], edi
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x2b0], 0
call fcn.00403060
xor eax, eax
mov byte [ebp - 4], 0x10
push 0x1fe
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.004dc990
add esp, 0xc
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x278]
push 1
push 0
push eax
call fcn.0040ebd0
lea eax, [ebp - 0x340]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp + 0xc]
call fcn.0040ec10
push 1
push 0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x12
push ecx
mov ecx, eax
call fcn.0040ebd0
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0x14
call fcn.00402f00
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x22c]
cmovae ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x218], 8
push ecx
cmovae eax, dword [ebp - 0x22c]
push eax
lea eax, [ebp - 0x214]
push 0x539218
push eax
call fcn.004d2fdd
sub esp, 8
mov ecx, esp
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2ec], esp
push eax
call fcn.0040f9c0
sub esp, 0x18
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x214]
mov dword [ebp - 0x2e8], esp
mov ecx, esp
push eax
call fcn.004035b0
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x2e4], esp
push 0x539294
call fcn.004035b0
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x2f8], esp
push 0x537a38
call fcn.004035b0
sub esp, 0x18
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2f4], esp
mov ecx, esp
mov byte [ebp - 0x2de], 0
push eax
call fcn.0040f9c0
sub esp, 0x18
mov byte [ebp - 4], 0x19
mov ecx, esp
push 0x539288
call fcn.004035b0
mov dl, byte [ebp - 0x2de]
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 0x18
call fcn.004260b0
add esp, 0x30
push eax
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2f0], esp
mov ecx, esp
mov byte [ebp - 0x2de], 1
push eax
call fcn.0040f940
sub esp, 0x18
mov byte [ebp - 4], 0x1b
mov ecx, esp
push 0x538ea8
call fcn.004035b0
mov dl, byte [ebp - 0x2de]
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 0x1a
call fcn.004260b0
add esp, 0x30
mov esi, eax
mov byte [ebp - 4], 0x1c
mov ecx, edi
call fcn.00425280
mov edx, esi
mov byte [ebp - 4], 0x1e
mov ecx, eax
call fcn.0040fa40
add esp, 0x64
lea ecx, [ebp - 0x37c]
call fcn.00406740
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 0x14
call fcn.00406740
push str.download_ssd_tip
lea ecx, [ebp - 0x310]
call fcn.004035b0
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 0x1f
push eax
call fcn.00411380
mov ecx, eax
call fcn.00413200
push eax
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0x20
push eax
call fcn.00411380
mov ecx, eax
call fcn.004182f0
lea ecx, [ebp - 0x328]
call fcn.00402f00
lea ecx, [ebp - 0x310]
call fcn.00402f00
lea ecx, [ebp - 0x22c]
call fcn.00402f00
lea ecx, [ebp - 0x260]
call fcn.00402f00
lea ecx, [ebp - 0x2c4]
call fcn.0040c6d0
lea ecx, [ebp - 0x248]
call fcn.0040c6d0
jmp 0x40e2dd
lea ecx, [ebp - 0x290]
call fcn.0042a5d0
movsd xmm1, qword [0x541f70]
comisd xmm1, xmm0
jbe 0x40e3a8
push str.left_17G
push 0x4ba
push str.DNDownloaderMainFrame::changePathClac
call fcn.00431920
add esp, 0xc
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x2dc]
push eax
call fcn.00402e90
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x2cc], 0
jne 0x40e068
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00403060
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
xor eax, eax
movq qword [ebp - 0x238], xmm0
push 0xffffffffffffffff
movdqu xmmword [ebp - 0x248], xmm0
push eax
mov word [ebp - 0x244], ax
lea ecx, [ebp - 0x244]
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x248], edi
push eax
mov dword [ebp - 0x230], 7
mov dword [ebp - 0x234], 0
call fcn.00403060
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x22
call fcn.0042a5d0
cvttsd2si eax, xmm0
cmp eax, 0x4400
jge 0x40e37b
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.004dc990
add esp, 0xc
lea eax, [ebp - 0x22c]
lea ecx, [ebp - 0x2dc]
push 1
push 0
push eax
call fcn.0040ebd0
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
lea eax, [ebp - 0x214]
push 0x5392d8
push eax
call fcn.004d2fdd
sub esp, 0xc
mov dword [ebp - 0x2f0], esp
mov eax, esp
mov dword [eax], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_7283a4ec77a6070b3ba2eb5e8b062d4c____0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov dword [eax + 4], edi
mov dword [eax + 0x10], eax
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x214]
mov dword [ebp - 0x2f4], esp
mov ecx, esp
push eax
call fcn.004035b0
sub esp, 0x18
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0x2f8], esp
push 0x539294
call fcn.004035b0
sub esp, 0x18
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x2ec], esp
push 0x537a38
call fcn.004035b0
sub esp, 0x18
mov byte [ebp - 0x2de], 0
mov dword [ebp - 0x2e8], esp
mov eax, esp
mov dword [eax], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_7283a4ec77a6070b3ba2eb5e8b062d4c____0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov dword [eax + 4], edi
mov dword [eax + 0x10], eax
sub esp, 0x18
mov byte [ebp - 4], 0x2a
mov ecx, esp
push 0x539288
call fcn.004035b0
mov dl, byte [ebp - 0x2de]
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 0x28
call fcn.004260b0
add esp, 0x30
push eax
sub esp, 0x18
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2e8], esp
mov ecx, esp
mov byte [ebp - 0x2de], 1
push eax
call fcn.0040fd40
sub esp, 0x18
mov byte [ebp - 4], 0x2c
mov ecx, esp
push 0x538ea8
call fcn.004035b0
mov dl, byte [ebp - 0x2de]
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 0x2b
call fcn.004260b0
add esp, 0x30
mov esi, eax
mov byte [ebp - 4], 0x2d
mov ecx, edi
call fcn.00425280
mov edx, esi
mov byte [ebp - 4], 0x2f
mov ecx, eax
call fcn.0040fa40
add esp, 0x64
lea ecx, [ebp - 0x3b4]
call fcn.00406740
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 0x23
call fcn.00406740
push str.download_sdNotEnough_tip
lea ecx, [ebp - 0x310]
call fcn.004035b0
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 0x30
push eax
call fcn.00411380
mov ecx, eax
call fcn.00413200
push eax
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0x31
push eax
call fcn.00411380
mov ecx, eax
call fcn.004182f0
lea ecx, [ebp - 0x328]
call fcn.00402f00
lea ecx, [ebp - 0x310]
call fcn.00402f00
lea ecx, [ebp - 0x22c]
call fcn.00402f00
lea ecx, [ebp - 0x248]
call fcn.0040c6d0
lea ecx, [ebp - 0x2dc]
call fcn.00402f00
cmp dword [ebp - 0x264], 8
jb 0x40e2f4
push dword [ebp - 0x278]
call fcn.0047b130
add esp, 4
xor eax, eax
mov dword [ebp - 0x264], 7
cmp dword [ebp - 0x27c], 8
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
jb 0x40e328
push dword [ebp - 0x290]
call fcn.0047b130
add esp, 4
xor eax, eax
mov dword [ebp - 0x27c], 7
cmp dword [ebp - 0x294], 8
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
jb 0x40e35c
push dword [ebp - 0x2a8]
call fcn.0047b130
add esp, 4
xor eax, eax
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
jmp 0x40e3c9
push str.all_left_24G
push 0x4d1
push str.DNDownloaderMainFrame::changePathClac
call fcn.00431920
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.0040c6d0
lea ecx, [ebp - 0x2dc]
call fcn.00402f00
lea ecx, [ebp - 0x278]
call fcn.00402f00
lea ecx, [ebp - 0x290]
call fcn.00402f00
lea ecx, [ebp - 0x2a8]
call fcn.00402f00
cmp dword [ebp + 0x20], 8
jb 0x40e3da
push dword [ebp + 0xc]
call fcn.0047b130
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d2694
mov esp, ebp
pop ebp
ret 0x1c