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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov edi, dword [ebp + 8]
mov esi, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x34]
test eax, eax
mov dword [ebp - 0x24], esi
je 0x10178eed
cmp dword [eax], esi
je 0x10178fb5
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x10178ede
mov dword [ebp - 0x44], 0
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
movsx ebx, word [edi + 0x22]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x28]
lea eax, [esi + 1]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], eax
lea eax, [ebx + 2]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov edx, 0x76
push 0
mov dword [ebp - 0x48], eax
push eax
mov dword [ebp - 0x28], esi
push esi
mov esi, dword [ebp - 0x10]
call fcn.1002fb80
add esp, 0xc
mov ecx, dword [esi + 0x2c]
lea edx, [ecx + 1]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x58], ebx
add ebx, ecx
add ebx, 2
mov dword [esi + 0x2c], ebx
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 2
mov dword [ebp - 0x18], edi
jge 0x10178fbd
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x24], eax
lea eax, [ebx + 2]
mov dword [ebp - 0x50], eax
mov dword [esi + 0x2c], eax
sub esp, 0x18
movaps xmm0, xmmword [0x101af440]
movups xmmword [esp + 4], xmm0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov dword [esp + 0x14], 0
mov ecx, esi
mov edx, dword [ebp - 0x2c]
call fcn.1003a780
add esp, 0x18
test eax, eax
jne 0x10178fee
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x44], eax
jmp 0x10178ef4
test byte [edi + 0x1c], 0x80
jne 0x101790b8
mov edx, dword [ebp - 0x4c]
xor eax, eax
test edx, edx
jne 0x1017921b
mov ecx, esi
mov edx, 0x4b
push eax
mov dword [ebp - 0x1c], 0
push eax
call fcn.10016a00
jmp 0x1017922c
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x20], eax
cmp word [edi + 0x22], 0
jle 0x10179066
mov eax, dword [ebp - 0x40]
lea edi, [eax + 3]
xor ebx, ebx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + ebx*4]
lea eax, [edi + ebx]
test ecx, ecx
js 0x10179033
lea ecx, [ecx + ecx*4]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + ecx*4 + 8]
mov ecx, esi
push eax
call fcn.10059020
add esp, 4
inc ebx
mov eax, dword [ebp - 0x18]
movsx eax, word [eax + 0x22]
cmp ebx, eax
jl 0x10179003
jmp 0x10179066
mov esi, dword [ebp - 0x14]
mov ecx, esi
mov edx, 0xaf
push eax
push ebx
push dword [ebp - 0x1c]
call fcn.1002fb80
add esp, 0xc
mov eax, dword [esi + 0x6c]
mov esi, dword [ebp - 0x10]
test eax, eax
jle 0x10179025
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 1
jmp 0x10179025
mov edi, dword [ebp - 0x18]
test byte [edi + 0x1c], 0x80
jne 0x1017910a
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
mov edx, 0x87
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x1c]
call fcn.1002fb80
add esp, 0xc
mov eax, dword [ebp - 0x40]
add eax, 2
mov edx, dword [ebp - 0x4c]
test edx, edx
jne 0x10179233
mov ecx, ebx
mov edx, 0x87
push 0
push eax
push dword [ebp - 0x1c]
call fcn.1002fb80
add esp, 0xc
jmp 0x1017915d
lea eax, [edi + 8]
mov edi, dword [eax]
mov ecx, dword [edi + 0x38]
and ecx, 3
lea eax, [edi + 0x14]
cmp ecx, 2
jne 0x101790bb
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 4]
movsx edi, word [eax]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + edi*4]
test eax, eax
js 0x10179243
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + eax*4 + 8]
xor esi, esi
test edx, edx
je 0x10179261
xor eax, eax
mov ecx, dword [ebp - 0x24]
push eax
push eax
call fcn.10001810
add esp, 8
jmp 0x1017925f
lea ecx, [edi + 8]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
and edx, 3
lea ecx, [eax + 0x14]
cmp edx, 2
jne 0x10179110
mov eax, dword [eax + 4]
movsx edi, word [eax]
mov ecx, ebx
mov edx, 0xaf
push dword [ebp - 0x34]
push edi
push dword [ebp - 0x1c]
call fcn.1002fb80
add esp, 0xc
mov eax, dword [ebp - 0x40]
add edi, eax
add edi, 3
add eax, 2
mov ecx, ebx
mov edx, 0x51
push 0
push eax
push edi
call fcn.1002fb80
add esp, 0xc
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2e], 0
jne 0x101791c0
inc dword [ebp - 0x3c]
mov eax, dword [esi + 0x78]
test eax, eax
cmove eax, esi
mov byte [eax + 0x14], 1
mov ecx, ebx
mov edx, 0x61
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push dword [ebp - 0x34]
call fcn.1002fb80
add esp, 0xc
mov ecx, ebx
mov edx, 0x7f
push 0
mov esi, dword [ebp - 0x50]
push esi
push dword [ebp - 0x28]
call fcn.1002fb80
add esp, 0xc
mov ecx, ebx
mov edx, 0x80
push esi
push dword [ebp - 0x3c]
push dword [ebp - 0x28]
call fcn.1002fb80
add esp, 0xc
jmp 0x10179320
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
jne 0x101791f6
mov edi, dword [ebx + 0x68]
mov eax, dword [ebp - 0x24]
lea ebx, [eax + eax*4]
movsx edx, byte [edi + ebx*4 + 1]
push dword [edi + ebx*4 + 0x10]
call fcn.100056c0
add esp, 4
mov dword [edi + ebx*4 + 0x10], 0
mov word [edi + ebx*4], 0xb8
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
xor eax, eax
mov ecx, ebx
mov edx, 0x7a
push eax
mov dword [ebp - 0x30], 0
push eax
push dword [ebp - 0x1c]
call fcn.1002fb80
add esp, 0xc
mov ebx, dword [ebp - 0x28]
jmp 0x10179396
mov ecx, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x1c], 0
push eax
call fcn.10001810
add esp, 8
mov esi, eax
jmp 0x10179264
mov ecx, esi
push eax
call fcn.10059020
add esp, 4
jmp 0x1017915d
mov ecx, esi
xor esi, esi
mov edx, 0x4b
push esi
push esi
call fcn.10016a00
add esp, 8
test eax, eax
je 0x10179261
inc edi
mov word [eax + 0x20], di
mov esi, eax
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, esi
call fcn.100167f0
mov esi, eax
cmp word [edi + 0x22], 0
jle 0x101792e7
xor ebx, ebx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + ebx*4]
test eax, eax
js 0x101792c2
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + eax*4 + 8]
test edx, edx
je 0x101792e3
mov ecx, dword [ebp - 0x24]
xor eax, eax
push eax
push eax
call fcn.10001810
add esp, 8
mov edi, eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
push edi
call fcn.101577d0
add esp, 4
mov esi, eax
inc ebx
mov edi, dword [ebp - 0x18]
movsx eax, word [edi + 0x22]
cmp ebx, eax
jl 0x1017927b
jmp 0x101792e7
xor edi, edi
mov ecx, dword [ebp - 0x10]
mov edx, 0x4b
push edi
push edi
call fcn.10016a00
add esp, 8
test eax, eax
je 0x101792a4
lea ecx, [ebx + 1]
mov word [eax + 0x20], cx
jmp 0x101792a2
xor edi, edi
jmp 0x101792a4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push esi
push dword [ebp - 0x1c]
call fcn.10179460
add esp, 0x10
test esi, esi
jne 0x1017930c
mov dword [ebp - 0x20], 0
jmp 0x1017931d
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x24]
mov edx, esi
call fcn.10017250
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 1
jne 0x10179330
mov ecx, dword [ebp - 0x20]
call fcn.10031790
xor esi, esi
mov ecx, ebx
mov edx, 0x24
push esi
push esi
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.1002fb80
add esp, 0xc
mov dword [ebp - 0x24], eax
mov al, 1
mov dword [ebp - 0x30], eax
cmp word [ebp - 0x58], 0xffff
jl 0x10179393
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x48]
cmp eax, 2
cmovge ecx, eax
mov dword [ebp - 0x38], ecx
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x34]
lea eax, [edi + esi]
mov ecx, ebx
mov edx, 0x5e
push eax
push esi
push dword [ebp - 0x28]
call fcn.1002fb80
add esp, 0xc
inc esi
cmp dword [ebp - 0x38], esi
jne 0x1017936b
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
jmp 0x10179396
mov esi, dword [ebp - 0x10]
mov ecx, esi
mov edx, edi
call fcn.10178cd0
mov esi, dword [ebp - 0x14]
mov ecx, esi
mov edx, 7
push dword [ebp - 0x34]
push dword [ebp - 0x48]
push 0
call fcn.1002fb80
add esp, 0xc
mov ecx, esi
mov edx, eax
push 0xfffffffffffffff5
push dword [ebp - 0x44]
call fcn.1003a120
add esp, 8
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x101793ea
mov edx, dword [ebp - 0x54]
cmp edx, 0xb
mov ecx, 2
cmovne ecx, edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
mov word [edx + eax*4 - 0x12], cx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x78]
test eax, eax
cmove eax, ecx
mov byte [eax + 0x15], 1
cmp byte [ebp - 0x30], 0
je 0x1017944d
mov edi, dword [ebp - 0x24]
lea eax, [edi + 1]
mov ecx, esi
mov edx, 0x27
push 0
push eax
push ebx
call fcn.1002fb80
add esp, 0xc
mov edx, dword [esi]
mov eax, dword [esi + 0x6c]
mov ecx, 0x101f2320
cmp byte [edx + 0x57], 0
jne 0x10179431
lea ecx, [edi + edi*4]
shl ecx, 2
add ecx, dword [esi + 0x68]
mov dword [ecx + 8], eax
xor eax, eax
mov ecx, esi
mov edx, 0x7a
push eax
push eax
push ebx
call fcn.1002fb80
add esp, 0x58
jmp 0x10178fb0
mov ecx, dword [ebp - 0x20]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.10031790