Function at 0x5037a0
Capabilities:
Check for time delay via gettickcount
Download url
Get common file path
Parse url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b2be
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x59a0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049e130
add esp, 0xc
mov dword [ebx + 0x994], 0
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push dword [ebx + 0x438]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x50461e
lea eax, [ebp - 0x3dc]
mov dword [ebp - 0x3dc], 0
push eax
lea eax, [ebp - 0x3e4]
lea edi, [ebx + 0x424]
push eax
mov ecx, edi
call fcn.0042be10
mov edx, dword [ebp - 0x3e4]
lea ecx, [ebp - 0x218]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x503843
sub ecx, esi
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [edx + 0x60]
call fcn.00402d50
lea eax, [ebp - 0x3dc]
mov dword [ebp - 0x3dc], 0
push eax
lea eax, [ebp - 0x3e4]
mov ecx, edi
push eax
call fcn.0042be10
mov eax, dword [ebp - 0x3e4]
lea ecx, [ebx + 0x480]
add eax, 0x60
push eax
call fcn.00411620
lea ecx, [ebp - 0x2f8]
call fcn.00428cc0
push 0x2e
push 0x5666c0
mov dword [ebp - 4], 0
call fcn.00405040
cmp dword [ebx + 0x404], 0
je 0x5038d2
push 0x85
push 0x566720
lea ecx, [ebp - 0x2f8]
call fcn.00405040
cmp dword [ebp - 0x2e4], 8
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x3e4]
mov dword [ebp - 0x3dc], 0
lea esi, [ebp - 0x2f8]
mov ecx, edi
cmovae esi, dword [ebp - 0x2f8]
push eax
call fcn.0042be10
mov eax, dword [ebp - 0x3e4]
add eax, 0x84
mov dword [ebp - 0x3d8], eax
test esi, esi
jne 0x50391e
xor ecx, ecx
jmp 0x503938
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x503923
mov eax, dword [ebp - 0x3d8]
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, eax
call fcn.00402d50
cmp word [ebp - 0x218], 0
jne 0x50394f
xor ecx, ecx
jmp 0x50396f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x503960
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.00405040
cmp dword [ebx + 0x404], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
je 0x5039b3
mov dword [ebp - 0x258], 1
mov dword [ebp - 0x254], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 0x3dc], 0
push eax
lea eax, [ebp - 0x3e4]
mov ecx, edi
push eax
call fcn.0042be10
mov eax, dword [ebp - 0x3e4]
mov ecx, edi
inc dword [eax + 0x28]
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x3e4]
mov dword [ebp - 0x3dc], 0
push eax
call fcn.0042be10
mov eax, dword [ebp - 0x3e4]
mov ecx, edi
mov dword [eax + 0x1c], 0
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x3e4]
mov dword [ebp - 0x3dc], 0
push eax
call fcn.0042be10
mov esi, dword [ebp - 0x3e4]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [esi + 0x34], eax
mov dword [ebx + 0x400], 0xa
call edi
xor edx, edx
mov dword [ebp - 0x3d8], 0
mov ecx, 0xa
div ecx
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x3e4]
push eax
lea esi, [edx + 1]
lea ecx, [ebx + 0x424]
mov dword [ebp - 0x3dc], esi
call fcn.0042be10
mov eax, dword [ebp - 0x3e4]
mov dword [eax + 0x24], esi
lea eax, [ebp - 0x2f8]
cmp dword [ebp - 0x2e4], 8
cmovae eax, dword [ebp - 0x2f8]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
cmp dword [ebp - 0x2cc], 8
lea ecx, [ebp - 0x2e0]
push 0
cmovae ecx, dword [ebp - 0x2e0]
lea eax, [ebp - 0x2f8]
cmp dword [ebp - 0x2e4], 8
push 0
cmovae eax, dword [ebp - 0x2f8]
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
cmp dword [ebp - 0x2cc], 8
lea edx, [ebp - 0x2e0]
push ecx
cmovae edx, dword [ebp - 0x2e0]
mov ecx, esp
push edx
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3d8], 0
call fcn.00401ff0
lea ecx, [ebp - 0x3d8]
call fcn.004dc270
mov edx, dword [ebp - 0x3d4]
add esp, 4
movzx eax, al
test edx, edx
jne 0x503b87
test eax, eax
je 0x503b87
cmp dword [ebp - 0x3d8], edx
jbe 0x503b87
cmp dword [ebp - 0x2cc], 8
lea ecx, [ebp - 0x2e0]
lea eax, [ebp - 0x2f8]
cmovae ecx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2e4], 8
push ecx
cmovae eax, dword [ebp - 0x2f8]
push eax
push esi
push 0x566ab8
push str.__s__URLDownloadToFile_Succ._TaskId__d__Url__s__FileName__s_
call fcn.004e78a0
push eax
call fcn.004e76a0
add esp, 0x18
mov ecx, ebx
push 0
push esi
call fcn.0050a6c0
lea ecx, [ebp - 0x3d0]
call fcn.00429b90
mov byte [ebp - 4], 1
jmp 0x5045ce
cmp dword [ebp - 0x2cc], 8
lea ecx, [ebp - 0x2e0]
lea eax, [ebp - 0x2f8]
cmovae ecx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2e4], 8
push ecx
cmovae eax, dword [ebp - 0x2f8]
push eax
push esi
push edx
push 0x566988
push 0x566a08
call fcn.004e78a0
push eax
call fcn.004e76a0
add esp, 0x1c
mov dword [ebp - 0x3d4], 0
lea eax, [ebp - 0x3d4]
lea ecx, [ebx + 0x424]
push eax
lea eax, [ebp - 0x3e4]
push eax
call fcn.0042be10
mov eax, dword [ebp - 0x3e4]
mov dword [eax + 0x24], esi
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
push fcn.00403110
push 0x4051c0
push 6
push 0x18
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 2
push eax
call fcn.0049b297
push 0x3c
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0049e130
add esp, 0xc
lea esi, [ebp - 0x380]
mov edi, 6
mov ecx, dword [esi]
cmp ecx, 0x400
jb 0x503c84
mov dword [esi], 0x400
cmp dword [esi + 4], 8
jb 0x503c76
mov eax, dword [esi - 0x10]
xor ecx, ecx
mov word [eax + 0x800], cx
jmp 0x503c96
lea eax, [esi - 0x10]
xor ecx, ecx
mov word [eax + 0x800], cx
jmp 0x503c96
mov eax, 0x400
sub eax, ecx
lea ecx, [esi - 0x10]
push 0
push eax
call fcn.00404330
add esi, 0x18
sub edi, 1
jne 0x503c52
cmp dword [ebp - 0x37c], 8
lea eax, [ebp - 0x390]
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x420], 0x3c
cmovae eax, dword [ebp - 0x390]
cmp dword [ebp - 0x364], 8
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x378]
cmovae eax, dword [ebp - 0x378]
cmp dword [ebp - 0x34c], 8
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x360]
cmovae eax, dword [ebp - 0x360]
cmp dword [ebp - 0x334], 8
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x400], eax
lea eax, [ebp - 0x348]
cmovae eax, dword [ebp - 0x348]
cmp dword [ebp - 0x31c], 8
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x3f8], eax
lea eax, [ebp - 0x330]
cmovae eax, dword [ebp - 0x330]
cmp dword [ebp - 0x304], 8
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x3f0], eax
lea eax, [ebp - 0x318]
cmovae eax, dword [ebp - 0x318]
cmp dword [ebp - 0x2e4], 8
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x308]
push ecx
mov dword [ebp - 0x3e8], eax
lea eax, [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x2f8]
push 0x10000000
push dword [ebp - 0x2e8]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x503ed1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword fs:[0x2c]
lea esi, [ebp - 0x2f8]
cmp dword [ebp - 0x2e4], 8
mov edi, eax
cmovae esi, dword [ebp - 0x2f8]
mov edx, dword [ecx]
mov ecx, dword [0x59fee8]
cmp ecx, dword [edx + 4]
jle 0x503e31
push 0x59fee8
call fcn.0049af28
add esp, 4
cmp dword [0x59fee8], 0xffffffff
jne 0x503e31
mov byte [ebp - 4], 4
call fcn.004e7150
push 0x53eaa0
call fcn.0049b282
add esp, 4
mov byte [ebp - 4], 3
push 0x59fee8
call fcn.0049aee9
add esp, 4
push edi
push esi
push 0x566d48
push 0x566dc8
push 0x59feec
call fcn.004e76a0
add esp, 0x14
mov byte [ebp - 4], 2
lea eax, [ebp - 0x390]
push fcn.00403110
push 6
push 0x18
push eax
call fcn.0049acff
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x504350
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x230]
cmp ecx, 0xffffffff
jbe 0x503e89
call fcn.004a4e3e
cmp ecx, 0x1000
jb 0x503ec3
test byte [ebp - 0x230], 0x1f
je 0x503e9f
call fcn.004a4e3e
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x503eab
call fcn.004a4e3e
sub eax, ecx
cmp eax, 4
jae 0x503eb7
call fcn.004a4e3e
cmp eax, 0x23
jbe 0x503ec1
call fcn.004a4e3e
mov eax, ecx
push eax
call fcn.0049aa1d
add esp, 4
jmp 0x504350
push dword [ebp - 0x3f4]
lea ecx, [ebp - 0x3d8]
call fcn.00401ff0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x3e8], 0
jbe 0x503f1e
mov edx, dword [ebp - 0x3ec]
test edx, edx
jne 0x503efd
xor ecx, ecx
jmp 0x503f11
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x503f02
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3d8]
call fcn.00402320
mov eax, dword [ebp - 0x414]
cmp eax, 3
jne 0x504117
lea eax, [ebx + 0x9d4]
push eax
lea eax, [ebx + 0x9bc]
push eax
push ecx
mov dword [ebp - 0x3d4], esp
mov esi, dword [ebp - 0x3d8]
mov dword [ebp - 0x3e0], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
je 0x503f5f
call dword [eax + 0x10]
mov ecx, eax
cmp dword [esi - 4], 0
lea eax, [esi - 4]
jl 0x503f75
cmp ecx, dword [esi - 0x10]
jne 0x503f75
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x503fad
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x503f89
call fcn.00402c20
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
lea eax, [edx*2 + 2]
push eax
push esi
lea edx, [edx*2 + 2]
call fcn.004c7670
add esp, 8
mov ecx, dword [ebp - 0x3d4]
lea eax, [edi + 0x10]
mov dword [ecx], eax
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
push dword [ebp - 0x410]
call fcn.00401ff0
xor edx, edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
call fcn.004ddbd0
add esp, 0x10
test eax, eax
jne 0x50428d
lea eax, [ebx + 0x9d4]
push eax
lea eax, [ebx + 0x9bc]
push eax
push ecx
mov dword [ebp - 0x3d4], esp
mov esi, dword [ebp - 0x3d8]
mov dword [ebp - 0x3e0], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
je 0x504018
call dword [eax + 0x10]
mov ecx, eax
cmp dword [esi - 4], 0
lea eax, [esi - 4]
jl 0x50402e
cmp ecx, dword [esi - 0x10]
jne 0x50402e
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x504066
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x504042
call fcn.00402c20
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
lea eax, [edx*2 + 2]
push eax
push esi
lea edx, [edx*2 + 2]
call fcn.004c7670
add esp, 8
mov ecx, dword [ebp - 0x3d4]
lea eax, [edi + 0x10]
mov dword [ecx], eax
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
push dword [ebp - 0x410]
call fcn.00401ff0
mov edx, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
call fcn.004ddbd0
add esp, 0x10
test eax, eax
jne 0x50428d
lea eax, [ebx + 0x9d4]
push eax
lea eax, [ebx + 0x9bc]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x3e0], esp
mov dword [ebp - 0x3d4], esi
lea edi, [ebp - 0x230]
mov ecx, dword [ebp - 0x3d8]
add ecx, 0xfffffff0
call fcn.004021e0
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
push dword [ebp - 0x410]
call fcn.00401ff0
mov edx, 1
mov byte [ebp - 4], 5
mov ecx, edi
call fcn.004ddbd0
add esp, 0x10
test eax, eax
jne 0x50428d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3d8]
add ecx, 0xfffffff0
jmp 0x5042e5
cmp eax, 4
jne 0x50428d
lea eax, [ebx + 0x9d4]
push eax
lea eax, [ebx + 0x9bc]
push eax
push ecx
mov dword [ebp - 0x3d4], esp
mov esi, dword [ebp - 0x3d8]
mov dword [ebp - 0x3e0], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
je 0x504152
call dword [eax + 0x10]
mov ecx, eax
cmp dword [esi - 4], 0
lea eax, [esi - 4]
jl 0x504168
cmp ecx, dword [esi - 0x10]
jne 0x504168
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x5041a0
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x50417c
call fcn.00402c20
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
lea eax, [edx*2 + 2]
push eax
push esi
lea edx, [edx*2 + 2]
call fcn.004c7670
add esp, 8
mov ecx, dword [ebp - 0x3d4]
lea eax, [edi + 0x10]
mov dword [ecx], eax
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
push dword [ebp - 0x410]
call fcn.00401ff0
xor edx, edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
call fcn.004de110
add esp, 0x10
test eax, eax
jne 0x50428d
lea edi, [ebx + 0x9d4]
push edi
lea eax, [ebx + 0x9bc]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x3e0], esp
mov dword [ebp - 0x3d4], esi
mov ecx, dword [ebp - 0x3d8]
add ecx, 0xfffffff0
call fcn.004021e0
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
push dword [ebp - 0x410]
call fcn.00401ff0
mov edx, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
call fcn.004de110
add esp, 0x10
test eax, eax
jne 0x50428d
push edi
lea eax, [ebx + 0x9bc]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x3e0], esp
mov dword [ebp - 0x3d4], esi
lea edi, [ebp - 0x230]
mov ecx, dword [ebp - 0x3d8]
add ecx, 0xfffffff0
call fcn.004021e0
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
push dword [ebp - 0x410]
call fcn.00401ff0
mov edx, 1
mov byte [ebp - 4], 5
mov ecx, edi
call fcn.004de110
jmp 0x5040fa
cmp dword [ebp - 0x21c], 0x10
lea edi, [ebp - 0x230]
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x2e0]
cmovae edi, dword [ebp - 0x230]
cmp dword [ebp - 0x2cc], 8
push ecx
cmovae eax, dword [ebp - 0x2e0]
mov ecx, esp
push eax
call fcn.00401ff0
mov edx, esi
mov ecx, edi
call fcn.004dce50
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x3d8]
add ecx, 0xfffffff0
test eax, eax
jne 0x504501
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x504315
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x504311
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x504315
mov ecx, edx
call esi
push fcn.00403110
push 6
push 0x18
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 2
push eax
call fcn.0049acff
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x504350
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00405350
cmp dword [ebp - 0x2cc], 8
lea ecx, [ebp - 0x2e0]
mov esi, dword [ebp - 0x3dc]
lea eax, [ebp - 0x2f8]
cmovae ecx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2e4], 8
push ecx
cmovae eax, dword [ebp - 0x2f8]
push eax
push esi
push 0x566f20
push 0x566fa0
call fcn.004e78a0
push eax
call fcn.004e76a0
add esp, 0x18
mov dword [ebp - 0x3d4], 0
lea eax, [ebp - 0x3d4]
lea ecx, [ebx + 0x424]
push eax
lea eax, [ebp - 0x3e4]
push eax
call fcn.0042be10
mov eax, dword [ebp - 0x3e4]
lea edi, [ebp - 0x3d8]
lea ecx, [ebx + 0x3cc]
mov dword [ebp - 0x3d8], 0
push edi
push ecx
mov dword [eax + 0x24], esi
lea edx, [ebp - 0x2f8]
cmp dword [ebp - 0x2cc], 8
lea eax, [ebp - 0x2e0]
mov ecx, esi
cmovae eax, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2e4], 8
push eax
cmovae edx, dword [ebp - 0x2f8]
call fcn.004d0d80
mov edx, eax
lea ecx, [ebp - 0x2e0]
add esp, 0xc
lea eax, [ebp - 0x2f8]
test edx, edx
jne 0x504477
cmp dword [ebp - 0x2cc], 8
cmovae ecx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2e4], 8
push ecx
cmovae eax, dword [ebp - 0x2f8]
push eax
push esi
push 0x566e28
push 0x566ea8
call fcn.004e78a0
push eax
call fcn.004e76a0
add esp, 0x18
mov ecx, ebx
push 0
push esi
call fcn.0050a6c0
lea ecx, [ebp - 0x3d0]
call fcn.00429b90
mov byte [ebp - 4], 0xd
jmp 0x5045ce
push dword [ebp - 0x3d8]
cmp dword [ebp - 0x2cc], 8
push edx
cmovae ecx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2e4], 8
push ecx
cmovae eax, dword [ebp - 0x2f8]
push eax
push esi
push str.GameDownload::CMainUI::StartDownloadComponentXML_UseUrlDownload
push str.___s__LibUrlDownload_Fail._TaskId__d__Url__s__FileName__s__Err_0x_08x__HttpCode__d_
call fcn.004e78a0
push eax
call fcn.004e76a0
add esp, 0x20
mov dword [ebp - 0x3d4], 0
lea eax, [ebp - 0x3d4]
lea ecx, [ebx + 0x424]
push eax
lea eax, [ebp - 0x3e4]
push eax
call fcn.0042be10
mov eax, dword [ebp - 0x3e4]
mov ecx, ebx
push 0x1f
push esi
mov eax, dword [eax + 0x40]
mov dword [ebx + 0x400], eax
call fcn.0050a6c0
lea ecx, [ebp - 0x2f8]
call fcn.0042a1a0
jmp 0x504643
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x504531
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x50452d
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x504531
mov ecx, edx
call esi
push fcn.00403110
push 6
push 0x18
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 2
push eax
call fcn.0049acff
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x50456c
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00405350
cmp dword [ebp - 0x2cc], 8
lea ecx, [ebp - 0x2e0]
mov esi, dword [ebp - 0x3dc]
lea eax, [ebp - 0x2f8]
cmovae ecx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2e4], 8
push ecx
cmovae eax, dword [ebp - 0x2f8]
push eax
push esi
push 0x566c00
push 0x566c80
call fcn.004e78a0
push eax
call fcn.004e76a0
add esp, 0x18
mov ecx, ebx
push 0
push esi
call fcn.0050a6c0
lea ecx, [ebp - 0x3d0]
call fcn.00429b90
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x3d0]
mov ecx, ebx
push eax
push 0
call fcn.0050a9c0
push ecx
lea eax, [ebp - 0x3d0]
mov dword [ebp - 0x390], 0
push eax
mov dword [ebp - 0x38c], 0
call fcn.0044c609
mov ecx, eax
call fcn.0042afe0
lea ecx, [ebp - 0x3d0]
call fcn.0042a6a0
lea ecx, [ebp - 0x2f8]
call fcn.0042a1a0
jmp 0x504643
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebx + 0x438]
push 0x567080
push str._ERROR____s__GetTempFileName_Fail._Path__s__ErrorCode__u_
call fcn.004e78a0
push eax
call fcn.004e76a0
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049aa22
mov esp, ebp
pop ebp
ret