Function at 0x479c90
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7bea
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3a8
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x360], 0
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x15
push str._byTorrent_resume.dat
lea ecx, [ebp - 0x3a4]
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x390], 0xf
mov byte [ebp - 0x3a4], 0
call fcn.00407e90
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x479d30
sub ecx, edx
lea eax, [ebp - 0x138]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x3a4]
call fcn.00453b70
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x338], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x328], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x390]
cmp edx, 0x10
jb 0x479dc7
mov ecx, dword [ebp - 0x3a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x479dbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b1a4
push edx
push ecx
call fcn.004ad677
add esp, 8
push 0xb0
lea eax, [ebp - 0x320]
mov dword [ebp - 0x394], 0
push 0
push eax
mov dword [ebp - 0x390], 0xf
mov byte [ebp - 0x3a4], 0
call fcn.004af970
cmp dword [ebp - 0x324], 0x10
lea esi, [ebp - 0x338]
mov dword [ebp - 0x320], 0x4fc970
cmovae esi, dword [ebp - 0x338]
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, 3
mov byte [ebp - 4], 3
add esp, 4
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x360], eax
lea ecx, [ebp - 0x320]
lea eax, [ebp - 0x31c]
push eax
call fcn.0046d710
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x320]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x320]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x324], eax
lea ecx, [ebp - 0x31c]
call fcn.0044f8f0
push 0
push 0
lea ecx, [ebp - 0x31c]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.0044d590
push ecx
push 0x22
push esi
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 5
call fcn.0044f750
test eax, eax
jne 0x479edb
mov eax, dword [ebp - 0x320]
lea ecx, [ebp - 0x320]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402770
mov eax, dword [ebp - 0x320]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x320]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x324], eax
mov ecx, dword [ebp - 0x2d0]
test ecx, ecx
je 0x47b0bd
xor eax, eax
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], al
mov byte [ebp - 4], 8
mov byte [ebp - 0x33a], al
mov eax, dword [0x5108a8]
mov edi, dword [eax]
mov dword [ebp - 0x360], edi
cmp edi, eax
je 0x47afe5
cmp byte [edi + 0xe], 0
jne 0x47afcf
cmp byte [edi + 0xc], 0
jne 0x479f78
cmp byte [edi + 0xd], 0
je 0x479f88
mov edx, str.7:startedi1e
lea ecx, [ebp - 0x320]
call fcn.00450fc0
lea eax, [edi + 0xe0]
push eax
lea edx, [edi + 0xf8]
lea ecx, [ebp - 0x38c]
call fcn.004506a0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x270]
cmp eax, esi
je 0x479fe0
mov ecx, eax
call fcn.00407cb0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x270], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x260], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x38c]
call fcn.00407cb0
cmp dword [ebp - 0x25c], 8
lea ecx, [ebp - 0x240]
push 0
push 0
push 0x104
push ecx
push 0xffffffffffffffff
lea eax, [ebp - 0x270]
cmovae eax, dword [ebp - 0x270]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
cmp esi, 2
jge 0x47a045
cmp byte [0x5102e0], 0
je 0x47a045
push 0
push str.test__symbols__save_resume_dat__
lea eax, [ebp - 0x240]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esi - 1]
mov edx, str.4:path
push eax
push ecx
lea ecx, [ebp - 0x320]
call fcn.00450fc0
add esp, 4
mov ecx, eax
call fcn.00448f10
mov edx, 0x4f9948
mov ecx, eax
call fcn.00450fc0
lea edx, [ebp - 0x240]
mov ecx, eax
call fcn.00450fc0
mov esi, dword [edi + 0x3d8]
mov ecx, dword [edi + 0x3dc]
cmp esi, ecx
je 0x47a22b
mov eax, dword [esi + 0x18]
cmp eax, 0xffffffff
je 0x47a0a7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0xffffffff
mov eax, dword [esi + 0x3c]
cmp eax, 3
ja case.default.0x47a0b3
jmp dword [eax*4 + 0x47b1b4]
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x244]
cmp ecx, edx
jae 0x47a0eb
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
mov word [eax + ecx], 0
jmp 0x47a106
push 0
mov byte [ebp - 0x368], 0
push dword [ebp - 0x368]
push ecx
lea ecx, [ebp - 0x258]
call fcn.00409360
cmp byte [ebp - 0x33a], 0
jne 0x47a217
mov byte [ebp - 0x33a], 1
jmp 0x47a217
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x244]
cmp ecx, edx
jae 0x47a150
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
mov word [eax + ecx], 1
jmp 0x47a106
push 1
mov byte [ebp - 0x36c], 0
push dword [ebp - 0x36c]
jmp 0x47a0fa
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x244]
cmp ecx, edx
jae 0x47a195
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
mov word [eax + ecx], 2
jmp 0x47a217
push 2
mov byte [ebp - 0x370], 0
push dword [ebp - 0x370]
push ecx
lea ecx, [ebp - 0x258]
call fcn.00409360
jmp 0x47a217
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x244]
cmp ecx, edx
jae 0x47a1e6
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
mov word [eax + ecx], 3
jmp 0x47a106
push 3
mov byte [ebp - 0x374], 0
push dword [ebp - 0x374]
jmp 0x47a0fa
cmp byte [0x5102e0], 0
je 0x47a217
push 0
push 0x4f9970
push 0x4f9990
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [edi + 0x3dc]
add esi, 0x148
cmp esi, ecx
jne 0x47a091
cmp byte [ebp - 0x33a], 0
je 0x47a29e
sub ecx, dword [edi + 0x3d8]
mov eax, 0x63e7063f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, str.4:prio
push eax
push ecx
lea ecx, [ebp - 0x320]
call fcn.00450fc0
add esp, 4
mov ecx, eax
call fcn.00448d70
mov edx, 0x4f998c
mov ecx, eax
call fcn.00450fc0
cmp dword [ebp - 0x244], 0x10
lea edx, [ebp - 0x258]
push dword [ebp - 0x248]
cmovae edx, dword [ebp - 0x258]
mov ecx, eax
call fcn.0046e150
add esp, 4
mov byte [ebp - 0x33a], 0
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
mov dword [ebp - 0x248], 0
lea ecx, [ebp - 0x320]
cmovae eax, dword [ebp - 0x258]
mov edx, str.7:addDatei
mov byte [eax], 0
push dword [edi + 0x44]
push dword [edi + 0x40]
call fcn.00450fc0
mov ecx, eax
call fcn.0046d3a0
mov edx, 0x4f99a4
mov ecx, eax
call fcn.00450fc0
push dword [edi + 0x2c]
mov edx, str.12:time_elapsedi
lea ecx, [ebp - 0x320]
push dword [edi + 0x28]
call fcn.00450fc0
mov ecx, eax
call fcn.0046d3a0
mov edx, 0x4f99b0
mov ecx, eax
call fcn.00450fc0
push dword [edi + 0x504]
mov edx, str.8:uploadedi
lea ecx, [ebp - 0x320]
push dword [edi + 0x500]
call fcn.00450fc0
mov ecx, eax
call fcn.00490f50
mov edx, 0x4f99c0
mov ecx, eax
call fcn.00450fc0
cmp byte [edi + 0x11], 0
je 0x47a36f
push dword [edi + 0x4c]
mov edx, str.11:completDatei
lea ecx, [ebp - 0x320]
push dword [edi + 0x48]
call fcn.00450fc0
mov ecx, eax
call fcn.0046d3a0
mov edx, 0x4f99d8
mov ecx, eax
call fcn.00450fc0
mov eax, dword [edi + 0x144]
test eax, eax
je 0x47a3a1
push eax
push ecx
mov edx, str.16:max_speed_uploadi
lea ecx, [ebp - 0x320]
call fcn.00450fc0
add esp, 4
mov ecx, eax
call fcn.00448d70
mov edx, 0x4f99e8
mov ecx, eax
call fcn.00450fc0
mov eax, dword [edi + 0x148]
test eax, eax
je 0x47a3d3
push eax
push ecx
mov edx, str.18:max_speed_downloadi
lea ecx, [ebp - 0x320]
call fcn.00450fc0
add esp, 4
mov ecx, eax
call fcn.00448d70
mov edx, 0x4f99fc
mov ecx, eax
call fcn.00450fc0
mov eax, dword [edi + 0x14c]
test eax, eax
je 0x47a405
push eax
push ecx
mov edx, str.9:max_slotsi
lea ecx, [ebp - 0x320]
call fcn.00450fc0
add esp, 4
mov ecx, eax
call fcn.00448d70
mov edx, 0x4f9a18
mov ecx, eax
call fcn.00450fc0
cmp byte [edi + 0x1a], 0
jne 0x47a41b
mov edx, str.3:pexi0e
lea ecx, [ebp - 0x320]
call fcn.00450fc0
cmp byte [edi + 0x19], 0
jne 0x47a431
mov edx, str.3:dhti0e
lea ecx, [ebp - 0x320]
call fcn.00450fc0
cmp dword [edi + 0x3e8], 0
je 0x47a4f8
mov edx, str.8:trackersl
lea ecx, [ebp - 0x320]
call fcn.00450fc0
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax]
cmp esi, eax
je 0x47a4e8
nop
cmp dword [esi + 0x60], 0x10
lea eax, [esi + 0x4c]
mov dword [ebp - 0x348], eax
jb 0x47a477
mov eax, dword [eax]
mov dword [ebp - 0x348], eax
push dword [esi + 0x5c]
lea ecx, [ebp - 0x320]
call fcn.00448d70
mov edx, 0x4f9a6c
mov ecx, eax
call fcn.00450fc0
mov edx, dword [ebp - 0x348]
mov ecx, eax
call fcn.00450fc0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x47a4c4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x47a4c0
cmp esi, dword [eax + 8]
jne 0x47a4c0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x47a4b0
mov esi, eax
jmp 0x47a4dc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x47a4dc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x47a4d0
cmp esi, dword [edi + 0x3e4]
jne 0x47a460
mov edx, 0x4f9a68
lea ecx, [ebp - 0x320]
call fcn.00450fc0
cmp byte [edi + 0x1b], 0
je 0x47a508
mov edx, str.6:magneti1e
jmp 0x47acf2
cmp dword [edi + 0x11c], 0
ja 0x47a521
cmp dword [edi + 0x118], 0x4000
jbe 0x47a847
xor ecx, ecx
lea eax, [edi + 0x3c4]
mov dword [ebp - 0x344], ecx
mov dword [ebp - 0x358], ecx
test eax, eax
je 0x47a541
mov ecx, dword [eax]
mov dword [ebp - 0x358], ecx
mov edx, dword [eax + 0xc]
mov esi, dword [eax]
mov dword [ebp - 0x34c], esi
mov eax, dword [edi + 0x3d4]
add eax, dword [edi + 0x3d0]
mov dword [ebp - 0x354], edx
cmp edx, eax
je 0x47a834
cmp ecx, esi
je 0x47a57c
test esi, esi
je 0x47a57c
mov eax, dword [esi]
test eax, eax
je 0x47a57c
mov eax, dword [eax]
mov dword [ebp - 0x358], eax
lea eax, [edx + 1]
mov dword [ebp - 0x340], eax
test esi, esi
jne 0x47a58d
xor eax, eax
jmp 0x47a58f
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov edx, dword [edi + 0x3b4]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax]
mov ecx, esi
shr esi, 5
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [edx + esi*4], eax
mov esi, dword [ebp - 0x34c]
jne 0x47a809
test esi, esi
jne 0x47a5c9
xor eax, eax
jmp 0x47a5cb
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x354]
mov edx, dword [eax + ecx*4]
test esi, esi
jne 0x47a5e3
xor eax, eax
jmp 0x47a5e5
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x354]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x1c]
cmp dword [edx + 0x20], eax
jne 0x47a809
test esi, esi
jne 0x47a609
xor eax, eax
jmp 0x47a60b
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x354]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x344]
mov esi, dword [eax]
mov dword [ebp - 0x348], esi
test ecx, ecx
jne 0x47a667
push dword [edi + 0x118]
call fcn.004b5cd0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x344], ecx
test ecx, ecx
jne 0x47a667
cmp byte [0x5102e0], al
je 0x47a667
push eax
push 0x4f9a70
push 0x4f9aa4
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x344]
mov eax, dword [edi + 0x120]
dec eax
cmp esi, eax
jne 0x47a685
mov eax, dword [edi + 0x118]
imul eax, esi
mov esi, dword [edi + 0x110]
sub esi, eax
jmp 0x47a68b
mov esi, dword [edi + 0x118]
push esi
mov edx, ecx
mov ecx, dword [ebp - 0x348]
push edi
call fcn.00479800
add esp, 8
test al, al
je 0x47a7e6
mov ecx, dword [ebp - 0x344]
lea eax, [ebp - 0x2c]
push eax
mov edx, esi
call fcn.00469ca0
mov eax, dword [edi + 0x3a8]
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x348]
add esp, 4
mov esi, 0xf
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x47a7cf
add ecx, 4
add edx, 4
sub esi, 4
jae 0x47a6d0
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x47a7cf
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x47a7cf
mov edx, dword [ebp - 0x348]
mov eax, edx
mov ecx, dword [edi + 0x3b4]
and edx, 0x1f
mov esi, dword [ebp - 0x34c]
shr eax, 5
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
bts eax, edx
xor edx, edx
mov dword [ecx], eax
test esi, esi
je 0x47a72f
mov eax, dword [esi]
test eax, eax
je 0x47a72f
mov edx, dword [eax]
sub esp, 0xc
xor eax, eax
mov ecx, esp
test edx, edx
je 0x47a748
mov esi, dword [edx]
test esi, esi
je 0x47a742
mov eax, dword [esi]
mov esi, dword [ebp - 0x34c]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test eax, eax
je 0x47a763
mov eax, dword [eax]
test eax, eax
je 0x47a763
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x340]
sub esp, 0xc
mov dword [ecx + 8], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
test edx, edx
je 0x47a78c
mov eax, dword [edx]
test eax, eax
je 0x47a78c
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x354]
mov dword [ecx + 8], eax
lea eax, [ebp - 0x3b0]
push eax
lea ecx, [edi + 0x3c4]
call fcn.0044c250
mov eax, dword [ebp - 0x3b0]
cmp dword [ebp - 0x358], eax
je 0x47a7c7
test eax, eax
je 0x47a7c7
mov eax, dword [eax]
test eax, eax
je 0x47a7c7
mov eax, dword [eax]
mov dword [ebp - 0x358], eax
mov edx, dword [ebp - 0x3a8]
jmp 0x47a80f
cmp byte [0x5102e0], 0
je 0x47a803
push 0
push 0x4f9a90
push str._sha1_hash
jmp 0x47a7fb
cmp byte [0x5102e0], 0
je 0x47a803
push 0
push 0x4f9ab8
push str._result_read
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [ebp - 0x34c]
mov edx, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x358]
cmp esi, ecx
je 0x47a54c
test ecx, ecx
je 0x47a54c
mov eax, dword [ecx]
test eax, eax
je 0x47a54c
jmp 0x47a544
mov eax, dword [ebp - 0x344]
test eax, eax
je 0x47a847
push eax
call fcn.004b5a1c
add esp, 4
mov eax, dword [edi + 0x120]
mov edx, str.8:bitField
add eax, 7
shr eax, 3
push eax
push ecx
lea ecx, [ebp - 0x320]
call fcn.00450fc0
add esp, 4
mov ecx, eax
call fcn.00448d70
mov edx, 0x4f9ad8
mov ecx, eax
call fcn.00450fc0
mov ecx, dword [edi + 0x3b4]
xor esi, esi
mov edx, dword [edi + 0x3c0]
mov dword [ebp - 0x340], ecx
test edx, edx
jns 0x47a8bb
mov eax, edx
neg eax
je 0x47a8bb
mov eax, edx
mov edx, dword [edi + 0x3b4]
not eax
mov dword [ebp - 0x344], edx
shr eax, 5
lea eax, [eax*4 + 4]
sub dword [ebp - 0x344], eax
jmp 0x47a8cf
mov eax, edx
mov edx, dword [edi + 0x3b4]
shr eax, 5
lea eax, [edx + eax*4]
mov dword [ebp - 0x344], eax
mov edx, dword [edi + 0x3c0]
mov eax, edx
and eax, 0x1f
cmp ecx, dword [ebp - 0x344]
jne 0x47a8ea
cmp esi, eax
je 0x47a9ef
xor al, al
mov byte [ebp - 0x339], al
xor eax, eax
mov dword [ebp - 0x348], eax
nop word [eax + eax]
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x340]
test dword [ecx], eax
mov cl, byte [ebp - 0x339]
setne al
add cl, cl
or cl, al
cmp esi, 0x1f
mov byte [ebp - 0x339], cl
mov ecx, dword [ebp - 0x340]
lea eax, [ecx + 4]
cmovae ecx, eax
lea eax, [esi + 1]
sbb esi, esi
mov dword [ebp - 0x340], ecx
and esi, eax
test edx, edx
jns 0x47a962
mov eax, edx
neg eax
je 0x47a962
mov ecx, dword [edi + 0x3b4]
mov eax, edx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub ecx, eax
jmp 0x47a970
mov ecx, dword [edi + 0x3b4]
mov eax, edx
shr eax, 5
lea ecx, [ecx + eax*4]
mov eax, edx
and eax, 0x1f
cmp dword [ebp - 0x340], ecx
jne 0x47a981
cmp esi, eax
je 0x47a9b5
mov eax, dword [ebp - 0x348]
inc eax
mov dword [ebp - 0x348], eax
cmp eax, 8
jl 0x47a900
mov al, byte [ebp - 0x339]
lea ecx, [ebp - 0x320]
mov dl, al
call fcn.00451270
mov ecx, dword [ebp - 0x340]
jmp 0x47a883
mov eax, dword [ebp - 0x348]
inc eax
cmp eax, 8
jge 0x47a997
mov ecx, 8
sub ecx, eax
mov al, byte [ebp - 0x339]
nop
add al, al
sub ecx, 1
jne 0x47a9d0
mov dl, al
lea ecx, [ebp - 0x320]
call fcn.00451270
mov ecx, dword [ebp - 0x340]
jmp 0x47a883
cmp dword [edi + 0x3d4], 0
je 0x47acfd
mov eax, dword [edi + 0x11c]
mov ecx, dword [edi + 0x118]
test eax, eax
jne 0x47aa1a
cmp ecx, 0x4000
jbe 0x47acfd
test eax, eax
ja 0x47aa2d
jb 0x47aa26
cmp ecx, 0x20000
jae 0x47aa2d
mov ecx, 1
jmp 0x47aa30
shr ecx, 0x11
mov edx, dword [edi + 0x3c4]
lea eax, [ecx + 4]
mov esi, dword [edi + 0x3d0]
mov dword [ebp - 0x358], ecx
mov dword [ebp - 0x35c], eax
mov byte [ebp - 0x34d], 0
mov dword [ebp - 0x34c], edx
mov eax, dword [edi + 0x3d4]
add eax, dword [edi + 0x3d0]
mov dword [ebp - 0x344], esi
cmp esi, eax
je 0x47ace4
test edx, edx
jne 0x47aa7a
xor eax, eax
jmp 0x47aa7c
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x20], 0
je 0x47acde
cmp byte [ebp - 0x34d], 0
jne 0x47aab2
mov edx, str.6:blocksl
mov byte [ebp - 0x34d], 1
lea ecx, [ebp - 0x320]
call fcn.00450fc0
mov edi, dword [ebp - 0x34c]
test edi, edi
jne 0x47aac0
xor eax, eax
jmp 0x47aac2
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
push dword [ebp - 0x35c]
and ecx, esi
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x320]
mov eax, dword [eax]
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x354], eax
call fcn.00448d70
mov edx, 0x4f9b08
mov ecx, eax
call fcn.00450fc0
mov dl, byte [ebp - 0x348]
mov ecx, eax
call fcn.00451270
mov dl, byte [ebp - 0x347]
mov ecx, eax
call fcn.00451270
mov dl, byte [ebp - 0x352]
mov ecx, eax
call fcn.00451270
mov dl, byte [ebp - 0x351]
mov ecx, eax
call fcn.00451270
xor eax, eax
mov dword [ebp - 0x354], eax
test edi, edi
je 0x47ab3b
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
xor esi, esi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x340], eax
test edi, edi
jne 0x47ab5a
xor eax, eax
jmp 0x47ab5c
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov edi, dword [ebp - 0x344]
dec ecx
mov eax, dword [eax + 4]
and ecx, edi
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x10]
test ecx, ecx
jns 0x47ab90
mov eax, ecx
neg eax
je 0x47ab90
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x47ab98
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
cmp dword [ebp - 0x340], edx
jne 0x47abab
cmp esi, ecx
je 0x47ac99
xor dl, dl
xor ecx, ecx
mov dword [ebp - 0x348], ecx
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x340]
test dword [ecx], eax
setne al
add dl, dl
or dl, al
cmp esi, 0x1f
lea eax, [ecx + 4]
mov byte [ebp - 0x339], dl
cmovae ecx, eax
lea eax, [esi + 1]
sbb esi, esi
mov dword [ebp - 0x340], ecx
and esi, eax
mov eax, dword [ebp - 0x34c]
test eax, eax
je 0x47abf5
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x10]
test ecx, ecx
jns 0x47ac23
mov eax, ecx
neg eax
je 0x47ac23
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x47ac2b
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
cmp dword [ebp - 0x340], edx
jne 0x47ac3a
cmp esi, ecx
je 0x47ac57
mov eax, dword [ebp - 0x348]
mov dl, byte [ebp - 0x339]
inc eax
mov dword [ebp - 0x348], eax
cmp eax, 8
jge 0x47ac77
jmp 0x47abb5
mov ecx, dword [ebp - 0x348]
mov dl, byte [ebp - 0x339]
inc ecx
cmp ecx, 8
jge 0x47ac77
mov eax, 8
sub eax, ecx
add dl, dl
sub eax, 1
jne 0x47ac70
lea ecx, [ebp - 0x320]
call fcn.00451270
inc dword [ebp - 0x354]
mov eax, dword [ebp - 0x340]
mov edi, dword [ebp - 0x34c]
jmp 0x47ab4c
mov eax, dword [ebp - 0x354]
mov ecx, dword [ebp - 0x358]
mov edi, dword [ebp - 0x360]
cmp eax, ecx
jge 0x47acd2
mov esi, ecx
sub esi, eax
test esi, esi
jle 0x47acd2
nop word [eax + eax]
xor dl, dl
lea ecx, [ebp - 0x320]
call fcn.00451270
sub esi, 1
jne 0x47acc0
mov edx, dword [ebp - 0x34c]
mov esi, dword [ebp - 0x344]
inc esi
jmp 0x47aa58
cmp byte [ebp - 0x34d], 0
je 0x47acfd
mov edx, 0x4f9b04
lea ecx, [ebp - 0x320]
call fcn.00450fc0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x47ad2c
push eax
push ecx
mov edx, str.5:errori
lea ecx, [ebp - 0x320]
call fcn.00450fc0
add esp, 4
mov ecx, eax
call fcn.00448f10
mov edx, 0x4f9b18
mov ecx, eax
call fcn.00450fc0
cmp byte [edi + 0x11], 0
jne 0x47afa4
cmp dword [edi + 0x43c], 0x32
lea ecx, [edi + 0x438]
jae 0x47adca
cmp dword [edi + 0x3fc], 0
je 0x47adca
mov eax, dword [edi + 0x3f8]
mov esi, dword [eax]
cmp esi, eax
je 0x47adca
nop
push dword [ebp - 0x35c]
lea eax, [esi + 0x10]
push eax
push ecx
lea eax, [ebp - 0x3b8]
push eax
call fcn.004545f0
cmp dword [edi + 0x43c], 0x32
je 0x47adca
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x47ada6
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x47ada2
cmp esi, dword [eax + 8]
jne 0x47ada2
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x47ad92
mov esi, eax
jmp 0x47adbc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x47adbc
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x47adb0
lea ecx, [edi + 0x438]
cmp esi, dword [edi + 0x3f8]
jne 0x47ad60
mov eax, dword [edi + 0x43c]
test eax, eax
je 0x47afa4
lea eax, [eax + eax*2]
add eax, eax
push eax
call fcn.004b5cd0
add esp, 4
mov dword [ebp - 0x344], eax
test eax, eax
je 0x47af87
mov edx, dword [edi + 0x438]
xor esi, esi
mov dword [ebp - 0x348], esi
mov ecx, dword [edx]
cmp ecx, edx
je 0x47ae72
mov edx, eax
nop word [eax + eax]
mov eax, dword [ecx + 0x14]
mov dword [esi + edx], eax
mov ax, word [ecx + 0x60]
mov word [esi + edx + 4], ax
add esi, 6
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x47ae48
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x47ae44
cmp ecx, dword [eax + 8]
jne 0x47ae44
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x47ae34
mov ecx, eax
jmp 0x47ae64
mov ecx, eax
mov edx, dword [ecx]
cmp byte [edx + 0xd], 0
jne 0x47ae5e
mov eax, dword [edx]
mov ecx, edx
mov edx, eax
cmp byte [eax + 0xd], 0
je 0x47ae52
mov edx, dword [ebp - 0x344]
cmp ecx, dword [edi + 0x438]
jne 0x47ae10
mov dword [ebp - 0x348], esi
test esi, esi
je 0x47af76
mov edx, esi
lea ecx, [ebp - 0x17]
jns 0x47ae91
neg edx
call fcn.00453fb0
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x47ae98
call fcn.00453fb0
mov ecx, eax
lea edx, [ebp - 0x17]
mov dword [ebp - 0x37c], 0
mov byte [ebp - 0x38c], 0
mov eax, 0xf
mov dword [ebp - 0x378], eax
cmp ecx, edx
je 0x47aed2
mov eax, edx
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x38c]
call fcn.00407e90
mov eax, dword [ebp - 0x378]
or dword [ebp - 0x364], 0xc
cmp eax, 0x10
mov byte [ebp - 4], 9
lea esi, [ebp - 0x38c]
mov edx, str.6:peers4
cmovae esi, dword [ebp - 0x38c]
lea ecx, [ebp - 0x320]
call fcn.00450fc0
mov edx, esi
mov ecx, eax
call fcn.00450fc0
mov edx, 0x4f9b28
mov ecx, eax
call fcn.00450fc0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x378]
cmp edx, 0x10
jb 0x47af50
mov ecx, dword [ebp - 0x38c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47af46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b1a4
push edx
push ecx
call fcn.004ad677
add esp, 8
mov eax, dword [ebp - 0x348]
lea ecx, [ebp - 0x320]
mov esi, dword [ebp - 0x344]
cdq
push edx
push eax
push esi
call fcn.0046d0b0
push esi
call fcn.004b5a1c
add esp, 4
jmp 0x47afa4
mov esi, dword [ebp - 0x344]
push esi
call fcn.004b5a1c
add esp, 4
jmp 0x47afa4
cmp byte [0x5102e0], 0
je 0x47afa4
push 0
push 0x4f9b44
push 0x4f9b2c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, str.4:info20:
lea ecx, [ebp - 0x320]
call fcn.00450fc0
push 0
push 0x14
lea eax, [edi + 0x38e]
push eax
lea ecx, [ebp - 0x320]
call fcn.0046d0b0
mov eax, dword [0x5108a8]
mov edi, dword [edi]
mov dword [ebp - 0x360], edi
cmp edi, eax
jne 0x479f62
mov ecx, dword [ebp - 0x2d0]
lea esi, [ebp - 0x31c]
test ecx, ecx
jne 0x47aff3
xor esi, esi
jmp 0x47b01a
lea ecx, [ebp - 0x31c]
call fcn.0044d4d0
push dword [ebp - 0x2d0]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.004b6218
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x31c]
call fcn.0044d590
test esi, esi
jne 0x47b057
mov eax, dword [ebp - 0x320]
lea ecx, [ebp - 0x320]
push esi
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402770
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x47b095
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47b08b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b1a9
push edx
push ecx
call fcn.004ad677
add esp, 8
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.00407cb0
jmp 0x47b0da
cmp byte [0x5102e0], 0
je 0x47b0da
push 0
push str.save_resume_dat__
push 0x4f9b90
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x320]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x320]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x324], eax
lea ecx, [ebp - 0x31c]
call fcn.00448470
mov eax, dword [ebp - 0x320]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x320]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x324], eax
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004a96eb
mov edx, dword [ebp - 0x324]
add esp, 4
cmp edx, 0x10
jb 0x47b186
mov ecx, dword [ebp - 0x338]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47b17c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b1ae
push edx
push ecx
call fcn.004ad677
add esp, 8
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.004ad19c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004b5c80
call fcn.004b5c80
call fcn.004b5c80
nop
mov edx, 0x1f0047a0
mov eax, dword [-1587478457]
inc edi
add byte [edx - 0x33ffb85f], dh
int3