Function at 0x41e490
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 0x4e4619
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x52f068]
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.00406300
lea ecx, [edi + 0x18]
call fcn.00406300
lea ecx, [edi + 0x30]
call fcn.00406300
lea ecx, [edi + 0x60]
call fcn.00406300
lea ecx, [edi + 0xc8]
call fcn.00406300
lea ecx, [edi + 0x48]
call fcn.00406300
lea ecx, [edi + 0x80]
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
call fcn.00406300
lea ecx, [edi + 0x98]
call fcn.00406300
lea ecx, [edi + 0xb0]
call fcn.00406300
mov ecx, esi
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
call fcn.00402870
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x41e56d
xor al, al
jmp 0x41f0c2
lea ecx, [ebp - 0x138]
call fcn.00409650
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x270]
push str.ZjM0NeVvwMDG98rwzxVsti80Aj5a.op
call fcn.00405670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
call fcn.00402870
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x41e5a8
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x138]
call fcn.004056d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.00405620
lea ecx, [ebp - 0x120]
call fcn.00409650
mov byte [ebp - 4], 3
lea eax, [ebp - 0x120]
push eax
push esi
lea ecx, [ebp - 0x138]
call fcn.0042fd40
test al, al
jne 0x41e5f7
mov byte [ebp - 0x139], al
jmp 0x41f09b
push 0x74
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.004bbb00
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.004b906a
add esp, 4
mov dword [ebp - 0xd8], eax
push eax
push 8
call fcn.004020b0
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.004b906a
add esp, 0xc
mov dword [ebp - 0xc4], eax
push eax
push 8
call fcn.004020b0
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.00409650
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x98], xmm0
call fcn.00409650
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.00402870
mov esi, eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x14c], eax
cmp eax, 0x10
jb 0x41e79c
mov ecx, dword [esi]
mov esi, ecx
mov dword [ebp - 0x148], ecx
lea ecx, [ebp - 0xf0]
call fcn.004056b0
lea ecx, [ebp - 0xf0]
call fcn.00402870
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.00404220
mov eax, dword [ebp - 0x148]
add esp, 8
add eax, dword [ebp - 0x14c]
cmp esi, eax
je 0x41e7fc
sub eax, esi
lea ecx, [ebp - 0xf0]
push eax
push esi
call fcn.004056d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xb0]
call fcn.00402870
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.00405610
lea ecx, [ebp - 0xb0]
mov edx, eax
call fcn.00404030
push ecx
lea ecx, [ebp - 0x60]
add eax, edx
push ecx
push eax
push edx
lea ecx, [ebp - 0xd8]
call fcn.004a4470
mov byte [ebp - 0x139], al
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xf0]
call fcn.00405620
cmp byte [ebp - 0x139], 0
jne 0x41e887
mov byte [ebp - 0x139], 0
jmp 0x41f080
lea ecx, [ebp - 0x108]
call fcn.00409650
mov byte [ebp - 4], 0x13
xorps xmm0, xmm0
push 0x508794
push str.has_data
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x248], xmm0
movups xmmword [ebp - 0x258], xmm0
call fcn.004a2af0
push eax
lea ecx, [ebp - 0x258]
call fcn.004a1e70
mov byte [ebp - 4], 0x14
cmp byte [ebp - 0x250], 4
jne 0x41e8fe
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x258]
call fcn.004a2270
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x108]
push eax
call fcn.00421840
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2c]
call fcn.00405620
lea ecx, [ebp - 0x108]
call fcn.00402870
mov dword [ebp - 0x140], eax
mov esi, eax
cmp dword [eax + 0x14], 0x10
jb 0x41e919
mov esi, dword [eax]
push 0x508798
call fcn.004041e0
mov edx, dword [ebp - 0x140]
add esp, 4
mov edx, dword [edx + 0x10]
cmp edx, eax
jne 0x41e987
mov ecx, 0x508798
sub edx, 4
jb 0x41e951
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x41e956
add esi, 4
add ecx, 4
sub edx, 4
jae 0x41e940
cmp edx, 0xfffffffc
je 0x41e983
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x41e987
cmp edx, 0xfffffffd
je 0x41e983
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x41e987
cmp edx, 0xfffffffe
je 0x41e983
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x41e987
cmp edx, 0xffffffff
je 0x41e983
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
jne 0x41e987
mov al, 1
jmp 0x41e989
xor al, al
test al, al
jne 0x41e999
mov byte [ebp - 0x139], 1
jmp 0x41f062
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x60]
xorps xmm0, xmm0
push 0x5087a3
push str.version
mov byte [eax], 1
movups xmmword [ebp - 0x240], xmm0
movq qword [ebp - 0x230], xmm0
call fcn.004a2af0
push eax
lea ecx, [ebp - 0x240]
call fcn.004a1e70
mov byte [ebp - 4], 0x17
cmp byte [ebp - 0x238], 4
je 0x41e9eb
mov byte [ebp - 0x139], 0
jmp 0x41f053
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x5087a7
push 0x5087a4
movups xmmword [ebp - 0x228], xmm0
movq qword [ebp - 0x218], xmm0
call fcn.004a2af0
push eax
lea ecx, [ebp - 0x228]
call fcn.004a1e70
mov byte [ebp - 4], 0x19
cmp byte [ebp - 0x220], 4
je 0x41ea34
mov byte [ebp - 0x139], 0
jmp 0x41f044
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x5087b0
push str.file_md5
movups xmmword [ebp - 0x210], xmm0
movq qword [ebp - 0x200], xmm0
call fcn.004a2af0
push eax
lea ecx, [ebp - 0x210]
call fcn.004a1e70
mov byte [ebp - 4], 0x1b
cmp byte [ebp - 0x208], 4
je 0x41ea7d
mov byte [ebp - 0x139], 0
jmp 0x41f035
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x5087bd
push str.file_size
movups xmmword [ebp - 0x1f8], xmm0
movq qword [ebp - 0x1e8], xmm0
call fcn.004a2af0
push eax
lea ecx, [ebp - 0x1f8]
call fcn.004a1e70
mov byte [ebp - 4], 0x1d
cmp byte [ebp - 0x1f0], 4
je 0x41eac6
mov byte [ebp - 0x139], 0
jmp 0x41f026
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x5087cd
push str.download_type
movups xmmword [ebp - 0x1e0], xmm0
movq qword [ebp - 0x1d0], xmm0
call fcn.004a2af0
push eax
lea ecx, [ebp - 0x1e0]
call fcn.004a1e70
mov byte [ebp - 4], 0x1f
cmp byte [ebp - 0x1d8], 4
je 0x41eb0f
mov byte [ebp - 0x139], 0
jmp 0x41f017
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x5087d9
push str.file_type
movups xmmword [ebp - 0x1c8], xmm0
movq qword [ebp - 0x1b8], xmm0
call fcn.004a2af0
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004a1e70
mov byte [ebp - 4], 0x21
cmp byte [ebp - 0x1c0], 4
je 0x41eb58
mov byte [ebp - 0x139], 0
jmp 0x41f008
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x5087e5
push str.file_flag
movups xmmword [ebp - 0x1b0], xmm0
movq qword [ebp - 0x1a0], xmm0
call fcn.004a2af0
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004a1e70
mov byte [ebp - 4], 0x23
cmp byte [ebp - 0x1a8], 4
je 0x41eba1
mov byte [ebp - 0x139], 0
jmp 0x41eff9
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push 0x5087f1
push str.file_hash
movups xmmword [ebp - 0x198], xmm0
movq qword [ebp - 0x188], xmm0
call fcn.004a2af0
push eax
lea ecx, [ebp - 0x198]
call fcn.004a1e70
mov byte [ebp - 4], 0x25
xorps xmm0, xmm0
push 0x5087fd
push str.user_data
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x170], xmm0
movups xmmword [ebp - 0x180], xmm0
call fcn.004a2af0
push eax
lea ecx, [ebp - 0x180]
call fcn.004a1e70
mov byte [ebp - 4], 0x26
xorps xmm0, xmm0
push 0x50880b
push str.limit_speed
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x158], xmm0
movups xmmword [ebp - 0x168], xmm0
call fcn.004a2af0
push eax
lea ecx, [ebp - 0x168]
call fcn.004a1e70
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x240]
call fcn.004a2270
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x44]
call fcn.00402870
cmp dword [eax + 0x10], 0
lea esi, [eax + 0x10]
je 0x41ec76
push edi
lea ecx, [ebp - 0x44]
call fcn.00405610
mov edx, dword [esi]
mov ecx, eax
call fcn.004787e0
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x228]
call fcn.004a2270
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x44]
push eax
call fcn.00421840
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405620
cmp dword [esi], 0
je 0x41ed0f
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405610
mov edx, dword [esi]
mov ecx, eax
call fcn.004787e0
add esp, 4
lea ecx, [edi + 0x18]
push 0xffffffffffffffff
push 0x2f
call fcn.004217d0
mov dword [ebp - 0x144], eax
cmp eax, 0xffffffff
je 0x41ed0f
lea ecx, [edi + 0x18]
call fcn.00404030
mov edx, dword [ebp - 0x144]
cmp edx, eax
jae 0x41ed0f
push 0xffffffffffffffff
lea eax, [edx + 1]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x18]
call fcn.00409570
mov byte [ebp - 4], 0x2a
lea ecx, [edi + 0x30]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.004027f0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x210]
call fcn.004a2270
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x44]
push eax
call fcn.00421840
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405620
cmp dword [esi], 0
je 0x41ed54
lea eax, [edi + 0x60]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405610
mov edx, dword [esi]
mov ecx, eax
call fcn.004787e0
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.004a2270
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x44]
push eax
call fcn.00421840
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405620
cmp dword [esi], 0
je 0x41edc8
lea ecx, [ebp - 0x2c]
call fcn.00402850
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405610
mov edx, dword [esi]
mov ecx, eax
call fcn.004787e0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.004027b0
xor edx, edx
mov ecx, eax
call fcn.0046a480
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], edx
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.004027f0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.004a2270
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x44]
push eax
call fcn.00421840
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405620
cmp dword [esi], 0
je 0x41ee0d
lea eax, [edi + 0x48]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405610
mov edx, dword [esi]
mov ecx, eax
call fcn.004787e0
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004a2270
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x44]
push eax
call fcn.00421840
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405620
cmp dword [esi], 0
je 0x41ee55
lea eax, [edi + 0x80]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405610
mov edx, dword [esi]
mov ecx, eax
call fcn.004787e0
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004a2270
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x44]
push eax
call fcn.00421840
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405620
cmp dword [esi], 0
je 0x41ee9d
lea eax, [edi + 0x98]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405610
mov edx, dword [esi]
mov ecx, eax
call fcn.004787e0
add esp, 4
cmp byte [ebp - 0x178], 4
jne 0x41eee9
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x180]
call fcn.004a2270
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x44]
push eax
call fcn.00421840
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405620
lea eax, [edi + 0xb0]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405610
mov edx, dword [esi]
mov ecx, eax
call fcn.004787e0
add esp, 4
cmp byte [ebp - 0x190], 4
jne 0x41ef35
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x198]
call fcn.004a2270
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x44]
push eax
call fcn.00421840
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.00405620
lea eax, [edi + 0xc8]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405610
mov edx, dword [esi]
mov ecx, eax
call fcn.004787e0
add esp, 4
cmp byte [ebp - 0x160], 4
jne 0x41efb9
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x168]
call fcn.004a2270
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x44]
push eax
call fcn.00421840
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x288]
call fcn.00405620
lea ecx, [ebp - 0x2c]
call fcn.00402850
mov byte [ebp - 4], 0x34
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405610
mov edx, dword [esi]
mov ecx, eax
call fcn.004787e0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.004027b0
xor edx, edx
mov ecx, eax
call fcn.0046a480
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], edx
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2c]
call fcn.004027f0
mov byte [ebp - 0x139], 1
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x44]
call fcn.00405620
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x168]
call fcn.004a2010
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x180]
call fcn.004a2010
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x198]
call fcn.004a2010
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x1b0]
call fcn.004a2010
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x1c8]
call fcn.004a2010
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1e0]
call fcn.004a2010
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x1f8]
call fcn.004a2010
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x210]
call fcn.004a2010
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x228]
call fcn.004a2010
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x240]
call fcn.004a2010
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x258]
call fcn.004a2010
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x108]
call fcn.00405620
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x60]
call fcn.004a2010
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd8]
call fcn.0041f140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00405620
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00405620
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.004b9059
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc