Function at 0x4017f0
Capabilities:
Get common file path
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x448c67
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x458ad0]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458ad0]
xor eax, esp
push eax
lea eax, [esp + 0x2b4]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x2bc], ebx
mov eax, dword [0x45cfb0]
push 0x2f
mov ebp, 0xf
push str.http:__test2.app111.com_JailBreak_DownLoadInfo_
lea ecx, [esp + 0x110]
mov dword [esp + 0x28], eax
mov dword [esp + 0x128], ebp
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
call fcn.004051d0
push ebx
lea ecx, [esp + 0x2c8]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x110]
mov byte [esp + 0x2c4], 1
call fcn.00404fd0
push 0x15
push str..html_appid987654321
mov eax, esi
call fcn.004050c0
push 0x1d
push str.version1.0midsoupingguopc
mov eax, esi
call fcn.004050c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
mov edx, esi
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00403f10
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x3f]
call sym..exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_HttpHelper::GetHttpRequest_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
mov byte [esp + 0x2bc], 2
cmp dword [esp + 0x13c], 0x10
mov eax, dword [esp + 0x128]
jae 0x4018f4
lea eax, [esp + 0x128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4018f7
sub eax, edx
mov ecx, str._10000
lea edi, [esp + 0x124]
mov esi, eax
call fcn.00406d80
test al, al
jne 0x401925
cmp dword [esp + 0x138], ebx
je 0x401925
cmp esi, 3
jge 0x401996
mov ebp, dword [0x45d014]
mov edi, dword [0x45cffc]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [esp + 0x2c8]
call fcn.00403c20
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x40194e
cmp eax, edi
je 0x401953
call fcn.004293c8
cmp dword [esi + 4], ebp
je 0x40198f
lea ecx, [esp + 0x2c4]
call fcn.004035f0
mov edx, dword [eax]
lea eax, [esp + 0x14]
push eax
lea ebx, [esp + 0x2c8]
mov dword [edx + 0x28], 1
call fcn.00403c20
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004038a0
mov ebp, 0xf
xor ebx, ebx
lea ecx, [esp + 0x21c]
push ecx
call fcn.00419b60
and dword [esp + 0x2c], 0xfffffe00
mov dword [esp + 0x30], ebx
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x12c]
push edx
lea ecx, [esp + 0x268]
mov byte [esp + 0x2c8], 5
call fcn.00403f10
mov eax, dword [esp + 0x260]
mov edi, 0x10
cmp dword [esp + 0x274], edi
jae 0x4019ea
lea eax, [esp + 0x260]
mov ecx, dword [esp + 0x270]
lea edx, [esp + 0x24]
push edx
add ecx, eax
push ecx
push eax
lea eax, [esp + 0x228]
push eax
call fcn.00419c30
test al, al
jne 0x401aa7
lea eax, [esp + 0x24]
mov byte [esp + 0x2bc], 3
call fcn.00417c30
lea edi, [esp + 0x21c]
call fcn.00402270
mov esi, 0x10
cmp dword [esp + 0x13c], esi
jb 0x401a4a
mov ecx, dword [esp + 0x128]
push ecx
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
cmp dword [esp + 0x120], esi
jb 0x401a78
mov edx, dword [esp + 0x10c]
push edx
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x120], ebp
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
cmp dword [esp + 0x2dc], esi
jb 0x40223f
mov eax, dword [esp + 0x2c8]
push eax
jmp 0x402237
push str.DownloadPath
lea ecx, [esp + 0x28]
push ecx
call fcn.00418110
push eax
lea ecx, [esp + 0x48]
call fcn.00417d90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x114]
mov byte [esp + 0x2c8], 6
call fcn.00403f10
mov byte [esp + 0x2bc], 5
cmp dword [esp + 0x5c], edi
jb 0x401af3
mov edx, dword [esp + 0x48]
push edx
call fcn.0041e1fe
add esp, 4
push 0x104
call fcn.0041e1f3
add esp, 4
mov esi, eax
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, esi
mov dword [esp + 0x190], ebp
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401b28
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x180]
call fcn.004051d0
push esi
call fcn.0041e1fe
add esp, 4
lea esi, [esp + 0x1e8]
call fcn.00413c10
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2cc]
push eax
mov ecx, esi
mov byte [esp + 0x2c8], 8
call fcn.00403f10
cmp dword [esp + 0x120], edi
jb 0x401b88
mov eax, dword [esp + 0x10c]
mov esi, eax
cmp eax, ebx
jne 0x401b8f
xor eax, eax
jmp 0x401b9d
lea esi, [esp + 0x10c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401b94
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x20c]
call fcn.00404e80
lea ecx, [esp + 0x178]
push ecx
mov edi, 0x44e220
lea esi, [esp + 0x144]
call fcn.00406de0
add esp, 4
mov byte [esp + 0x2bc], 9
cmp dword [esp + 0x158], 0x10
jb 0x401be8
mov edx, dword [esp + 0x144]
cmp edx, ebx
jne 0x401bef
xor eax, eax
jmp 0x401bfd
lea edx, [esp + 0x144]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401bf4
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x210]
call fcn.00404e80
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x130]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00403f10
lea ecx, [esp + 0x17c]
call fcn.004073b0
add esp, 0x20
mov byte [esp + 0x2bc], 0xa
cmp dword [esp + 0x174], 0x10
jb 0x401c5e
mov edx, dword [esp + 0x160]
cmp edx, ebx
jne 0x401c65
xor eax, eax
jmp 0x401c79
lea edx, [esp + 0x160]
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401c70
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x214]
call fcn.00404e80
push ebx
push 0x44e187
lea ecx, [esp + 0x218]
call fcn.00404e80
mov dword [esp + 0x214], ebx
mov dword [esp + 0x218], 1
mov dword [0x45cfc8], 0x402620
mov dword [esp + 0x1c8], ebp
mov dword [esp + 0x1c4], ebx
mov byte [esp + 0x1b4], bl
mov dword [esp + 0x1e4], ebp
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2cc]
push eax
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x2c8], 0xb
call fcn.00403f10
lea ecx, [esp + 0x15c]
push ecx
lea edx, [esp + 0x144]
push edx
lea edi, [esp + 0x19c]
call fcn.00406e90
add esp, 8
push 0xffffffffffffffff
push ebx
mov eax, edi
push eax
lea ecx, [esp + 0x1d8]
mov byte [esp + 0x2c8], 0xc
call fcn.00403f10
lea ecx, [esp + 0x1b0]
push ecx
lea edx, [esp + 0xb8]
push edx
mov edi, ecx
call fcn.00403e00
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
mov byte [esp + 0x2c0], 0xd
call fcn.00406f40
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x2c4], 0xe
call fcn.00403ca0
lea esi, [esp + 0x60]
call fcn.00402380
lea esi, [esp + 0xb4]
mov byte [esp + 0x2bc], 0xc
call fcn.00402380
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1f0]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00403f10
call fcn.004078f0
add esp, 0x1c
cmp eax, ebx
je 0x401fbc
sub esp, 0x38
mov eax, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.0040f840
call fcn.00402b60
mov ebp, dword [0x45d014]
mov edi, dword [0x45cffc]
lea ecx, [esp + 0x38]
push ecx
lea ebx, [esp + 0x1b4]
call fcn.00403c20
mov esi, eax
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x401e07
cmp eax, edi
je 0x401e0c
call fcn.004293c8
cmp dword [esi + 4], ebp
je 0x401e4a
lea ecx, [esp + 0x1b0]
call fcn.004035f0
mov edx, dword [eax]
lea eax, [esp + 0x38]
push eax
lea ebx, [esp + 0x1b4]
mov dword [edx + 0x28], 1
call fcn.00403c20
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004038a0
xor ebx, ebx
mov ebp, 0x10
cmp dword [esp + 0x1ac], ebp
jb 0x401e68
mov ecx, dword [esp + 0x198]
push ecx
call fcn.0041e1fe
add esp, 4
mov edi, 0xf
lea esi, [esp + 0x1b0]
mov dword [esp + 0x1ac], edi
mov dword [esp + 0x1a8], ebx
mov byte [esp + 0x198], bl
call fcn.0040c610
cmp dword [esp + 0x174], ebp
jb 0x401ea7
mov edx, dword [esp + 0x160]
push edx
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x174], edi
mov dword [esp + 0x170], ebx
mov byte [esp + 0x160], bl
cmp dword [esp + 0x158], ebp
jb 0x401ed5
mov eax, dword [esp + 0x144]
push eax
call fcn.0041e1fe
add esp, 4
lea esi, [esp + 0x1e8]
mov dword [esp + 0x158], edi
mov dword [esp + 0x154], ebx
mov byte [esp + 0x144], bl
call fcn.004022e0
cmp dword [esp + 0x190], ebp
jb 0x401f0f
mov ecx, dword [esp + 0x17c]
push ecx
call fcn.0041e1fe
add esp, 4
lea eax, [esp + 0x24]
mov dword [esp + 0x190], edi
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], bl
mov byte [esp + 0x2bc], 3
call fcn.00417c30
lea edi, [esp + 0x21c]
call fcn.00402270
cmp dword [esp + 0x13c], ebp
jb 0x401f5a
mov edx, dword [esp + 0x128]
push edx
call fcn.0041e1fe
add esp, 4
mov esi, 0xf
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
cmp dword [esp + 0x120], ebp
jb 0x401f8d
mov eax, dword [esp + 0x10c]
push eax
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
cmp dword [esp + 0x2dc], ebp
jb 0x40223f
mov ecx, dword [esp + 0x2c8]
push ecx
jmp 0x402237
lea edx, [esp + 0x14]
push edx
sub esp, 0x34
mov eax, esp
mov dword [esp + 0x4c], esp
push eax
lea edi, [esp + 0x224]
call fcn.004023f0
mov ecx, dword [esp + 0x58]
call sym..exe_public:_enum_EnumOperHTTP___thiscall_DownloadHelper::fnMyDownload_class_CThreadInfo__unsigned_long_int__
sub eax, ebx
je 0x4020a1
sub eax, 2
jne 0x4020d2
mov ebp, dword [0x45d014]
mov edi, dword [0x45cffc]
lea ecx, [esp + 0x38]
push ecx
lea ebx, [esp + 0x2c8]
call fcn.00403c20
mov esi, eax
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x40201c
cmp eax, edi
je 0x402021
call fcn.004293c8
cmp dword [esi + 4], ebp
je 0x40203b
lea ecx, [esp + 0x2c4]
call fcn.004035f0
mov edx, dword [eax]
mov dword [edx + 0x28], 1
push 0x44e224
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x38
call fcn.0041e1c4
add esp, 4
cmp eax, ebx
je 0x40207a
mov ecx, 0xf
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
mov dword [eax + 0x34], ecx
mov dword [eax + 0x30], ebx
mov byte [eax + 0x20], bl
mov esi, eax
jmp 0x40207c
xor esi, esi
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2cc]
push eax
mov ecx, esi
call fcn.00403f10
mov ecx, dword [esp + 0x20]
push 1
push esi
call fcn.00402570
xor ebx, ebx
lea ebp, [ebx + 0xf]
jmp 0x4020d2
mov eax, dword [0x45cfb4]
cmp dword [eax + 0x1ac], 1
jne 0x4020d2
cmp byte [eax + 0x1b1], bl
je 0x4020d2
sub esp, 0x38
mov ecx, esp
mov dword [esp + 0x4c], esp
push ecx
lea edi, [esp + 0x1ec]
call fcn.0040f840
call fcn.00402b60
cmp dword [esp + 0x1ac], 0x10
jb 0x4020ec
mov edx, dword [esp + 0x198]
push edx
call fcn.0041e1fe
add esp, 4
lea esi, [esp + 0x1b0]
mov dword [esp + 0x1ac], ebp
mov dword [esp + 0x1a8], ebx
mov byte [esp + 0x198], bl
call fcn.0040c610
mov edi, 0x10
cmp dword [esp + 0x174], edi
jb 0x40212b
mov eax, dword [esp + 0x160]
push eax
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x174], ebp
mov dword [esp + 0x170], ebx
mov byte [esp + 0x160], bl
cmp dword [esp + 0x158], edi
jb 0x402159
mov ecx, dword [esp + 0x144]
push ecx
call fcn.0041e1fe
add esp, 4
lea esi, [esp + 0x1e8]
mov dword [esp + 0x158], ebp
mov dword [esp + 0x154], ebx
mov byte [esp + 0x144], bl
call fcn.004022e0
cmp dword [esp + 0x190], edi
jb 0x402193
mov edx, dword [esp + 0x17c]
push edx
call fcn.0041e1fe
add esp, 4
lea eax, [esp + 0x24]
mov dword [esp + 0x190], ebp
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], bl
mov byte [esp + 0x2bc], 3
call fcn.00417c30
lea edi, [esp + 0x21c]
call fcn.00402270
mov esi, 0x10
cmp dword [esp + 0x13c], esi
jb 0x4021e3
mov eax, dword [esp + 0x128]
push eax
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
cmp dword [esp + 0x120], esi
jb 0x402211
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x120], ebp
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
cmp dword [esp + 0x2dc], esi
jb 0x40223f
mov edx, dword [esp + 0x2c8]
push edx
call fcn.0041e1fe
add esp, 4
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00428e93
add esp, 0x2ac
ret 0x1c