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

Disassembly:
sub esp, 0x88
push ebx
mov eax, ecx
mov dword [esp + 0x24], 0
push ebp
mov dword [esp + 0x44], eax
xor ecx, ecx
push esi
mov eax, dword [eax + 8]
push edi
mov edi, 0x1005bdb0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], edi
mov word [esp + 0x38], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
inc dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov byte [esp + 0x21], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov word [esp + 0x48], 0
mov dword [esp + 0x50], eax
jmp 0x1001b25c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x9c]
mov edx, str.Representation
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x5c]
mov esi, dword [eax]
push esi
call fcn.10007ca0
mov ebp, dword [esp + 0x60]
add esp, 0xc
add ebp, esi
mov byte [esp + 0x20], 0
mov esi, dword [esp + 0x58]
test esi, esi
jle 0x1001b2bf
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001b2a8
push eax
lea ecx, [esp + 0x18]
call fcn.100035c0
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001b2bf
push esi
push ebp
mov ebx, esi
mov byte [esi + edi], 0
push edi
mov dword [esp + 0x24], ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001b2c7
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [edi], bl
test esi, esi
jle 0x1001b7c6
mov ebp, dword [esp + 0x54]
test ebp, ebp
js 0x1001b7c6
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x60]
push 0xffffffffffffffff
mov edx, str._Representation
mov esi, dword [eax]
lea eax, [ebx + ebp]
push eax
push esi
call fcn.10007ca0
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov dword [esp + 0x24], eax
mov byte [esp + 0x20], 0
lea ebx, [eax + esi]
mov esi, dword [esp + 0x64]
test esi, esi
jle 0x1001b344
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001b32f
push eax
lea ecx, [esp + 0x18]
call fcn.100035c0
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001b344
push esi
push ebx
push edi
mov dword [esp + 0x24], esi
mov byte [esi + edi], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001b34f
mov dword [esp + 0x18], 0
mov byte [edi], 0
test esi, esi
jle 0x1001b7c6
mov eax, dword [esp + 0x24]
test eax, eax
js 0x1001b7c6
mov esi, dword [esp + 0x9c]
lea ecx, [esp + 0x68]
push eax
push ebp
mov edx, str.BaseURL
mov esi, dword [esi]
push esi
call fcn.10007ca0
mov ebp, dword [esp + 0x74]
add esp, 0xc
mov byte [esp + 0x20], 0
lea eax, [esi + ebp]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
test esi, esi
jle 0x1001b3cd
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001b3b3
push eax
lea ecx, [esp + 0x18]
call fcn.100035c0
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001b3cd
push esi
push dword [esp + 0x2c]
mov ebx, esi
mov byte [esi + edi], 0
push edi
mov dword [esp + 0x24], ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001b3d5
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [edi], bl
test esi, esi
jle 0x1001b4d3
test ebp, ebp
js 0x1001b4d3
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x70]
push dword [esp + 0x24]
mov edx, str._BaseURL
mov esi, dword [eax]
lea eax, [ebx + ebp]
push eax
push esi
call fcn.10007ca0
mov ebx, dword [esp + 0x7c]
add esp, 0xc
mov byte [esp + 0x20], 0
lea eax, [ebx + esi]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x28], eax
test esi, esi
jle 0x1001b453
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001b43b
push eax
lea ecx, [esp + 0x18]
call fcn.100035c0
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001b453
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x20], esi
push edi
mov byte [esi + edi], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001b45e
mov dword [esp + 0x18], 0
mov byte [edi], 0
test esi, esi
jle 0x1001b4d3
test ebx, ebx
js 0x1001b4d3
mov ecx, dword [esp + 0x9c]
sub ebx, ebp
mov eax, dword [ecx + 4]
sub eax, ebp
js 0x1001b47a
cmp ebx, eax
jb 0x1001b47c
mov ebx, eax
mov esi, dword [ecx]
mov al, byte [ecx + 0xc]
add esi, ebp
mov byte [esp + 0x48], al
test ebx, ebx
jle 0x1001b4bb
lea eax, [ebx + 1]
cmp dword [esp + 0x44], eax
jae 0x1001b4a2
push eax
lea ecx, [esp + 0x40]
call fcn.100035c0
test eax, eax
je 0x1001b4bb
mov eax, dword [esp + 0x3c]
push ebx
push esi
push eax
mov dword [esp + 0x4c], ebx
mov byte [eax + ebx], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001b4ca
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], 0
mov byte [eax], 0
lea ecx, [esp + 0x3c]
call fcn.1000ade0
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x78]
push dword [esp + 0x24]
mov edx, str.SegmentList
mov esi, dword [eax]
mov eax, dword [esp + 0x58]
push eax
push esi
call fcn.10007ca0
mov eax, dword [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x28], eax
mov byte [esp + 0x20], 0
lea ebp, [eax + esi]
mov esi, dword [esp + 0x7c]
test esi, esi
jle 0x1001b544
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001b52d
push eax
lea ecx, [esp + 0x18]
call fcn.100035c0
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001b544
push esi
push ebp
mov ebx, esi
mov byte [esi + edi], 0
push edi
mov dword [esp + 0x24], ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001b54c
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [edi], bl
test esi, esi
jle 0x1001b258
mov eax, dword [esp + 0x28]
test eax, eax
js 0x1001b258
lea ecx, [eax + ebx]
mov dword [esp + 0x5c], ecx
jmp 0x1001b570
mov ecx, dword [esp + 0x9c]
add eax, ebx
push dword [esp + 0x24]
mov edx, str.SegmentURL
push eax
mov esi, dword [ecx]
lea ecx, [esp + 0x88]
push esi
call fcn.10007ca0
mov eax, dword [esp + 0x8c]
add esp, 0xc
mov dword [esp + 0x28], eax
mov byte [esp + 0x20], 0
lea ebp, [eax + esi]
mov esi, dword [esp + 0x84]
test esi, esi
jle 0x1001b5e5
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001b5ce
push eax
lea ecx, [esp + 0x18]
call fcn.100035c0
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001b5e5
push esi
push ebp
mov ebx, esi
mov byte [esi + edi], 0
push edi
mov dword [esp + 0x24], ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001b5ed
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [edi], bl
test esi, esi
jle 0x1001b6d8
mov eax, dword [esp + 0x28]
test eax, eax
js 0x1001b6d8
push ecx
push ebx
push edi
mov edx, str.media
lea ecx, [esp + 0x9c]
call fcn.10007d70
add esp, 0xc
mov ebp, dword [eax]
mov esi, dword [eax + 4]
add ebp, edi
mov al, byte [esp + 0x20]
mov byte [esp + 0x38], al
test esi, esi
jle 0x1001b679
lea eax, [esi + 1]
cmp dword [esp + 0x34], eax
jae 0x1001b642
push eax
lea ecx, [esp + 0x30]
call fcn.100035c0
test eax, eax
je 0x1001b679
mov eax, dword [esp + 0x2c]
push esi
push ebp
mov dword [esp + 0x38], esi
push eax
mov byte [eax + esi], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x2c]
push 0
push 0xffffffffffffffff
push 0
push 0x26
call fcn.10003bd0
test eax, eax
js 0x1001b688
lea ecx, [esp + 0x2c]
call fcn.1000ade0
jmp 0x1001b688
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
mov byte [eax], 0
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x28]
je 0x1001b570
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x2c]
call fcn.10008880
test al, al
mov eax, dword [esp + 0x28]
je 0x1001b570
mov eax, dword [esp + 0x4c]
push 1
push 0
push dword [esp + 0x58]
mov ecx, dword [eax + 8]
lea eax, [esp + 0x38]
push 1
push eax
push ecx
mov ecx, dword [ecx + 8]
call fcn.1003b700
mov eax, dword [esp + 0x28]
jmp 0x1001b570
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x88]
push dword [esp + 0x24]
mov edx, str.Initialization
push dword [esp + 0x60]
mov esi, dword [eax]
push esi
call fcn.10007ca0
mov ebx, dword [esp + 0x94]
add esp, 0xc
mov byte [esp + 0x20], 0
lea ebp, [ebx + esi]
mov esi, dword [esp + 0x8c]
test esi, esi
jle 0x1001b748
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001b733
push eax
lea ecx, [esp + 0x18]
call fcn.100035c0
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001b748
push esi
push ebp
push edi
mov dword [esp + 0x24], esi
mov byte [esi + edi], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001b753
mov dword [esp + 0x18], 0
mov byte [edi], 0
mov ecx, dword [esp + 0x24]
test esi, esi
jle 0x1001b25c
test ebx, ebx
js 0x1001b25c
lea eax, [esp + 0x14]
mov edx, str.sourceURL
push eax
lea ecx, [esp + 0x30]
call fcn.100189d0
mov ecx, dword [esp + 0x28]
add esp, 4
test al, al
je 0x1001b25c
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x2c]
call fcn.10008880
mov ecx, dword [esp + 0x24]
test al, al
je 0x1001b25c
mov eax, dword [esp + 0x4c]
push 1
push 0
push dword [esp + 0x58]
mov ecx, dword [eax + 8]
lea eax, [esp + 0x38]
push 1
push eax
push ecx
mov ecx, dword [ecx + 8]
call fcn.1003b700
jmp 0x1001b258
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.msvcrt.dll_free]
cmp eax, 0x1005bdb0
je 0x1001b7dd
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, 0x1005bdb0
je 0x1001b7ee
push eax
call esi
add esp, 4
cmp edi, 0x1005bdb0
je 0x1001b7fc
push edi
call esi
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 4