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

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov edi, 0x1005bdb0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], edi
mov eax, 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x45], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov word [esp + 0x34], 0x100
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov word [esp + 0x54], 0x100
mov ecx, dword [esp + 0x5c]
push 0
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov esi, dword [ecx]
mov bl, byte [ecx + 0xc]
push eax
call fcn.10003e00
mov byte [esp + 0x44], bl
mov ebp, dword [eax + 4]
add esi, dword [eax]
test ebp, ebp
jle 0x1003f0d6
lea eax, [ebp + 1]
cmp dword [esp + 0x40], eax
jae 0x1003ee4e
push eax
lea ecx, [esp + 0x3c]
call fcn.100035c0
mov edi, dword [esp + 0x38]
test eax, eax
je 0x1003f0d6
push ebp
push esi
push edi
mov dword [esp + 0x48], ebp
mov byte [edi + ebp], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp ebp, 0xb
jb 0x1003ee82
push 0xb
push str.flashvars_
push edi
call dword [sym.imp.msvcrt.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x1003ee82
cmp byte [edi + ebp - 1], 0x22
je 0x1003ee8c
mov eax, dword [esp + 0x14]
inc eax
jmp 0x1003ee04
push 0xb
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x64], 0
call fcn.10003f00
mov eax, dword [esp + 0x3c]
lea ecx, [eax - 1]
cmp ecx, eax
jae 0x1003eeb8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
mov byte [eax + ecx], 0
lea ecx, [esp + 0x38]
call fcn.1000ade0
mov edi, dword [esp + 0x38]
xor ebx, ebx
push 0x26
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
call fcn.10003e00
mov ebp, dword [eax]
mov esi, dword [eax + 4]
add ebp, edi
mov al, byte [esp + 0x44]
mov byte [esp + 0x34], al
test esi, esi
jle 0x1003f0b6
lea eax, [esi + 1]
cmp dword [esp + 0x30], eax
jae 0x1003ef0a
push eax
lea ecx, [esp + 0x2c]
call fcn.100035c0
test eax, eax
je 0x1003f0b6
mov eax, dword [esp + 0x28]
push esi
push ebp
mov dword [esp + 0x34], esi
push eax
mov byte [esi + eax], 0
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ebp, dword [sym.imp.msvcrt.dll__strnicmp]
cmp eax, 0xc
jb 0x1003ef48
push 0xc
push str.fmt_url_map
push dword [esp + 0x30]
call ebp
add esp, 0xc
test eax, eax
je 0x1003ef6b
mov eax, dword [esp + 0x2c]
cmp eax, 0x1b
jb 0x1003ef65
push 0x1b
push str.url_encoded_fmt_stream_map
push dword [esp + 0x30]
call ebp
add esp, 0xc
test eax, eax
je 0x1003f075
inc ebx
jmp 0x1003eec7
push 0xc
push 0
lea ecx, [esp + 0x30]
call fcn.10003f00
xor dl, dl
lea ecx, [esp + 0x28]
call fcn.1000a3e0
cmp dword [esp + 0x5c], 0
jne 0x1003ef9e
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
inc dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0x10]
xor eax, eax
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x28]
mov bl, byte [esp + 0x34]
push 0x2c
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
push eax
call fcn.10003e00
mov ebp, dword [eax + 4]
add esi, dword [eax]
mov byte [esp + 0x54], bl
test ebp, ebp
jle 0x1003f063
lea eax, [ebp + 1]
cmp dword [esp + 0x50], eax
jae 0x1003efe9
push eax
lea ecx, [esp + 0x4c]
call fcn.100035c0
test eax, eax
je 0x1003f063
mov eax, dword [esp + 0x48]
push ebp
push esi
mov dword [esp + 0x54], ebp
push eax
mov byte [eax + ebp], 0
call sub.msvcrt.dll_memcpy
mov ebx, dword [esp + 0x58]
lea edx, [esp + 0x24]
mov esi, dword [esp + 0x54]
add esp, 8
mov ecx, esi
push ebx
call fcn.1000b030
add esp, 8
test eax, eax
je 0x1003f059
cmp eax, ebx
jae 0x1003f059
cmp byte [esi + eax], 0x7c
jne 0x1003f059
inc eax
lea ecx, [esp + 0x48]
push eax
push 0
call fcn.10003f00
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x30]
lea eax, [esp + 0x64]
mov ecx, edi
push dword [esp + 0x78]
push eax
call fcn.10041020
test eax, eax
je 0x1003f059
inc dword [edi + 0x14]
mov eax, dword [esp + 0x14]
inc eax
jmp 0x1003efa4
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x4c], 0
jmp 0x1003f0c2
push 0x1b
push 0
lea ecx, [esp + 0x30]
call fcn.10003f00
xor dl, dl
lea ecx, [esp + 0x28]
call fcn.1000a3e0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push 0
push 0
push eax
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call fcn.1003fd90
push dword [esp + 0x5c]
add dword [esi + 0x14], eax
mov ecx, esi
call fcn.100418e0
jmp 0x1003f0d9
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
mov esi, dword [esp + 0x10]
mov ecx, esi
mov byte [eax], 0
push dword [esp + 0x5c]
call fcn.100418e0
jmp 0x1003f0d9
mov byte [edi], 0
mov eax, dword [esp + 0x48]
mov esi, dword [sym.imp.msvcrt.dll_free]
cmp eax, 0x1005bdb0
je 0x1003f0f0
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, 0x1005bdb0
je 0x1003f101
push eax
call esi
add esp, 4
cmp edi, 0x1005bdb0
je 0x1003f10f
push edi
call esi
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4