Function at 0x10179a10
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 0x10179a3d
cmp dword [eax], esi
je 0x10179b05
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x10179a2e
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.10030110
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 0x10179b0d
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 [0x101b1480]
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.1003ae30
add esp, 0x18
test eax, eax
jne 0x10179b3e
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x44], eax
jmp 0x10179a44
test byte [edi + 0x1c], 0x80
jne 0x10179c08
mov edx, dword [ebp - 0x4c]
xor eax, eax
test edx, edx
jne 0x10179d6b
mov ecx, esi
mov edx, 0x4b
push eax
mov dword [ebp - 0x1c], 0
push eax
call fcn.10021000
jmp 0x10179d7c
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x20], eax
cmp word [edi + 0x22], 0
jle 0x10179bb6
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 0x10179b83
lea ecx, [ecx + ecx*4]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + ecx*4 + 8]
mov ecx, esi
push eax
call fcn.10020f70
add esp, 4
inc ebx
mov eax, dword [ebp - 0x18]
movsx eax, word [eax + 0x22]
cmp ebx, eax
jl 0x10179b53
jmp 0x10179bb6
mov esi, dword [ebp - 0x14]
mov ecx, esi
mov edx, 0xaf
push eax
push ebx
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
mov eax, dword [esi + 0x6c]
mov esi, dword [ebp - 0x10]
test eax, eax
jle 0x10179b75
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 1
jmp 0x10179b75
mov edi, dword [ebp - 0x18]
test byte [edi + 0x1c], 0x80
jne 0x10179c5a
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
mov edx, 0x87
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
mov eax, dword [ebp - 0x40]
add eax, 2
mov edx, dword [ebp - 0x4c]
test edx, edx
jne 0x10179d83
mov ecx, ebx
mov edx, 0x87
push 0
push eax
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
jmp 0x10179cad
lea eax, [edi + 8]
mov edi, dword [eax]
mov ecx, dword [edi + 0x38]
and ecx, 3
lea eax, [edi + 0x14]
cmp ecx, 2
jne 0x10179c0b
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 0x10179d93
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + eax*4 + 8]
xor esi, esi
test edx, edx
je 0x10179db1
xor eax, eax
mov ecx, dword [ebp - 0x24]
push eax
push eax
call fcn.10001810
add esp, 8
jmp 0x10179daf
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 0x10179c60
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.10030110
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.10030110
add esp, 0xc
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2e], 0
jne 0x10179d10
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.10030110
add esp, 0xc
mov ecx, ebx
mov edx, 0x7f
push 0
mov esi, dword [ebp - 0x50]
push esi
push dword [ebp - 0x28]
call fcn.10030110
add esp, 0xc
mov ecx, ebx
mov edx, 0x80
push esi
push dword [ebp - 0x3c]
push dword [ebp - 0x28]
call fcn.10030110
add esp, 0xc
jmp 0x10179e70
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
jne 0x10179d46
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.100036f0
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.10030110
add esp, 0xc
mov ebx, dword [ebp - 0x28]
jmp 0x10179ee6
mov ecx, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x1c], 0
push eax
call fcn.10001810
add esp, 8
mov esi, eax
jmp 0x10179db4
mov ecx, esi
push eax
call fcn.10020f70
add esp, 4
jmp 0x10179cad
mov ecx, esi
xor esi, esi
mov edx, 0x4b
push esi
push esi
call fcn.10021000
add esp, 8
test eax, eax
je 0x10179db1
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.10020d60
mov esi, eax
cmp word [edi + 0x22], 0
jle 0x10179e37
xor ebx, ebx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + ebx*4]
test eax, eax
js 0x10179e12
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + eax*4 + 8]
test edx, edx
je 0x10179e33
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.1005d800
add esp, 4
mov esi, eax
inc ebx
mov edi, dword [ebp - 0x18]
movsx eax, word [edi + 0x22]
cmp ebx, eax
jl 0x10179dcb
jmp 0x10179e37
xor edi, edi
mov ecx, dword [ebp - 0x10]
mov edx, 0x4b
push edi
push edi
call fcn.10021000
add esp, 8
test eax, eax
je 0x10179df4
lea ecx, [ebx + 1]
mov word [eax + 0x20], cx
jmp 0x10179df2
xor edi, edi
jmp 0x10179df4
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.10179fb0
add esp, 0x10
test esi, esi
jne 0x10179e5c
mov dword [ebp - 0x20], 0
jmp 0x10179e6d
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x24]
mov edx, esi
call fcn.10021700
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 1
jne 0x10179e80
mov ecx, dword [ebp - 0x20]
call fcn.10031d30
xor esi, esi
mov ecx, ebx
mov edx, 0x24
push esi
push esi
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.10030110
add esp, 0xc
mov dword [ebp - 0x24], eax
mov al, 1
mov dword [ebp - 0x30], eax
cmp word [ebp - 0x58], 0xffff
jl 0x10179ee3
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.10030110
add esp, 0xc
inc esi
cmp dword [ebp - 0x38], esi
jne 0x10179ebb
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
jmp 0x10179ee6
mov esi, dword [ebp - 0x10]
mov ecx, esi
mov edx, edi
call fcn.10179820
mov esi, dword [ebp - 0x14]
mov ecx, esi
mov edx, 7
push dword [ebp - 0x34]
push dword [ebp - 0x48]
push 0
call fcn.10030110
add esp, 0xc
mov ecx, esi
mov edx, eax
push 0xfffffffffffffff5
push dword [ebp - 0x44]
call fcn.1003a6c0
add esp, 8
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x10179f3a
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 0x10179f9d
mov edi, dword [ebp - 0x24]
lea eax, [edi + 1]
mov ecx, esi
mov edx, 0x27
push 0
push eax
push ebx
call fcn.10030110
add esp, 0xc
mov edx, dword [esi]
mov eax, dword [esi + 0x6c]
mov ecx, 0x101f4350
cmp byte [edx + 0x57], 0
jne 0x10179f81
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.10030110
add esp, 0x58
jmp 0x10179b00
mov ecx, dword [ebp - 0x20]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.10031d30