Function at 0x1001a470
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, 0x10059da0
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 0x1001a4ec
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.10007730
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 0x1001a54f
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001a538
push eax
lea ecx, [esp + 0x18]
call fcn.10003580
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001a54f
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 0x1001a557
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [edi], bl
test esi, esi
jle 0x1001aa56
mov ebp, dword [esp + 0x54]
test ebp, ebp
js 0x1001aa56
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.10007730
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 0x1001a5d4
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001a5bf
push eax
lea ecx, [esp + 0x18]
call fcn.10003580
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001a5d4
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 0x1001a5df
mov dword [esp + 0x18], 0
mov byte [edi], 0
test esi, esi
jle 0x1001aa56
mov eax, dword [esp + 0x24]
test eax, eax
js 0x1001aa56
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.10007730
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 0x1001a65d
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001a643
push eax
lea ecx, [esp + 0x18]
call fcn.10003580
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001a65d
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 0x1001a665
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [edi], bl
test esi, esi
jle 0x1001a763
test ebp, ebp
js 0x1001a763
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.10007730
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 0x1001a6e3
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001a6cb
push eax
lea ecx, [esp + 0x18]
call fcn.10003580
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001a6e3
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 0x1001a6ee
mov dword [esp + 0x18], 0
mov byte [edi], 0
test esi, esi
jle 0x1001a763
test ebx, ebx
js 0x1001a763
mov ecx, dword [esp + 0x9c]
sub ebx, ebp
mov eax, dword [ecx + 4]
sub eax, ebp
js 0x1001a70a
cmp ebx, eax
jb 0x1001a70c
mov ebx, eax
mov esi, dword [ecx]
mov al, byte [ecx + 0xc]
add esi, ebp
mov byte [esp + 0x48], al
test ebx, ebx
jle 0x1001a74b
lea eax, [ebx + 1]
cmp dword [esp + 0x44], eax
jae 0x1001a732
push eax
lea ecx, [esp + 0x40]
call fcn.10003580
test eax, eax
je 0x1001a74b
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 0x1001a75a
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], 0
mov byte [eax], 0
lea ecx, [esp + 0x3c]
call fcn.1000a870
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.10007730
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 0x1001a7d4
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001a7bd
push eax
lea ecx, [esp + 0x18]
call fcn.10003580
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001a7d4
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 0x1001a7dc
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [edi], bl
test esi, esi
jle 0x1001a4e8
mov eax, dword [esp + 0x28]
test eax, eax
js 0x1001a4e8
lea ecx, [eax + ebx]
mov dword [esp + 0x5c], ecx
jmp 0x1001a800
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.10007730
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 0x1001a875
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001a85e
push eax
lea ecx, [esp + 0x18]
call fcn.10003580
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001a875
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 0x1001a87d
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [edi], bl
test esi, esi
jle 0x1001a968
mov eax, dword [esp + 0x28]
test eax, eax
js 0x1001a968
push ecx
push ebx
push edi
mov edx, str.media
lea ecx, [esp + 0x9c]
call fcn.10007800
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 0x1001a909
lea eax, [esi + 1]
cmp dword [esp + 0x34], eax
jae 0x1001a8d2
push eax
lea ecx, [esp + 0x30]
call fcn.10003580
test eax, eax
je 0x1001a909
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.10003b90
test eax, eax
js 0x1001a918
lea ecx, [esp + 0x2c]
call fcn.1000a870
jmp 0x1001a918
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 0x1001a800
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x2c]
call fcn.10008310
test al, al
mov eax, dword [esp + 0x28]
je 0x1001a800
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.100398f0
mov eax, dword [esp + 0x28]
jmp 0x1001a800
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.10007730
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 0x1001a9d8
lea eax, [esi + 1]
cmp dword [esp + 0x1c], eax
jae 0x1001a9c3
push eax
lea ecx, [esp + 0x18]
call fcn.10003580
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1001a9d8
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 0x1001a9e3
mov dword [esp + 0x18], 0
mov byte [edi], 0
mov ecx, dword [esp + 0x24]
test esi, esi
jle 0x1001a4ec
test ebx, ebx
js 0x1001a4ec
lea eax, [esp + 0x14]
mov edx, str.sourceURL
push eax
lea ecx, [esp + 0x30]
call fcn.10017ab0
mov ecx, dword [esp + 0x28]
add esp, 4
test al, al
je 0x1001a4ec
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x2c]
call fcn.10008310
mov ecx, dword [esp + 0x24]
test al, al
je 0x1001a4ec
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.100398f0
jmp 0x1001a4e8
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.msvcrt.dll_free]
cmp eax, 0x10059da0
je 0x1001aa6d
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, 0x10059da0
je 0x1001aa7e
push eax
call esi
add esp, 4
cmp edi, 0x10059da0
je 0x1001aa8c
push edi
call esi
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 4