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

Disassembly:
mov eax, 0x102259c2
call fcn.10210210
sub esp, 0x4c
push ebx
xor eax, eax
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x6c]
push esi
push edi
test eax, eax
jne 0x1017dfdb
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x74], eax
test ecx, ecx
je 0x1017dfe0
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x1c], 0
jmp 0x1017dfe0
mov byte [esp + 0x13], 1
xor eax, eax
lea edi, [esp + 0x4c]
stosd dword es:[edi], eax
lea esi, [esp + 0x4c]
sub esp, 0xc
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1017d52b
mov esi, dword [esp + 0x74]
mov ecx, esi
call fcn.1017d080
push eax
lea ecx, [eax + 1]
mov dword [ebx + 0x28], ecx
mov ecx, ebx
call fcn.1017ea33
push 0
push esi
mov ecx, ebx
call fcn.1017e59b
cmp byte [esp + 0x13], 0
lea ecx, [esp + 0x4c]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
jne 0x1017e042
call dword [eax + 0x10]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x1017e05e
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1017e05e
call dword [eax + 4]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x1017e052
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx]
push str.____StartFragment___
call fcn.100a9d96
lea ecx, [ebp + 4]
or edi, 0xffffffff
call fcn.1014d43e
test al, al
je 0x1017e28d
mov eax, dword [ebp]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
and dword [esp + 0x64], 0
mov ecx, dword [esp + 0x14]
or ecx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov ecx, eax
call fcn.1014d41f
test al, al
je 0x1017e0c0
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
mov ecx, dword [esp + 0x14]
or ecx, 2
mov dword [esp + 0x14], ecx
cmp dword [eax], esi
jne 0x1017e0c4
mov byte [esp + 0x70], 1
jmp 0x1017e0c9
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x70], 0
test cl, 2
je 0x1017e0f1
mov edx, dword [esp + 0x24]
and ecx, 0xfffffffd
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
test edx, edx
je 0x1017e0f1
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
and dword [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
or dword [esp + 0x64], 0xffffffff
test cl, 1
je 0x1017e114
and ecx, 0xfffffffe
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1017e114
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x2c], 0
cmp byte [esp + 0x70], 0
jne 0x1017e280
mov eax, dword [ebp]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
cmp dword [eax], 0
je 0x1017e13c
cmp dword [eax + 4], 0
jge 0x1017e13c
xor eax, eax
inc eax
jmp 0x1017e13e
xor eax, eax
mov ecx, dword [esp + 0x34]
test al, al
sete al
mov byte [esp + 0x70], al
test ecx, ecx
je 0x1017e15d
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x34], 0
mov al, byte [esp + 0x70]
test al, al
jne 0x1017e251
mov eax, dword [ebp]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
mov dword [esp + 0x64], 1
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 6
setne al
or dword [esp + 0x64], 0xffffffff
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x70], al
test ecx, ecx
je 0x1017e1a6
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x3c], 0
mov al, byte [esp + 0x70]
test al, al
jne 0x1017e251
mov eax, dword [ebp]
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
mov ecx, dword [esp + 0x44]
mov esi, dword [eax]
test ecx, ecx
je 0x1017e1cf
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x44], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1017e1db
mov eax, dword [eax + 0x1c]
jmp 0x1017e1de
or eax, 0xffffffff
cmp eax, edi
je 0x1017e229
cmp edi, 0xffffffff
je 0x1017e1fd
push 0x3f
mov ecx, ebx
call fcn.1017e4b8
dec dword [ebx + 0x28]
mov ecx, ebx
push dword [ebx + 0x28]
call fcn.1017ea33
mov edi, dword [esi + 0x18]
test edi, edi
je 0x1017e209
mov edi, dword [edi + 0x1c]
jmp 0x1017e20c
or edi, 0xffffffff
mov ecx, dword [ebx + 0x28]
push ecx
lea eax, [ecx + 1]
mov ecx, ebx
mov dword [ebx + 0x28], eax
call fcn.1017ea33
push 0
push dword [esi + 0x18]
mov ecx, ebx
call fcn.1017e59b
push dword [ebx + 0x28]
mov ecx, ebx
call fcn.1017ea33
push 0
push esi
mov ecx, ebx
call fcn.1017e59b
push ebp
mov ecx, ebx
call fcn.1017d61d
push esi
mov ecx, ebx
call fcn.1017e727
mov esi, dword [esp + 0x74]
mov eax, dword [ebp]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
call dword [eax + 0x10]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x1017e270
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x4c], 0
lea ecx, [ebp + 4]
call fcn.1014d43e
test al, al
jne 0x1017e071
test edi, edi
js 0x1017e28d
push 0x3f
mov ecx, ebx
call fcn.1017e4b8
cmp byte [esp + 0x13], 0
je 0x1017e2a0
mov ecx, dword [ebx]
push str.____EndFragment___
call fcn.100a9d96
push esi
mov ecx, ebx
call fcn.1017e727
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret 8