Function at 0x41f260
Capabilities:
Access peb ldr_data
Get ntdll base address

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 0x4e9c59
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x538074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
mov ecx, edi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x144], eax
mov byte [eax], 0
call fcn.00406a40
lea ecx, [edi + 0x18]
call fcn.00406a40
lea ecx, [edi + 0x30]
call fcn.00406a40
lea ecx, [edi + 0x60]
call fcn.00406a40
lea ecx, [edi + 0xc8]
call fcn.00406a40
lea ecx, [edi + 0x48]
call fcn.00406a40
lea ecx, [edi + 0x80]
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
call fcn.00406a40
lea ecx, [edi + 0x98]
call fcn.00406a40
lea ecx, [edi + 0xb0]
call fcn.00406a40
mov ecx, esi
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
call fcn.00403170
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x41f33d
xor al, al
jmp 0x41fe92
lea ecx, [ebp - 0x138]
call fcn.00409c20
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x270]
push str.ZjM0NeVvwMDG98rwzxVsti80Aj5a.op
call fcn.00405f10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x41f378
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x138]
call fcn.00405f70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.00405ec0
lea ecx, [ebp - 0x120]
call fcn.00409c20
mov byte [ebp - 4], 3
lea eax, [ebp - 0x120]
push eax
push esi
lea ecx, [ebp - 0x138]
call fcn.00430b20
test al, al
jne 0x41f3c7
mov byte [ebp - 0x139], al
jmp 0x41fe6b
push 0x74
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.004c0fa0
add esp, 0xc
mov dword [ebp - 0xd8], 0
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x14c], eax
push 8
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
call fcn.004be511
add esp, 4
mov dword [ebp - 0xd8], eax
push eax
push 8
call fcn.00402080
lea ecx, [ebp - 0xd8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0xd8]
mov dword [eax], ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0xc4]
push 8
mov dword [ebp - 0x140], eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
call fcn.004be511
add esp, 0xc
mov dword [ebp - 0xc4], eax
push eax
push 8
call fcn.00402080
lea ecx, [ebp - 0xc4]
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax], ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb0]
call fcn.00409c20
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x98], xmm0
call fcn.00409c20
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x6c], 1
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], 0
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x120]
call fcn.00403170
mov esi, eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x14c], eax
cmp eax, 0x10
jb 0x41f56c
mov ecx, dword [esi]
mov esi, ecx
mov dword [ebp - 0x148], ecx
lea ecx, [ebp - 0xf0]
call fcn.00405f50
lea ecx, [ebp - 0xf0]
call fcn.00403170
lea ecx, [ebp - 0x139]
mov dword [ebp - 0x140], eax
push ecx
push eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [ebp - 0x139], 0
call fcn.00404bb0
mov eax, dword [ebp - 0x148]
add esp, 8
add eax, dword [ebp - 0x14c]
cmp esi, eax
je 0x41f5cc
sub eax, esi
lea ecx, [ebp - 0xf0]
push eax
push esi
call fcn.00405f70
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xb0]
call fcn.00403170
mov ecx, dword [ebp - 0x140]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [ecx]
movq xmm2, qword [ecx + 0x10]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
lea ecx, [ebp - 0xb0]
movups xmmword [eax], xmm1
movq qword [eax + 0x10], xmm2
call fcn.00405eb0
lea ecx, [ebp - 0xb0]
mov edx, eax
call fcn.00403260
push ecx
lea ecx, [ebp - 0x60]
add eax, edx
push ecx
push eax
push edx
lea ecx, [ebp - 0xd8]
call fcn.004ae8b0
mov byte [ebp - 0x139], al
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xf0]
call fcn.00405ec0
cmp byte [ebp - 0x139], 0
jne 0x41f657
mov byte [ebp - 0x139], 0
jmp 0x41fe50
lea ecx, [ebp - 0x108]
call fcn.00409c20
mov byte [ebp - 4], 0x13
xorps xmm0, xmm0
push 0x50e3a4
push str.has_data
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x248], xmm0
movups xmmword [ebp - 0x258], xmm0
call fcn.004acf30
push eax
lea ecx, [ebp - 0x258]
call fcn.004ac2b0
mov byte [ebp - 4], 0x14
cmp byte [ebp - 0x250], 4
jne 0x41f6ce
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x258]
call fcn.004ac6b0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x108]
push eax
call fcn.00422610
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2c]
call fcn.00405ec0
lea ecx, [ebp - 0x108]
call fcn.00403170
mov dword [ebp - 0x140], eax
mov esi, eax
cmp dword [eax + 0x14], 0x10
jb 0x41f6e9
mov esi, dword [eax]
push 0x50e3a8
call fcn.00404b70
mov edx, dword [ebp - 0x140]
add esp, 4
mov edx, dword [edx + 0x10]
cmp edx, eax
jne 0x41f757
mov ecx, 0x50e3a8
sub edx, 4
jb 0x41f721
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x41f726
add esi, 4
add ecx, 4
sub edx, 4
jae 0x41f710
cmp edx, 0xfffffffc
je 0x41f753
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x41f757
cmp edx, 0xfffffffd
je 0x41f753
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x41f757
cmp edx, 0xfffffffe
je 0x41f753
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x41f757
cmp edx, 0xffffffff
je 0x41f753
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
jne 0x41f757
mov al, 1
jmp 0x41f759
xor al, al
test al, al
jne 0x41f769
mov byte [ebp - 0x139], 1
jmp 0x41fe32
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x60]
xorps xmm0, xmm0
push 0x50e3b3
push str.version
mov byte [eax], 1
movups xmmword [ebp - 0x240], xmm0
movq qword [ebp - 0x230], xmm0
call fcn.004acf30
push eax
lea ecx, [ebp - 0x240]
call fcn.004ac2b0
mov byte [ebp - 4], 0x17
cmp byte [ebp - 0x238], 4
je 0x41f7bb
mov byte [ebp - 0x139], 0
jmp 0x41fe23
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x50e3b7
push 0x50e3b4
movups xmmword [ebp - 0x228], xmm0
movq qword [ebp - 0x218], xmm0
call fcn.004acf30
push eax
lea ecx, [ebp - 0x228]
call fcn.004ac2b0
mov byte [ebp - 4], 0x19
cmp byte [ebp - 0x220], 4
je 0x41f804
mov byte [ebp - 0x139], 0
jmp 0x41fe14
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x50e3c0
push str.file_md5
movups xmmword [ebp - 0x210], xmm0
movq qword [ebp - 0x200], xmm0
call fcn.004acf30
push eax
lea ecx, [ebp - 0x210]
call fcn.004ac2b0
mov byte [ebp - 4], 0x1b
cmp byte [ebp - 0x208], 4
je 0x41f84d
mov byte [ebp - 0x139], 0
jmp 0x41fe05
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x50e3cd
push str.file_size
movups xmmword [ebp - 0x1f8], xmm0
movq qword [ebp - 0x1e8], xmm0
call fcn.004acf30
push eax
lea ecx, [ebp - 0x1f8]
call fcn.004ac2b0
mov byte [ebp - 4], 0x1d
cmp byte [ebp - 0x1f0], 4
je 0x41f896
mov byte [ebp - 0x139], 0
jmp 0x41fdf6
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x50e3dd
push str.download_type
movups xmmword [ebp - 0x1e0], xmm0
movq qword [ebp - 0x1d0], xmm0
call fcn.004acf30
push eax
lea ecx, [ebp - 0x1e0]
call fcn.004ac2b0
mov byte [ebp - 4], 0x1f
cmp byte [ebp - 0x1d8], 4
je 0x41f8df
mov byte [ebp - 0x139], 0
jmp 0x41fde7
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x50e3e9
push str.file_type
movups xmmword [ebp - 0x1c8], xmm0
movq qword [ebp - 0x1b8], xmm0
call fcn.004acf30
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004ac2b0
mov byte [ebp - 4], 0x21
cmp byte [ebp - 0x1c0], 4
je 0x41f928
mov byte [ebp - 0x139], 0
jmp 0x41fdd8
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x50e3f5
push str.file_flag
movups xmmword [ebp - 0x1b0], xmm0
movq qword [ebp - 0x1a0], xmm0
call fcn.004acf30
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004ac2b0
mov byte [ebp - 4], 0x23
cmp byte [ebp - 0x1a8], 4
je 0x41f971
mov byte [ebp - 0x139], 0
jmp 0x41fdc9
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x50e401
push str.file_hash
movups xmmword [ebp - 0x198], xmm0
movq qword [ebp - 0x188], xmm0
call fcn.004acf30
push eax
lea ecx, [ebp - 0x198]
call fcn.004ac2b0
mov byte [ebp - 4], 0x25
xorps xmm0, xmm0
push 0x50e40d
push str.user_data
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x170], xmm0
movups xmmword [ebp - 0x180], xmm0
call fcn.004acf30
push eax
lea ecx, [ebp - 0x180]
call fcn.004ac2b0
mov byte [ebp - 4], 0x26
xorps xmm0, xmm0
push 0x50e41b
push str.limit_speed
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x158], xmm0
movups xmmword [ebp - 0x168], xmm0
call fcn.004acf30
push eax
lea ecx, [ebp - 0x168]
call fcn.004ac2b0
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x240]
call fcn.004ac6b0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x44]
call fcn.00403170
cmp dword [eax + 0x10], 0
lea esi, [eax + 0x10]
je 0x41fa46
push edi
lea ecx, [ebp - 0x44]
call fcn.00405eb0
mov edx, dword [esi]
mov ecx, eax
call fcn.004832f0
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x228]
call fcn.004ac6b0
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x44]
push eax
call fcn.00422610
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405ec0
cmp dword [esi], 0
je 0x41fadf
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405eb0
mov edx, dword [esi]
mov ecx, eax
call fcn.004832f0
add esp, 4
lea ecx, [edi + 0x18]
push 0xffffffffffffffff
push 0x2f
call fcn.004225a0
mov dword [ebp - 0x144], eax
cmp eax, 0xffffffff
je 0x41fadf
lea ecx, [edi + 0x18]
call fcn.00403260
mov edx, dword [ebp - 0x144]
cmp edx, eax
jae 0x41fadf
push 0xffffffffffffffff
lea eax, [edx + 1]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x18]
call fcn.00409b50
mov byte [ebp - 4], 0x2a
lea ecx, [edi + 0x30]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00402fc0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x210]
call fcn.004ac6b0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x44]
push eax
call fcn.00422610
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405ec0
cmp dword [esi], 0
je 0x41fb24
lea eax, [edi + 0x60]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405eb0
mov edx, dword [esi]
mov ecx, eax
call fcn.004832f0
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.004ac6b0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x44]
push eax
call fcn.00422610
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405ec0
cmp dword [esi], 0
je 0x41fb98
lea ecx, [ebp - 0x2c]
call fcn.00403060
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405eb0
mov edx, dword [esi]
mov ecx, eax
call fcn.004832f0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00402f50
xor edx, edx
mov ecx, eax
call fcn.00474960
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], edx
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00402fc0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.004ac6b0
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x44]
push eax
call fcn.00422610
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405ec0
cmp dword [esi], 0
je 0x41fbdd
lea eax, [edi + 0x48]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405eb0
mov edx, dword [esi]
mov ecx, eax
call fcn.004832f0
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004ac6b0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x44]
push eax
call fcn.00422610
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405ec0
cmp dword [esi], 0
je 0x41fc25
lea eax, [edi + 0x80]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405eb0
mov edx, dword [esi]
mov ecx, eax
call fcn.004832f0
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004ac6b0
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x44]
push eax
call fcn.00422610
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405ec0
cmp dword [esi], 0
je 0x41fc6d
lea eax, [edi + 0x98]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405eb0
mov edx, dword [esi]
mov ecx, eax
call fcn.004832f0
add esp, 4
cmp byte [ebp - 0x178], 4
jne 0x41fcb9
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x180]
call fcn.004ac6b0
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x44]
push eax
call fcn.00422610
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405ec0
lea eax, [edi + 0xb0]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405eb0
mov edx, dword [esi]
mov ecx, eax
call fcn.004832f0
add esp, 4
cmp byte [ebp - 0x190], 4
jne 0x41fd05
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x198]
call fcn.004ac6b0
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x44]
push eax
call fcn.00422610
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405ec0
lea eax, [edi + 0xc8]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405eb0
mov edx, dword [esi]
mov ecx, eax
call fcn.004832f0
add esp, 4
cmp byte [ebp - 0x160], 4
jne 0x41fd89
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x168]
call fcn.004ac6b0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x44]
push eax
call fcn.00422610
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x288]
call fcn.00405ec0
lea ecx, [ebp - 0x2c]
call fcn.00403060
mov byte [ebp - 4], 0x34
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405eb0
mov edx, dword [esi]
mov ecx, eax
call fcn.004832f0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00402f50
xor edx, edx
mov ecx, eax
call fcn.00474960
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], edx
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00402fc0
mov byte [ebp - 0x139], 1
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x44]
call fcn.00405ec0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x168]
call fcn.004ac450
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x180]
call fcn.004ac450
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x198]
call fcn.004ac450
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x1b0]
call fcn.004ac450
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x1c8]
call fcn.004ac450
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1e0]
call fcn.004ac450
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x1f8]
call fcn.004ac450
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x210]
call fcn.004ac450
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x228]
call fcn.004ac450
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x240]
call fcn.004ac450
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x258]
call fcn.004ac450
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x108]
call fcn.00405ec0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x60]
call fcn.004ac450
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd8]
call fcn.0041ff10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00405ec0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00405ec0
mov al, byte [ebp - 0x139]
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.004be500
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc