Function at 0x53f20c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x1078
call fcn.005a812c
sub esp, eax
mov eax, dword [esp + eax]
mov esi, eax
mov dword [ebp - 0x1050], edx
mov dword [ebp - 0x104c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1054], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1058], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x105c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1060], eax
test ecx, ecx
sete al
test edx, edx
sete dl
or al, dl
jne 0x53f266
test esi, esi
jne 0x53f2b5
cmp dword [0x5af054], 1
jbe 0x53f307
mov dword [0x611418], 2
mov dword [0x611414], 3
mov eax, dword [ebp - 0x1050]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x104c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0x18b
mov dword [esp], str._CACHE__gf_cache_create_entry_:_d__dm_p__url_s_cache_directory_s__aborting._n
call fcn.004268ea
jmp 0x53f307
mov eax, dword [ebp - 0x104c]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp eax, 0x1000
jbe 0x53f30e
cmp dword [0x5af054], 1
jbe 0x53f307
mov dword [0x611418], 2
mov dword [0x611414], 3
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], eax
mov dword [esp + 4], 0x192
mov dword [esp], str._CACHE__gf_cache_create_entry:_d_:_ERROR__URL_is_too_long___d_chars___more_than__d_chars._n
call fcn.004268ea
xor ebx, ebx
jmp 0x53f84a
mov byte [ebp - 0x1018], 0
mov eax, dword [ebp - 0x1054]
mov edi, dword [ebp - 0x1058]
or eax, edi
je 0x53f373
mov eax, dword [ebp - 0x105c]
mov ecx, dword [ebp - 0x1060]
or eax, ecx
je 0x53f373
mov eax, dword [ebp - 0x105c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp - 0x1054]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0x104c]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s__I64d__I64d
lea eax, [ebp - 0x1018]
mov dword [esp], eax
call fcn.005ae188
jmp 0x53f38b
mov eax, dword [ebp - 0x104c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1018]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
lea ebx, [ebp - 0x1018]
mov dword [esp], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov edx, eax
lea ecx, [ebp - 0x102c]
mov eax, ebx
call fcn.00428ecb
mov byte [ebp - 0x1018], 0
xor ebx, ebx
mov byte [ebp - 0x1036], 0
movzx eax, byte [ebp + ebx - 0x102c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5ff70d
lea edi, [ebp - 0x1038]
mov dword [esp], edi
call fcn.005ae188
mov dword [esp + 4], edi
lea eax, [ebp - 0x1018]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
inc ebx
cmp ebx, 0x14
jne 0x53f3b1
mov dword [esp], pe_nt_image_headers32
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ebx, eax
mov edx, dword [0x5af054]
test eax, eax
jne 0x53f440
cmp edx, 1
jbe 0x53f307
mov dword [0x611418], 2
mov dword [0x611414], 3
mov dword [esp + 4], 0x1ad
mov dword [esp], str.gf_cache_create_entry:_d_:_OUT_of_memory___n
call fcn.004268ea
jmp 0x53f307
mov ecx, 0x20
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
cmp edx, 3
jbe 0x53f47c
mov dword [0x611418], 4
mov dword [0x611414], 3
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b0
mov dword [esp], str._CACHE__gf_cache_create_entry:_d__entry_p_n
call fcn.004268ea
mov eax, dword [ebp - 0x104c]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebx], eax
lea eax, [ebp - 0x1018]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x70], eax
xor eax, eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x48], esi
mov eax, dword [ebp - 0x1054]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x1058]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp - 0x105c]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x1060]
mov dword [ebx + 0x5c], eax
xor edx, edx
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x3c], edx
call fcn.00425c0a
mov esi, eax
mov dword [ebx + 0x40], eax
mov edi, dword [ebx + 0x70]
test edi, edi
je 0x53f506
mov dword [esp], 0x21
jmp 0x53f535
mov eax, dword [ebp - 0x1050]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [ebp - 0x1054], eax
lea eax, [ebp - 0x1018]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov edx, dword [ebp - 0x1054]
lea eax, [edx + eax + 0x12]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [ebx + 8], eax
cmp dword [ebx + 4], 0
je 0x53f550
cmp dword [ebx], 0
je 0x53f550
test eax, eax
je 0x53f550
test esi, esi
jne 0x53f57e
cmp dword [0x5af054], 1
jbe 0x53f717
mov dword [0x611418], 2
mov dword [0x611414], 3
mov dword [esp + 4], 0x1db
jmp 0x53f70b
test edi, edi
je 0x53f5a5
mov edx, dword [ebx + 0x78]
mov dword [esp + 0xc], edx
mov edx, dword [ebx + 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x5ff7ad
mov dword [esp], eax
call fcn.005ae188
jmp 0x53f84a
mov byte [ebp - 0x1018], 0
mov edi, dword [ebp - 0x1050]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov dword [esp + 4], str.gpac_cache_
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov eax, dword [ebp - 0x104c]
mov dword [esp + 4], eax
lea esi, [ebp - 0x1018]
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov dword [esp + 4], 0x3f
mov dword [esp], esi
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
test eax, eax
je 0x53f612
mov byte [eax], 0
mov dword [esp + 4], 0x23
mov dword [esp], esi
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
test eax, eax
je 0x53f629
mov byte [eax], 0
mov dword [esp + 4], 0x2e
mov dword [esp], esi
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
mov esi, eax
test eax, eax
lea edi, [ebp - 0x1046]
je 0x53f668
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp eax, 5
ja 0x53f668
mov dword [esp + 8], 6
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncpy
jmp 0x53f67b
mov dword [ebp - 0x1046], 0x7461642e
mov word [ebp - 0x1042], 0
mov dword [esp + 4], edi
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov byte [ebp - 0x1018], 0
mov dword [esp + 4], str.gpac_cache_
lea esi, [ebp - 0x1018]
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov dword [esp + 4], edi
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov dword [esp + 4], str..txt
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov edx, esi
mov eax, dword [ebp - 0x1050]
call fcn.00428ab0
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x53f723
cmp dword [0x5af054], 1
jbe 0x53f717
mov dword [0x611418], 2
mov dword [0x611414], 3
mov dword [esp + 4], 0x209
mov dword [esp], str._CACHE__gf_cache_create_entry:_d__aborting_due_to_OUT_of_MEMORY___n
call fcn.004268ea
mov eax, ebx
call fcn.0057f8ae
jmp 0x53f307
mov ecx, str.ETag
mov edx, str.cache
call fcn.00428bff
mov edx, eax
mov eax, ebx
call fcn.0053c3e9
mov eax, dword [ebx + 0xc]
mov ecx, str.ETag
mov edx, str.cache
call fcn.00428bff
mov edx, eax
mov eax, ebx
call fcn.0057fb93
mov eax, dword [ebx + 0xc]
mov ecx, str.Content_Type
mov edx, str.cache
call fcn.00428bff
mov edx, eax
mov eax, ebx
call fcn.0057fb5b
mov eax, dword [ebx + 0xc]
mov ecx, str.Last_Modified
mov edx, str.cache
call fcn.00428bff
mov edx, eax
mov eax, ebx
call fcn.0053c3ac
mov eax, dword [ebx + 0xc]
mov ecx, str.Last_Modified
mov edx, str.cache
call fcn.00428bff
mov edx, eax
mov eax, ebx
call fcn.0057fb23
mov eax, dword [ebx + 0xc]
mov ecx, 0x5feec5
mov edx, str.cache
call fcn.00428bff
test eax, eax
jne 0x53f7c3
or dword [ebx + 0x38], 4
jmp 0x53f7d9
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x104c]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__stricmp
test eax, eax
jne 0x53f7bd
mov eax, dword [ebx + 0xc]
mov ecx, 0x5feedb
mov edx, str.cache
call fcn.00428bff
test eax, eax
je 0x53f843
lea edx, [ebp - 0x1040]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x1038]
mov dword [esp + 8], edx
mov dword [esp + 4], str._I64d__I64d
mov dword [esp], eax
call fcn.005ae14c
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebp - 0x1034]
cmp dword [ebx + 0x54], ecx
jne 0x53f83f
cmp eax, dword [ebp - 0x1038]
jne 0x53f83f
mov eax, dword [ebx + 0x58]
mov edi, dword [ebp - 0x103c]
cmp dword [ebx + 0x5c], edi
jne 0x53f83f
cmp eax, dword [ebp - 0x1040]
je 0x53f843
or dword [ebx + 0x38], 4
mov eax, ebx
call fcn.0053f10b
mov eax, ebx
add esp, 0x107c
pop ebx
pop esi
pop edi
pop ebp
ret