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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x1029912c]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
mov esi, edx
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [esp + 0x14], esi
push edi
xor edi, edi
mov dword [esp + 0x48], ecx
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
mov eax, dword [eax + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
cmp dword [esi + 0x10], ecx
jne 0x1017bb48
push ecx
push 1
push ecx
mov edx, 0x1024c6da
jmp 0x1017bf50
xorps xmm0, xmm0
lea eax, [esp + 0x40]
push eax
xor edx, edx
movaps xmmword [esp + 0x54], xmm0
mov ecx, esi
movaps xmmword [esp + 0x64], xmm0
call fcn.10179a00
mov esi, eax
add esp, 4
test esi, esi
jne 0x1017bc6c
call fcn.10160610
test eax, eax
jne 0x1017bf37
mov eax, dword [esp + 0x40]
push esi
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.100dfb50
add esp, 8
mov dword [esp + 0x68], eax
test eax, eax
je 0x1017bf37
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [edx + 0x18], eax
jle 0x1017bc6c
nop word [eax + eax]
mov ecx, dword [ecx + 0x10]
mov edx, 0x1017ba50
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x5c], 0
call fcn.10179960
mov eax, dword [esp + 0x3c]
add esp, 4
inc eax
mov dword [esp + 0x34], eax
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0xc]
call fcn.10107120
push dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x24]
push dword [eax + 0xc]
call fcn.10106cb0
add esp, 0x10
test edi, edi
jne 0x1017bcc7
mov eax, dword [esp + 0x18]
push dword [esp + 0x34]
push dword [eax + 0xc]
call fcn.101073a0
add esp, 8
cmp eax, 5
je 0x1017bf19
lea esi, [edi + 7]
mov edi, dword [esp + 0x14]
push dword [esp + 0x68]
call fcn.100dfd40
mov eax, dword [esp + 0x20]
add esp, 4
push dword [eax + 0xf8]
call fcn.1010fd40
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [eax + 0xf8], 0
test esi, esi
je 0x1017bf41
push esi
push dword [esp + 0x40]
call fcn.10106320
push edi
call fcn.100dfd40
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x2c]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edi
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x24]
call fcn.1016db90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017bc68
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x44]
push dword [esp + 0x40]
mov eax, dword [eax + 0x14]
call eax
add esp, 0x18
mov dword [esp + 0x28], eax
test eax, eax
jne 0x1017bef9
nop dword [eax]
mov ecx, dword [esp + 0x40]
xor edi, edi
mov esi, bind
test ecx, ecx
jle 0x1017bef4
mov eax, dword [esp + 0x68]
mov edx, ecx
nop dword [eax]
cmp dword [eax], 0
je 0x1017bd63
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
cmp ecx, esi
jge 0x1017bd63
mov esi, ecx
mov edi, eax
add eax, 0xc
sub edx, 1
jne 0x1017bd50
mov dword [esp + 0x24], edi
test edi, edi
je 0x1017bef4
mov ecx, dword [edi]
mov al, byte [ecx]
test al, 0xfe
jne 0x1017bd83
mov dword [edi], edx
jmp 0x1017bdae
test al, al
jns 0x1017bd98
lea edx, [esp + 0x44]
call fcn.10164dd0
mov ecx, dword [edi]
mov edx, dword [esp + 0x44]
jmp 0x1017bda4
movzx edx, al
mov eax, 1
mov dword [esp + 0x44], edx
add eax, ecx
mov dword [edi], eax
lea eax, [edx - 2]
add dword [edi + 4], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x78], esi
jge 0x1017bdee
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x40]
mov eax, dword [edi + 0x14]
call eax
add esp, 0x18
test eax, eax
je 0x1017bdb6
mov edi, dword [esp + 0x24]
test eax, eax
jne 0x1017bedd
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
sub eax, ecx
sub edi, dword [esp + 0x68]
push eax
mov eax, 0x2aaaaaab
imul edi
push ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x98]
push str._d__d__d__d
push eax
push 0x40
call fcn.100e26d0
lea esi, [esp + 0xa4]
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1017be43
mov eax, dword [esp + 0x20]
sub esi, ecx
mov edi, dword [esp + 0x48]
add eax, esi
mov dword [esp + 0x24], eax
inc eax
cmp eax, edi
jl 0x1017be9f
mov eax, edi
cdq
mov edi, eax
mov ecx, edx
mov eax, esi
cdq
add edi, eax
adc ecx, edx
add edi, 0x64
adc ecx, 0
mov dword [esp + 0x28], ecx
call fcn.10160610
test eax, eax
jne 0x1017bed6
push dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push edi
call fcn.100dfe70
add esp, 8
test eax, eax
je 0x1017bed6
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], edi
jmp 0x1017bea3
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x20]
lea ecx, [esp + 0x88]
push esi
push ecx
push eax
call fcn.101ec960
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0
mov byte [ecx + eax], 0
jmp 0x1017bd30
mov eax, 7
jmp 0x1017bef9
cmp eax, 0x65
jne 0x1017bef9
mov edx, dword [esp + 0x1c]
mov ecx, 0x10b
cmp dword [edx + 0x28], 0
cmove eax, ecx
jmp 0x1017bef9
mov eax, 0x65
push dword [esp + 0x2c]
xor esi, esi
cmp eax, 0x65
cmovne esi, eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
test esi, esi
jne 0x1017bc68
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
cmp eax, dword [ecx + 0x18]
jge 0x1017bc68
mov ecx, dword [esp + 0x18]
jmp 0x1017bbd0
mov esi, 7
jmp 0x1017bc6c
mov eax, dword [esp + 0x20]
mov edx, edi
push fcn.100dfd40
push 1
dec eax
push eax
mov esi, dword [esp + 0x48]
mov ecx, dword [esi]
call fcn.100ffbb0
add esp, 0xc
cmp eax, 0x12
jne 0x1017bf7b
mov ecx, dword [esi]
mov edx, str.string_or_blob_too_big
push 0
push 1
push 0xffffffffffffffff
mov dword [esi + 0x14], eax
call fcn.100ffbb0
add esp, 0xc
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret