Function at 0x44ca60
Capabilities:
Get file size

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 0x495741
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
mov eax, dword [0x4be004]
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 - 0xf8], edi
mov esi, dword [ebx + 8]
push 4
mov dword [ebp - 0x114], esi
mov dword [edi + 0xb0], 0
mov dword [ebp - 0x18], 0
call fcn.00466b29
add esp, 4
mov dword [ebp - 0x100], eax
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x44cb01
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x130], 0
xor eax, eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 7
mov word [ebp - 0x140], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44cb37
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x140]
call fcn.004042d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x140]
push 0x80
push 3
push 1
push 0xc0000000
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a840
test al, al
sete al
mov byte [ebp - 0xf1], al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x12c]
cmp edx, 8
jb 0x44cbc9
mov ecx, dword [ebp - 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44cbb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d698
push edx
push ecx
call fcn.00466b59
mov al, byte [ebp - 0xf1]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 7
mov word [ebp - 0x140], cx
test al, al
je 0x44cc00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
mov edi, 2
jmp 0x44ceea
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 3
push 8
call fcn.00466b29
mov esi, eax
mov dword [ebp - 0x100], esi
mov byte [ebp - 4], 4
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi], vtable.RC::RCInternetHandle.0
mov dword [esi + 4], 0
mov byte [ebp - 4], 5
sub esp, 0x10
mov dword [esi], vtable.RC::RCInternetSession.0
call fcn.0043b420
mov ecx, eax
call fcn.0043bb40
mov dword [esi + 4], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
push esi
call fcn.0044e970
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0x49
push 0
mov dword [ebp - 0x34], 4
call fcn.0043b420
mov ecx, eax
call fcn.0043bc80
test eax, eax
je 0x44cc9b
cmp dword [ebp - 0x24], 0x40
jae 0x44ccb7
push ecx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x40
push eax
push 0x49
push 0
call fcn.0043b420
mov ecx, eax
call fcn.0043bdc0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], 4
push eax
push 0x4a
push 0
call fcn.0043b420
mov ecx, eax
call fcn.0043bc80
test eax, eax
je 0x44cce7
cmp dword [ebp - 0x24], 0x40
jae 0x44cd03
push ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x40
push eax
push 0x4a
push 0
call fcn.0043b420
mov ecx, eax
call fcn.0043bdc0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x11c], 0
mov byte [ebp - 4], 7
lea eax, [edi + 0xa0]
mov dword [ebp - 0x128], eax
lea esi, [edi + 0xac]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x11c], esi
push eax
lea ecx, [ebp - 0x124]
call fcn.00435110
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x38], esi
test esi, esi
je 0x44cd75
mov eax, dword [esi]
test eax, eax
je 0x44cd75
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 8
lea ecx, [edi + 0xa0]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x44cdbc
mov edx, dword [ebp - 0x2c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 0x118], edx
test edx, edx
je 0x44cda5
lock inc dword [edx + 4]
mov edi, dword [ebp - 0xfc]
mov dword [eax], edi
mov edi, dword [ebp - 0xf8]
mov dword [eax + 4], edx
add dword [ecx + 4], 8
jmp 0x44cdcf
lea edx, [ebp - 0x30]
push edx
push eax
call fcn.00418d30
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x118], edx
test esi, esi
je 0x44cde5
mov eax, dword [esi]
test eax, eax
je 0x44cde0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44ce5c
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x44ce5c
lea ecx, [ebp - 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x44ce13
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44ce5c
mov eax, dword [ebp - 0x28]
xor ecx, ecx
add ecx, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x110], ecx
adc eax, 0
mov dword [ebp - 0x10c], eax
jne 0x44ce33
cmp ecx, 0x10000
jbe 0x44ce5c
lea eax, [ebp - 0x110]
push eax
push 2
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.0040aae0
test al, al
jne 0x44cf44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
mov edi, 2
mov byte [ebp - 4], 7
test esi, esi
je 0x44ce7d
mov eax, dword [esi]
test eax, eax
je 0x44ce76
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x128]
call fcn.0044ab10
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x120]
test esi, esi
je 0x44cebb
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x44cebb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x44cebb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x118]
test esi, esi
je 0x44ceea
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x44ceea
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x44ceea
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x44cf22
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x44cf10
test eax, eax
je 0x44cf10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.00466b59
add esp, 8
mov dword [ebp - 0x18], 0
mov eax, edi
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.00466b67
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov eax, dword [ebp - 0x110]
xorps xmm0, xmm0
add eax, 0xffff8000
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x10c]
adc eax, 0xffffffff
push 0x28
mov dword [ebp - 0x104], eax
call fcn.00466b29
add esp, 4
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 9
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, eax
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.00464660
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
push dword [ebp - 0x100]
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x1c], 0
call fcn.0044eb60
mov byte [ebp - 4], 0xa
add edi, 0xe4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x28], edi
je 0x44cfda
mov eax, dword [edi]
test eax, eax
je 0x44cfda
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0xf8]
push eax
add ecx, 0xe8
call fcn.0044ea20
mov byte [ebp - 4], 0xa
test edi, edi
je 0x44d00f
mov eax, dword [edi]
test eax, eax
je 0x44d008
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x28], 0
push dword [ebp - 0x104]
mov edi, dword [ebp - 0xf8]
mov ecx, edi
push dword [ebp - 0x108]
push dword [ebp - 0xfc]
push dword [ebp - 0x20]
call fcn.0044e190
test al, al
je 0x44d657
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0xac]
push eax
call fcn.00466280
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xac]
call fcn.0043c3d0
mov ecx, edx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x98]
cmp edx, 8
jb 0x44d0b5
mov ecx, dword [ebp - 0xac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d09f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d69d
push edx
push ecx
call fcn.00466b59
mov eax, dword [ebp - 0xfc]
add esp, 8
mov ecx, dword [ebp - 0xf8]
xor edx, edx
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], dx
cmp dword [ebp - 0x10c], ecx
ja 0x44d657
jb 0x44d0ec
cmp dword [ebp - 0x110], eax
ja 0x44d657
mov ecx, dword [edi + 0x78]
mov eax, ecx
mov edx, dword [edi + 0x7c]
or eax, edx
je 0x44d119
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
je 0x44d119
cmp dword [ebp - 0xfc], ecx
jne 0x44d657
cmp dword [ebp - 0xf8], edx
jne 0x44d657
push ecx
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0044df90
cmp eax, 1
je 0x44d657
cmp eax, 5
je 0x44d657
cmp eax, 2
je 0x44d653
cmp eax, 3
je 0x44d653
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0044a950
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0x20]
call fcn.0044e440
movzx ecx, byte [ebp - 0xc8]
test al, al
mov edx, 1
cmove ecx, edx
mov edx, dword [ebp - 0xd4]
mov byte [ebp - 0xc8], cl
mov ecx, dword [ebp - 0xd8]
test edx, edx
ja 0x44d1a9
jb 0x44d19f
cmp ecx, 0x8000
jae 0x44d1a9
mov edi, 2
jmp 0x44d5f0
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
je 0x44d1c7
add ecx, 0xffff8000
mov dword [ebp - 0xd8], ecx
adc edx, 0xffffffff
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 0x98]
mov dword [ebp - 0x100], eax
test eax, eax
je 0x44d41e
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x58]
push eax
call fcn.004661b0
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x48], 0
jne 0x44d339
push ecx
push 0x4ad744
lea ecx, [edi + 0x10]
call fcn.00410b30
cmp eax, 0xffffffff
je 0x44d339
push 0xffffffffffffffff
inc eax
lea ecx, [edi + 0x10]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00406890
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
push eax
call fcn.004069f0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x144]
cmp edx, 8
jb 0x44d288
mov ecx, dword [ebp - 0x158]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d27e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d6a2
push edx
push ecx
call fcn.00466b59
add esp, 8
sub esp, 8
mov dword [ebp - 0x148], 0
xor eax, eax
mov dword [ebp - 0x144], 7
lea ecx, [ebp - 0x58]
mov word [ebp - 0x158], ax
call fcn.0040a6f0
cmp eax, 0xffffffff
je 0x44d339
push eax
push 0
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x58]
call fcn.00406890
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58]
push eax
call fcn.004069f0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x15c]
cmp edx, 8
jb 0x44d31c
mov ecx, dword [ebp - 0x170]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d312
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d6a7
push edx
push ecx
call fcn.00466b59
add esp, 8
xor eax, eax
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 7
mov word [ebp - 0x170], ax
push dword [ebp - 0x104]
mov ecx, dword [ebp - 0x100]
lea edx, [ebp - 0xc6]
push dword [ebp - 0x108]
push dword [ebp - 0xf8]
mov eax, dword [ecx]
push dword [ebp - 0xfc]
push edx
push dword [ebp - 0x114]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x58]
push edx
call eax
test al, al
jne 0x44d3cc
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x44d3b1
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d3a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d6ac
push edx
push ecx
call fcn.00466b59
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
xor edi, edi
mov word [ebp - 0x58], ax
jmp 0x44d5f0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x44d40a
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d400
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d6b1
push edx
push ecx
call fcn.00466b59
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], vtable.RC::ISimpleDownloadDataEvent.0
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x18]
mov dword [ebp - 0x40], vtable.DL::TSimpleDownloadDataEvent.0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0044e510
test al, al
je 0x44d5d8
lea ecx, [ebp - 0x18]
call fcn.0040aa30
cmp dword [edi + 0x90], 0
je 0x44d5d1
xorps xmm0, xmm0
lea ecx, [ebp - 0x94]
movups xmmword [ebp - 0x94], xmm0
movq qword [ebp - 0x84], xmm0
call fcn.00418a30
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x94]
push dword [ebp - 0x114]
call fcn.00419120
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x94]
call fcn.00418bd0
mov byte [ebp - 4], 0x16
lea eax, [edi + 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00406020
add esp, 8
test al, al
jne 0x44d55b
mov dword [edi + 0xb0], 0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x44d51c
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d512
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d6b6
push edx
push ecx
call fcn.00466b59
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x88]
call fcn.00416c60
mov byte [ebp - 4], 0x14
mov edi, 2
mov dword [ebp - 0x94], vtable.RC::RCFileHash.0
mov byte [ebp - 0x8c], 1
jmp 0x44d5da
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x44d599
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d58f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d6bb
push edx
push ecx
call fcn.00466b59
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x88]
call fcn.00416c60
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x94], vtable.RC::RCFileHash.0
mov byte [ebp - 0x8c], 1
mov edi, 1
jmp 0x44d5da
xor edi, edi
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x40], vtable.DL::TSimpleDownloadDataEvent.0
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x40], vtable.RC::ISimpleDownloadDataEvent.0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xdc]
cmp edx, 8
jb 0x44d634
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d62a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d6c0
push edx
push ecx
call fcn.00466b59
add esp, 8
xor eax, eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
jmp 0x44d65c
xor edi, edi
jmp 0x44d65c
mov edi, 2
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x44ce61
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x44ce61
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x44ce61
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44ce61
call fcn.0046a99a
call fcn.0046a99a
call fcn.0046a99a
call fcn.0046a99a
call fcn.0046a99a
call fcn.0046a99a
call fcn.0046a99a
call fcn.0046a99a
call fcn.0046a99a
int3